nestybox / sysbox

An open-source, next-generation "runc" that empowers rootless containers to run workloads such as Systemd, Docker, Kubernetes, just like VMs.
Apache License 2.0
2.78k stars 152 forks source link

Sysbox integration test "build with inner images" sometimes fails. #294

Closed ctalledo closed 2 years ago

ctalledo commented 3 years ago

Sysbox integration test "build with inner images" is currently flaky, as it sometimes fails:

not ok 4 build with inner images
# (in test file tests/dind/build.bats, line 36)
#   `mount -t shiftfs -o mark /lib/modules/$(uname -r) /lib/modules/$(uname -r)' failed with status 32
# mount: /lib/modules/5.4.0-1032-gcp: wrong fs type, bad option, bad superblock on /lib/modules/5.4.0-1032-gcp, missing codepage or helper program, or other error.

The part of the test that fails is one in which the test randomly (with 50% probability) mounts shiftfs on the test container's /lib/modules/$(uname -r) directory prior to creating sysbox containers. The goal is to see how sysbox-mgr reacts to those pre-existing shiftfs mounts.

It's not clear why this fails, as I've tried to manually reproduce without much success. This needs further investigation. Also, this test was passing consistently in the past.

This is causing sysbox CI to fail.

ctalledo commented 2 years ago

Issue is stale now; test consistently passes now. Closing.