← Back to issue list

spread: charm upload and release store test is flaky when the store is busy

View original Github issue

Metadata

Project
charmcraft
Number
#1429
Type
issue
State
closed
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Closed without comments or linked resolution. The flaky store test failure due to processing delays was abandoned or resolved via CI configuration adjustments.

Suggested action:

No scores available.

Issue body

### Bug Description The `charm-upload-and-release` store test sometimes fails because the store sometimes takes longer than expected to process a charm. ### To Reproduce Run the snap-store-tests action when the staging store has a lot of chramcraft-related activity. ### Environment GitHub CI: https://github.com/canonical/charmcraft/actions/runs/7130696852/job/19418225138#step:6:229 ### charmcraft.yaml ```shell n/a ``` ### Relevant log output ```shell ++ charmcraft upload gh-ci-charmcraft-charm_ubuntu-22.04-amd64.charm --format=json Starting to push 'gh-ci-charmcraft-charm_ubuntu-22.04-amd64.charm' Uploading... (--->) Uploading... (<---) Uploading bytes ended, id 3b7b89b0-e66c-4fce-a951-bd8e783aadb4 Upload 3b7b89b0-e66c-4fce-a951-bd8e783aadb4 started, got status url /v1/charm/gh-ci-charmcraft-charm/revisions/review?upload-id=3b7b89b0-e66c-4fce-a951-bd8e783aadb4 Status checked: {'revisions': [{'errors': None, 'revision': None, 'status': 'new', 'upload-id': '3b7b89b0-e66c-4fce-a951-bd8e783aadb4'}]} Status checked: {'revisions': [{'errors': None, 'revision': 1345, 'status': 'new', 'upload-id': '3b7b89b0-e66c-4fce-a951-bd8e783aadb4'}]} Status checked: {'revisions': [{'errors': None, 'revision': 1345, 'status': 'approved', 'upload-id': '3b7b89b0-e66c-4fce-a951-bd8e783aadb4'}]} + uploaded_revno=1345 ++ jq -r --arg revno 1345 '.[] | select(.revision|tostring==$revno)' ++ charmcraft revisions gh-ci-charmcraft-charm --format=json + up_revision='{ "revision": 1345, "version": "1345", "created_at": "2023-12-07T16:18:25Z", "status": "approved" }' ++ jq -r .created_at ++ echo '{' '"revision":' 1345, '"version":' '"1345",' '"created_at":' '"2023-12-07T16:18:25Z",' '"status":' '"approved"' '}' + up_revision_created=2023-12-07T16:18:25Z + [[ 2023-12-07T16:15:37+00:00 < 2023-12-07T16:18:25Z ]] + charmcraft release gh-ci-charmcraft-charm -r 1345 -c edge Revision 1345 of 'gh-ci-charmcraft-charm' released to edge ++ jq -r '.[] | select(.track=="latest") | .mappings[0].releases | .[] | select(.channel=="latest/edge")' ++ charmcraft status gh-ci-charmcraft-charm --format=json + edge_release='{ "status": "open", "channel": "latest/edge", "version": "1344", "revision": 1344, "resources": [ { "name": "example-file", "revision": 1 }, { "name": "example-image", "revision": 1 } ], "expires_at": null }' ++ jq -r .revision ++ echo '{' '"status":' '"open",' '"channel":' '"latest/edge",' '"version":' '"1344",' '"revision":' 1344, '"resources":' '[' '{' '"name":' '"example-file",' '"revision":' 1 '},' '{' '"name":' '"example-image",' '"revision":' 1 '}' '],' '"expires_at":' null '}' + edge_revision=1344 + test 1344 -ge 1345 ----- . ```

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Closed without comments or linked resolution. The flaky store test failure due to processing delays was abandoned or resolved via CI configuration adjustments.
qwen/qwen3.6-35b-a3b Abandoned. The charm-upload-and-release test fails during high store load due to processing delays, but no fix was implemented.
qwen/qwen3.6-35b-a3b Closed without resolution or linked pull request. The flaky charm upload and release test failure during high store load remains unfixed, indicating the issue was abandoned.
qwen/qwen3.6-35b-a3b Closed without resolution. The flaky charm-upload-and-release test failed due to store processing delays causing timestamp mismatches. Zero comments and no linked fixes indicate the issue was abandoned due to inactivity.
qwen3.6-35b-a3b-mtp-q6 Closed without a fix. The flaky charm-upload-and-release test failure caused by store latency was abandoned. No resolution or code changes were applied, indicating the issue was deferred.
qwen3.6-35b-a3b-mtp-q6 The flaky charm upload and release store test was closed without resolution. No fix was implemented or discussed, indicating the issue was abandoned due to inactivity.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1218 tests: store resources spread test is flaky charmcraft closed The flaky store resources spread test was closed without comments or a fix, likely abandoned or auto-closed. The Charmhub upload timeout issue remains unresolved.
82%
#1469 Charm upload/release spread test is flaky charmcraft closed Closed without resolution. The flaky charm upload/release spread test, failing due to race conditions during store releases, was abandoned. No fix or workaround was implemented.
80%
#1362 CI: `charm-upload-and-release` test is flaky charmcraft closed Closed without resolution, likely due to inactivity. The flaky CI test was not fixed, and no pull request or workaround was implemented.
75%
#1095 Race condition in store spread tests charmcraft closed Closed without resolution. Concurrent store tests triggered a race condition during charm uploads and revision checks. The issue was abandoned or addressed externally without linked fixes or comments.
72%