← 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 failures still lose command output at INFO or higher because the error stream is captured through logger.debug; the triaged bug remains reproducible.

Suggested action: keep open

Reason: The current chisel.py passes logger.debug to os_utils.process_run and builds ChiselError from the resulting debug-only stream, so INFO-or-higher logging leaves details empty. The issue is labeled Status: Triaged and Type: Bug, and existing integration tests force DEBUG logging, so a focused fix and regression test remain warranted.

Evaluated by: mr-cal-bot

Impact: 35 Quick Win: 25 Complexity: 18 Confidence: 95 Actionability: 88

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
stealth/space-bunny-alpha
Impact: 35
Quick Win: 25
Complexity: 18
Confidence: 95
Actionability: 88
keep open Chisel slice failures still lose command output at INFO or higher because the error stream is captured through logger.debug; the triaged bug remains reproducible.
qwen/qwen3.6-35b-a3b
Impact: 70
Quick Win: 39
Complexity: 30
Confidence: 80
Actionability: 80
keep open Chisel command output is logged via logger.debug, causing errors to be silently dropped when log level is INFO or higher, resulting in empty error messages.
qwen/qwen3.8-27b
Impact: 50
Quick Win: 32
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.

Update history

No update history recorded yet.

Related work

  • Related To: craft-parts#1715 (confidence 82%)

    The Chisel invocation was moved into craft_parts/packages/chisel.py, where the debug-only output capture remains.

Related issues

No related issues found above the similarity threshold.