← Back to issue list

Craft parts swallows chisel errors if logging level is info or higher

View original Github issue

Metadata

Project
craft-parts
Number
#1367
Type
issue
State
open
Author
lengau
Labels
Status: Triaged Type: Bug
Created
Updated
Closed

Current evaluation

Chisel slice install errors are swallowed when log level is info or higher, so users see no chisel output or error message. Triaged bug with an internal Jira ticket (CRAFT-4872); no fix or maintainer response yet.

Suggested action: keep open

Reason: The issue is labeled Status: Triaged and Type: Bug, and a maintainer (lengau) filed it with a reproducible part yaml, so it is a valid, acknowledged bug that should stay open. The only activity is the Jira sync bot (CRAFT-4872), with no fix or further discussion in ~10 months, making it moderately stale but still relevant. The code path in craft_parts/packages/deb.py _unpack_stage_slices captures chisel output via a logger StreamHandler and raises ChiselError, so the fix is likely localized to how that output is surfaced at info+ log levels.

Impact: 50 Quick Win: 32.5 Staleness: 55 Complexity: 35 Confidence: 70 Support Request: 5

Issue body

### Bug Description When installing a chisel slice, if it goes wrong the errors do not get bubbled up to the user. ### To Reproduce Try running the part below ### part yaml ```shell parts: my-part: plugin: nil stage-packages: [this-is-not-a-real-package_slice] ``` ### Relevant log output ```shell [Does not contain chisel output, nor does the error message contain the chisel output] ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 50
Quick Win: 32.5
Staleness: 55
Complexity: 35
Confidence: 70
Support Request: 5
keep open Chisel slice install errors are swallowed when log level is info or higher, so users see no chisel output or error message. Triaged bug with an internal Jira ticket (CRAFT-4872); no fix or maintainer response yet.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 30
Confidence: 80
Support Request: 5
keep open Bug where craft-parts swallows chisel errors during slice installation when logging is set to info or higher. Triaged as a bug, but inactive for 280 days with no maintainer follow-up or fix.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 40
Confidence: 85
Support Request: 10
keep open Bug where craft-parts swallows chisel installation errors when logging is set to info or higher. Triaged but inactive for 267 days with no maintainer follow-up.
qwen3.6-35b-a3b-mtp-q6
Staleness: 70
Complexity: 35
Confidence: 85
Support Request: 10
keep open Craft parts hides chisel slice errors when logging level is info or higher, blocking user visibility. Currently triaged and awaiting assignment. Synced to Jira as CRAFT-4872.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#335 packages: improve chisel error handling craft-parts merged Merged after approval and CI checks. Captures chisel cut output to include error messages in a new ChiselError exception, resolving CRAFT-1499.
71%