← Back to issue list

snapcraft upload can fail while monitoring scan status

View original Launchpad issue

Metadata

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

Current evaluation

Fixed by ubuntu-core/snapcraft PR #480 (commit 2cae24aa5), which made upload polling ignore spurious scan-status errors; verified in Snapcraft 2.8.8b.

Resolution: closed resolved

Reason: PR #480 was merged as commit 2cae24aa5 to handle spurious errors while polling upload scan status. The fix was verified and released in Snapcraft 2.8.8b.

Evaluated by: mr-cal-bot

No scores available.

Issue body

[Impact] * Spurious errors on the Ubuntu Store currently cause snap uploads to fail. * This fix will handle those spurious errors correctly. [Test Case] * snapcraft upload a snap. It should still work. Spurious errors while scanning the status url should not fail the upload. [Regression Potential] * None.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed by ubuntu-core/snapcraft PR #480 (commit 2cae24aa5), which made upload polling ignore spurious scan-status errors; verified in Snapcraft 2.8.8b.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/snapcraft#480 (commit 2cae24aa5), making upload polling ignore spurious Ubuntu Store scan-status errors. Shipped in snapcraft 2.8.8/2.8.8b; LP #1572963 closed as verification-done.
stealth/space-bunny-alpha — closed resolved Fixed in merged PR #480 (commit 2cae24aa5): snapcraft upload now ignores transient Ubuntu Store scan-status errors instead of failing.
qwen/qwen3.6-35b-a3b — — Fixed spurious errors during snapcraft upload scan status monitoring. The update handles transient failures correctly, preventing upload interruptions. Verified and closed.
qwen/qwen3.6-35b-a3b — — Fixed spurious errors during snap upload status scanning that previously caused failures. The update correctly handles these transient errors, ensuring uploads complete successfully. Verification is complete.

Update history

Date Change
created

Related work

  • Likely Fixed By: ubuntu-core/snapcraft#480 (confidence 100%)

    Merged fix made upload polling robust against spurious scan-status errors.

  • Related To: snapcraft (launchpad)#1611116 (confidence 98%)

    A later proxy/upload failure on Snapcraft 2.13.1 was reported separately as a new bug.

Related issues

Issue Project State Summary Similarity
#1581689 error uploading snap: package scan took too long snapcraft (launchpad) closed Upload polling was hardened in canonical/snapcraft#480 (commit 2cae24aa5) to ignore transient scan-timeout errors; the report later went stale and was auto-closed.
76%
#1791968 Snapcraft lies when submission to sentry fails snapcraft (launchpad) closed Snapcraft now handles Sentry submission failures gracefully instead of falsely reporting success. Fix merged in canonical/snapcraft#2271 via commit 859c111e5.
72%
#1627843 snapcraft should check permissions before starting an upload snapcraft (launchpad) closed Authentication refreshing was fixed in Snapcraft 2.18 via LP #1621171; a maintainer later confirmed the upload-permission problem was already resolved.
71%