Skip to content

Commit 083f2b5

Browse files
committed
test - increase 'Wait for config-update post job' retries
After a failed CI job investigation it appears that the task ends ~30 seconds before the job start. Thus this change increases the retries and by effect the waiting delay. From the Zuul logs: 2023-11-21 14:34:42,781 INFO zuul.ExecutorClient: [e: 75ac553d119f4df4a0c8ca0bd2bcf361] Execute job <FrozenJob config-update> (uuid: a2eef8dde70c40dd88e2e2a9c6a371ad) on nodes None for change <Branch 0x7fe6801b4d50 config refs/heads/master updated e9ad8a9e71d9cefcb4a9d8a50ed169b71c3cd98a..8ce8c4614e6473cd90634bf14ba57852cf43093b> with dependent changes [{'branch': 'master', 'project': {'canonical_hostname': 'gerrit-sshd', 'canonical_name': 'gerrit-sshd/config', 'name': 'config', 'short_name': 'config', 'src_dir': 'src/gerrit-sshd/config'}}] 2023-11-21 14:34:46,816 DEBUG zuul.ExecutorServer: [e: 75ac553d119f4df4a0c8ca0bd2bcf361] Got config-update job: a2eef8dde70c40dd88e2e2a9c6a371ad The Zuul console reports: 2023-11-21 14:30:54.626574 | TASK [health-check/config-repo-submit-change : Wait for config-update post job] 2023-11-21 14:34:13.339768 | controller | ERROR 2023-11-21 14:34:13.340059 | controller | { 2023-11-21 14:34:13.340103 | controller | "attempts": 60, 2023-11-21 14:34:13.340133 | controller | "delta": "0:00:03.782414", 2023-11-21 14:34:13.340159 | controller | "end": "2023-11-21 09:34:13.290046", 2023-11-21 14:34:13.340184 | controller | "msg": "", 2023-11-21 14:34:13.340208 | controller | "rc": 0, 2023-11-21 14:34:13.340232 | controller | "start": "2023-11-21 09:34:09.507632" 2023-11-21 14:34:13.340255 | controller | } Change-Id: I2a11daf1ea84ba7aa29d13051caf05d8a6256072
1 parent be91ba7 commit 083f2b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/health-check/config-repo-submit-change/tasks/ensure-zuul-console-success.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
curl -sk https://{{ zuul_host }}/api/tenant/internal/status | jq -r '.pipelines[].change_queues[].heads[][].jobs[]' | jq -rc 'select(.name == "config-update")' | jq -r '.uuid'
66
register: _job_uuid
77
until: _job_uuid.stdout != "" and "null" not in _job_uuid.stdout
8-
retries: 60
8+
retries: 180
99
delay: 1
1010
tags:
1111
- skip_ansible_lint

0 commit comments

Comments
 (0)