Open
Description
not ok 228 bud with copy-from referencing the base image
# (in test file tests/[bud.bats, line 4039](https://github.com/containers/podman/blob/bfd5de309f92f6a7dd6ed006daf11ed761b3fd2a/test/system/bud.bats#L4039))
# `test $(find $root_single_job -type f | wc -l) = $(find $root_multi_job -type f | wc -l)' failed
# /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0
# # [checking for: docker.io/library/busybox]
# # [restoring from cache: /var/tmp/bats-run-alIsBh/suite/buildah-image-cache / docker.io/library/busybox]
# Getting image source signatures
# Copying blob sha256:9758c28807f21c13d05c704821fdd56c0b9574912f9b916c65e1df3e6b8bc572
# Copying config sha256:f0b02e9d092d905d0d87a8455a1ae3e9bb47b4aa3dc125125ca5cd10d6441c9f
# Writing manifest to image destination
# # podman build --force-rm=false --layers=false --signature-policy /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/policy.json -t busybox-derived -f /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/bud/copy-from/Dockerfile3 /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/bud/copy-from
# STEP 1/4: FROM docker.io/library/busybox AS build
# STEP 2/4: RUN rm -f /bin/paste
# STEP 3/4: USER 1001
# STEP 4/4: COPY --from=docker.io/library/busybox /bin/paste /test/
# COMMIT busybox-derived
# Getting image source signatures
# Copying blob sha256:d2421964bad195c959ba147ad21626ccddc73a4f2638664ad1c07bd9df48a675
# Copying blob sha256:e6c1e9dff42ac20dc3eecc71e39ec8f2485acf74b08402e4631e6a85d45efb5a
# Copying config sha256:f8f8fddb68a2d2aa39eb43ee896f335b03d2569f50920e01185341d9344f9861
# Writing manifest to image destination
# --> f8f8fddb68a2
# Successfully tagged localhost/busybox-derived:latest
# f8f8fddb68a2d2aa39eb43ee896f335b03d2569f50920e01185341d9344f9861
# # podman build --force-rm=false --layers=false --signature-policy /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/policy.json --jobs 4 -t busybox-derived -f /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/bud/copy-from/Dockerfile3 /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/bud/copy-from
# STEP 1/4: FROM docker.io/library/busybox AS build
# STEP 2/4: RUN rm -f /bin/paste
# STEP 3/4: USER 1001
# STEP 4/4: COPY --from=docker.io/library/busybox /bin/paste /test/
# COMMIT busybox-derived
# Getting image source signatures
# Copying blob sha256:d2421964bad195c959ba147ad21626ccddc73a4f2638664ad1c07bd9df48a675
# Copying blob sha256:cc2d6ede1542ba9829d3321059bef02f66db5b95c241d03fa2b06403b18c95e6
# Copying config sha256:f198cacc0ab6ad584e786b2785b253075cef1d555621fd83c9bc4e1c2ce671fb
# Writing manifest to image destination
# --> f198cacc0ab6
# Successfully tagged localhost/busybox-derived:latest
# f198cacc0ab6ad584e786b2785b253075cef1d555621fd83c9bc4e1c2ce671fb
# # podman build --force-rm=false --layers=false --signature-policy /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/policy.json -t busybox-derived -f /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/bud/copy-from/Dockerfile4 /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/bud/copy-from
# [2/2] STEP 1/2: FROM docker.io/library/alpine AS final
# Trying to pull docker.io/library/alpine:latest...
# Getting image source signatures
# Copying blob sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870
# Copying config sha256:aded1e1a5b3705116fa0a92ba074a5e0b0031647d9c315983ccba2ee5428ec8b
# Writing manifest to image destination
# [2/2] STEP 2/2: COPY --from=docker.io/library/busybox /bin/nl /test/
# [2/2] COMMIT busybox-derived
# Getting image source signatures
# Copying blob sha256:08000c18d16dadf9553d747a58cf44023423a9ab010aab96cf263d2216b8b350
# Copying blob sha256:4235fe44b32f3626c904bef16c6d43fbeade50ea8fbd3df5ecf49f5d90668e9f
# Copying config sha256:fce4068c9fd1a91de2923cc65dd67c606d5dea84dd3c53ffc7ee76c2449dfdc9
# Writing manifest to image destination
# --> fce4068c9fd1
# Successfully tagged localhost/busybox-derived:latest
# fce4068c9fd1a91de2923cc65dd67c606d5dea84dd3c53ffc7ee76c2449dfdc9
# # podman build --force-rm=false --layers=false --no-cache --signature-policy /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/policy.json --jobs 4 -t busybox-mt-derived -f /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/bud/copy-from/Dockerfile4 /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0/tests/bud/copy-from
# [2/2] STEP 1/2: FROM docker.io/library/alpine AS final
# Trying to pull docker.io/library/alpine:latest...
# Getting image source signatures
# Copying blob sha256:9d16cba9fb961d1aafec9542f2bf7cb64acfc55245f9e4eb5abecd4cdc38d749
# Copying config sha256:961769676411f082461f9ef46626dd7a2d1e2b2a38e6a44364bcbecf51e66dd4
# Writing manifest to image destination
# [2/2] STEP 2/2: COPY --from=docker.io/library/busybox /bin/nl /test/
# [2/2] COMMIT busybox-mt-derived
# --> 5fa1cd451737
# Successfully tagged localhost/busybox-mt-derived:latest
# 5fa1cd451737496643e17eb30423b341c52371d233761580a52d4e299b315fc0
# # buildah from --quiet busybox-derived
# busybox-derived-working-container
# # buildah mount busybox-derived-working-container
# /var/tmp/buildah_tests.1v86yf/root/vfs/dir/737857794b9316160a0a7cacac5a101eebe4c7c3d454f0448d0fda68921db071
# # buildah from --quiet busybox-mt-derived
# busybox-mt-derived-working-container
# # buildah mount busybox-mt-derived-working-container
# /var/tmp/buildah_tests.1v86yf/root/vfs/dir/a78e049b5ca85a1cd506836a0d35a7429829ce0540feef6c5157b11037b6fc21
# /var/tmp/go/src/github.com/containers/podman/test-buildah-v1.40.0
Seen in the podman CI
https://api.cirrus-ci.com/v1/artifact/task/5658929432100864/html/bud-podman-fedora-42-root-host-sqlite.log.html
The test provides no useful output so I have no idea what is wrong, I guess if this is flaky it would be nice to know which files are different or if there are any files at all (i.e. maybe the mount point is empty)
I have only seen this once so not a high priority to look into.