From 4d1a9110484d0e5c57aff0bcab39d3d9cb5a9137 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 2 Apr 2014 17:04:16 -0400 Subject: [PATCH] add tempest-master jobs this adds a set of tempest-master jobs which provide a tempest branch override to master. They are lit non voting on tempest, devstack, and devstack-gate to provide the ability to assess and fix fundamental issues with this approach. Change-Id: Id7c472bd726e43513eef13c61947ba09614a06b0 --- .../config/devstack-gate.yaml | 69 +++++++++++++++++++ .../openstack_project/files/zuul/layout.yaml | 10 ++- 2 files changed, 77 insertions(+), 2 deletions(-) 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 62eb4c3431..b85ffe18e9 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 @@ -125,6 +125,38 @@ - devstack-logs - console-log +- job-template: + name: '{pipeline}-tempest-master-dsvm-full{branch-designator}' + node: '{node}' + + wrappers: + - timeout: + timeout: 125 + fail: true + - timestamps + + builders: + - link-logs + - net-info + - devstack-checkout + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TIMEOUT=120 + export DEVSTACK_GATE_TEMPEST=1 + export DEVSTACK_GATE_TEMPEST_FULL=1 + export BRANCH_OVERRIDE={branch-override} + if [ "$BRANCH_OVERRIDE" != "default" ] ; then + export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE + fi + export OVERRIDE_TEMPEST_BRANCH=master + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + + publishers: + - devstack-logs + - console-log + - job-template: name: '{pipeline}-tempest-dsvm-full-non-isolated{branch-designator}' node: '{node}' @@ -187,6 +219,7 @@ - devstack-logs - console-log + - job-template: name: '{pipeline}-tempest-dsvm-neutron-heat-slow{branch-designator}' node: '{node}' @@ -253,6 +286,40 @@ - console-log +- job-template: + name: '{pipeline}-tempest-master-dsvm-neutron{branch-designator}' + node: '{node}' + + wrappers: + - timeout: + timeout: 125 + fail: true + - timestamps + + builders: + - link-logs + - net-info + - devstack-checkout + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TIMEOUT=120 + export DEVSTACK_GATE_TEMPEST=1 + export DEVSTACK_GATE_NEUTRON=1 + export DEVSTACK_GATE_SMOKE_SERIAL=1 + export BRANCH_OVERRIDE={branch-override} + if [ "$BRANCH_OVERRIDE" != "default" ] ; then + export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE + fi + export OVERRIDE_TEMPEST_BRANCH=master + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + + publishers: + - devstack-logs + - console-log + + - job-template: name: '{pipeline}-tempest-dsvm-neutron-pg{branch-designator}' node: '{node}' @@ -1206,7 +1273,9 @@ name: devstack-jobs jobs: - '{pipeline}-tempest-dsvm-full{branch-designator}' + - '{pipeline}-tempest-master-dsvm-full{branch-designator}' - '{pipeline}-tempest-dsvm-neutron{branch-designator}' + - '{pipeline}-tempest-master-dsvm-neutron{branch-designator}' - '{pipeline}-tempest-dsvm-neutron-pg{branch-designator}' - '{pipeline}-tempest-dsvm-neutron-isolated{branch-designator}' - '{pipeline}-tempest-dsvm-neutron-isolated-parallel{branch-designator}' diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 40bd09c04f..97ebfadf7a 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -447,6 +447,8 @@ jobs: voting: false - name: ^(gate|check)-tempest-dsvm-trove-full$ voting: false + - name: ^(gate|check)-tempest-master + voting: false - name: gate-keystone-python33 voting: false - name: gate-marconi-python33 @@ -2133,8 +2135,8 @@ projects: - check-tempest-dsvm-sahara-full-nv - check-tempest-dsvm-sahara-postgres-nv - check-tempest-dsvm-sahara-neutron-nv - - check-tempest-dsvm-full-havana - - check-tempest-dsvm-neutron-havana + - check-tempest-master-dsvm-full-havana + - check-tempest-master-dsvm-neutron-havana gate: - gate-tempest-pep8 - gate-tempest-docs @@ -2377,6 +2379,8 @@ projects: - check-tempest-dsvm-sahara-full-nv - check-tempest-dsvm-sahara-postgres-nv - check-tempest-dsvm-sahara-neutron-nv + - check-tempest-master-dsvm-full-havana + - check-tempest-master-dsvm-neutron-havana gate: - gate-devstack-bash8 - gate-devstack-dsvm-cells @@ -2581,6 +2585,8 @@ projects: - check-tempest-dsvm-sahara-full-nv - check-tempest-dsvm-sahara-postgres-nv - check-tempest-dsvm-sahara-neutron-nv + - check-tempest-master-dsvm-full-havana + - check-tempest-master-dsvm-neutron-havana gate: - gate-devstack-gate-unittests - gate-devstack-dsvm-cells