← Back to issue list

LXD integration tests incompatible with canonical/setup-lxd

View original Github issue

Metadata

Project
craft-providers
Number
#271
Type
issue
State
open
Author
mr-cal
Labels
Type: Bug
Created
Updated
Closed

Current evaluation

LXD integration tests fail with canonical/setup-lxd due to user/group permissions. The legacy CI workflow causing this was removed and replaced with starflow workflows, making this issue obsolete.

Suggested action: close stale

Reason: The issue targets the legacy CI workflow which has been removed and replaced with canonical/starflow workflows. The specific canonical/setup-lxd incompatibility is no longer relevant to the current CI setup.

Impact: 20 Quick Win: 14.0 Staleness: 95 Complexity: 30 Confidence: 85 Support Request: 10

Issue body

Using the github action [canonical/setup-lxd](https://github.com/canonical/setup-lxd) causes the LXD integration tests to fail. It is likely related to user permissions. The github workflow [executes the tests as the `lxd` user](https://github.com/canonical/craft-providers/blob/660921e77d155eae512153119f7974d3f93e0b7a/.github/workflows/tests.yaml#L66) where the canonical/setup-lxd action [uses an `adm` user](https://github.com/canonical/setup-lxd/blob/4e959f8e0d9c5feb27d44c5e4d9a330a782edee0/action.yml#L40). Improving craft-providers to be compatible with a common github action would make CI and integration testing simpler.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 20
Quick Win: 14.0
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
close stale LXD integration tests fail with canonical/setup-lxd due to user/group permissions. The legacy CI workflow causing this was removed and replaced with starflow workflows, making this issue obsolete.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 45
Confidence: 80
Support Request: 10
close stale LXD integration tests fail when using canonical/setup-lxd GitHub Action due to user/group permission mismatches. Author investigated but hit CI runner limitations; issue remains unresolved after ~3 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 40
Confidence: 75
Support Request: 10
needs triage LXD integration tests fail with canonical/setup-lxd due to user/group permission mismatches. Open for over three years with no maintainer response or resolution.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 65
Confidence: 70
Support Request: 10
keep open LXD integration tests fail with canonical/setup-lxd due to user/group permission mismatches. Author investigated but hit roadblocks with group membership and runner execution context. Issue remains open and unassigned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1419 ci: add tests that run in LXD containers craft-parts open Adds LXD container-based CI tests for interim/unreleased Ubuntu releases. 255 days old, no reviews or comments, all 16 LXD test jobs failing. Project has since migrated to starflow CI with use-lxd explicitly disabled.
72%