← Back to issue list

Remove the unittests from the autopkgtest execution

View original Github issue

Metadata

Project
snapcraft
Number
#600
Type
pull request
State
merged
Author
come-maiz
Labels
Created
Updated
Closed

Current evaluation

Merged to prevent duplicate unittest execution by removing tests from autopkgtest, as they already run during the build phase. Resolved LP #1596068. CI passed after resolving external execution delays.

Suggested action:

No scores available.

Issue body

The tests were being run twice, once when building the package and then on the autopkg execution. LP: #1596068

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to prevent duplicate unittest execution by removing tests from autopkgtest, as they already run during the build phase. Resolved LP #1596068. CI passed after resolving external execution delays.
qwen3.6-35b-a3b-mtp-q6 Merged to eliminate duplicate test runs. The change removes unittests from autopkgtest since they already execute during package building. After initial delays from autopackage issues, the branch passed all checks and was merged.
qwen3.6-35b-a3b-mtp-q6 Merged to remove duplicate unittest execution from autopkgtest. Tests previously ran during both package build and autopkg phases. Changes passed CI checks and resolved LP: #1596068.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
77%
#1716 tests: split the integration autopkgtests snapcraft merged Merged after splitting integration autopkgtests to eliminate timeout failures. The change adds minor per-test setup overhead but resolves recurring execution timeouts. Approved by two reviewers with passing CI checks.
74%
#1200 tests: allow to run individual autopkgtest suites snapcraft merged Merged implementation enabling execution of individual autopkgtest suites. Resolves Launchpad bug #1673981. Updated one test file with 17 additions and 13 deletions to support selective suite execution.
72%
#293 Add the unit tests to the autopkgtest suite. snapcraft merged Merged changes adding unit tests to the autopkgtest suite. The update modified two files with six added lines, was approved by sergiusens, and resolved launchpad bug LP: #1541421.
72%