tests: update LXD error message
Metadata
Current evaluation
Merged PR #606 updated an LXD integration test’s expected error message after a progressive LXD snap release changed the output.
Resolution: closed resolved
Reason: PR #606 was merged with approval, updating the test expectation for the changed LXD error text in commit f09f22d.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
This was failing intermittently yesterday and consistently failing today, so this error message probably changed in a progressive release of the LXD snap.
The alternative is to drop this test - craft-providers doesn't need to test an invalid LXD operation as an integration test.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #606 updated an LXD integration test’s expected error message after a progressive LXD snap release changed the output. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Tests updated to match a changed LXD error message, resolving intermittent failures on newer LXD snap releases. Merged by maintainer mr-cal. |
Update history
| Date | Change |
|---|---|
| created |
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. | |
| #161 lxd: improve error messages | craft-providers | merged | Merged PR #161 consolidated duplicate LXD error messages and added help text to other errors in commit 18d4470. | |
| #2983 tests: add LXD spread test | snapcraft | merged | Merged PR #2983 as 4b8522a14, adding spread coverage that builds the LXD package with LXD and destructive/host providers; installation checks were deferred. | |
| #3957 tests: retry installing lxd snap | snapcraft | merged | PR #3957 merged as 57cd1d97b, adding snapd-testing-tools retries for LXD installation in spread tests to work around intermittent snapd bug 1870201. | |
| #544 tests: warn if LXD cannot be refresh in 20.04's GHA | charmcraft | merged | Merged PR #544 updated Ubuntu 20.04 GHA tests to warn when LXD cannot refresh while retaining the usable preinstalled LXD. | |
| #207 tests: split lxd integration tests | craft-providers | merged | Merged #207 to split LXD integration tests, resolving review feedback from #205; landed as commit 3eba5ca. | |
| #3725 tests: use lxd in clean provider test | snapcraft | merged | Merged PR #3725 (commit 61aaff6fc) into snapcraft/7.0, enabling LXD in provider-cleaning unit tests so they match destructive-mode test runs. Approved by one maintainer reviewer. | |
| #532 fix(lxd): update LXD version naming support LTS | craft-providers | merged | PR #532 was merged, updating LXD version naming support to recognize LTS releases. |