Skip to content

Commit 92e27a0

Browse files
committed
[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
1 parent 040a96e commit 92e27a0

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

roles/configure_functional_tests/tasks/main.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
# NOTE(slaweq) On Fedora/CentOS systems make sure that SELinux is
3535
# not in enforcing mode
3636
sudo setenforce 0
37+
if [[ $os_VENDOR == "CentOSStream" && $os_RELEASE -eq 8 ]]; then
38+
install_package python3.8 python38-devel
39+
fi
3740
fi
3841
3942
configure_host_for_func_testing

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ skipsdist = False
55
ignore_basepython_conflict = True
66

77
[testenv]
8-
basepython = python3
8+
basepython = {env:TOX_PYTHON:python3}
99
setenv = VIRTUAL_ENV={envdir}
1010
OS_LOG_CAPTURE={env:OS_LOG_CAPTURE:true}
1111
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true}

zuul.d/base.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@
130130
description: |
131131
Functional testing for a FIPS enabled Centos 8 system
132132
vars:
133+
tox_environment:
134+
TOX_PYTHON: python3.8
133135
nslookup_target: 'opendev.org'
134136
enable_fips: True
135137
devstack_localrc:

zuul.d/job-templates.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
name: neutron-experimental-jobs
4848
experimental:
4949
jobs:
50+
- neutron-functional-with-uwsgi-fips
5051
- neutron-ovn-grenade-multinode
5152
- neutron-ovn-tempest-with-uwsgi-loki
5253
- tempest-integrated-networking:

0 commit comments

Comments
 (0)