mxc
mxc copied to clipboard
[CI] Bubblewrap Grant Aliases skips on ubuntu-26.04 (no nested bwrap), failing strict mode
Relevant area(s)
Linux
Brief description of your issue
run_bwrap_grant_alias_test.shprobes for bwrap-inside-bwrap and exits 77 when it is unavailable. (job)- On ubuntu-26.04 the probe always fails, so strict mode (
MXC_BWRAP_TESTS_REQUIRE_EXECUTION=1) fails the job every night. - The symlinked
/tmpand/var/rungrant cases never run on 26.04. kernel.apparmor_restrict_unprivileged_userns = 0. Suspected cause (not confirmed): Ubuntu 26.04's AppArmor bwrap profile blocks nested user namespaces, or the outer sandbox is missing a mount the inner bwrap needs.
Steps to reproduce
- On ubuntu-26.04, run
MXC_BWRAP_TESTS_REQUIRE_EXECUTION=1 tests/scripts/run_bwrap_all_tests.sh.
Expected behavior
- Either the alias cases run on 26.04, or the host is provisioned so nested bwrap works there.
Actual behavior
SKIP: this host cannot run bwrap inside bwrap, so the symlinked /tmp and /var/run cases did not run.
Results: 23 passed, 0 failed, 2 skipped
ERROR: strict mode: 1 test(s) skipped a prerequisite that this ...