← Back to issue list

test: require root for whiteout tests on Ubuntu 20.04 (backport of #1748)

View original Github issue

Metadata

Project
craft-parts
Number
#1761
Type
pull request
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Backported #1748 to the 2.35 hotfix branch, fixing failing overlayfs whiteout tests on Ubuntu 20.04 by marking them requires_root.

Resolution: closed resolved

Reason: The PR was merged into the 2.35 hotfix branch as a backport of #1748, resolving failing overlayfs collision tests and mknod errors on Ubuntu 20.04 by marking affected tests requires_root.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Backport of https://github.com/canonical/craft-parts/pull/1748 to the 2.35 hotfix branch. Fixes the failing `layer-hides-file` / `layer-hides-dir` collision tests and the overlay-partitions unit-test `mknod(0, 0)` errors on Python 3.10 / Ubuntu 20.04 by marking them `requires_root` when the focal kernel lacks overlayfs whiteout support for unprivileged users.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b — closed resolved Backported #1748 to the 2.35 hotfix branch, fixing failing overlayfs whiteout tests on Ubuntu 20.04 by marking them requires_root.

Update history

Date Change
created

Related work

Related issues

Issue Project State Summary Similarity
#1748 test: require root for whiteout tests on Ubuntu 20.04 craft-parts merged Merged PR #1748 as commit 21870800, requiring root for Focal whiteout tests, skipping unsupported Focal cases, and updating minimum-dependency CI.
87%