Enable nodepool debugging for functional tests

This is helpful because if the inner host fails to boot, nodepool will
dump its console at debug level

Change-Id: I8d97e4378dda176521361ca03deac8337a059515
Depends-On: https://review.opendev.org/#/c/669939
This commit is contained in:
Ian Wienand 2019-07-25 09:37:24 +10:00
parent fa50926d93
commit 75faaf9306

View File

@ -199,11 +199,22 @@
vars: vars:
dib_python: python2 dib_python: python2
# Build and boot functional tests
- job:
name: dib-nodepool-functional-src-base
description: |
Base job for DIB functional tests, which build and boot a node under
nodepool
parent: nodepool-functional-openstack-src-base
vars:
nodepool_debug: true
- job: - job:
name: dib-nodepool-functional-openstack-centos-7-src name: dib-nodepool-functional-openstack-centos-7-src
description: | description: |
Test building and booting a Centos 7 image with Nodepool and OpenStack Test building and booting a Centos 7 image with Nodepool and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
vars: vars:
nodepool_extra_packages: nodepool_extra_packages:
- rpm - rpm
@ -219,7 +230,7 @@
name: dib-nodepool-functional-openstack-fedora-29-src name: dib-nodepool-functional-openstack-fedora-29-src
description: | description: |
Test building and booting a Fedora 29 image with Nodepool and OpenStack Test building and booting a Fedora 29 image with Nodepool and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
vars: vars:
nodepool_extra_packages: nodepool_extra_packages:
- rpm - rpm
@ -235,7 +246,7 @@
description: | description: |
Test building and booting an Ubuntu trusty image with Nodepool Test building and booting an Ubuntu trusty image with Nodepool
and OpenStack and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
pre-run: playbooks/dib-nodepool/debootstrap.yaml pre-run: playbooks/dib-nodepool/debootstrap.yaml
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
vars: vars:
@ -251,7 +262,7 @@
description: | description: |
Test building and booting an Ubuntu xenial image with Nodepool Test building and booting an Ubuntu xenial image with Nodepool
and OpenStack and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
pre-run: playbooks/dib-nodepool/debootstrap.yaml pre-run: playbooks/dib-nodepool/debootstrap.yaml
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
vars: vars:
@ -266,11 +277,12 @@
name: dib-nodepool-functional-openstack-ubuntu-bionic name: dib-nodepool-functional-openstack-ubuntu-bionic
description: | description: |
Test building and booting an Ubuntu bionic image with Nodepool Test building and booting an Ubuntu bionic image with Nodepool
and OpenStack and OpenStack (using released libraries)
parent: nodepool-functional-openstack-base parent: nodepool-functional-openstack-base
pre-run: playbooks/dib-nodepool/debootstrap.yaml pre-run: playbooks/dib-nodepool/debootstrap.yaml
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
vars: vars:
nodepool_debug: true
nodepool_extra_packages: nodepool_extra_packages:
- debootstrap - debootstrap
nodepool_diskimage: nodepool_diskimage:
@ -283,7 +295,7 @@
description: | description: |
Test building and booting an Ubuntu bionic image with Nodepool Test building and booting an Ubuntu bionic image with Nodepool
and OpenStack and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
pre-run: playbooks/dib-nodepool/debootstrap.yaml pre-run: playbooks/dib-nodepool/debootstrap.yaml
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
vars: vars:
@ -298,7 +310,7 @@
name: dib-nodepool-functional-openstack-gentoo-src name: dib-nodepool-functional-openstack-gentoo-src
description: | description: |
Test building and booting a Gentoo image with Nodepool and OpenStack Test building and booting a Gentoo image with Nodepool and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
vars: vars:
nodepool_diskimage: nodepool_diskimage:
base_element: gentoo base_element: gentoo
@ -311,7 +323,7 @@
description: | description: |
Test building and booting a Debian stretch image with Nodepool Test building and booting a Debian stretch image with Nodepool
and OpenStack and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
pre-run: playbooks/dib-nodepool/debootstrap.yaml pre-run: playbooks/dib-nodepool/debootstrap.yaml
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
vars: vars:
@ -327,7 +339,7 @@
description: | description: |
Test building and booting a Debian buster image with Nodepool Test building and booting a Debian buster image with Nodepool
and OpenStack and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
pre-run: playbooks/dib-nodepool/debootstrap.yaml pre-run: playbooks/dib-nodepool/debootstrap.yaml
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
vars: vars:
@ -343,7 +355,7 @@
description: | description: |
Test building and booting an openSUSE 15.0 image with Nodepool Test building and booting an openSUSE 15.0 image with Nodepool
and OpenStack and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
nodeset: ubuntu-xenial # Bionic lacks zypper nodeset: ubuntu-xenial # Bionic lacks zypper
vars: vars:
nodepool_extra_packages: nodepool_extra_packages:
@ -359,7 +371,7 @@
description: | description: |
Test building and booting an openSUSE 15.1 image with Nodepool Test building and booting an openSUSE 15.1 image with Nodepool
and OpenStack and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
nodeset: ubuntu-xenial # Bionic lacks zypper nodeset: ubuntu-xenial # Bionic lacks zypper
vars: vars:
nodepool_extra_packages: nodepool_extra_packages:
@ -375,7 +387,7 @@
description: | description: |
Test building and booting an openSUSE tumbleweed image with Test building and booting an openSUSE tumbleweed image with
Nodepool and OpenStack Nodepool and OpenStack
parent: nodepool-functional-openstack-src-base parent: dib-nodepool-functional-src-base
nodeset: ubuntu-xenial # Bionic lacks zypper nodeset: ubuntu-xenial # Bionic lacks zypper
vars: vars:
nodepool_extra_packages: nodepool_extra_packages: