← Back to issue list

Chisel error messages are begin supressed

View original Github issue

Metadata

Project
craft-parts
Number
#316
Type
issue
State
closed
Author
tigarmo
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in merged PR #335 (commit 905f913d): failed Chisel cuts now raise ChiselError with the underlying error message instead of a generic non-zero exit status.

Resolution: closed resolved

Reason: The issue was closed by maintainer comment and resolved by merged craft-parts#335, commit 905f913d. The change captures Chisel output and exposes its error detail through ChiselError.

Evaluated by: mr-cal-bot

No scores available.

Issue body

If you run `chisel` and it fails, it usually gives you helpful error messages: ```bash $ chisel cut --root root aisjaopsd error: invalid slice reference: "aisjaopsd" ``` However, when using chisel slices in `stage-packages` it looks like this message is being supressed, so the only outcome is something like `Command '['chisel', 'cut', '--root', '/root/parts/lego/install', '--release', 'ubuntu-22.04', 'lib6_libs']' returned non-zero exit status 1. `

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed in merged PR #335 (commit 905f913d): failed Chisel cuts now raise ChiselError with the underlying error message instead of a generic non-zero exit status.
stealth/space-bunny-alpha — closed resolved Chisel failures during stage-packages now preserve useful error output through a new ChiselError exception. Merged in canonical/craft-parts#335 (905f913d).
qwen/qwen3.6-35b-a3b — — Chisel error message suppression in stage-packages was fixed and closed by pull request #335, restoring detailed error output during slice operations.
qwen/qwen3.6-35b-a3b — — Suppressed chisel error messages during stage-packages execution were fixed and closed by pull request #335, restoring detailed error output on command failure.
qwen/qwen3.6-35b-a3b — — Suppressed chisel error messages in stage-packages were fixed and closed by pull request #335. The resolution restores detailed error output when chisel commands fail, replacing generic exit status messages.
qwen3.6-35b-a3b-mtp-q6 — — Suppressed chisel error messages in stage-packages were fixed and closed by pull request #335. The change restores detailed diagnostic output when chisel commands fail, replacing generic exit status errors with actionable messages.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: craft-parts#335 (confidence 100%)

    Merged pull request explicitly addressed Chisel error handling and was cited in the closing comment.

Related issues

Issue Project State Summary Similarity
#335 packages: improve chisel error handling craft-parts merged Merged PR #335 as commit 905f913d, capturing chisel cut output and raising a specific ChiselError with the short error message.
86%