← Back to issue list

test: fix store tests

View original Github issue

Metadata

Project
snapcraft
Number
#5370
Type
pull request
State
closed
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Merged to fix store test failures caused by re-provisioned credentials. Updated test configurations and secrets for staging workflows, including base64 encoding and new key registrations.

Suggested action:

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`? --- All of snapcraft's secrets were re-provisioned from Sergio's credentials to mine and it broke some of the store tests. This PR adjusts the tests and the secrets. failing test | fix | | -------------------------------------------- | ---------------------------------------------------------------------------- | | tests/spread/store/basic-workflow:candid | use the testing snap for `snapcraft metrics` | | tests/spread/store/basic-workflow:legacy | use base64 encoding for the credentials | | tests/spread/store/basic-workflow:ubuntu_one | use the testing snap for `snapcraft metrics` | | tests/spread/store/confdbs | use a new key registered on the staging store | | tests/spread/store/validation-sets | use a new key registered on the staging store |

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged to fix store test failures caused by re-provisioned credentials. Updated test configurations and secrets for staging workflows, including base64 encoding and new key registrations.
qwen3.6-35b-a3b-mtp-q6 Merged to resolve store test failures caused by credential re-provisioning. Updated test suites to use staging store keys, base64 encoded credentials, and testing snaps for metrics commands.
qwen3.6-35b-a3b-mtp-q6 Merged to fix store tests broken by credential re-provisioning. Updates switch to testing snaps for metrics, apply base64 encoding to credentials, and register new staging store keys for confdbs and validation sets.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5371 test(spread): update store tests snapcraft merged Merged after updating store tests and credentials following a secret re-provisioning that broke existing tests. Adjusted configurations for metrics, base64 credential encoding, and staging store keys to restore test functionality.
85%
#5954 tests: fix store tests snapcraft merged Merged after approval. Updated store tests with new staging credentials and switched to wheels for automated spread tests. CI passed, with unrelated spread failures noted by the author.
72%