You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah, OK, this seems like a cgroup created by systemd for the temporary mount unit, created by systemd as a result of runc doing the self bind-mount. Obviously, the test should not take this cgroup into account. IOW it's a flake, and the fix is something like:
diff --git a/tests/integration/delete.bats b/tests/integration/delete.bats
index ea8a3bb6..42253fd3 100644
--- a/tests/integration/delete.bats+++ b/tests/integration/delete.bats@@ -26,7 +26,7 @@ function teardown() {
runc state testbusyboxdelete
[ "$status" -ne 0 ]
- output=$(find /sys/fs/cgroup -wholename '*testbusyboxdelete*' -type d)+ output=$(find /sys/fs/cgroup -wholename '*testbusyboxdelete*' -type d | grep -v 'mount$')
[ "$output" = "" ] || fail "cgroup not cleaned up correctly: $output"
}
Yet, this is another reminder that we should try to implement something that avoids that mount entirely.
This is an interesting failure I haven't seen before. Happened in centos-stream-8 CI here: https://cirrus-ci.com/task/6376444287778816?logs=integration_systemd#L49
The text was updated successfully, but these errors were encountered: