diff --git a/jenkins/jobs/devstack-gate.yaml b/jenkins/jobs/devstack-gate.yaml index 66d7bc5843..b483347e1d 100644 --- a/jenkins/jobs/devstack-gate.yaml +++ b/jenkins/jobs/devstack-gate.yaml @@ -2009,6 +2009,42 @@ - devstack-logs - console-log + +- job-template: + name: '{pipeline}-tempest-dsvm-multinode-live-migration{job-suffix}' + node: '{node}' + + wrappers: + - build-timeout: + timeout: 125 + - timestamps + + builders: + - link-logs + - net-info + - devstack-checkout + - shell: | + #!/bin/bash -xe + export PYTHONUNBUFFERED=true + export DEVSTACK_GATE_TIMEOUT=120 + export DEVSTACK_GATE_CONFIGDRIVE=0 + export BRANCH_OVERRIDE={branch-override} + export DEVSTACK_GATE_TOPOLOGY="multinode" + if [ "$BRANCH_OVERRIDE" != "default" ] ; then + export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE + fi + cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh + ./safe-devstack-vm-gate-wrap.sh + function post_test_hook {{ + /opt/stack/new/nova/nova/tests/live_migration/run_tests.sh + }} + export -f post_test_hook + + publishers: + - devstack-logs + - console-log + + - job-template: name: '{pipeline}-grenade-dsvm-multinode{job-suffix}' node: '{node}' diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 18b6996cdf..70e1b7fc84 100644 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -903,6 +903,11 @@ node: devstack-trusty-2-node job-suffix: '' branch-override: default + - '{pipeline}-tempest-dsvm-multinode-live-migration{job-suffix}': + pipeline: gate + node: devstack-trusty-2-node + job-suffix: '' + branch-override: default # Experimental jobs for testing dib images. - '{pipeline}-tempest-dsvm-full{job-suffix}': pipeline: experimental diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 84965f67b1..dad5434dfa 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -1030,6 +1030,10 @@ jobs: branch: ^(?!stable/juno).*$ voting: false + - name: gate-tempest-dsvm-multinode-live-migration + branch: ^(?!stable/juno).*$ + voting: false + - name: gate-tempest-dsvm-neutron-multinode-full branch: ^(?!stable/juno).*$ voting: false @@ -6519,6 +6523,7 @@ projects: - gate-tempest-dsvm-ironic-pxe_ipa-full-nv - gate-tempest-dsvm-lxc - gate-tempest-dsvm-neutron-src-oslo.versionedobjects + - gate-tempest-dsvm-multinode-live-migration - name: openstack/nova-docker template: