From 56a8b92ce9c5f9d1eda70f0793cb4ef9d7d7912b Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Thu, 27 Sep 2012 10:26:27 -0700 Subject: [PATCH] Add stable/folsom periodic bitrot jobs. Now that stable/folsom has been released add periodic bitrot jobs for that stable release. Do this early to catch bitrot early. Change-Id: Ie83263209aed8b76a2d7fa0f5eda88f6e2e779f6 Reviewed-on: https://review.openstack.org/13768 Reviewed-by: James E. Blair Approved: Monty Taylor Reviewed-by: Monty Taylor Tested-by: Jenkins --- .../config/devstack-gate.yaml | 128 ++++++++++++++++++ .../jenkins_job_builder/config/projects.yaml | 5 + .../config/python-bitrot-jobs.yaml | 13 +- 3 files changed, 145 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml b/modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml index b86b5cf882..ca8b875541 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/devstack-gate.yaml @@ -119,6 +119,7 @@ #!/bin/bash -xe export PYTHONUNBUFFERED=true export DEVSTACK_GATE_TEMPEST=1 + export DEVSTACK_GATE_CINDER=0 export GERRIT_BRANCH=stable/diablo cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh @@ -162,6 +163,7 @@ #!/bin/bash -xe export PYTHONUNBUFFERED=true export DEVSTACK_GATE_TEMPEST=1 + export DEVSTACK_GATE_CINDER=0 export GERRIT_BRANCH=stable/essex cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh @@ -182,6 +184,132 @@ DEVSTACK_NODE_NAME=${NODE_NAME} +- job: + name: periodic-tempest-devstack-vm-stable-folsom + node: devstack-precise + + wrappers: + - timeout: + timeout: 90 + fail: true + - timestamps + + triggers: + - timed: '@daily' + + builders: + - trigger-builds: + - project: devstack-update-inprogress + predefined-parameters: + DEVSTACK_NODE_NAME=${NODE_NAME} + - shell: | + #!/bin/bash -xe + # + # This job also gates devstack-gate, but in case a previous run fails, + # we need to always make sure that we're starting with the latest copy + # from master, before we start applying changes to it. If a previous run + # leaves a bad copy of the gate script, we may get stuck. + # + if [[ ! -e devstack-gate ]]; then + git clone https://review.openstack.org/p/openstack-ci/devstack-gate + else + cd devstack-gate + git remote update + git reset --hard + git clean -x -f + git checkout master + git reset --hard remotes/origin/master + git clean -x -f + cd .. + fi + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TEMPEST=1 + export DEVSTACK_GATE_CINDER=0 + export GERRIT_BRANCH=stable/folsom + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + + publishers: + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + source: 'logs/*' + keep-hierarchy: true + copy-after-failure: true + - console-log-periodic + - trigger-parameterized-builds: + - project: devstack-update-complete + when: complete + predefined-parameters: + DEVSTACK_NODE_NAME=${NODE_NAME} + + +- job: + name: periodic-tempest-devstack-vm-cinder-stable-folsom + node: devstack-precise + + wrappers: + - timeout: + timeout: 90 + fail: true + - timestamps + + triggers: + - timed: '@daily' + + builders: + - trigger-builds: + - project: devstack-update-inprogress + predefined-parameters: + DEVSTACK_NODE_NAME=${NODE_NAME} + - shell: | + #!/bin/bash -xe + # + # This job also gates devstack-gate, but in case a previous run fails, + # we need to always make sure that we're starting with the latest copy + # from master, before we start applying changes to it. If a previous run + # leaves a bad copy of the gate script, we may get stuck. + # + if [[ ! -e devstack-gate ]]; then + git clone https://review.openstack.org/p/openstack-ci/devstack-gate + else + cd devstack-gate + git remote update + git reset --hard + git clean -x -f + git checkout master + git reset --hard remotes/origin/master + git clean -x -f + cd .. + fi + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TEMPEST=1 + export DEVSTACK_GATE_CINDER=1 + export GERRIT_BRANCH=stable/folsom + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + + publishers: + - scp: + site: 'static.openstack.org' + files: + - target: 'logs/periodic/$JOB_NAME/$BUILD_NUMBER' + source: 'logs/*' + keep-hierarchy: true + copy-after-failure: true + - console-log-periodic + - trigger-parameterized-builds: + - project: devstack-update-complete + when: complete + predefined-parameters: + DEVSTACK_NODE_NAME=${NODE_NAME} + + # Called by devstack jobs to alert that they have started so that the # jenkins slave they are running on can be disabled. - job: diff --git a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml index b93a82df53..e79719c331 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -115,6 +115,7 @@ - python-jobs - python-diablo-bitrot-jobs - python-essex-bitrot-jobs + - python-folsom-bitrot-jobs - openstack-publish-jobs @@ -138,6 +139,7 @@ - python-jobs - python-diablo-bitrot-jobs - python-essex-bitrot-jobs + - python-folsom-bitrot-jobs - openstack-publish-jobs @@ -185,6 +187,7 @@ - python-jobs - python-diablo-bitrot-jobs - python-essex-bitrot-jobs + - python-folsom-bitrot-jobs - openstack-publish-jobs @@ -252,6 +255,7 @@ - python-jobs - python-diablo-bitrot-jobs - python-essex-bitrot-jobs + - python-folsom-bitrot-jobs - openstack-publish-jobs - gate-{name}-pylint - translation-jobs @@ -512,6 +516,7 @@ - python-jobs - python-diablo-bitrot-jobs - python-essex-bitrot-jobs + - python-folsom-bitrot-jobs - openstack-publish-jobs diff --git a/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml b/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml index 96d8566eb0..120d374a62 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/python-bitrot-jobs.yaml @@ -75,7 +75,7 @@ node: '{node}' - + - job-group: name: python-diablo-bitrot-jobs branch: 'stable/diablo' @@ -96,3 +96,14 @@ - 'periodic-{name}-python26-{branch-name}' - 'periodic-{name}-python27-{branch-name}' - 'periodic-{name}-docs-{branch-name}' + + +- job-group: + name: python-folsom-bitrot-jobs + branch: 'stable/folsom' + branch-name: 'stable-folsom' + node: precise + jobs: + - 'periodic-{name}-python26-{branch-name}' + - 'periodic-{name}-python27-{branch-name}' + - 'periodic-{name}-docs-{branch-name}'