diff --git a/binary-tarball-tests/ps/run.sh b/binary-tarball-tests/ps/run.sh index caaee4cc8..4f111519d 100755 --- a/binary-tarball-tests/ps/run.sh +++ b/binary-tarball-tests/ps/run.sh @@ -27,7 +27,12 @@ else sudo apt-get update -y sudo apt install -y libaio1 libnuma1 libldap-2.4-2 fi -pip3 install --user pytest-testinfra pytest + +if [[ $(lsb_release -sc) == 'bookworm' ]]; then + pip3 install --user --break-system-packages pytest-testinfra pytest +else + pip3 install --user pytest-testinfra pytest +fi TARBALL_NAME=$(basename "$(find . -maxdepth 1 -name '*.tar.gz'|head -n1)") if [ -z "${TARBALL_NAME}" ]; then diff --git a/binary-tarball-tests/ps/test-ps-binary-tarball.groovy b/binary-tarball-tests/ps/test-ps-binary-tarball.groovy index e804720d7..1a4744449 100644 --- a/binary-tarball-tests/ps/test-ps-binary-tarball.groovy +++ b/binary-tarball-tests/ps/test-ps-binary-tarball.groovy @@ -49,6 +49,18 @@ pipeline { junit 'package-testing/binary-tarball-tests/ps/report.xml' } //End steps } //End stage Ubuntu Bionic + stage('Debian Bookworm') { + agent { + label "min-bookworm-x64" + } + steps { + script { + currentBuild.displayName = "#${BUILD_NUMBER}-${PS_VERSION}-${PS_REVISION}" + } + run_test() + junit 'package-testing/binary-tarball-tests/ps/report.xml' + } //End steps + } //End stage Debian Bookworm stage('Debian Bullseye') { agent { label "min-bullseye-x64"