mirror of
https://github.com/containers/podman.git
synced 2025-05-17 23:26:08 +08:00
Revert "Instrument cleanup tracer to log weird volume removal flake"
This reverts commit d633824a9527b9ec937cdfc8aacc890ec3249127. The issue has been fixed in commit 9a0c0b2eef and I have not seen it since so remove this special case. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -149,17 +149,3 @@ tracepoint:syscalls:sys_enter_write
|
||||
$offset += $len
|
||||
}
|
||||
}
|
||||
|
||||
// HACK: debug for https://github.com/containers/podman/issues/23913
|
||||
// The test uses "ebpf-debug-23913" volume name and because and volume rm
|
||||
// will delete the path we can trap the process here to find out who actually
|
||||
// deletes it.
|
||||
tracepoint:syscalls:sys_enter_unlink*
|
||||
/ strcontains(str(args.pathname), "ebpf-debug-23913") /
|
||||
{
|
||||
printf("Special issue 23913 volume deleted by pid %d: ", pid);
|
||||
// This can fail to open the file it is done in user space and
|
||||
// thus racy if the process exits quickly.
|
||||
cat("/proc/%d/cmdline", pid);
|
||||
print("");
|
||||
}
|
||||
|
@ -270,8 +270,7 @@ function _check_no_suggestions() {
|
||||
random_image_name="i-$(safename)"
|
||||
random_image_tag=$(random_string 5)
|
||||
random_network_name="n-$(safename)"
|
||||
# Do not change the suffix, it is special debug for #23913
|
||||
random_volume_name="v-$(safename)-ebpf-debug-23913"
|
||||
random_volume_name="v-$(safename)"
|
||||
random_secret_name="s-$(safename)"
|
||||
random_secret_content=$(random_string 30)
|
||||
secret_file=$PODMAN_TMPDIR/$(random_string 10)
|
||||
|
Reference in New Issue
Block a user