autopkgtests are running snapcraft from source
Metadata
Current evaluation
Fixed by upstream PR #464 (commit bce2d23ec) making autopkgtests run against the installed snapcraft package instead of the source tree. Shipped in snapcraft 2.8.8b xenial SRU; verified and released to -updates.
Resolution: closed resolved
Reason: Merged upstream commit bce2d23ec ("autopkgtests: run the tests using the installed package", PR #464) resolved it. The changelog for snapcraft 2.8.8b lists "autopkgtests: run the tests using the installed package (#464) (LP: #1570992)", verification was done by ~elopio on xenial with 2.8.8b, and ~janitor closed the bug.
Evaluated by: mr-cal-bot
No scores available.
Issue body
[Impact]
* Autopackage tests will install the built deb and run the tests from
there instead of source providing a more realistic scenario.
[Test Case]
* Run autopackage tests.
[Regression Potential]
* None.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by upstream PR #464 (commit bce2d23ec) making autopkgtests run against the installed snapcraft package instead of the source tree. Shipped in snapcraft 2.8.8b xenial SRU; verified and released to -updates. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR canonical/snapcraft#464 (commit bce2d23ec), making autopkgtests run the installed built deb instead of the source tree. Shipped in snapcraft 2.8.8b, verified by ~elopio and released to xenial -updates; bug closed verification-done. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #464 (commit bce2d23ec), making autopkgtests exercise the installed built deb instead of the source tree. Shipped in snapcraft 2.8.8b for xenial; SRU verification passed and it was released to -updates. | |
| stealth/space-bunny-alpha | — | closed resolved | Autopkgtests now install and test the built Snapcraft deb instead of running from the source tree, fixed by merged PR #464 (bce2d23ec). | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed and verified. Autopkgtests now install and execute against the built deb package instead of source, ensuring realistic testing conditions with no regression. | |
| qwen/qwen3.6-35b-a3b | — | — | Autopkgtests were modified to install and run against the built deb package instead of source, providing a realistic test scenario. The change was verified and the issue closed. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#464
(confidence 98%)
Merged PR by elopio, commit bce2d23ec, cited by the reporter and in the 2.8.8b changelog for LP #1570992
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1572764 autopkgtests are not installing the generated snaps | snapcraft (launchpad) | closed | Autopkgtests did not install the generated example snaps. Fixed by snapcraft PR #481 (commit ca2c23904, "autopkgtests: run the install examples tests in classic"), shipped in snapcraft 2.9 and released to xenial -updates; bug auto-closed by ~janitor after verification. | |
| #1596068 The unittests in autopkgtest are run twice | snapcraft (launchpad) | closed | PR #600 removed unit tests from autopkgtest, merging as commit 8a4d204de and shipping in snapcraft 2.12; the SRU was successfully verified. | |
| #464 autopkgtests: run the tests using the installed package | snapcraft | merged | Merged PR #464 in commit bce2d23ec, changing autopkgtests to test the installed built package instead of the source tree; LP #1570992 was fixed and verified. | |
| #1805224 Test infrastructure for snapcraft snap on non amd64 | snapcraft (launchpad) | closed | Request to run autopkgtests against the Snapcraft snap on non-amd64 was fulfilled by snapcore/snapcraft PR #2380, merged as commit 4c5b97a6b "tests: use autopkgtest to leverage snap testing"; maintainer sergiusens posted the PR link in Nov 2018. | |
| #1756 tests: add the missing quote on autopkgtest run | snapcraft | merged | Merged PR snapcraft#1756 restored a missing quote in the local autopkgtest command, fixing a one-character syntax error in commit ab5e6e37b. |