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

reactive plugin: call charm build with -v #924

Open
hloeung opened this issue Nov 8, 2022 · 1 comment
Open

reactive plugin: call charm build with -v #924

hloeung opened this issue Nov 8, 2022 · 1 comment
Labels
Enhancement New feature or request triaged

Comments

@hloeung
Copy link

hloeung commented Nov 8, 2022

Hi,

Trying to debug a build/pack issue, #923, I'm trying to compare output from a failed and previously successful one:

https://launchpadlibrarian.net/631398435/buildlog_charm_ubuntu_focal_amd64_haw-test_BUILDING.txt.gz
https://launchpadlibrarian.net/632662139/buildlog_charm_ubuntu_focal_amd64_testing_BUILDING.txt.gz

Unfortunately, there isn't much output from the charm build step when a charm is successfully built so it makes it quite hard:

:: proof: I: all charms should provide at least one thing
:: charm tool execution command=['charm', 'proof']
:: charm tool execution WARNING: returncode=100
:: charm tool execution command=['charm', 'build', '-o', PosixPath('/home/buildd/haw-test/build/parts/charm/build')]
:: charm tool execution WARNING: returncode=100
Running step STAGE for part 'charm'
Execute action
Running step PRIME for part 'charm'
Execute action
Check result: language [attribute] unknown (The charm is written with Python.; see more at https://juju.is/docs/sdk/charmcraft-analyzers-and-linters#heading--language).
Check result: framework [attribute] unknown (None; see more at https://juju.is/docs/sdk/charmcraft-analyzers-and-linters#heading--framework).
Creating the package itself
Created 'haw-test_ubuntu-20.04-amd64.charm'.

Any chance we can call charm build with -v / --verbose when charmcraft pack is called with --verbosity trace?

@facundobatista
Copy link
Contributor

Hello @hloeung ! Thanks for the report! It's a good idea, I'm flagging this as triaged.

In the meantime, note that you can pass any option to the build command through the reactive-charm-build-arguments config (see here for more details).

Thanks again!

@facundobatista facundobatista added Enhancement New feature or request triaged labels Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request triaged
Projects
None yet
Development

No branches or pull requests

2 participants