← Back to issue list

ci: add tests that run in LXD containers

View original Github issue

Metadata

Project
craft-parts
Number
#1419
Type
pull request
State
open
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action: close stale

Reason: The PR is inactive for 247 days with zero comments or reviews, and all 16 ubuntu-minimal-daily LXD test jobs it introduces are failing. More critically, the project has explicitly abandoned LXD-based testing: the current qa.yaml sets use-lxd: false in every starflow job, and commit #1677 is titled 'ci: don't install lxd'. The PR's core approach is no longer aligned with the project's CI direction, which now uses starflow edge platforms for unreleased-release coverage.

Impact: 25 Quick Win: 17.5 Staleness: 85 Complexity: 30 Confidence: 78

Issue body

These tests ensure that we run properly even on interim or unreleased Ubuntu releases. They can also be expanded to handle other distros. - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint && make test`? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ---

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 17.5
Staleness: 85
Complexity: 30
Confidence: 78
close stale 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.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 15
Confidence: 80
close stale Adds CI tests running in LXD containers for interim Ubuntu releases. Inactive for 7 months with 0 reviewers and consistent CI failures on unreleased daily builds.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 25
Confidence: 75
close stale Adds CI tests using LXD containers to validate behavior on interim Ubuntu releases. PR remains inactive for over six months with an unchecked checklist and no CI runs or maintainer feedback.
qwen3.6-35b-a3b-mtp-q6
Staleness: 65
Complexity: 40
Confidence: 60
needs review Adds CI tests running in LXD containers to verify functionality on interim Ubuntu releases and other distros. Inactive for over five months with an unchecked checklist and no comments, it requires triage and maintainer review to proceed.

Update history

No update history recorded yet.

Related work

  • Related To: craft-parts#1677 (confidence 85%)

    Commit 'ci: don't install lxd (#1677)' shows the project explicitly removed LXD from CI, directly contradicting this PR's approach.

  • Related To: snapcraft#202 (confidence 30%)

    Historical PR for container-based testing in snapcraft (merged 2016); tangentially related concept but different project and era.

Related issues

Issue Project State Summary Similarity
#876 ci: add weekly tests on a variety of distros craft-providers open Adds weekly CI tests across multiple Linux distros using LXD; PR has been inactive for 266 days with multiple failing integration tests and no reviewer engagement
77%
#1415 tests: run the tests in travis using LXD containers snapcraft merged Merged changes to run Travis CI tests using LXD containers. The update modifies five files, adding 166 lines and removing 12, after receiving reviewer approval.
74%
#1677 ci: don't install lxd craft-parts merged Merged a CI configuration update removing the unused LXD installation. Approved by three reviewers, the change was integrated despite unrelated test failures stemming from a Launchpad issue.
74%
#202 Run the tests in a xenial LXC. snapcraft merged Merged on 2016-01-26 following reviewer approval. The change configures the test suite to run inside a Xenial LXC container, resolving Launchpad bug #1532213. Acknowledged example test failures did not prevent integration.
72%
#271 LXD integration tests incompatible with canonical/setup-lxd craft-providers open 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.
72%
#2983 tests: add LXD spread test snapcraft merged Merged after reviewer approval and passing CI checks. Added LXD spread test to verify LXD builds and installs. Modified two files with 29 added lines.
72%
#1978 ci: switch to stable lxd and unconfined containers snapcraft merged Merged CI configuration update switching to stable LXD and unconfined containers. Approved by two reviewers with a two-file, five-line change.
71%
#1758 tests: move the ppa test trigger to lxd snapcraft merged Merged changes moving the PPA test trigger from Docker to LXD to streamline future debugging. The original failure was valid, but the environment shift improves test maintainability. Approved by reviewers and passed all CI checks.
71%
#857 ci: add weekly lxd tests craft-providers open Adds weekly LXD integration tests across Ubuntu/LXD/Python version matrices. Approved by 2 reviewers, CI passing, 0 unresolved comments.
70%
#214 Run tests in trusty and vivid lxc. snapcraft closed Modifications to run tests in Trusty and Vivid LXC environments were closed without review or merge. Zero comments and pending review status indicate the changes were abandoned.
70%