← 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

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Closed without merging. Updates to craft-parts and test isolation failed to resolve intermittent python symlink test failures, leading to the pull request being abandoned.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#42 feat(test-python): install lxd starflow merged Merged pull request to install lxd for test-python. This enables the use-lxd action required for craft-providers on hosted runners. Approved by reviewers and passed all CI checks.
70%