← Back to issue list

test: use lxd for python symlink tests, update craft-parts

View original Github issue

Metadata

Project
snapcraft
Number
#5273
Type
pull request
State
closed
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

PR #5273 was closed unmerged after its LXD and craft-parts test changes still produced intermittent Python symlink failures; no resolving commit landed.

Resolution: closed stale

Reason: The PR was closed unmerged after prolonged inactivity, and the author reported on 2025-02-20 that intermittent failures remained. No merge commit or later replacement was identified.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`? --- Snapcraft has an [intermittent failure](https://github.com/canonical/snapcraft/actions/runs/13424106758/job/37504217511#step:4:343) with python symlink tests. It seems like it's been failing more often. This PR is a one-two punch in hopes to fix or at least narrow down the failure: 1. Update craft-parts to bring in more reliable stdout/stderr, as this could be an output problem. 2. Bring in core24 test updates from #5209 to core22 to stop running in destructive mode. I'm suspicious that one test installs python and changes what is resolved [here](https://github.com/canonical/craft-parts/blob/f47837adfc2f12e1fb37c5bbc378ad06a0fbcb11/craft_parts/plugins/base.py#L153).

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed stale PR #5273 was closed unmerged after its LXD and craft-parts test changes still produced intermittent Python symlink failures; no resolving commit landed.
stealth/space-bunny-alpha — closed stale Closed unmerged: #5273 updated craft-parts and moved core24 test updates to core22/LXD, but intermittent Python symlink-test failures persisted.
stealth/space-bunny-alpha — closed stale PR #5273 was closed unmerged; its craft-parts update and LXD test changes did not resolve the intermittent Python symlink test failures.
qwen/qwen3.6-35b-a3b — — Closed without merging. The PR attempted to resolve intermittent python symlink test failures by updating craft-parts and adjusting test modes. The author reported continued failures, leaving the issue unresolved.
qwen3.6-35b-a3b-mtp-q6 — — Closed without merging. The PR updated craft-parts and switched tests to LXD to address intermittent python symlink failures, but the author confirmed the issue persisted.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#5209 (confidence 98%)

    Merged as commit 56713c384; #5273 backported its core24 test updates but remained unsuccessful.

Related issues

Issue Project State Summary Similarity
#1820 Update test_lxd.py snapcraft closed PR #1820's test cleanup was closed unmerged after a reviewer noted it did not increase LXD test coverage; no resolving commit or replacement was identified.
75%
#56 feat(test-python): optionally setup lxd starflow closed Merged PR #56 added optional LXD setup to test-python, enabling craft-providers testing; all CI checks passed.
74%
#42 feat(test-python): install lxd starflow merged Merged #42 as commit 2c6a4a5, adding opt-in LXD setup for test-python hosted runners so use-lxd works with craft-providers.
72%