charmcraft exiting with 120 exit status and no stdout/stderr
Metadata
Current evaluation
Reporter saw charmcraft exit 120 with no output when run inside a classic snap. Maintainer facundobatista traced it to snapd bug #1849753 (classic snap invoking another classic snap) and closed the issue as not charmcraft-related.
Resolution: closed not a bug
Reason: facundobatista closed the issue on 2021-12-02 stating the failure comes from snapd bug https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1849753, where a classic snap executing another classic snap is unlikely to work, so it is not a charmcraft defect. The reporter also confirmed pip-installed charmcraft worked fine.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed not a bug | Reporter saw charmcraft exit 120 with no output when run inside a classic snap. Maintainer facundobatista traced it to snapd bug #1849753 (classic snap invoking another classic snap) and closed the issue as not charmcraft-related. | |
| stealth/space-bunny-alpha | — | closed not a bug | Exit 120 was attributed to snapd bug #1849753, which prevents classic snaps from reliably executing other classic snaps. Charmcraft maintainers closed the issue as unrelated. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as an external snapd bug. Classic snaps cannot reliably execute other classic snaps, causing the exit code 120 and suppressed output. Workaround: install charmcraft via pip instead of snap. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as not charmcraft-related. The exit code 120 and missing output result from a snapd bug blocking classic snaps from executing other classic snaps. Installing charmcraft via pip resolves the issue. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as not charmcraft related. The exit code 120 stems from a snapd bug preventing classic snaps from executing other classic snaps. Installing charmcraft via pip resolves the issue. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapd#1849753
(confidence 60%)
The maintainer's comment cites the Launchpad snapd bug 1849753 about classic snaps executing other classic snaps as the root cause; no snapd code change was made in charmcraft.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #184 Charmcraft crash when snap is used in /tmp directory | charmcraft | closed | Fixed the /tmp PermissionError by switching the Charmcraft snap from strict to classic confinement in merged PR #288 (d49e85e3, 0d76670a). | |
| #388 Charmcraft pack cannot run in a CI? | charmcraft | closed | charmcraft's strictly-confined snap blocked CI builds (pip deps install failing). Fixed by switching the snap to classic confinement (PR #288, commit d49e85e3); reporter confirmed the edge classic snap resolved their CI. |