You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During transient store issues (i.e. 500-series HTTP errors), we don't error out as expected.
To Reproduce
Set up a fake store 🙃 that always returns 500 errors and run craft_parts.packages.snaps.SnapPackage("any-name").get_store_snap_info()
Expected result:
Errors out when getting the info
Actual result:
Just returns no snap info
part yaml
plugin: go
source: .
source-type: local
build-snaps:
- go/1.21/stable
Relevant log output
[From snapcraft]
2024-05-27 21:41:21.556 :: 2024-05-27 21:34:40.843 ignore patterns: ['*.snap']
2024-05-27 21:41:21.556 :: 2024-05-27 21:34:40.843 Installing build-packages
2024-05-27 21:41:21.556 :: 2024-05-27 21:34:40.844 Installing build-snaps
2024-05-27 21:41:21.556 :: 2024-05-27 21:35:20.892 The http error when checking the store for core22 is 500 (retries left 5)
2024-05-27 21:41:21.556 :: 2024-05-27 21:36:00.933 The http error when checking the store for core22 is 500 (retries left 4)
2024-05-27 21:41:21.556 :: 2024-05-27 21:36:40.967 The http error when checking the store for core22 is 500 (retries left 3)
2024-05-27 21:41:21.556 :: 2024-05-27 21:37:20.995 The http error when checking the store for core22 is 500 (retries left 2)
2024-05-27 21:41:21.556 :: 2024-05-27 21:38:01.017 The http error when checking the store for core22 is 500 (retries left 1)
2024-05-27 21:41:21.556 :: 2024-05-27 21:38:41.043 The http error when checking the store for go is 500 (retries left 5)
2024-05-27 21:41:21.556 :: 2024-05-27 21:39:21.073 The http error when checking the store for go is 500 (retries left 4)
2024-05-27 21:41:21.556 :: 2024-05-27 21:40:01.086 The http error when checking the store for go is 500 (retries left 3)
2024-05-27 21:41:21.556 :: 2024-05-27 21:40:41.102 The http error when checking the store for go is 500 (retries left 2)
2024-05-27 21:41:21.556 :: 2024-05-27 21:41:21.116 The http error when checking the store for go is 500 (retries left 1)
2024-05-27 21:41:21.556 :: 2024-05-27 21:41:21.121 verify plugin environment for part '********'
2024-05-27 21:41:21.556 :: 2024-05-27 21:41:21.124 plugin validation environment: # Environment
2024-05-27 21:41:21.556 :: ## Application environment
// continues as normal, errors out because we don't have go
The text was updated successfully, but these errors were encountered:
Bug Description
During transient store issues (i.e. 500-series HTTP errors), we don't error out as expected.
To Reproduce
Set up a fake store 🙃 that always returns 500 errors and run
craft_parts.packages.snaps.SnapPackage("any-name").get_store_snap_info()
Expected result:
Errors out when getting the info
Actual result:
Just returns no snap info
part yaml
Relevant log output
The text was updated successfully, but these errors were encountered: