From fcd579ea5b6d35f1a1f200afaa348047bbf0de20 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Fri, 11 Aug 2023 09:00:22 +0200 Subject: [PATCH] Add testing for Debian bookworm Change-Id: Ib11e75f4b1cd596781d72672ce4fe08436f0f0f6 --- bindep.txt | 2 +- tools/update-test-platforms.py | 1 + zuul-tests.d/container-roles-jobs.yaml | 12 +++++ zuul-tests.d/general-roles-jobs.yaml | 64 ++++++++++++++++++++++++++ zuul-tests.d/go-jobs.yaml | 11 +++++ zuul-tests.d/helm-jobs.yaml | 11 +++++ zuul-tests.d/js-roles-jobs.yaml | 11 +++++ zuul-tests.d/packer-jobs.yaml | 11 +++++ zuul-tests.d/python-jobs.yaml | 44 ++++++++++++++++++ zuul-tests.d/python-roles-jobs.yaml | 22 +++++++++ zuul-tests.d/rust-jobs.yaml | 11 +++++ zuul-tests.d/terraform-jobs-roles.yaml | 22 +++++++++ 12 files changed, 221 insertions(+), 1 deletion(-) diff --git a/bindep.txt b/bindep.txt index a740c0f63..b0f784e1d 100644 --- a/bindep.txt +++ b/bindep.txt @@ -7,5 +7,5 @@ python3-dev [test platform:dpkg platform:apk] # Required for subprocess32 python2-devel [test platform:fedora] python-devel [test platform:rpm !platform:fedora !platform:centos-8 !platform:rhel-8] -python-dev [test platform:dpkg platform:apk !platform:ubuntu-jammy] +python-dev [test platform:dpkg platform:apk !platform:ubuntu-jammy !platform:debian-bookworm] python2-dev [test platform:ubuntu-jammy] diff --git a/tools/update-test-platforms.py b/tools/update-test-platforms.py index 3a0a26ff4..8744f0f96 100755 --- a/tools/update-test-platforms.py +++ b/tools/update-test-platforms.py @@ -37,6 +37,7 @@ CENTOS_PLATFORMS = [ DEBIAN_PLATFORMS = [ 'debian-buster', 'debian-bullseye', + 'debian-bookworm', ] UBUNTU_PLATFORMS = [ 'ubuntu-bionic', diff --git a/zuul-tests.d/container-roles-jobs.yaml b/zuul-tests.d/container-roles-jobs.yaml index 85871cf82..7d49e987b 100644 --- a/zuul-tests.d/container-roles-jobs.yaml +++ b/zuul-tests.d/container-roles-jobs.yaml @@ -42,6 +42,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-ensure-docker-debian-bookworm + description: Tests ensure-docker role on debian-bookworm + parent: zuul-jobs-test-ensure-docker + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-ensure-docker-debian-bullseye description: Tests ensure-docker role on debian-bullseye @@ -620,6 +630,7 @@ - zuul-jobs-test-ensure-docker-centos-7 - zuul-jobs-test-ensure-docker-centos-8-stream - zuul-jobs-test-ensure-docker-centos-9-stream + - zuul-jobs-test-ensure-docker-debian-bookworm - zuul-jobs-test-ensure-docker-debian-bullseye - zuul-jobs-test-ensure-docker-debian-buster - zuul-jobs-test-ensure-docker-ubuntu-bionic @@ -657,6 +668,7 @@ - zuul-jobs-test-ensure-docker-centos-7 - zuul-jobs-test-ensure-docker-centos-8-stream - zuul-jobs-test-ensure-docker-centos-9-stream + - zuul-jobs-test-ensure-docker-debian-bookworm - zuul-jobs-test-ensure-docker-debian-bullseye - zuul-jobs-test-ensure-docker-debian-buster - zuul-jobs-test-ensure-docker-ubuntu-bionic diff --git a/zuul-tests.d/general-roles-jobs.yaml b/zuul-tests.d/general-roles-jobs.yaml index d7ade2aa8..4ac0bab24 100644 --- a/zuul-tests.d/general-roles-jobs.yaml +++ b/zuul-tests.d/general-roles-jobs.yaml @@ -162,6 +162,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-base-roles-debian-bookworm + description: Tests roles in the 'base' job on debian-bookworm + parent: zuul-jobs-test-base-roles + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-base-roles-debian-bullseye description: Tests roles in the 'base' job on debian-bullseye @@ -265,6 +275,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-bindep-debian-bookworm + description: Test the bindep role on debian-bookworm + parent: zuul-jobs-test-bindep + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-bindep-debian-bullseye description: Test the bindep role on debian-bullseye @@ -380,6 +400,16 @@ zone_files: - /home/zuul/src/opendev.org/zuul/zuul-jobs/roles/validate-zone-db/files/test_zones +- job: + name: zuul-jobs-test-validate-zone-db-debian-bookworm + description: Test the validate-zone-db role on debian-bookworm + parent: zuul-jobs-test-validate-zone-db + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-validate-zone-db-debian-bullseye description: Test the validate-zone-db role on debian-bullseye @@ -471,6 +501,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-dstat-graph-debian-bookworm + description: Test the dstat-graph roles on debian-bookworm + parent: zuul-jobs-test-dstat-graph + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-dstat-graph-debian-bullseye description: Test the dstat-graph roles on debian-bullseye @@ -606,6 +646,25 @@ nodes: - secondary +- job: + name: zuul-jobs-test-multinode-roles-debian-bookworm + description: Tests multinode setup roles on debian-bookworm + parent: zuul-jobs-test-multinode-roles + tags: auto-generated + nodeset: + nodes: + - name: primary + label: debian-bookworm + - name: secondary + label: debian-bookworm + groups: + - name: switch + nodes: + - primary + - name: peers + nodes: + - secondary + - job: name: zuul-jobs-test-multinode-roles-debian-bullseye description: Tests multinode setup roles on debian-bullseye @@ -824,6 +883,7 @@ - zuul-jobs-test-base-roles-centos-7 - zuul-jobs-test-base-roles-centos-8-stream - zuul-jobs-test-base-roles-centos-9-stream + - zuul-jobs-test-base-roles-debian-bookworm - zuul-jobs-test-base-roles-debian-bullseye - zuul-jobs-test-base-roles-debian-buster - zuul-jobs-test-base-roles-opensuse-15 @@ -833,6 +893,7 @@ - zuul-jobs-test-bindep-centos-7 - zuul-jobs-test-bindep-centos-8-stream - zuul-jobs-test-bindep-centos-9-stream + - zuul-jobs-test-bindep-debian-bookworm - zuul-jobs-test-bindep-debian-bullseye - zuul-jobs-test-bindep-debian-buster - zuul-jobs-test-bindep-opensuse-15 @@ -843,6 +904,7 @@ - zuul-jobs-test-enable-fips - zuul-jobs-test-ensure-bazelisk - zuul-jobs-test-netconsole + - zuul-jobs-test-validate-zone-db-debian-bookworm - zuul-jobs-test-validate-zone-db-debian-bullseye - zuul-jobs-test-validate-zone-db-debian-buster - zuul-jobs-test-validate-zone-db-ubuntu-bionic @@ -851,6 +913,7 @@ - zuul-jobs-test-dstat-graph-centos-7 - zuul-jobs-test-dstat-graph-centos-8-stream - zuul-jobs-test-dstat-graph-centos-9-stream + - zuul-jobs-test-dstat-graph-debian-bookworm - zuul-jobs-test-dstat-graph-debian-bullseye - zuul-jobs-test-dstat-graph-debian-buster - zuul-jobs-test-dstat-graph-opensuse-15 @@ -860,6 +923,7 @@ - zuul-jobs-test-multinode-roles-centos-7 - zuul-jobs-test-multinode-roles-centos-8-stream - zuul-jobs-test-multinode-roles-centos-9-stream + - zuul-jobs-test-multinode-roles-debian-bookworm - zuul-jobs-test-multinode-roles-debian-bullseye - zuul-jobs-test-multinode-roles-debian-buster - zuul-jobs-test-multinode-roles-opensuse-15 diff --git a/zuul-tests.d/go-jobs.yaml b/zuul-tests.d/go-jobs.yaml index a9fccd0ae..2cfa8147d 100644 --- a/zuul-tests.d/go-jobs.yaml +++ b/zuul-tests.d/go-jobs.yaml @@ -45,6 +45,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-golang-go-debian-bookworm + description: Test the golang-go job on debian-bookworm + parent: zuul-jobs-test-golang-go + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-golang-go-debian-bullseye description: Test the golang-go job on debian-bullseye @@ -111,6 +121,7 @@ - zuul-jobs-test-golang-go-centos-7 - zuul-jobs-test-golang-go-centos-8-stream - zuul-jobs-test-golang-go-centos-9-stream + - zuul-jobs-test-golang-go-debian-bookworm - zuul-jobs-test-golang-go-debian-bullseye - zuul-jobs-test-golang-go-debian-buster - zuul-jobs-test-golang-go-opensuse-15 diff --git a/zuul-tests.d/helm-jobs.yaml b/zuul-tests.d/helm-jobs.yaml index 8628c1a8b..5b4a810df 100644 --- a/zuul-tests.d/helm-jobs.yaml +++ b/zuul-tests.d/helm-jobs.yaml @@ -47,6 +47,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-helm-lint-debian-bookworm + description: Test the helm-lint job on debian-bookworm + parent: zuul-jobs-test-helm-lint + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-helm-lint-debian-bullseye description: Test the helm-lint job on debian-bullseye @@ -113,6 +123,7 @@ - zuul-jobs-test-helm-lint-centos-7 - zuul-jobs-test-helm-lint-centos-8-stream - zuul-jobs-test-helm-lint-centos-9-stream + - zuul-jobs-test-helm-lint-debian-bookworm - zuul-jobs-test-helm-lint-debian-bullseye - zuul-jobs-test-helm-lint-debian-buster - zuul-jobs-test-helm-lint-opensuse-15 diff --git a/zuul-tests.d/js-roles-jobs.yaml b/zuul-tests.d/js-roles-jobs.yaml index bca9eaa73..a37c005f4 100644 --- a/zuul-tests.d/js-roles-jobs.yaml +++ b/zuul-tests.d/js-roles-jobs.yaml @@ -53,6 +53,16 @@ # tox -e update-test-platforms # Please re-run to generate new job lists +- job: + name: zuul-jobs-test-nodejs-test-dependencies-debian-bookworm + description: Test the installation of nodejs test dependencies on debian-bookworm + parent: zuul-jobs-test-nodejs-test-dependencies + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-nodejs-test-dependencies-debian-bullseye description: Test the installation of nodejs test dependencies on debian-bullseye @@ -110,6 +120,7 @@ - zuul-jobs-test-ensure-yarn - zuul-jobs-test-fetch-javascript-tarball - zuul-jobs-test-fetch-javascript-tarball-synchronize + - zuul-jobs-test-nodejs-test-dependencies-debian-bookworm - zuul-jobs-test-nodejs-test-dependencies-debian-bullseye - zuul-jobs-test-nodejs-test-dependencies-debian-buster - zuul-jobs-test-nodejs-test-dependencies-ubuntu-bionic diff --git a/zuul-tests.d/packer-jobs.yaml b/zuul-tests.d/packer-jobs.yaml index 4be350863..663bcc313 100644 --- a/zuul-tests.d/packer-jobs.yaml +++ b/zuul-tests.d/packer-jobs.yaml @@ -47,6 +47,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-packer-debian-bookworm + description: Test packer job on debian-bookworm + parent: zuul-jobs-test-packer + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-packer-debian-bullseye description: Test packer job on debian-bullseye @@ -113,6 +123,7 @@ - zuul-jobs-test-packer-centos-7 - zuul-jobs-test-packer-centos-8-stream - zuul-jobs-test-packer-centos-9-stream + - zuul-jobs-test-packer-debian-bookworm - zuul-jobs-test-packer-debian-bullseye - zuul-jobs-test-packer-debian-buster - zuul-jobs-test-packer-opensuse-15 diff --git a/zuul-tests.d/python-jobs.yaml b/zuul-tests.d/python-jobs.yaml index b8fdc9cfb..43b7aea75 100644 --- a/zuul-tests.d/python-jobs.yaml +++ b/zuul-tests.d/python-jobs.yaml @@ -37,6 +37,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-ensure-nox-debian-bookworm + description: Test the ensure-nox role on debian-bookworm + parent: zuul-jobs-test-ensure-nox + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-ensure-nox-debian-bullseye description: Test the ensure-nox role on debian-bullseye @@ -136,6 +146,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-ensure-pip-debian-bookworm + description: Test the ensure-pip role on debian-bookworm + parent: zuul-jobs-test-ensure-pip + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-ensure-pip-debian-bullseye description: Test the ensure-pip role on debian-bullseye @@ -252,6 +272,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-ensure-tox-debian-bookworm + description: Test the ensure-tox role on debian-bookworm + parent: zuul-jobs-test-ensure-tox + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-ensure-tox-debian-bullseye description: Test the ensure-tox role on debian-bullseye @@ -353,6 +383,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-fetch-sphinx-tarball-debian-bookworm + description: Test the fetch-sphinx-tarball role on debian-bookworm + parent: zuul-jobs-test-fetch-sphinx-tarball + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-fetch-sphinx-tarball-debian-bullseye description: Test the fetch-sphinx-tarball role on debian-bullseye @@ -530,6 +570,7 @@ - zuul-jobs-test-ensure-nox-centos-7 - zuul-jobs-test-ensure-nox-centos-8-stream - zuul-jobs-test-ensure-nox-centos-9-stream + - zuul-jobs-test-ensure-nox-debian-bookworm - zuul-jobs-test-ensure-nox-debian-bullseye - zuul-jobs-test-ensure-nox-debian-buster - zuul-jobs-test-ensure-nox-opensuse-15 @@ -539,6 +580,7 @@ - zuul-jobs-test-ensure-pip-centos-7 - zuul-jobs-test-ensure-pip-centos-8-stream - zuul-jobs-test-ensure-pip-centos-9-stream + - zuul-jobs-test-ensure-pip-debian-bookworm - zuul-jobs-test-ensure-pip-debian-bullseye - zuul-jobs-test-ensure-pip-debian-buster - zuul-jobs-test-ensure-pip-opensuse-15 @@ -550,6 +592,7 @@ - zuul-jobs-test-ensure-tox-centos-7 - zuul-jobs-test-ensure-tox-centos-8-stream - zuul-jobs-test-ensure-tox-centos-9-stream + - zuul-jobs-test-ensure-tox-debian-bookworm - zuul-jobs-test-ensure-tox-debian-bullseye - zuul-jobs-test-ensure-tox-debian-buster - zuul-jobs-test-ensure-tox-opensuse-15 @@ -559,6 +602,7 @@ - zuul-jobs-test-fetch-sphinx-tarball-centos-7 - zuul-jobs-test-fetch-sphinx-tarball-centos-8-stream - zuul-jobs-test-fetch-sphinx-tarball-centos-9-stream + - zuul-jobs-test-fetch-sphinx-tarball-debian-bookworm - zuul-jobs-test-fetch-sphinx-tarball-debian-bullseye - zuul-jobs-test-fetch-sphinx-tarball-debian-buster - zuul-jobs-test-fetch-sphinx-tarball-opensuse-15 diff --git a/zuul-tests.d/python-roles-jobs.yaml b/zuul-tests.d/python-roles-jobs.yaml index 52f065f53..dbaf4d95e 100644 --- a/zuul-tests.d/python-roles-jobs.yaml +++ b/zuul-tests.d/python-roles-jobs.yaml @@ -42,6 +42,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-build-python-release-jobs-debian-bookworm + description: Test the build-python-release-jobs role on debian-bookworm + parent: zuul-jobs-test-build-python-release-jobs + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-build-python-release-jobs-debian-bullseye description: Test the build-python-release-jobs role on debian-bullseye @@ -140,6 +150,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-ensure-python-pyenv-debian-bookworm + description: Test the ensure-python role with pyenv on debian-bookworm + parent: zuul-jobs-test-ensure-python-pyenv + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-ensure-python-pyenv-debian-bullseye description: Test the ensure-python role with pyenv on debian-bullseye @@ -206,6 +226,7 @@ - zuul-jobs-test-build-python-release-jobs-centos-7 - zuul-jobs-test-build-python-release-jobs-centos-8-stream - zuul-jobs-test-build-python-release-jobs-centos-9-stream + - zuul-jobs-test-build-python-release-jobs-debian-bookworm - zuul-jobs-test-build-python-release-jobs-debian-bullseye - zuul-jobs-test-build-python-release-jobs-debian-buster - zuul-jobs-test-build-python-release-jobs-opensuse-15 @@ -215,6 +236,7 @@ - zuul-jobs-test-ensure-python-pyenv-centos-7 - zuul-jobs-test-ensure-python-pyenv-centos-8-stream - zuul-jobs-test-ensure-python-pyenv-centos-9-stream + - zuul-jobs-test-ensure-python-pyenv-debian-bookworm - zuul-jobs-test-ensure-python-pyenv-debian-bullseye - zuul-jobs-test-ensure-python-pyenv-debian-buster - zuul-jobs-test-ensure-python-pyenv-opensuse-15 diff --git a/zuul-tests.d/rust-jobs.yaml b/zuul-tests.d/rust-jobs.yaml index b2d8d0dbb..a7a90d2af 100644 --- a/zuul-tests.d/rust-jobs.yaml +++ b/zuul-tests.d/rust-jobs.yaml @@ -44,6 +44,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-rust-debian-bookworm + description: Test the rust roles on debian-bookworm + parent: zuul-jobs-test-rust + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-rust-debian-bullseye description: Test the rust roles on debian-bullseye @@ -110,6 +120,7 @@ - zuul-jobs-test-rust-centos-7 - zuul-jobs-test-rust-centos-8-stream - zuul-jobs-test-rust-centos-9-stream + - zuul-jobs-test-rust-debian-bookworm - zuul-jobs-test-rust-debian-bullseye - zuul-jobs-test-rust-debian-buster - zuul-jobs-test-rust-opensuse-15 diff --git a/zuul-tests.d/terraform-jobs-roles.yaml b/zuul-tests.d/terraform-jobs-roles.yaml index 1052852c9..59a1bf29f 100644 --- a/zuul-tests.d/terraform-jobs-roles.yaml +++ b/zuul-tests.d/terraform-jobs-roles.yaml @@ -49,6 +49,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-terraform-debian-bookworm + description: Test terraform job on debian-bookworm + parent: zuul-jobs-test-terraform + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-terraform-debian-bullseye description: Test terraform job on debian-bullseye @@ -161,6 +171,16 @@ - name: centos-9-stream label: centos-9-stream +- job: + name: zuul-jobs-test-terraform-role-debian-bookworm + description: Test terraform roles on debian-bookworm + parent: zuul-jobs-test-terraform-role + tags: auto-generated + nodeset: + nodes: + - name: debian-bookworm + label: debian-bookworm + - job: name: zuul-jobs-test-terraform-role-debian-bullseye description: Test terraform roles on debian-bullseye @@ -227,6 +247,7 @@ - zuul-jobs-test-terraform-centos-7 - zuul-jobs-test-terraform-centos-8-stream - zuul-jobs-test-terraform-centos-9-stream + - zuul-jobs-test-terraform-debian-bookworm - zuul-jobs-test-terraform-debian-bullseye - zuul-jobs-test-terraform-debian-buster - zuul-jobs-test-terraform-opensuse-15 @@ -236,6 +257,7 @@ - zuul-jobs-test-terraform-role-centos-7 - zuul-jobs-test-terraform-role-centos-8-stream - zuul-jobs-test-terraform-role-centos-9-stream + - zuul-jobs-test-terraform-role-debian-bookworm - zuul-jobs-test-terraform-role-debian-bullseye - zuul-jobs-test-terraform-role-debian-buster - zuul-jobs-test-terraform-role-opensuse-15