Add non-voting CentOS 9 Stream job

This introduces non-voting CentOS 9 Stream functional jobs, to restore
some tests which were disabled because of the known libvirt bug. Though
the bug also affects CentOS 9 Stream, we observe much low failure rate
in CentOS 9 Stream so we can restore these test cases in CentOS 9
Stream. The job is kept non-voting until it is proven to be stable
after a while.

Change-Id: I37211aa941be1892ad0ddf0694a758972a0aebba
This commit is contained in:
Takashi Kajinami 2023-03-30 13:06:20 +09:00
parent 3896d8536a
commit 528bc75ef0
2 changed files with 26 additions and 8 deletions

View File

@ -108,6 +108,12 @@
name: heat-functional
parent: heat-functional-base
- job:
name: heat-functional-centos-9-stream
parent: heat-functional-base
voting: false
nodeset: devstack-single-node-centos-9-stream
- job:
name: heat-functional-legacy
parent: heat-functional-base
@ -195,6 +201,7 @@
- grenade-heat-multinode
- heat-functional
- heat-functional-legacy
- heat-functional-centos-9-stream
gate:
jobs:
- grenade-heat-multinode

View File

@ -434,17 +434,28 @@ function create_heat_accounts {
# this function.
function configure_tempest_for_heat {
# Skip SoftwareConfigIntegrationTest because it requires a custom image
SKIP_SCENARIO_TEST_LIST='SoftwareConfigIntegrationTest'
# Skip AutoscalingLoadBalancerTest and AutoscalingLoadBalancerv2Test as deprecated neutron-lbaas service is not enabled
SKIP_SCENARIO_TEST_LIST+=',AutoscalingLoadBalancerTest,AutoscalingLoadBalancerv2Test'
SKIP_SCENARIO_TEST_LIST+=',AodhAlarmTest'
# Skip CfnInitIntegrationTest as latest fedora images don't have heat-cfntools
iniset $TEMPEST_CONFIG heat_plugin skip_scenario_test_list 'AutoscalingLoadBalancerTest, AutoscalingLoadBalancerv2Test, \
SoftwareConfigIntegrationTest, AodhAlarmTest, CfnInitIntegrationTest, \
BasicResourcesTest'
SKIP_SCENARIO_TEST_LIST+=',CfnInitIntegrationTest'
if is_ubuntu; then
# Skip a few tests failing because of a known libvirt issue in Jammy
# https://bugs.launchpad.net/nova/+bug/1998274
SKIP_SCENARIO_TEST_LIST+=',BasicResourcesTest'
fi
iniset $TEMPEST_CONFIG heat_plugin skip_scenario_test_list $SKIP_SCENARIO_TEST_LIST
# Skip LoadBalancerv2Test as deprecated neutron-lbaas service is not enabled.
# Also Skip a few tests failing because of a known libvirt issue in Jammy
# https://bugs.launchpad.net/nova/+bug/1998274
iniset $TEMPEST_CONFIG heat_plugin skip_functional_test_list 'LoadBalancerv2Test, NotificationTest, \
UpdateStackTest.test_stack_update_with_replacing_userdata, \
CancelUpdateTest.test_cancel_update_server_with_port'
SKIP_FUNCTIONAL_TEST_LIST='LoadBalancerv2Test,NotificationTest'
if is_ubuntu; then
# Skip a few tests failing because of a known libvirt issue in Jammy
# https://bugs.launchpad.net/nova/+bug/1998274
SKIP_FUNCTIONAL_TEST_LIST+=',UpdateStackTest.test_stack_update_with_replacing_userdata'
SKIP_FUNCTIONAL_TEST_LIST+=',CancelUpdateTest.test_cancel_update_server_with_port'
fi
iniset $TEMPEST_CONFIG heat_plugin skip_functional_test_list $SKIP_FUNCTIONAL_TEST_LIST
openstack flavor show m1.heat_int || openstack flavor create m1.heat_int --ram 512 --disk 10
openstack flavor show m1.heat_micro || openstack flavor create m1.heat_micro --ram 128 --disk 1