From ee8a7cdc6ad564ed9ffe56216a8e33169b8d707f Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Fri, 16 Mar 2018 11:00:05 +0100 Subject: [PATCH] Gate: run ironic tests in the regular multinode job We don't specify any regex for this job, so it runs some tests. They only include test_network_basic_ops, which does not check that multitenancy is in effect. We have a test for it in ironic-tempest-plugin, but it does not run anywhere. There is a neutron test for the same, but it's not a smoke test and it has been skipped for quite some time. This change switches this job to the run the following tests: * all ironic tests (that are not skipped for any reason) * multinode tests from Nova Unfortunately, this patch uncovers that we don't run any tests for network attach/detach in practice. The devstack plugin has to be updated first to support more than one port per node. A TODO is left in the playbook. Change-Id: I46d94c29f858977604c0a3430257eca2bee977e3 (cherry picked from commit 5f03daf21f705a1002a4e06393b803005a8921cd) --- .../run.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/run.yaml b/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/run.yaml index 9477e52ff9..4fd26ed1ac 100644 --- a/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/run.yaml +++ b/playbooks/legacy/tempest-dsvm-ironic-ipa-wholedisk-agent_ipmitool-tinyipa-multinode/run.yaml @@ -92,6 +92,10 @@ # use tempest plugin export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic-tempest-plugin'" export TEMPEST_CONCURRENCY=4 + # Run all ironic tests and the multinode smoke test from nova. + # TODO(dtantsur): add test_attach_interfaces from nova when our + # devstack plugin creates more than one port per node. + export DEVSTACK_GATE_TEMPEST_REGEX="(ironic|test_schedule_to_all_nodes)" EOF chdir: '{{ ansible_user_dir }}/workspace' environment: '{{ zuul | zuul_legacy_vars }}'