The toolbox package
Podman 5.0 switched to using pasta(1), instead of slirp4netns(1), by
default for rootless containers. This change has led to a regression
causing 'skopeo copy' to get stuck uploading an OCI image to the local
temporary Docker registry run by the tests as a Podman container [1],
which breaks the test suite on Fedora 40 onwards.
This was worked around by forcing the use of slirp4netns(1).
The slirp4nets package needs to be explicitly installed on Fedora 40
onwards, because the dependency in containers-common-extra changed from
Recommends to Suggests [2]. Otherwise, it led to:
1..320
# test suite: Set up
# test suite: Tear down
not ok 1 setup_suite
# (from function `assert_success' in file
./libs/bats-assert/src/assert.bash, line 114,
# from function `_setup_docker_registry' in file ./libs/helpers.bash,
line 208,
# from function `setup_suite' in test file ./setup_suite.bash, line
59)
# `_setup_docker_registry' failed
#
# -- command failed --
# status : 127
# output : Error: could not find slirp4netns, the network namespace
can't be configured: exec: "slirp4netns": executable file not
found in $PATH
# --
#
# Untagged: quay.io/toolbox_tests/registry:latest
# Deleted: fea5a12cde107bb407bc44ede6dd9edea1d2b4171cd8e52b0cb330bf45e517e1
# bats warning: Executed 1 instead of expected 320 tests
The missing dependency on the slirp4netns package in toolbox-tests
doesn't affect Podman's downstream Fedora CI, which runs toolbox-tests,
because it separately installs slirp4netns for other tests [3].
Fallout from
|
||
|---|---|---|
| tests | ||
| .gitignore | ||
| gating.yaml | ||
| README.md | ||
| rpminspect.yaml | ||
| sources | ||
| toolbox-Add-migration-paths-for-coreos-toolbox-users.patch | ||
| toolbox-Make-the-build-flags-match-Fedora-s-gobuild-for-PPC64.patch | ||
| toolbox-Make-the-build-flags-match-Fedora-s-gobuild.patch | ||
| toolbox-Make-the-build-flags-match-RHEL-s-gobuild-for-PPC64.patch | ||
| toolbox-Make-the-build-flags-match-RHEL-s-gobuild.patch | ||
| toolbox-playbooks-test-system-bats-1.11-podman-5.patch | ||
| toolbox-test-system-new.patch | ||
| toolbox-test-system-Unbreak-Podman-s-downstream-Fedora-CI.patch | ||
| toolbox.conf | ||
| toolbox.spec | ||
toolbox
The toolbox package