From 1e6597aad43bbb289142f913756f8c589bdd2c74 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Fri, 28 Jun 2024 11:00:24 +0900 Subject: [PATCH 1/2] GH-43075: [CI][Crossbow][Docker] Set timeout for docker-tests --- dev/tasks/docker-tests/github.cuda.yml | 3 ++- dev/tasks/docker-tests/github.linux.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dev/tasks/docker-tests/github.cuda.yml b/dev/tasks/docker-tests/github.cuda.yml index b1b21c3e66319..30879042924c4 100644 --- a/dev/tasks/docker-tests/github.cuda.yml +++ b/dev/tasks/docker-tests/github.cuda.yml @@ -23,8 +23,9 @@ jobs: test: name: | Docker Test {{ flags|default("") }} {{ image }} {{ command|default("") }} - runs-on: ['self-hosted', 'cuda'] + runs-on: ['self-hosted', 'cuda'] {{ macros.github_set_env(env) }} + timeout-minutes: {{ timeout|default(60) }} steps: {{ macros.github_checkout_arrow(fetch_depth=fetch_depth|default(1))|indent }} # python 3.8 is installed on the runner, no need to install diff --git a/dev/tasks/docker-tests/github.linux.yml b/dev/tasks/docker-tests/github.linux.yml index 13e00abc70a84..697960360cfdc 100644 --- a/dev/tasks/docker-tests/github.linux.yml +++ b/dev/tasks/docker-tests/github.linux.yml @@ -25,6 +25,7 @@ jobs: Docker Test {{ flags|default("") }} {{ image }} {{ command|default("") }} runs-on: ubuntu-latest {{ macros.github_set_env(env) }} + timeout-minutes: {{ timeout|default(60) }} steps: {{ macros.github_checkout_arrow(fetch_depth=fetch_depth|default(1))|indent }} {{ macros.github_free_space()|indent }} From f7cae001396caa9f3c588a10c234b4dac385a59d Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Fri, 28 Jun 2024 14:45:26 +0900 Subject: [PATCH 2/2] Increase timeout --- dev/tasks/tasks.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml index 61df283960ccf..96e49f9079777 100644 --- a/dev/tasks/tasks.yml +++ b/dev/tasks/tasks.yml @@ -1271,6 +1271,7 @@ tasks: env: ARROW_R_DEV: "TRUE" image: ubuntu-r-valgrind + timeout: 300 # 5 hours test-r-linux-rchk: ci: github @@ -1555,10 +1556,11 @@ tasks: TEST_PYARROW_ONLY: "{{ test_pyarrow_only }}" NUMPY: "{{ numpy_version }}" JDK: "{{ jdk_version }}" + fetch_depth: 0 # use the branch-3.0 of spark, so prevent reusing any layers flags: --no-leaf-cache image: conda-python-spark - fetch_depth: 0 + timeout: 90 {% endfor %} {% for kind in ["static", "static-system-dependency"] %}