From 4e89518d0c1eff0439e6984f3eec07bc4f09d077 Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Mon, 21 Oct 2019 15:53:05 +0100 Subject: [PATCH] CI: Increase job run attempts Attempts affect pre failures. This means we can increase stability of jobs by rejecting nodes that fail pre without failing runs at the same time (unless we are really unlucky and hit b0rken nodes 5 times in a row). This change is adapted from I17b7f878c742fa8db66f738526855a02ab9f1905 in kolla-ansible. Change-Id: I010b2fdd7c39e3314a9e1c59072d877f635f7522 --- zuul.d/jobs.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index a60ae5834..f06d2d274 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -48,7 +48,7 @@ Base job for all deployment jobs. pre-run: playbooks/kayobe-base/pre.yml post-run: playbooks/kayobe-base/post.yml - attempts: 1 + attempts: 5 required-projects: # Include kayobe to ensure other projects can use this job. - name: openstack/kayobe @@ -103,6 +103,9 @@ pre-run: playbooks/kayobe-overcloud-upgrade-base/pre.yml run: playbooks/kayobe-overcloud-upgrade-base/run.yml timeout: 9000 + # Use fewer attempts for upgrades, since pre.yml includes deployment of the + # previous release which takes a considerable amount of time. + attempts: 3 - job: name: kayobe-overcloud-upgrade-centos @@ -136,6 +139,9 @@ pre-run: playbooks/kayobe-seed-upgrade-base/pre.yml run: playbooks/kayobe-seed-upgrade-base/run.yml timeout: 5400 + # Use fewer attempts for upgrades, since pre.yml includes deployment of the + # previous release which takes a considerable amount of time. + attempts: 3 - job: name: kayobe-seed-upgrade-centos