Skip to content

Commit 4b148e5

Browse files
Merge pull request #25856 from Luap99/flakes
Some minor flake cleanup/debugging/skips
2 parents 18e20f8 + a4856a6 commit 4b148e5

File tree

5 files changed

+8
-16
lines changed

5 files changed

+8
-16
lines changed

hack/podman_cleanup_tracer.bt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,3 @@ tracepoint:syscalls:sys_enter_write
149149
$offset += $len
150150
}
151151
}
152-
153-
// HACK: debug for https://github.com/containers/podman/issues/23913
154-
// The test uses "ebpf-debug-23913" volume name and because and volume rm
155-
// will delete the path we can trap the process here to find out who actually
156-
// deletes it.
157-
tracepoint:syscalls:sys_enter_unlink*
158-
/ strcontains(str(args.pathname), "ebpf-debug-23913") /
159-
{
160-
printf("Special issue 23913 volume deleted by pid %d: ", pid);
161-
// This can fail to open the file it is done in user space and
162-
// thus racy if the process exits quickly.
163-
cat("/proc/%d/cmdline", pid);
164-
print("");
165-
}

test/e2e/checkpoint_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,7 @@ var _ = Describe("Podman checkpoint", func() {
11311131
)
11321132

11331133
It(testName, func() {
1134+
Skip("FIXME: #24571 - not working an super flaky, don't waste CI time on it")
11341135
podName := "test_pod"
11351136

11361137
if err := criu.CheckForCriu(criu.PodCriuVersion); err != nil {

test/system/220-healthcheck.bats

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ function _check_health_log {
439439
# Wait for background healthcheck to finish and make sure the exit status is 1
440440
rc=0
441441
wait -n $hc_pid || rc=$?
442+
cat $hcStatus # just as debug in case the exit code check fails
442443
assert $rc -eq 1 "exit status check of healthcheck command"
443444
assert $(< $hcStatus) == "stopped" "Health status"
444445

test/system/520-checkpoint.bats

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ function setup() {
247247
run_podman inspect $cid --format "{{(index .NetworkSettings.Networks \"$netname\").MacAddress}}"
248248
mac1="$output"
249249

250+
# There is a weird flake, where the hosts content changed after restore and I don't know why.
251+
# Because we start from a /etc/hosts base on the host print that.
252+
echo "hosts file on the host"
253+
cat /etc/hosts
254+
250255
run_podman exec $cid cat /etc/hosts /etc/resolv.conf
251256
pre_hosts_resolv_conf_output="$output"
252257

test/system/600-completion.bats

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,7 @@ function _check_no_suggestions() {
270270
random_image_name="i-$(safename)"
271271
random_image_tag=$(random_string 5)
272272
random_network_name="n-$(safename)"
273-
# Do not change the suffix, it is special debug for #23913
274-
random_volume_name="v-$(safename)-ebpf-debug-23913"
273+
random_volume_name="v-$(safename)"
275274
random_secret_name="s-$(safename)"
276275
random_secret_content=$(random_string 30)
277276
secret_file=$PODMAN_TMPDIR/$(random_string 10)

0 commit comments

Comments
 (0)