Service "snapcraft" stopped unexpectedly with code 70
Metadata
Current evaluation
Snapcraft OCI image pebble service exits with code 70. Debugging revealed leftover build artifacts in the mounted project dir as the cause; user resolved it by cleaning up and setting SNAPCRAFT_BUILD_ENVIRONMENT=host. Follow-ups filed as #58-#60. Still open, unlabelled.
Suggested action: close not a bug
Reason: The reporter confirmed the image works after removing leftover build artifacts (parts/prime/snap/stage and the stale .snap) and setting SNAPCRAFT_BUILD_ENVIRONMENT=host, so the reported failure was a user-environment issue, not an image bug. The remaining improvement asks (better error messages, env vars in the image, WORKDIR) were explicitly split into follow-up issues #58, #59, and #60, which are still open and unlabelled, so nothing actionable is left in this issue itself.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
15
Quick Win:
10.5
Staleness:
80
Complexity:
30
Confidence:
80
Support Request:
70
|
close not a bug | Snapcraft OCI image pebble service exits with code 70. Debugging revealed leftover build artifacts in the mounted project dir as the cause; user resolved it by cleaning up and setting SNAPCRAFT_BUILD_ENVIRONMENT=host. Follow-ups filed as #58-#60. Still open, unlabelled. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
15
Confidence:
90
Support Request:
85
|
close stale | User reports snapcraft container service failing with code 70. Maintainer assists with debugging, revealing missing environment variables and leftover build artifacts causing conflicts. Issue resolved by user cleanup and configuration adjustments. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
10
Confidence:
85
Support Request:
85
|
close stale | User reported snapcraft OCI image failing with exit code 70. Resolved by author after cleaning leftover build artifacts and setting required environment variables. Issue is stale and resolved. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
30
Confidence:
90
Support Request:
20
|
close stale | Snapcraft OCI image exits with code 70 due to unhelpful error messages and leftover build artifacts causing YAML parse failures. Resolved via workarounds; author opened related PRs to improve container environment setup and error handling. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft-rocks#58
(confidence 95%)
Explicitly opened by the reporter in this issue to catch issues with older/invalid YAML files; still open.
-
Related To:
snapcraft-rocks#59
(confidence 95%)
Explicitly opened by the reporter to add SNAPCRAFT_BUILD_ENVIRONMENT=host at the Docker level; still open.
-
Related To:
snapcraft-rocks#60
(confidence 95%)
Explicitly opened by the reporter to set WORKDIR to /workdir at the Docker level; still open.
Related issues
No related issues found above the similarity threshold.