From b24315adce67cae6e5513e74dc892ae9d38bd6be Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Thu, 9 Jun 2016 16:00:48 -0700 Subject: [PATCH] Introduce experimental job to test TinyIPA with less RAM Running TinyIPA in 256mb of RAM would allow more parallelism, but we want to ensure that it's sustainable. This would allow us to check to see if a change would run or not in a 256mb VM. Change-Id: I2831f32916808870df3b05e96364eb0f62d97d9b Related-bug: 1581673 --- jenkins/jobs/devstack-gate.yaml | 46 ++++++++++++++++++++++++++++++++- jenkins/jobs/projects.yaml | 5 ++++ zuul/layout.yaml | 2 ++ 3 files changed, 52 insertions(+), 1 deletion(-) diff --git a/jenkins/jobs/devstack-gate.yaml b/jenkins/jobs/devstack-gate.yaml index a90f880e78..74d9b5b6b8 100644 --- a/jenkins/jobs/devstack-gate.yaml +++ b/jenkins/jobs/devstack-gate.yaml @@ -689,14 +689,19 @@ export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" # Support for non-CoreOS IPA ramdisks was added in Mitaka if [ "$ZUUL_BRANCH" != "stable/kilo" -a "$ZUUL_BRANCH" != "stable/liberty" ] ; then - export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE={ramdisk-type}" # Standardize VM size for each supported ramdisk case "{ramdisk-type}" in 'tinyipa') export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" + export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" + ;; + 'tinyipa256') + export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=256" + export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=tinyipa" ;; 'coreos') export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" + export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_RAMDISK_TYPE=coreos" ;; # if using a ramdisk without a known good value, use the devstack # default by not exporting any value for IRONIC_VM_SPECS_RAM @@ -891,6 +896,45 @@ - devstack-logs - console-log +- job-template: + name: '{pipeline}-tempest-dsvm-ironic-pxe_ipa-tinyipa256-src{job-suffix}' + node: '{node}' + + wrappers: + - build-timeout: + timeout: 75 + - timestamps + + builders: + - print-template-name: + template-name: "{template-name}" + - link-logs + - net-info + - devstack-checkout + - devstack-virtual-ironic: + postgres: 0 + build-ramdisk: 1 + deploy_driver: pxe_ssh + ephemeral-size: 1 + deploy-with-ipa: 1 + client-from-source: 0 + ironic-lib-from-source: 0 + pyghmi-from-source: 0 + virtualbmc-from-source: 0 + ipxe-enabled: 1 + inspector-enabled: 0 + inspector-auto-discovery: 0 + tempest-regex: ironic + branch-override: '{branch-override}' + ramdisk-type: 'tinyipa256' + gate-tempest-full: 0 + bm-vm-count: 1 + multitenant-network: 0 + + publishers: + - devstack-logs + - console-log + - job-template: name: '{pipeline}-tempest-dsvm-ironic-pxe_ipa-full{job-suffix}' node: '{node}' diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 5dd3b5e14f..51346d3461 100644 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -2720,6 +2720,11 @@ node: ubuntu-trusty job-suffix: '' branch-override: default + - '{pipeline}-tempest-dsvm-ironic-pxe_ipa-tinyipa256-src{job-suffix}': + pipeline: gate + node: ubuntu-trusty + job-suffix: '' + branch-override: default - '{pipeline}-tempest-dsvm-ironic-parallel{job-suffix}': pipeline: gate node: ubuntu-trusty diff --git a/zuul/layout.yaml b/zuul/layout.yaml index b8d05fe17b..22951a6151 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -7104,6 +7104,8 @@ projects: - gate-tempest-dsvm-ironic-agent_ssh-tinyipa-src - gate-tempest-dsvm-ironic-pxe_ipa-coreos-src - gate-tempest-dsvm-ironic-pxe_ipa-tinyipa-src + experimental: + - gate-tempest-dsvm-ironic-pxe_ipa-tinyipa256-src post: - ironic-python-agent-buildimage-coreos - ironic-python-agent-buildimage-tinyipa