← Back to issue list

travis: use apt addon to prevent apt update issues in CLA-check

View original Github issue

Metadata

Project
snapcraft
Number
#2691
Type
pull request
State
merged
Author
cjp256
Labels
Created
Updated
Closed

Current evaluation

Merged fix for Travis CI CLA-check failures caused by apt update hash mismatches. Replaced manual package installation with the Travis apt addon. Approved and merged into master.

Suggested action:

No scores available.

Issue body

The CLA check has been failing regularly during apt updates, with "Hash sum mismatch". Instead of installing the apt packages manually, rely on the apt addon like the rest of the stages. Signed-off-by: Chris Patterson <chris.patterson@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix for Travis CI CLA-check failures caused by apt update hash mismatches. Replaced manual package installation with the Travis apt addon. Approved and merged into master.
qwen3.6-35b-a3b-mtp-q6 Merged a Travis CI update switching the CLA check to use the apt addon instead of manual installation. This resolves recurring Hash sum mismatch errors during package updates, stabilizing continuous integration checks.
qwen3.6-35b-a3b-mtp-q6 Merged a fix for Travis CI CLA-check failures caused by apt update hash mismatches. Replaced manual package installation with the apt addon to align with other build stages and stabilize the check.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1655790 in travis, the CLA check is failing because it's not insalling launchpadlib snapcraft (launchpad) closed Resolved by updating the Travis CI configuration to install launchpadlib via pip, eliminating the apt-pip conflict and fixing the failing CLA check.
75%
#1043 tests: fix the CLA launchpadlib install in travis snapcraft closed Merged to master, fixing the launchpadlib installation in Travis CI for CLA checks. The change updated two files and maintained existing code coverage.
71%
#3233 travis: set cla check as final stage snapcraft merged Merged a Travis CI configuration update that moves the CLA check to the final stage. This ensures test results display regardless of CLA status, enabling ongoing development while contributors resolve compliance. Approved and passed all checks.
71%
#2477 ci: shallow clones for CLA checks on travis snapcraft merged Merged after two approvals and passing CI. Configured Travis CI to use shallow clones for CLA checks, reducing check execution time with a two-line update.
71%