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
This commit is contained in:
Jay Faulkner 2016-06-09 16:00:48 -07:00 committed by Mathieu Mitchell
parent db7449cd1c
commit b24315adce
3 changed files with 52 additions and 1 deletions

View File

@ -689,14 +689,19 @@
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True" export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_DEPLOY_DRIVER_ISCSI_WITH_IPA=True"
# Support for non-CoreOS IPA ramdisks was added in Mitaka # Support for non-CoreOS IPA ramdisks was added in Mitaka
if [ "$ZUUL_BRANCH" != "stable/kilo" -a "$ZUUL_BRANCH" != "stable/liberty" ] ; then 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 # Standardize VM size for each supported ramdisk
case "{ramdisk-type}" in case "{ramdisk-type}" in
'tinyipa') 'tinyipa')
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384" 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') 'coreos')
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280" 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 # if using a ramdisk without a known good value, use the devstack
# default by not exporting any value for IRONIC_VM_SPECS_RAM # default by not exporting any value for IRONIC_VM_SPECS_RAM
@ -891,6 +896,45 @@
- devstack-logs - devstack-logs
- console-log - 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: - job-template:
name: '{pipeline}-tempest-dsvm-ironic-pxe_ipa-full{job-suffix}' name: '{pipeline}-tempest-dsvm-ironic-pxe_ipa-full{job-suffix}'
node: '{node}' node: '{node}'

View File

@ -2720,6 +2720,11 @@
node: ubuntu-trusty node: ubuntu-trusty
job-suffix: '' job-suffix: ''
branch-override: default 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}-tempest-dsvm-ironic-parallel{job-suffix}':
pipeline: gate pipeline: gate
node: ubuntu-trusty node: ubuntu-trusty

View File

@ -7104,6 +7104,8 @@ projects:
- gate-tempest-dsvm-ironic-agent_ssh-tinyipa-src - gate-tempest-dsvm-ironic-agent_ssh-tinyipa-src
- gate-tempest-dsvm-ironic-pxe_ipa-coreos-src - gate-tempest-dsvm-ironic-pxe_ipa-coreos-src
- gate-tempest-dsvm-ironic-pxe_ipa-tinyipa-src - gate-tempest-dsvm-ironic-pxe_ipa-tinyipa-src
experimental:
- gate-tempest-dsvm-ironic-pxe_ipa-tinyipa256-src
post: post:
- ironic-python-agent-buildimage-coreos - ironic-python-agent-buildimage-coreos
- ironic-python-agent-buildimage-tinyipa - ironic-python-agent-buildimage-tinyipa