| From 690334a5e80e238594884902b6ba8b47cf8c8e2c Mon Sep 17 00:00:00 2001 |
| From: Nandhini Rengaraj <nrengaraj@google.com> |
| Date: Mon, 10 Apr 2023 17:54:12 +0000 |
| Subject: [PATCH] Skip flaky test in kill.bats |
| |
| This test is flaky because of a race condition that exists when runc |
| tries to get PIDs of a container that is stopped and its cgroup is |
| removed by systemd already. This is a open issue in runc - |
| https://github.com/opencontainers/runc/issues/3372 and the fix is WIP |
| https://github.com/opencontainers/runc/pull/3812. Skipping this test for |
| now since we do not want to have flaky tests in presubmits. |
| --- |
| tests/integration/kill.bats | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/tests/integration/kill.bats b/tests/integration/kill.bats |
| index 590ddd5e..a4a18c89 100644 |
| --- a/tests/integration/kill.bats |
| +++ b/tests/integration/kill.bats |
| @@ -11,6 +11,7 @@ function teardown() { |
| } |
| |
| @test "kill detached busybox" { |
| + skip "Flaky test" |
| # run busybox detached |
| runc run -d --console-socket "$CONSOLE_SOCKET" test_busybox |
| [ "$status" -eq 0 ] |
| -- |
| 2.40.0.577.gac1e443424-goog |
| |