← Back to issue list

Noisy output in newest charmcraft

View original Github issue

Metadata

Project
charmcraft
Number
#2006
Type
issue
State
open
Author
dimaqq
Labels
—
Created
Updated
Closed
—

Current evaluation

Verbose Charmcraft 3.2.2 builds expose pip output and a root-cache permission warning. The report lacks maintainer triage, and no resolution was found in the inspected history.

Suggested action: needs triage

Reason: The issue has no labels, assignee, or maintainer response; the only author comment merely notes that the command runs with `--verbose` and questions the cache warning. The behavior remains visible in the current builder code, but expected verbosity and desired warning handling are unspecified.

Evaluated by: mr-cal-bot

Impact: 25 Quick Win: 10 Complexity: 30 Confidence: 86 Actionability: 55

Issue body

### Bug Description Building https://github.com/jnsgruk/hello-kubecon in CI, there's for example this: ``` Installing dependencies :: Running external command ['python3', '-m', 'venv', '/root/parts/charm/build/staging-venv'] :: Running external command ['/root/parts/charm/build/staging-venv/bin/pip', 'install', '--force-reinstall', 'pip@https://files.pythonhosted.org/packages/c0/d0/9641dc7b05877874c6418f8034ddefc809495e65caa14d38c7551cd114bb/pip-24.1.1.tar.gz'] :: :: WARNING: The directory '/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. ``` https://github.com/canonical/operator/actions/runs/12045070299/job/33583075577?pr=1461 ### To Reproduce build a charm using charmcraft 3.2.2 ### Environment CI, so amd64, charmcraft 3.2.2, targeting 20.04 I believe. ### charmcraft.yaml ```yaml ... ``` ### Relevant log output ```shell ... ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 25
Quick Win: 10
Complexity: 30
Confidence: 86
Actionability: 55
needs triage Verbose Charmcraft 3.2.2 builds expose pip output and a root-cache permission warning. The report lacks maintainer triage, and no resolution was found in the inspected history.
qwen/qwen3.6-35b-a3b
Impact: 30
Quick Win: 19
Complexity: 20
Confidence: 80
Actionability: 80
keep open Verbose charm builds in CI show pip cache permission warnings that clutter logs. The _process_run function in charm_builder.py captures and prints all pip output, including non-error warnings about /root/.cache/pip permissions when running as root.
qwen/qwen3.8-27b
Impact: 30
Quick Win: 18
Staleness: 70
Complexity: 40
Confidence: 55
Support Request: 10
needs triage Charmcraft 3.2.2 build logs a pip cache permission warning ('/root/.cache/pip not owned or writable') during dependency install; reporter notes it appears under --verbose and hints at a real cache/permission issue. No maintainer response; last activity 381 days ago.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 30
Confidence: 70
Support Request: 10
needs triage Reports noisy pip cache permission warnings during charm builds with charmcraft 3.2.2. Unlabelled, no maintainer response, inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 20
Confidence: 70
Support Request: 30
close stale Report of noisy pip cache permission warnings during verbose charm builds in CI using charmcraft 3.2.2. Unlabelled and inactive for over a year with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 92
Complexity: 15
Confidence: 80
Support Request: 10
needs triage Report of noisy CI output and pip cache warnings during charm builds with charmcraft 3.2.2. Issue remains unlabelled, lacks maintainer response, and has been inactive for over 300 days.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#1892 (confidence 95%)

    Merged commit 358657b6 force-installs pip and corresponds to the dependency command generating the reported warning.

Related issues

No related issues found above the similarity threshold.