-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
3
-
False
-
None
-
False
-
rhel-sst-container-tools
-
-
-
3
-
RUN 254
[2306414428] Upstream Reporter: Ed Santiago
Upstream issue status: Closed
Upstream description:
<+015ms> # # podman run --name IK28z8EJtw --health-cmd=touch /terminate --sdnotify=healthy quay.io/libpod/testimage:20240123 sh -c while test ! -e /terminate; do sleep 0.1; done; echo finished <+572ms> # finished # Error: container is stopped <+004ms> # [ rc=126 (** EXPECTED 0 **) ]Reproducer fails within seconds on 1mt:
# while :;do bin/podman run --health-cmd="touch /terminate" --sdnotify=healthy quay.io/libpod/testimage:20240123 sh -c "while test ! -e /terminate; do sleep 0.1; done; echo finished" || break; done finished finished finished finished finished finished finished finished finished finished Error: container is stoppedWhile I'm at it, this is probably a bug too: (above command, with run --rm, fails instantly):
# bin/podman run --rm --health-cmd="touch /terminate" --sdnotify=healthy quay.io/libpod/testimage:20240123 sh -c "while test ! -e /terminate; do sleep 0.1; done; echo finished" finished # echo $? 127Almost certainly related to #22658. @giuseppe PTAL. Only seen on aarch64, but that's consistent with the previous flake that you fixed in your PR.
- fedora-40-aarch64 : sys podman fedora-40-aarch64 root host sqlite
- PR #22731
- 05-16 18:10 in [sys] [260] sdnotify : healthy
- 05-16 16:49 in [sys] [260] sdnotify : healthy
x x x x x x sys(2) podman(2) fedora-40-aarch64(2) root(2) host(2) sqlite(2)
Upstream URL: https://github.com/containers/podman/issues/22760
- links to