From 49d059760ac142ff663c69d506cf60edc08ee229 Mon Sep 17 00:00:00 2001 From: Lucas Alvares Gomes Date: Thu, 5 Mar 2015 17:11:58 +0000 Subject: [PATCH] Add non-voting tempest dsvm job for Ironic Add non-voting tempest dsvm job for Ironic project. This job is intended to test the pxe_* drivers running with the IPA ramdisk. Change-Id: I2a06c07a6280a69dd5730fd692a0d6bf5784aa59 Implements: blueprint ipa-as-default-ramdisk --- jenkins/jobs/devstack-gate.yaml | 33 +++++++++++++++++++++++++++++++++ jenkins/jobs/projects.yaml | 5 +++++ zuul/layout.yaml | 1 + 3 files changed, 39 insertions(+) diff --git a/jenkins/jobs/devstack-gate.yaml b/jenkins/jobs/devstack-gate.yaml index a28dde2dd7..a27161e0b6 100644 --- a/jenkins/jobs/devstack-gate.yaml +++ b/jenkins/jobs/devstack-gate.yaml @@ -706,6 +706,11 @@ # The IPA ramdisk need at least 1GB of RAM to run export DEVSTACK_LOCAL_CONFIG="IRONIC_VM_SPECS_RAM=1024"$'\n'"IRONIC_VM_COUNT=1" + export DEPLOY_WITH_IPA={deploy-with-ipa} + if [ "$DEPLOY_WITH_IPA" == "1" ] ; then + export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" + fi + # Construct a regex to use when limiting scope of tempest # to avoid features unsupported by Ironic. # skip all compute API tests that touch secgroups, volumes, servers and @@ -790,6 +795,7 @@ postgres: 0 build-ramdisk: 1 deploy_driver: pxe_ssh + deploy-with-ipa: 0 branch-override: '{branch-override}' publishers: - devstack-logs @@ -812,6 +818,7 @@ postgres: 1 build-ramdisk: 1 deploy_driver: pxe_ssh + deploy-with-ipa: 0 branch-override: '{branch-override}' publishers: @@ -853,6 +860,29 @@ - devstack-logs - console-log +- job-template: + name: '{pipeline}-tempest-dsvm-ironic-pxe_ipa{branch-designator}' + node: '{node}' + + wrappers: + - build-timeout: + timeout: 125 + - timestamps + + builders: + - link-logs + - net-info + - devstack-checkout + - devstack-virtual-ironic: + postgres: 0 + build-ramdisk: 0 + deploy_driver: pxe_ssh + deploy-with-ipa: 1 + branch-override: '{branch-override}' + + publishers: + - devstack-logs + - console-log - job-template: name: '{pipeline}-tempest-dsvm-ironic-agent_ssh{branch-designator}' @@ -871,6 +901,7 @@ postgres: 0 build-ramdisk: 0 deploy_driver: agent_ssh + deploy-with-ipa: 0 branch-override: '{branch-override}' publishers: - devstack-logs @@ -893,6 +924,7 @@ postgres: 0 build-ramdisk: 1 deploy_driver: agent_ssh + deploy-with-ipa: 1 branch-override: '{branch-override}' publishers: - devstack-logs @@ -1948,6 +1980,7 @@ - '{pipeline}-tempest-dsvm-ironic-pxe_ssh-postgres{branch-designator}' - '{pipeline}-tempest-dsvm-ironic-agent_ssh{branch-designator}' - '{pipeline}-tempest-dsvm-ironic-agent_ssh-src{branch-designator}' + - '{pipeline}-tempest-dsvm-ironic-pxe_ipa{branch-designator}' - '{pipeline}-tempest-dsvm-ironic-parallel{branch-designator}' - '{pipeline}-tempest-dsvm-all{branch-designator}' - '{pipeline}-tempest-dsvm-coverage{branch-designator}' diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index fd948e6216..3b18ba6902 100755 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -251,6 +251,11 @@ node: 'devstack-trusty' branch-designator: '-nv' branch-override: default + - '{pipeline}-tempest-dsvm-ironic-pxe_ipa{branch-designator}': + pipeline: check + node: 'devstack-trusty' + branch-designator: '-nv' + branch-override: default - '{pipeline}-tempest-dsvm-ironic-parallel{branch-designator}': pipeline: check node: 'devstack-precise || devstack-trusty' diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 359b0e70cc..5e91565b6e 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -1336,6 +1336,7 @@ projects: experimental: - check-grenade-dsvm-ironic - check-grenade-dsvm-partial-ironic + - check-tempest-dsvm-ironic-pxe_ipa-nv - name: openstack/ironic-lib template: