← Back to issue list

Add CI that runs tests that require root

View original Github issue

Metadata

Project
craft-parts
Number
#1464
Type
issue
State
closed
Author
lengau
Labels
Type: Cleanup Status: Triaged
Created
Updated
Closed

Current evaluation

Root-only tests now run in CI via the test-requires-root job added by merged PR #1463 (commit b83516a4).

Resolution: closed resolved

Reason: PR #1463 was merged as commit b83516a4, adding a CI job that selects the requires_root marker and runs tests with sudo.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Add a CI job that runs the tests that require root access ### Why it needs to get done Currently CI is skipping some of our tests because they're not running as root.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Root-only tests now run in CI via the test-requires-root job added by merged PR #1463 (commit b83516a4).
stealth/space-bunny-alpha — closed resolved Added a root-requires test target in merged PR #1463 (commit b83516a4), enabling CI to run tests previously skipped without root access.
qwen/qwen3.6-35b-a3b — — Closed without implementation. No resolution or merge details were provided. The request appears abandoned or deferred to the internal Jira ticket CRAFT-5018.
qwen/qwen3.6-35b-a3b — — Closed and abandoned. The request to add a CI job for root-required tests received no implementation or pull request.
qwen/qwen3.6-35b-a3b — — The request to add a CI job for root-requiring tests was closed without implementation or resolution details. No pull request or fix was linked, indicating the task was deferred or abandoned after initial triage.
qwen3.6-35b-a3b-mtp-q6 — — Adding a CI job for root-requiring tests was closed without implementation. No resolution or merge details were provided, indicating the task was abandoned or deferred.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/craft-parts#1463 (confidence 100%)

    Merged PR #1463 added the root-requires test job in commit b83516a4.

Related issues

Issue Project State Summary Similarity
#1463 test: add test-with-sudo craft-parts merged Merged as commit b83516a4, adding sudo-based test-requires-root CI to run root-dependent tests and fixing #1464.
80%