Files
Valentin Rothberg 5b5e53d704 syncContainer: transition from stopping to exited
Allow the cleanup process (and others) to transition the container from
`stopping` to `exited`.  This fixes a race condition detected in #14859
where the cleanup process kicks in _before_ the stopping process can
read the exit file.  Prior to this fix, the cleanup process left the
container in the `stopping` state and removed the conmon files, such
that the stopping process also left the container in this state as it
could not read the exit files.  Hence, `podman wait` timed out (see the
23 seconds execution time of the test [1]) due to the unexpected/invalid
state and the test failed.

Further turn the warning during stop to a debug message since it's a
natural race due to the daemonless/concurrent architecture and nothing
to worry about.

[NO NEW TESTS NEEDED] since we can only monitor if #14859 continues
flaking or not.

[1] https://storage.googleapis.com/cirrus-ci-6707778565701632-fcae48/artifacts/containers/podman/6210434704343040/html/sys-remote-fedora-36-rootless-host.log.html#t--00205

Fixes: #14859
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-08-10 16:46:05 -04:00
..
2022-01-18 12:47:07 +01:00
2017-11-01 11:24:59 -04:00
2022-01-18 12:47:07 +01:00
2022-06-24 15:39:15 -04:00
2022-04-25 13:23:20 +02:00
2022-04-26 18:12:22 +02:00
2022-01-18 12:47:07 +01:00
2022-01-18 12:47:07 +01:00
2022-06-23 09:11:57 -04:00
2022-01-18 12:47:07 +01:00