← Back to issue list

Store spread tests failing

View original Github issue

Metadata

Project
snapcraft
Number
#4411
Type
issue
State
closed
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Store spread tests failed due to an expired macaroon authentication token. The issue was fixed and closed after a maintainer confirmed the resolution on May 7, 2024.

Suggested action:

No scores available.

Issue body

### Bug Description The `candid` variant of the store spread test appears to be failing fairly reliably, possibly due to an expired token. ### To Reproduce Run spread tests in CI. Example: https://github.com/snapcore/snapcraft/actions/runs/6576891941/job/17867595317?pr=4405 ### Environment GitHub CI ### snapcraft.yaml ```shell N/A ``` ### Relevant log output ```shell 2023-10-19 15:41:47 Error executing google:ubuntu-22.04-64:tests/spread/general/store:candid (oct191539-526036) : ----- + cd ../snaps/dump-hello ++ ls ./test-snapcraft-364352327_1.0_amd64.snap + snap_file=./test-snapcraft-364352327_1.0_amd64.snap ++ sed -e 's/name: \(.*$\)/\1/' ++ grep 'name: ' snap/snapcraft.yaml + snap_name=test-snapcraft-364352327 + export SNAPCRAFT_STORE_AUTH=candid + SNAPCRAFT_STORE_AUTH=candid + snapcraft whoami 2023-10-19 15:41:46.414 Starting Snapcraft 7.5.3.post121+git320b5c6c 2023-10-19 15:41:46.414 Logging execution to '/root/.local/state/snapcraft/log/snapcraft-20231019-154146.413227.log' 2023-10-19 15:41:46.415 Storing credentials for 'snapcraft' on 'dashboard.staging.snapcraft.io' in keyring 'auth MemoryKeyring'. 2023-10-19 15:41:46.416 Retrieving credentials for 'snapcraft' on 'dashboard.staging.snapcraft.io' from keyring 'auth MemoryKeyring'. 2023-10-19 15:41:46.416 HTTP 'GET' for 'https://dashboard.staging.snapcraft.io/api/v2/tokens/whoami' with params None and headers ***'Authorization': '<macaroon>', 'User-Agent': 'snapcraft/7.5.3.post121+git320b5c6c ubuntu/22.04 (x86_64)'*** 2023-10-19 15:41:47.011 craft-store error: Store operation failed: - macaroon-authorization-required: Invalid or missing macaroon authentication 2023-10-19 15:41:47.011 Full execution log: '/root/.local/state/snapcraft/log/snapcraft-20231019-154146.413227.log' ----- . 2023-10-19 15:41:47 Restoring google:ubuntu-22.04-64:tests/spread/general/store:candid (oct191539-526036)... ``` ### Additional context _No response_

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Store spread tests failed due to an expired macaroon authentication token. The issue was fixed and closed after a maintainer confirmed the resolution on May 7, 2024.
qwen/qwen3.6-35b-a3b Store spread tests failed due to an invalid macaroon authentication token. The issue was resolved and closed after a maintainer confirmed the authentication fix was applied on May 7, 2024.
qwen/qwen3.6-35b-a3b Store spread tests failed due to invalid macaroon authentication. The issue was closed after maintainer mr-cal confirmed the authentication token handling has been fixed.
qwen3.6-35b-a3b-mtp-q6 Resolved the store spread test failure caused by an expired macaroon authentication token. The issue was closed after updating the credential handling to prevent invalid token errors.
qwen3.6-35b-a3b-mtp-q6 Expired macaroon authentication caused store spread tests to fail. Maintainer mr-cal resolved the token expiration issue on May 7, 2024, and closed the report.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#97 Confusing error message on expired macaroon craft-store open craft-store shows a confusing 'macaroon-permission-required' error when store credentials expire instead of telling users to re-login. Triaged by a maintainer with a Jira ticket (CRAFT-3385), but no code work; last activity ~11 months ago.
70%