Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New f37 flake: podman image prune: APK error or timeout #16391

Closed
edsantiago opened this issue Nov 3, 2022 · 2 comments · Fixed by #16399
Closed

New f37 flake: podman image prune: APK error or timeout #16391

edsantiago opened this issue Nov 3, 2022 · 2 comments · Fixed by #16399
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@edsantiago
Copy link
Member

Seems to be timing out and failing in an apk command:

podman [options] build --pull-never --layers=true --file /tmp/podman_test3730377924/Dockerfile -t alpine_bash:latest /tmp/podman_test3730377924
         STEP 1/4: FROM quay.io/libpod/alpine:latest
         STEP 2/4: LABEL RUN podman --version
         --> 033b2b638ee
         STEP 3/4: RUN apk update
         fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz

Lots of f37 flakes, none on f36.

Podman prune [It] podman image prune - remove only dangling images

@edsantiago
Copy link
Member Author

I'm going to hazard a guess the these are the same problem (also apk related):

Podman play kube with build [It] --build should override image in store

@Luap99
Copy link
Member

Luap99 commented Nov 3, 2022

Why do they run apk at all? This is just asking for flakes and adds unnecessary runtime.

Luap99 added a commit to Luap99/libpod that referenced this issue Nov 3, 2022
As far as I can tell there is no reason to use apk in these tests. They
just build an image and check for it and never use the installed binary.
Network calls are always unstable and therefore should be avoided when
possible, this ensures no/less flakes.

Fixes containers#16391

Signed-off-by: Paul Holzinger <[email protected]>
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 11, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants