Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noisy output in newest charmcraft #2006

Open
dimaqq opened this issue Nov 27, 2024 · 1 comment
Open

Noisy output in newest charmcraft #2006

dimaqq opened this issue Nov 27, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@dimaqq
Copy link
Contributor

dimaqq commented Nov 27, 2024

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

...

Relevant log output

...
@dimaqq dimaqq added the Bug Something isn't working label Nov 27, 2024
@dimaqq
Copy link
Contributor Author

dimaqq commented Nov 27, 2024

To be fair, the command is run with --verbose.
But the .cache permission thing getting flagged is suggestive of something...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant