← Back to issue list

examples tests are passing the --allow-unauthenticated flag on install

View original Launchpad issue

Metadata

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

Current evaluation

Example install tests failed because `snap install` no longer accepts --allow-unauthenticated. Fixed by snapcraft PR #482 (commit 8f07ccf8b, 'Remove --allow-unauthenticated from examples tests'), shipped in snapcraft 2.8.8b xenial SRU.

Resolution: closed resolved

Reason: PR #482 (commit 8f07ccf8b) removed the obsolete flag from the examples tests; the changelog entry 'Remove --allow-unauthenticated from examples tests (#482) (LP: #1573211)' appears in snapcraft 2.8.8b, which was verified by ~elopio and released to xenial -updates in May 2016.

Evaluated by: mr-cal-bot

No scores available.

Issue body

[Impact] * Install tests are broken so it is hard to automatically verify that future changes will not break backwards. * snap install no longer takes the --allow-unauthenticated flag so all tests fail to install. [Test Case] * verify that the example tests work. (python3 -m example_tests) [Regression Potential] * automated tests will not pass. [Other Info] * This only affects CI and continous testing.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Example install tests failed because `snap install` no longer accepts --allow-unauthenticated. Fixed by snapcraft PR #482 (commit 8f07ccf8b, 'Remove --allow-unauthenticated from examples tests'), shipped in snapcraft 2.8.8b xenial SRU.
stealth/space-bunny-alpha — closed resolved Fixed by merged Snapcraft PR #482 (commit 8f07ccf8b), which removed --allow-unauthenticated from example install tests; released in snapcraft 2.8.8.
stealth/space-bunny-alpha — closed resolved Removed the deprecated --allow-unauthenticated flag from example install tests, restoring CI regression coverage.
qwen/qwen3.6-35b-a3b — — Resolved by removing the deprecated --allow-unauthenticated flag from example install tests, restoring CI functionality. Verified and closed.
qwen/qwen3.6-35b-a3b — — Resolved by removing the deprecated --allow-unauthenticated flag from snap install commands. Example tests now pass in CI, restoring automated verification and eliminating the regression.
qwen/qwen3.6-35b-a3b — — Example tests failed because they passed the deprecated --allow-unauthenticated flag to snap install. The flag usage was corrected, resolving CI failures. The issue was closed after verification confirmed the tests now pass.
qwen3.6-35b-a3b-mtp-q6 — — Removed the deprecated --allow-unauthenticated flag from example test install commands. Tests now pass and CI verification succeeded. Issue closed after successful verification.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#482 (confidence 97%)

    PR 'Remove --allow-unauthenticated from examples tests (#482)', commit 8f07ccf8b, cited by the reporter and included in the 2.8.8b changelog for this LP bug.

  • Related To: snapcraft#484 (confidence 60%)

    Companion fix 'Examples tests: Update the path to the snaps binaries (#484)' (commit 581e02ba2) shipped in the same 2.8.8b SRU; other example-test fixes #483 and #485 also landed alongside.

Related issues

No related issues found above the similarity threshold.