Deals with migration of tox base job to Ubuntu Jammy

OpenStack Infra Zuul jobs (openstack/openstack-zuul-jobs)
adds support of Zuul node based on Ubuntu Jammy on 2022 Oct 12th
(6d85fd8399ed6b9f2358412945cd6683989662cd).
This causes CI failure in openstack-tox-cover, openstack-tox-pep8,
ironic-tox-unit-with-driver-libs, ironic-tox-bandit and
ironic-cross-sushy (there is no package named 'python-dev' in
Ubuntu Jammy).

This commit fixes this through specifying Ubuntu Focal Zuul node.

Change-Id: I98955e90f216411c0ca3077dfb20fc3f2dc5b93e
This commit is contained in:
Vanou Ishii 2022-11-28 03:07:13 -05:00
parent aac7854feb
commit 5b194c2d42
2 changed files with 8 additions and 1 deletions

View File

@ -46,7 +46,7 @@ iptables [devstack]
net-tools [platform:rpm devstack]
# these are needed to compile Python dependencies from sources
python-dev [platform:dpkg test]
python-dev [platform:dpkg test !platform:ubuntu-jammy]
python3-all-dev [platform:dpkg !platform:ubuntu-precise test]
python3-devel [platform:rpm test]
build-essential [platform:dpkg test]

View File

@ -660,6 +660,7 @@
- job:
name: ironic-tox-unit-with-driver-libs
nodeset: ubuntu-focal
parent: openstack-tox
description: |
Run python 3 unit tests with driver dependencies installed.
@ -696,6 +697,7 @@
- job:
# Security testing for known issues
name: ironic-tox-bandit
nodeset: ubuntu-focal
parent: openstack-tox
timeout: 2400
vars:
@ -1053,6 +1055,7 @@
- job:
name: ironic-cross-sushy
description: Ironic unit tests run with Sushy from source
nodeset: ubuntu-focal
parent: openstack-tox
required-projects:
- name: opendev.org/openstack/ironic
@ -1086,6 +1089,7 @@
check:
jobs:
- openstack-tox-pep8:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/yoga
@ -1100,6 +1104,7 @@
gate:
jobs:
- openstack-tox-pep8:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/yoga
@ -1138,12 +1143,14 @@
check:
jobs:
- openstack-tox-cover:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/yoga
gate:
jobs:
- openstack-tox-cover:
nodeset: ubuntu-focal
required-projects:
- name: openstack/requirements
override-checkout: stable/yoga