From c002b35967aa5448533f471c54997303b7bf89c0 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Mon, 26 Sep 2022 21:19:26 +0200 Subject: [PATCH] Run test_minimum_basic_scenario test for cinder Currently we run only test_server_basic_ops scenario that does launch VM from ephemeral drive. While it's important thing to test, we still need to ensure, that volume-based instances does also work properly. For that we will run test_minimum_basic_scenario when os_cinder role is running in CI. We also want to minimize amount of test to reduce time in CI, thus it's not added as a general test. Change-Id: I037f0eeafae9cd8dc2f65deee1a12f28ed78ad78 --- inventory/group_vars/utility_all.yml | 3 --- .../roles/bootstrap-host/templates/user_variables.aio.yml.j2 | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/inventory/group_vars/utility_all.yml b/inventory/group_vars/utility_all.yml index 288ebdfca1..3ad904e079 100644 --- a/inventory/group_vars/utility_all.yml +++ b/inventory/group_vars/utility_all.yml @@ -89,8 +89,5 @@ tempest_test_includelist: - "tempest.api.identity.v3" - "{{ (tempest_service_available_ceilometer | bool) | ternary('tempest.api.telemetry', '') }}" - "{{ (tempest_service_available_heat | bool) | ternary('tempest.api.orchestration.stacks.test_non_empty_stack', '') }}" - # TODO(odyssey4me): - # Once the issue with this test is worked out, re-enable it. - #- "{{ (tempest_service_available_nova | bool) | ternary('tempest.scenario.test_minimum_basic', '') }}" - "{{ (tempest_service_available_nova | bool) | ternary('tempest.scenario.test_server_basic_ops', '') }}" - "{{ (tempest_service_available_swift | bool) | ternary('tempest.scenario.test_object_storage_basic_ops', '') }}" diff --git a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 index dd433e9ba8..f44af0bf81 100644 --- a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 @@ -299,4 +299,9 @@ cinder_backends: - low-iops - high-iops - ultra-high-iops + +{% if 'cinder' in bootstrap_host_scenarios %} +tempest_test_includelist: + - tempest.scenario.test_minimum_basic.TestMinimumBasicScenario.test_minimum_basic_scenario +{% endif %} {% endif %}