← Back to issue list

autopkgtests are running snapcraft from source

View original Launchpad issue

Metadata

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

Current evaluation

Fixed and verified. Autopkgtests now install and execute against the built deb package instead of source, ensuring realistic testing conditions with no regression.

Suggested action:

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
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

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1572764 autopkgtests are not installing the generated snaps snapcraft (launchpad) closed Fixed by configuring autopkgtests to install generated snaps on Ubuntu classic, improving test coverage. Resolved and marked verification-done.
76%
#1596068 The unittests in autopkgtest are run twice snapcraft (launchpad) closed Autopkgtest configuration updated to skip unit tests already executed during package builds. Only integration and snaps suites now run, eliminating redundant execution and improving developer build times. Resolved and verified.
74%
#464 autopkgtests: run the tests using the installed package snapcraft merged Merged following reviewer approval and a requested rebase. The change modifies autopkgtests to execute against the installed package rather than the source tree, updating four files with 17 additions and 11 deletions. Addresses LP: #1570992.
74%
#2380 tests: use autopkgtest to leverage snap testing snapcraft merged Merged. Updates the test suite to use autopkgtest for snap testing, modifying 31 files and reducing 137 lines. Changes were integrated into the main branch after passing CI checks.
71%