Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store spread tests failing #4411

Closed
lengau opened this issue Oct 19, 2023 · 2 comments
Closed

Store spread tests failing #4411

lengau opened this issue Oct 19, 2023 · 2 comments
Labels
bug Actual bad behavior that don't fall into maintenance or documentation

Comments

@lengau
Copy link
Contributor

lengau commented Oct 19, 2023

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

N/A

Relevant log output

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

@mr-cal
Copy link
Collaborator

mr-cal commented May 7, 2024

This has been fixed

@mr-cal mr-cal closed this as completed May 7, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2879.

This message was autogenerated

@mr-cal mr-cal reopened this May 7, 2024
@mr-cal mr-cal closed this as completed May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Actual bad behavior that don't fall into maintenance or documentation
Projects
None yet
Development

No branches or pull requests

2 participants