From c50a7b54163e46d0198742c65ae06fb0537e4eb1 Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Tue, 5 Feb 2019 09:32:14 +0530 Subject: Add timeouts to all jobs without one Change-Id: I87b1189c619e2a652ad70f964d315367b57ae785 --- build-gluster-org/jobs/32-bit-build-smoke.yml | 4 ++++ build-gluster-org/jobs/asan.yml | 6 +++++- build-gluster-org/jobs/bugs-summary.yml | 6 +++++- build-gluster-org/jobs/bugzilla-post.yml | 4 ++++ build-gluster-org/jobs/build-job.yml | 4 ++++ build-gluster-org/jobs/clang.yml | 6 +++++- build-gluster-org/jobs/close-old-reviews.yml | 16 ++++++++++------ build-gluster-org/jobs/comment-on-issue.yml | 4 ++++ .../jobs/compare-bug-version-and-git-branch.yml | 4 ++++ build-gluster-org/jobs/cppcheck.yml | 6 +++++- build-gluster-org/jobs/fedora-smoke.yml | 4 ++++ build-gluster-org/jobs/gd2-smoke.yml | 4 ++++ build-gluster-org/jobs/gluster-csi-containers.yml | 14 +++++++++----- build-gluster-org/jobs/glusterd2-containers.yml | 10 +++++++--- build-gluster-org/jobs/glusto-tests-lint.yml | 4 ++++ build-gluster-org/jobs/jenkins-update.yml | 10 +++++++--- build-gluster-org/jobs/python-compliance.yml | 1 - build-gluster-org/jobs/python-lint.yml | 4 ++++ build-gluster-org/jobs/release-new.yml | 4 ++++ build-gluster-org/jobs/rpm.yml | 4 ++++ build-gluster-org/jobs/tsan.yml | 6 +++++- build-gluster-org/jobs/untriaged-bugs.yml | 4 ++++ 22 files changed, 106 insertions(+), 23 deletions(-) (limited to 'build-gluster-org') diff --git a/build-gluster-org/jobs/32-bit-build-smoke.yml b/build-gluster-org/jobs/32-bit-build-smoke.yml index 9984ac1..d07653d 100644 --- a/build-gluster-org/jobs/32-bit-build-smoke.yml +++ b/build-gluster-org/jobs/32-bit-build-smoke.yml @@ -47,4 +47,8 @@ - shell: !include-raw: ../scripts/32-bit-build-smoke.sh wrappers: + - timeout: + timeout: 30 + abort: true + type: absolute - timestamps diff --git a/build-gluster-org/jobs/asan.yml b/build-gluster-org/jobs/asan.yml index 45318fa..1c8479c 100644 --- a/build-gluster-org/jobs/asan.yml +++ b/build-gluster-org/jobs/asan.yml @@ -38,5 +38,9 @@ name: GERRIT_BRANCH wrappers: - - timestamps + - timestamps + - timeout: + timeout: 450 + abort: true + type: absolute diff --git a/build-gluster-org/jobs/bugs-summary.yml b/build-gluster-org/jobs/bugs-summary.yml index c45a095..e9946ee 100644 --- a/build-gluster-org/jobs/bugs-summary.yml +++ b/build-gluster-org/jobs/bugs-summary.yml @@ -1,7 +1,7 @@ - job: name: bugs-summary node: fedora - description: Generate bugs.gluster.org report + description: Generate bugs.gluster.org report project-type: freestyle concurrent: true @@ -28,3 +28,7 @@ - file: credential-id: 0b53bb70-545a-445f-9664-228d9cc0e6e3 variable: LOG_KEY + - timeout: + timeout: 30 + abort: true + type: absolute diff --git a/build-gluster-org/jobs/bugzilla-post.yml b/build-gluster-org/jobs/bugzilla-post.yml index e64cd9f..e9ff837 100644 --- a/build-gluster-org/jobs/bugzilla-post.yml +++ b/build-gluster-org/jobs/bugzilla-post.yml @@ -42,3 +42,7 @@ wrappers: - timestamps + - timeout: + timeout: 30 + abort: true + type: absolute diff --git a/build-gluster-org/jobs/build-job.yml b/build-gluster-org/jobs/build-job.yml index 8aac8a6..76015c8 100644 --- a/build-gluster-org/jobs/build-job.yml +++ b/build-gluster-org/jobs/build-job.yml @@ -54,6 +54,10 @@ wrappers: - timestamps + - timeout: + timeout: 30 + abort: true + type: absolute - credentials-binding: - file: credential-id: jenkins_jobs.ini diff --git a/build-gluster-org/jobs/clang.yml b/build-gluster-org/jobs/clang.yml index af3f04a..7f165da 100644 --- a/build-gluster-org/jobs/clang.yml +++ b/build-gluster-org/jobs/clang.yml @@ -38,4 +38,8 @@ name: GERRIT_BRANCH wrappers: - - timestamps + - timeout: + timeout: 30 + abort: true + type: absolute + - timestamps diff --git a/build-gluster-org/jobs/close-old-reviews.yml b/build-gluster-org/jobs/close-old-reviews.yml index 0a5ffd7..42978c5 100644 --- a/build-gluster-org/jobs/close-old-reviews.yml +++ b/build-gluster-org/jobs/close-old-reviews.yml @@ -22,9 +22,13 @@ - shell: !include-raw: ../scripts/close-old-reviews.py wrappers: - - timestamps - - credentials-binding: - - username-password-separated: - credential-id: 7e0c919e-4568-42ac-b28a-660a148609fe - username: HTTP_USERNAME - password: HTTP_PASSWORD + - timestamps + - timeout: + timeout: 30 + abort: true + type: absolute + - credentials-binding: + - username-password-separated: + credential-id: 7e0c919e-4568-42ac-b28a-660a148609fe + username: HTTP_USERNAME + password: HTTP_PASSWORD diff --git a/build-gluster-org/jobs/comment-on-issue.yml b/build-gluster-org/jobs/comment-on-issue.yml index c11ccf8..4ca7589 100644 --- a/build-gluster-org/jobs/comment-on-issue.yml +++ b/build-gluster-org/jobs/comment-on-issue.yml @@ -46,4 +46,8 @@ - shell: /opt/qa/github/handle_github.py --repo glusterfs -c wrappers: + - timeout: + timeout: 30 + abort: true + type: absolute - timestamps diff --git a/build-gluster-org/jobs/compare-bug-version-and-git-branch.yml b/build-gluster-org/jobs/compare-bug-version-and-git-branch.yml index 0b4012d..17878bc 100644 --- a/build-gluster-org/jobs/compare-bug-version-and-git-branch.yml +++ b/build-gluster-org/jobs/compare-bug-version-and-git-branch.yml @@ -46,4 +46,8 @@ - shell: /opt/qa/compare-bug-version-and-git-branch.sh wrappers: + - timeout: + timeout: 30 + abort: true + type: absolute - timestamps diff --git a/build-gluster-org/jobs/cppcheck.yml b/build-gluster-org/jobs/cppcheck.yml index bf20e47..ed25799 100644 --- a/build-gluster-org/jobs/cppcheck.yml +++ b/build-gluster-org/jobs/cppcheck.yml @@ -36,4 +36,8 @@ name: GERRIT_BRANCH wrappers: - - timestamps + - timeout: + timeout: 30 + abort: true + type: absolute + - timestamps diff --git a/build-gluster-org/jobs/fedora-smoke.yml b/build-gluster-org/jobs/fedora-smoke.yml index 68f0175..aa3509b 100644 --- a/build-gluster-org/jobs/fedora-smoke.yml +++ b/build-gluster-org/jobs/fedora-smoke.yml @@ -40,4 +40,8 @@ - shell: !include-raw: ../scripts/fedora-smoke.sh wrappers: + - timeout: + timeout: 30 + abort: true + type: absolute - timestamps diff --git a/build-gluster-org/jobs/gd2-smoke.yml b/build-gluster-org/jobs/gd2-smoke.yml index 2bfddd4..1f720f4 100644 --- a/build-gluster-org/jobs/gd2-smoke.yml +++ b/build-gluster-org/jobs/gd2-smoke.yml @@ -45,3 +45,7 @@ wrappers: - timestamps + - timeout: + timeout: 30 + abort: true + type: absolute diff --git a/build-gluster-org/jobs/gluster-csi-containers.yml b/build-gluster-org/jobs/gluster-csi-containers.yml index ac1b9cb..f422efa 100644 --- a/build-gluster-org/jobs/gluster-csi-containers.yml +++ b/build-gluster-org/jobs/gluster-csi-containers.yml @@ -30,8 +30,12 @@ name: PUSH_TO_HUB wrappers: - - timestamps - - credentials-binding: - - file: - credential-id: aa47a72d-743b-4958-a14a-cb597bb22d92 - variable: AUTH_JSON + - timestamps + - credentials-binding: + - file: + credential-id: aa47a72d-743b-4958-a14a-cb597bb22d92 + variable: AUTH_JSON + - timeout: + timeout: 30 + abort: true + type: absolute diff --git a/build-gluster-org/jobs/glusterd2-containers.yml b/build-gluster-org/jobs/glusterd2-containers.yml index 86ea623..fffaafe 100644 --- a/build-gluster-org/jobs/glusterd2-containers.yml +++ b/build-gluster-org/jobs/glusterd2-containers.yml @@ -29,8 +29,12 @@ name: PUSH_TO_HUB wrappers: - - timestamps - - credentials-binding: - - file: + - timestamps + - credentials-binding: + - file: credential-id: aa47a72d-743b-4958-a14a-cb597bb22d92 variable: AUTH_JSON + - timeout: + timeout: 30 + abort: true + type: absolute diff --git a/build-gluster-org/jobs/glusto-tests-lint.yml b/build-gluster-org/jobs/glusto-tests-lint.yml index 29e7b56..32bb29d 100644 --- a/build-gluster-org/jobs/glusto-tests-lint.yml +++ b/build-gluster-org/jobs/glusto-tests-lint.yml @@ -55,4 +55,8 @@ - shell: !include-raw: ../scripts/glusto-lint.sh wrappers: + - timeout: + timeout: 30 + abort: true + type: absolute - timestamps diff --git a/build-gluster-org/jobs/jenkins-update.yml b/build-gluster-org/jobs/jenkins-update.yml index b67b071..a1012a2 100644 --- a/build-gluster-org/jobs/jenkins-update.yml +++ b/build-gluster-org/jobs/jenkins-update.yml @@ -46,8 +46,12 @@ - shell: !include-raw: ../scripts/jenkins-update.sh wrappers: - - timestamps - - credentials-binding: - - file: + - timestamps + - credentials-binding: + - file: credential-id: jenkins_jobs.ini variable: JJB_CONFIG + - timeout: + timeout: 30 + abort: true + type: absolute diff --git a/build-gluster-org/jobs/python-compliance.yml b/build-gluster-org/jobs/python-compliance.yml index f95bef1..cdbf02d 100644 --- a/build-gluster-org/jobs/python-compliance.yml +++ b/build-gluster-org/jobs/python-compliance.yml @@ -54,4 +54,3 @@ timeout: 30 abort: true type: absolute - diff --git a/build-gluster-org/jobs/python-lint.yml b/build-gluster-org/jobs/python-lint.yml index 609151a..ad66030 100644 --- a/build-gluster-org/jobs/python-lint.yml +++ b/build-gluster-org/jobs/python-lint.yml @@ -58,3 +58,7 @@ wrappers: - timestamps + - timeout: + timeout: 20 + abort: true + type: absolute diff --git a/build-gluster-org/jobs/release-new.yml b/build-gluster-org/jobs/release-new.yml index f37691f..9938c4b 100644 --- a/build-gluster-org/jobs/release-new.yml +++ b/build-gluster-org/jobs/release-new.yml @@ -59,6 +59,10 @@ - shell: !include-raw: ../scripts/release.sh wrappers: + - timeout: + timeout: 30 + abort: true + type: absolute - timestamps - credentials-binding: - file: diff --git a/build-gluster-org/jobs/rpm.yml b/build-gluster-org/jobs/rpm.yml index 020c402..4b1a036 100644 --- a/build-gluster-org/jobs/rpm.yml +++ b/build-gluster-org/jobs/rpm.yml @@ -60,4 +60,8 @@ - shell: !include-raw: ../scripts/glusterfs-rpms.sh wrappers: + - timeout: + timeout: 30 + abort: true + type: absolute - timestamps diff --git a/build-gluster-org/jobs/tsan.yml b/build-gluster-org/jobs/tsan.yml index 77e7265..a46e30b 100644 --- a/build-gluster-org/jobs/tsan.yml +++ b/build-gluster-org/jobs/tsan.yml @@ -38,5 +38,9 @@ name: GERRIT_BRANCH wrappers: - - timestamps + - timeout: + timeout: 450 + abort: true + type: absolute + - timestamps diff --git a/build-gluster-org/jobs/untriaged-bugs.yml b/build-gluster-org/jobs/untriaged-bugs.yml index e01360e..eedca86 100644 --- a/build-gluster-org/jobs/untriaged-bugs.yml +++ b/build-gluster-org/jobs/untriaged-bugs.yml @@ -19,4 +19,8 @@ - shell: !include-raw: ../scripts/untriaged-bugs.sh wrappers: + - timeout: + timeout: 30 + abort: true + type: absolute - timestamps -- cgit