spiegel_podman/pkg
Matthew Heon 4ecbc7caae Add a backoff and retries to retrieving exited event
There's a potential race around extremely short-running
containers and events with journald. Events may not be written
for some time (small, but appreciable) after they are received,
and as such we can fail to retrieve it if there is a sufficiently
short time between us writing the event and trying to read it.

Work around this by just retrying, with a 0.25 second delay
between retries, up to 4 times.

[NO TESTS NEEDED] because I have no idea how to reproduce this
race in CI.

Fixes #11633

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2021-09-21 15:32:07 -04:00
..
annotations Spelling 2020-12-22 13:34:31 -05:00
api Pod Device Support 2021-09-20 23:22:43 -04:00
auth Normalize auth key before calling SetAuthentication 2021-09-09 09:17:22 +02:00
autoupdate vendor c/common@main 2021-09-20 15:07:41 +02:00
bindings Wire network interface into libpod 2021-09-15 20:00:20 +02:00
cgroups cgroup-info: check if user.slice is valid before accessing value 2021-09-07 00:59:21 +05:30
channel channel: simplify implementation 2021-05-06 11:51:15 +02:00
checkpoint Support checkpoint/restore with pods 2021-07-27 16:10:44 +02:00
copy support container to container copy 2021-07-27 15:32:23 +02:00
criu Support checkpoint/restore with pods 2021-07-27 16:10:44 +02:00
ctime Re-add int64 casts for ctime 2019-07-23 15:43:40 -04:00
domain Add a backoff and retries to retrieving exited event 2021-09-21 15:32:07 -04:00
env Generate kube should'd add podman default environment vars 2021-09-21 09:03:31 -04:00
errorhandling create: support images with invalid platform 2021-06-23 15:42:13 +02:00
hooks Globally replace http:// with https:// 2021-08-27 06:14:46 -04:00
inspect bump go module to v3 2021-02-22 09:03:51 +01:00
kubeutils Globally replace http:// with https:// 2021-08-27 06:14:46 -04:00
lookup Enable whitespace linter 2021-02-11 23:01:56 +01:00
machine Use new aarch64 fcos repos 2021-09-14 09:52:31 -05:00
namespaces [NO TESTS NEEDED] Shrink the size of podman-remote 2021-03-29 09:49:45 -04:00
netns Globally replace http:// with https:// 2021-08-27 06:14:46 -04:00
network Split libpod/network package 2021-03-15 14:01:52 +01:00
parallel bump go module to v3 2021-02-22 09:03:51 +01:00
ps vendor containers/common@main 2021-07-16 14:19:56 +02:00
resolvconf bump go module to v3 2021-02-22 09:03:51 +01:00
rootless make sure that signal buffers are sufficiently big 2021-08-17 12:10:20 +02:00
rootlessport Drop OCICNI dependency 2021-09-15 20:00:28 +02:00
seccomp Spelling 2020-12-22 13:34:31 -05:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
servicereaper podman service reaper 2021-07-02 19:00:36 +02:00
signal Fix build for mips architecture follow-up 2021-01-07 15:04:22 +01:00
specgen Pod Device Support 2021-09-20 23:22:43 -04:00
specgenutil make podman run --systemd case insensitive 2021-09-02 11:01:10 +02:00
systemd generate systemd: handle --restart 2021-09-07 13:58:11 +02:00
terminal Fix #11444: remote breaks with stdout redirection 2021-09-13 17:42:48 +03:00
timetype make lint: enable gocritic 2020-01-13 14:27:02 +01:00
trust Enable whitespace linter 2021-02-11 23:01:56 +01:00
util Spell "build linux darwin" as "build !windows". 2021-09-03 13:38:14 +03:00