diff options
author | Ed Santiago <santiago@redhat.com> | 2021-07-15 10:24:13 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-07-15 11:29:58 -0600 |
commit | e4dcb1004fa6b6966977bc8f9b707040ae09a239 (patch) | |
tree | 58d9776a89a2e004803cd57878d7b1909790642e /test/system/070-build.bats | |
parent | d24fc6b84384cbe4188db941ad452f02d3713540 (diff) | |
download | podman-e4dcb1004fa6b6966977bc8f9b707040ae09a239.tar.gz podman-e4dcb1004fa6b6966977bc8f9b707040ae09a239.tar.bz2 podman-e4dcb1004fa6b6966977bc8f9b707040ae09a239.zip |
System tests: fix a multiarch problem
The multi-image load test was failing on non-x86_64 arch,
because the images used by the test (:00000000, :20200902)
did not have manifests for the given arch.
Solution: all we need are two nonlocal images. Use the
predefined NONLOCAL_IMAGE for one, and a new :multiimage
tag (manually created, currently == :20210610) for the other.
Document, so if/when RHEL adds new supported arches, the
test will fail but a maintainer will have a clue what to do.
Also, as long as I'm in here: add 'image prune -f' to teardown
in build.bats, to avoid seeing lots of red "stray image"
warnings in test logs.
Also: skip a broken/flaky python test
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system/070-build.bats')
-rw-r--r-- | test/system/070-build.bats | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/system/070-build.bats b/test/system/070-build.bats index 06ff0c9e2..7b76c585f 100644 --- a/test/system/070-build.bats +++ b/test/system/070-build.bats @@ -922,6 +922,9 @@ function teardown() { run_podman '?' rm -a -f run_podman '?' rmi -f build_test + # Many of the tests above leave interim layers behind. Clean them up. + run_podman '?' image prune -f + basic_teardown } |