← Back to issue list

snapcraft examples are starting the binaries from outdated path

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1573349
Type
issue
State
closed
Author
~elopio
Labels
verification-done
Created
Updated
Closed

Current evaluation

Updated snapcraft example paths from /snaps/bin to /snap/bin to resolve failing tests. The fix was verified and the issue closed.

Suggested action:

No scores available.

Issue body

[Impact] * The path to run installed snaps from has changed from /snaps/bin to /snap/bin causing many tests to fail. * This change will allow autopackage tests to improve. [Test Case] * Run the example tests. [Regression Potential] * None, this is only in testing code. If there is one autopackage tests will fail.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Updated snapcraft example paths from /snaps/bin to /snap/bin to resolve failing tests. The fix was verified and the issue closed.
qwen/qwen3.6-35b-a3b Updated snapcraft examples to use the correct binary path /snap/bin instead of the outdated /snaps/bin, resolving failing autopackage tests. The fix was verified and the issue closed.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1862163 snapcraft breaks with python app snapcraft (launchpad) closed Closed without resolution. Snapcraft auto-generated invalid command paths starting with `/` for Python apps, causing snapd validation failures. No fix, discussion, or follow-up was provided.
71%
#1549053 The snapcraft install examples tests will fail if there's a snappy update in progress snapcraft (launchpad) closed Closed. Resolved by disabling snappy autoupdate during test setup to prevent background updates from polluting expected output and causing failures.
71%
#1674952 snapcraft tour broken when installed from snap snapcraft (launchpad) closed The snapcraft tour command failed due to a missing directory path when installed via snap. The issue was closed without comments or documented resolution, indicating it was abandoned or fixed in a later release.
71%
#1569401 example tests are failing because they call the old snappy command snapcraft (launchpad) closed Closed without a linked fix or comments. Example tests still reference the deprecated snappy command instead of snap. The issue appears abandoned or superseded by later repository updates.
70%
#1571696 snapcraft-coverage fails with 'No module named 'snapcraft.dirs' snapcraft (launchpad) closed Fixed the snapcraft-coverage script by removing the deprecated snapcraft.dirs import, resolving the ImportError and aligning it with the main snapcraft build. Closed as resolved.
70%