automation-tests/pkg
Paul Holzinger 9a0c0b2eef
volume ls: fix race that caused it to fail
If volume ls was called while another volume was removed at the right
time it could have failed with "no such volume" as we did not ignore
such error during listing. As we list things and this no longer exists
the correct thing is to ignore the error and continue like we do with
containers, pods, etc...

This was pretty easy to reproduce with these two commands running in
different terminals:
while :; do bin/podman volume create test && bin/podman volume rm test || break; done
while :; do bin/podman volume ls || break ; done

I have a slight feeling that this might solve #23913 but I am not to
sure there so I am not adding a Fixes here.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-11-06 12:28:52 +01:00
..
annotations update golangci-lint to 1.60.1 2024-08-19 11:41:28 +02:00
api volume ls: fix race that caused it to fail 2024-11-06 12:28:52 +01:00
auth Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
autoupdate Vendor c/common:8483ef6022b4 2024-08-30 16:13:54 +02:00
bindings rework event code to improve API errors 2024-11-01 18:54:13 +01:00
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint Enable pod restore with crun 2024-10-21 17:37:20 +01:00
copy Bump Go module to v5 2024-02-08 09:35:39 -05:00
criu chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ctime chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
domain volume ls: fix race that caused it to fail 2024-11-06 12:28:52 +01:00
emulation chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
env pkg/env.Join(): don't modify passed-in maps 2024-02-29 11:47:44 -05:00
errorhandling bump go to 1.22 2024-09-03 15:14:15 +02:00
farm bump go to 1.22 2024-09-03 15:14:15 +02:00
fileserver Bump Go module to v5 2024-02-08 09:35:39 -05:00
inspect Bump Go module to v5 2024-02-08 09:35:39 -05:00
k8s.io Add kube play support for image volume source 2024-09-10 12:37:06 +00:00
lookup Cease using deprecated runc userlookup 2024-02-02 11:02:43 -05:00
machine pkg/machine/e2e: remove debug 2024-10-29 13:50:05 +01:00
namespaces Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
parallel Bump Go module to v5 2024-02-08 09:35:39 -05:00
ps Ignore missing containers when calling GetExternalContainerLists 2024-08-05 08:18:57 -04:00
rctl Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
rootless vendor: update containers/storage 2024-09-24 20:28:30 +02:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux
signal refacto: unknown signal return signal number without prefix 2024-02-28 19:45:03 +01:00
specgen Include exposed ports in inspect output when net=host 2024-09-27 12:54:24 -04:00
specgenutil Validate the bind-propagation option to `--mount` 2024-10-04 09:07:51 -04:00
specgenutilexternal Quadlet container mount - support non key=val options 2023-09-27 16:20:00 +03:00
systemd Merge pull request #24437 from lambinoo/feat-split-pod-container-start-24401 2024-11-05 15:04:16 +00:00
terminal Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
timetype Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
trust pkg/trust: use fileutils.(Le|E)xists 2024-04-19 09:52:14 +02:00
util Remove containers/common/pkg/config from pkg/util 2024-09-06 07:45:04 -04:00