← Back to issue list

Error when installing snaps

View original Github issue

Metadata

Project
fetch-service
Number
#129
Type
issue
State
closed
Author
tigarmo
Labels
Created
Updated
Closed

Current evaluation

Resolved fetch-service response rejection causing snapcraft installation failures. Fix merged in pull request #145.

Suggested action:

No scores available.

Issue body

### Bug Description When integrating with sourcecraft, a project with `build-snaps: [go]` fails during the snap installation - the fetch-service explicitly rejects one of the responses. One extra detail here is that if I shell into the session after the failure, running `snap install go --classic` manually then succeeds. Here's the session report: [snap-install-failure.json](https://github.com/user-attachments/files/16028684/snap-install-failure.json) ### To Reproduce fetch-service is started in the same way as described in #128 . `sourcecraft.yaml` has a part with `build-snaps: [go]`. ### Relevant log output ```shell 2024/06/27 08:59:26.512805 INFO : [b130d957d6164a70a99b84063fe9d54c] POST https://api.snapcraft.io:443/v2/snaps/refresh: 200 OK (application/json) 2024/06/27 08:59:26.840092 INFO : default: response opinion set to 0 2024/06/27 08:59:26.840126 INFO : [b130d957d6164a70a99b84063fe9d54c] artefact rejected: e4457fa000b98e1f469866ed93b8a9a428e3d944a67605e53ef30a5554a749da 1888 (application/json) 2024/06/27 08:59:26.840152 INFO : e4457fa000b98e1f469866ed93b8a9a428e3d944a67605e53ef30a5554a749da: artefact rejected by inspectors ***** LOG OF SUCCESSFUL EXECUTION AFTERWARDS, SHELLED INTO THE SESSION: ***** 2024/06/27 09:02:25.156300 INFO : request to api.snapcraft.io 2024/06/27 09:02:25.156367 INFO : default: request opinion set to 0 2024/06/27 09:02:25.156379 INFO : [b130d957d6164a70a99b84063fe9d54c] request approved: POST https://api.snapcraft.io:443/v2/snaps/refresh 2024/06/27 09:02:26.085986 INFO : request to api.snapcraft.io:443: IP address 185.125.188.54 2024/06/27 09:02:26.086020 INFO : Access to 185.125.188.54 allowed 2024/06/27 09:02:26.086351 INFO : [b130d957d6164a70a99b84063fe9d54c] POST https://api.snapcraft.io:443/v2/snaps/refresh: 200 OK (application/json) 2024/06/27 09:02:26.086371 INFO : artefact e4457fa000b98e1f469866ed93b8a9a428e3d944a67605e53ef30a5554a749da already downloaded ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Resolved fetch-service response rejection causing snapcraft installation failures. Fix merged in pull request #145.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#4525 Error Installing build-snaps snapcraft closed Closed as resolved externally. The user encountered 500 server errors fetching build-snaps in snapcraft. The issue was resolved via forum troubleshooting rather than a code fix.
72%