canonical / canonical/craft-application

overlayfs tests break on plucky

Open
#685 1 comment 0 reactions 1 assignee Claimed by @lengau View on GitHub
Dominant language
Python
Stars
14
Forks
29
Avg merge
2d 3h
Merged PRs (30d)
12

Description

### 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"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.