← 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

Fixed by merged PR ubuntu-core/snapcraft#484 (commit 581e02ba2) updating example tests to use /snap/bin instead of /snaps/bin; shipped in snapcraft 2.8.8b.

Resolution: closed resolved

Reason: The stale /snaps/bin paths in the example autopkgtests were replaced with /snap/bin by merged PR #484 (commit 581e02ba2, 'Examples tests: Update the path to the snaps binaries'). The fix was released in snapcraft 2.8.8b and verification-done was set after SRU verification passed, with the bug then closed.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Fixed by merged PR ubuntu-core/snapcraft#484 (commit 581e02ba2) updating example tests to use /snap/bin instead of /snaps/bin; shipped in snapcraft 2.8.8b.
stealth/space-bunny-alpha — closed resolved Test-only fix: examples autopkgtests started binaries from the obsolete /snaps/bin. Fixed by merged PR snapcraft#484 (commit 581e02ba2), shipped in snapcraft 2.8.8/2.8.8b (LP: #1573349); SRU verified and released to -updates.
stealth/space-bunny-alpha — closed resolved Snapcraft examples now use /snap/bin instead of obsolete /snaps/bin, fixed in PR #484 (commit 581e02ba2).
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

Date Change
created

Related work

  • Likely Fixed By: ubuntu-core/snapcraft#484 (confidence 99%)

    Merged PR titled 'Examples tests: Update the path to the snaps binaries', commit 581e02ba2, cited in the issue's first comment and the 2.8.8b changelog.

  • Related To: snapcraft#1603 (confidence 55%)

    Later commit 70a0c6fb1 adds /snap/bin to PATH in autopkgtests, a follow-up in the same area of example tests.

Related issues

Issue Project State Summary Similarity
#1569401 example tests are failing because they call the old snappy command snapcraft (launchpad) closed Example tests were updated from snappy to snap, fixing Launchpad #1569401 through merged PR ubuntu-core/snapcraft#439 (commit bce446559).
76%
#1670100 Snapcraft includes files from installed snaps in new snap snapcraft (launchpad) closed Fixed by excluding /snap/ paths from crawled dependencies in snapcore/snapcraft PR #1231 (commit 0e9b5a84e).
72%