← Back to issue list

overlayfs tests break on plucky

View original Github issue

Metadata

Project
craft-application
Number
#685
Type
issue
State
open
Author
lengau
Labels
Created
2025-03-18 20:41:49+00:00
Updated
2025-05-23 17:26:46+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description At least one overlayfs test breaks on plucky: ``` FAILED tests/integration/services/test_lifecycle.py::test_package_repositories_in_overlay - craft_application.errors.PartsLifecycleError: Failed to mount overlay on /tmp/pytest-of-lengau/pytest-13/test_package_repositories_in_o0/work/overlay/overlay: Command '['fuse-overlayfs', '-olowerdir=/tmp/pytest-of-lengau/pytest-13/tes... ``` This seems to be related to AppArmor changes in plucky that I haven't investigated yet (see logs) ### To Reproduce ``` pytest tests/integration/services/test_lifecycle.py::test_package_repositories_in_overlay ``` ### part yaml ```shell ``` ### Relevant log output ```shell Mar 18 16:40:49 ratel kernel: audit: type=1400 audit(1742330449.928:2419): apparmor="DENIED" operation="mount" class="mount" info="failed flags match" error=-13 profile="fusermount3" name="/tmp/pytest-of-lengau/pytest-14/test_package_repositories_in_o0/work/overlay/overlay/" pid=83036 comm="fusermount3" fstype="fuse.fuse-overlayfs" srcname="fuse-overlayfs" flags="rw, nosuid, nodev, noatime" Mar 18 16:40:49 ratel kernel: audit: type=1400 audit(1742330449.930:2420): apparmor="DENIED" operation="mount" class="mount" info="failed flags match" error=-13 profile="fusermount3" name="/tmp/pytest-of-lengau/pytest-14/test_package_repositories_in_o0/work/overlay/overlay/" pid=83037 comm="fusermount3" fstype="fuse" srcname="/dev/fuse" flags="rw, nosuid, nodev, noatime" ```

Evaluation history

No evaluation history available.