Upgrade flavor for Fedora VM
Since we bumped Fedora version used in CI from 36 to 37, we've seen timeout during boot process more frequently, which results in job failure. This increases core and ram assigned to Fedora VMs, to reduce failure rate. To avoid consuming too much resources, this limits concurrency of test runner. Change-Id: I12e8ee0861629fd42a6bd03ec8705751da12ff61
This commit is contained in:
parent
346f1d7611
commit
397657f667
@ -457,7 +457,7 @@ function configure_tempest_for_heat {
|
|||||||
fi
|
fi
|
||||||
iniset $TEMPEST_CONFIG heat_plugin skip_functional_test_list $SKIP_FUNCTIONAL_TEST_LIST
|
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_int || openstack flavor create m1.heat_int --ram 1024 --vcpus 2 --disk 10
|
||||||
openstack flavor show m1.heat_micro || openstack flavor create m1.heat_micro --ram 128 --disk 1
|
openstack flavor show m1.heat_micro || openstack flavor create m1.heat_micro --ram 128 --disk 1
|
||||||
|
|
||||||
export OS_CLOUD=devstack
|
export OS_CLOUD=devstack
|
||||||
|
@ -95,7 +95,7 @@ function _run_heat_integrationtests {
|
|||||||
tox -evenv-tempest -- pip install -c$UPPER_CONSTRAINTS_FILE $HEAT_TEMPEST_PLUGIN
|
tox -evenv-tempest -- pip install -c$UPPER_CONSTRAINTS_FILE $HEAT_TEMPEST_PLUGIN
|
||||||
tox -evenv-tempest -- stestr --test-path=$DEST/heat/heat_integrationtests --top-dir=$DEST/heat \
|
tox -evenv-tempest -- stestr --test-path=$DEST/heat/heat_integrationtests --top-dir=$DEST/heat \
|
||||||
--group_regex='heat_tempest_plugin\.tests\.api\.test_heat_api[._]([^_]+)' \
|
--group_regex='heat_tempest_plugin\.tests\.api\.test_heat_api[._]([^_]+)' \
|
||||||
run --include-list $UPGRADE_TESTS
|
run --concurrency=4 --include-list $UPGRADE_TESTS
|
||||||
_heat_set_user
|
_heat_set_user
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,8 @@
|
|||||||
- name: Run heat tests
|
- name: Run heat tests
|
||||||
command: tox -evenv-tempest -- stestr --test-path={{devstack_base_dir}}/heat/heat_integrationtests \
|
command: tox -evenv-tempest -- stestr --test-path={{devstack_base_dir}}/heat/heat_integrationtests \
|
||||||
--top-dir={{devstack_base_dir}}/heat \
|
--top-dir={{devstack_base_dir}}/heat \
|
||||||
--group_regex='heat_tempest_plugin\.tests\.api\.test_heat_api[._]([^_]+)' run
|
--group_regex='heat_tempest_plugin\.tests\.api\.test_heat_api[._]([^_]+)' \
|
||||||
|
run --concurrency 4
|
||||||
args:
|
args:
|
||||||
chdir: "{{devstack_base_dir}}/tempest"
|
chdir: "{{devstack_base_dir}}/tempest"
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
Reference in New Issue
Block a user