Make gentoo multinode job nv
Gentoo multinode job is consistently failing. To disable only this job with current test framework, we need to adapt the test framework, so that disabling of specific jobs is possible. Also includes minor documentation fix which triggers affected jobs. Co-Authored-By: Andreas Jaeger <aj@suse.com> Change-Id: Ida9d1714f1f6c3f4fbee469ef940147f969d9466
This commit is contained in:
parent
6a2aaf7c80
commit
536e1f7f8c
@ -55,7 +55,7 @@ inventory in order to work:
|
|||||||
:default: false
|
:default: false
|
||||||
|
|
||||||
When ``bridge_configure_address`` is ``true``, whether or not to set up
|
When ``bridge_configure_address`` is ``true``, whether or not to set up
|
||||||
firewall rules in order to allow traffic to flow freely within the bridge
|
firewall rules to allow traffic freely within the bridge
|
||||||
subnet (``bridge_address_prefix``.0/``bridge_address_subnet``).
|
subnet (``bridge_address_prefix``.0/``bridge_address_subnet``).
|
||||||
|
|
||||||
.. zuul:rolevar:: bridge_address_prefix
|
.. zuul:rolevar:: bridge_address_prefix
|
||||||
|
@ -48,6 +48,11 @@ NON_VOTING = [
|
|||||||
'opensuse-tumbleweed',
|
'opensuse-tumbleweed',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Insert a job to make that single job non-voting
|
||||||
|
NON_VOTING_JOBS = [
|
||||||
|
'zuul-jobs-test-multinode-roles-gentoo-17-0-systemd',
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_nodeset(platform, multinode):
|
def get_nodeset(platform, multinode):
|
||||||
d = CommentedMap()
|
d = CommentedMap()
|
||||||
@ -94,6 +99,8 @@ def handle_file(fn):
|
|||||||
voting = False if platform in NON_VOTING else True
|
voting = False if platform in NON_VOTING else True
|
||||||
ojob = CommentedMap()
|
ojob = CommentedMap()
|
||||||
ojob['name'] = job['name'] + '-' + platform
|
ojob['name'] = job['name'] + '-' + platform
|
||||||
|
if ojob['name'] in NON_VOTING_JOBS:
|
||||||
|
voting = False
|
||||||
if not voting:
|
if not voting:
|
||||||
ojob['name'] += '-nv'
|
ojob['name'] += '-nv'
|
||||||
ojob['voting'] = False
|
ojob['voting'] = False
|
||||||
|
@ -514,7 +514,8 @@
|
|||||||
- secondary
|
- secondary
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: zuul-jobs-test-multinode-roles-gentoo-17-0-systemd
|
name: zuul-jobs-test-multinode-roles-gentoo-17-0-systemd-nv
|
||||||
|
voting: false
|
||||||
description: Tests multinode setup roles on gentoo-17-0-systemd
|
description: Tests multinode setup roles on gentoo-17-0-systemd
|
||||||
parent: zuul-jobs-test-multinode-roles
|
parent: zuul-jobs-test-multinode-roles
|
||||||
tags: auto-generated
|
tags: auto-generated
|
||||||
@ -734,7 +735,7 @@
|
|||||||
- zuul-jobs-test-multinode-roles-centos-8
|
- zuul-jobs-test-multinode-roles-centos-8
|
||||||
- zuul-jobs-test-multinode-roles-debian-stretch
|
- zuul-jobs-test-multinode-roles-debian-stretch
|
||||||
- zuul-jobs-test-multinode-roles-fedora-31
|
- zuul-jobs-test-multinode-roles-fedora-31
|
||||||
- zuul-jobs-test-multinode-roles-gentoo-17-0-systemd
|
- zuul-jobs-test-multinode-roles-gentoo-17-0-systemd-nv
|
||||||
- zuul-jobs-test-multinode-roles-opensuse-15
|
- zuul-jobs-test-multinode-roles-opensuse-15
|
||||||
- zuul-jobs-test-multinode-roles-opensuse-tumbleweed-nv
|
- zuul-jobs-test-multinode-roles-opensuse-tumbleweed-nv
|
||||||
- zuul-jobs-test-multinode-roles-ubuntu-bionic
|
- zuul-jobs-test-multinode-roles-ubuntu-bionic
|
||||||
@ -780,7 +781,6 @@
|
|||||||
- zuul-jobs-test-multinode-roles-centos-8
|
- zuul-jobs-test-multinode-roles-centos-8
|
||||||
- zuul-jobs-test-multinode-roles-debian-stretch
|
- zuul-jobs-test-multinode-roles-debian-stretch
|
||||||
- zuul-jobs-test-multinode-roles-fedora-31
|
- zuul-jobs-test-multinode-roles-fedora-31
|
||||||
- zuul-jobs-test-multinode-roles-gentoo-17-0-systemd
|
|
||||||
- zuul-jobs-test-multinode-roles-opensuse-15
|
- zuul-jobs-test-multinode-roles-opensuse-15
|
||||||
- zuul-jobs-test-multinode-roles-ubuntu-bionic
|
- zuul-jobs-test-multinode-roles-ubuntu-bionic
|
||||||
- zuul-jobs-test-multinode-roles-ubuntu-xenial
|
- zuul-jobs-test-multinode-roles-ubuntu-xenial
|
||||||
|
Loading…
Reference in New Issue
Block a user