[Yoga Only] Switch FIPS functional job to python3.8

Since [1] newly introduced 2 ft tests fails in
CentOS8 Stream based fips job. The tests works
fine in similar ubuntu non fips job which runs
with python3.8. Let's switch the fips jobs to
run with python3.8.

Also add fips job to experimental queue.

Related-Bug: #2039650
Change-Id: I8f89605bbdd7a748e9bb0939de86acb150fda94d
This commit is contained in:
yatinkarel 2023-12-15 12:46:22 +05:30
parent 040a96eb1a
commit 92e27a08d9
4 changed files with 7 additions and 1 deletions
roles/configure_functional_tests/tasks
tox.ini
zuul.d

@ -34,6 +34,9 @@
# NOTE(slaweq) On Fedora/CentOS systems make sure that SELinux is
# not in enforcing mode
sudo setenforce 0
if [[ $os_VENDOR == "CentOSStream" && $os_RELEASE -eq 8 ]]; then
install_package python3.8 python38-devel
fi
fi
configure_host_for_func_testing

@ -5,7 +5,7 @@ skipsdist = False
ignore_basepython_conflict = True
[testenv]
basepython = python3
basepython = {env:TOX_PYTHON:python3}
setenv = VIRTUAL_ENV={envdir}
OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true}
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true}

@ -130,6 +130,8 @@
description: |
Functional testing for a FIPS enabled Centos 8 system
vars:
tox_environment:
TOX_PYTHON: python3.8
nslookup_target: 'opendev.org'
enable_fips: True
devstack_localrc:

@ -47,6 +47,7 @@
name: neutron-experimental-jobs
experimental:
jobs:
- neutron-functional-with-uwsgi-fips
- neutron-ovn-grenade-multinode
- neutron-ovn-tempest-with-uwsgi-loki
- tempest-integrated-networking: