From fc7198d2a2b297d4703186e6d9d58633d292b896 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Tue, 3 Nov 2020 05:36:30 +0000 Subject: [PATCH] move whitebox-multinode-multinuma-devstack to third party ci This change removes whitebox-multinode-multinuma-devstack from the check and gate pipeline since it will now be run by the third party ci. whitebox-multinode-multinuma-devstack requires multi numa host vms which are currently not avaiable in the opendev ci. This change makes whitebox-multinode-multinuma-devstack voting by default. Since this will not be run in the first party ci this will not block changes from mergeing on failure but will prevent the third pary ci from reporting succes when the job fails. This could be overriden externaly but voting is the default and it is better to override that in the project section rather then the job definition when required. This change fixes the caulation of SMT_HOSTS to avoid undefined varible errors in the ansible execution. Change-Id: Iec3328933159b979f8d26c42247c88331be4caf5 --- .zuul.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 44f5ac4f..9c41d672 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -113,15 +113,15 @@ name: whitebox-multinode-multinuma-devstack parent: whitebox-multinode-devstack-base nodeset: multi-numa-multinode - voting: false + voting: true description: | Runs specific tests that need SMT and/or more than 1 NUMA node. Non-voting because there is currently only 1 provider of the `multi-numa` label, and it's not super reliable. vars: - tempest_test_regex: '(NUMALiveMigrationTest.test_cpu_pinning|CPUThreadPolicyTest)' + tempest_test_regex: ^whitebox_tempest_plugin\. devstack_localrc: - SMT_HOSTS: "{{ hostvars['controller']['ansible_facts']['ansible_hostname'] }},{{ hostvars['compute']['ansible_facts']['ansible_hostname'] }}" + SMT_HOSTS: "{{ groups['compute'] | map('extract', hostvars, ['ansible_hostname']) | join(',') }}" WHITEBOX_CPU_TOPOLOGY: "0: [0,1,2,3], 1: [4,5,6,7]" - project: @@ -130,8 +130,6 @@ check: jobs: - whitebox-multinode-devstack - - whitebox-multinode-multinuma-devstack gate: jobs: - whitebox-multinode-devstack - - whitebox-multinode-multinuma-devstack