← Back to issue list

Unable to enable spread verbose with `charmcraft test`

View original Github issue

Metadata

Project
charmcraft
Number
#2105
Type
issue
State
open
Author
carlcsaposs-canonical
Labels
Created
Updated
Closed

Current evaluation

charmcraft test cannot forward -vv to spread for verbose CI output. Custom test command was removed in #2385 in favor of the upstream spread-based command, and PR #1988 proposing a --verbose flag was closed as superseded by that migration.

Suggested action: needs triage

Reason: The issue is unlabelled with 0 comments and no maintainer response, so it has not been triaged. The custom test command it targets was removed in #2385 (switch to upstream), and PR #1988 for a --verbose flag was closed as superseded by that migration, so a maintainer needs to confirm whether the upstream command now supports -vv before closing or reworking it.

Impact: 40 Quick Win: 28.0 Staleness: 70 Complexity: 30 Confidence: 75 Support Request: 10

Issue body

### Bug Description #### Expected behavior When running `charmcraft test`, it is possible to pass `-vv` to spread to always see output > you'll see the output locally since the task failed (`-vv` to see the output nevertheless). from https://github.com/canonical/spread?tab=readme-ov-file#hello-world On GitHub Actions, spread is always run with a single job so we always want to see output of that job #### Actual behavior It is not possible to pass `-vv` to spread when using `charmcraft test` ### To Reproduce ``` charmcraft test 'github-ci:ubuntu-latest:tests/spread/test' -vv charmcraft test -- 'github-ci:ubuntu-latest:tests/spread/test' -vv charmcraft test 'github-ci:ubuntu-latest:tests/spread/test' -- -vv ``` ### Environment Ubuntu 24.04 github runner ### charmcraft.yaml ```yaml N/A ``` ### Relevant log output ```shell N/A ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 28.0
Staleness: 70
Complexity: 30
Confidence: 75
Support Request: 10
needs triage charmcraft test cannot forward -vv to spread for verbose CI output. Custom test command was removed in #2385 in favor of the upstream spread-based command, and PR #1988 proposing a --verbose flag was closed as superseded by that migration.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 10
needs triage Bug report: Unable to pass verbose flags to spread via charmcraft test. Issue is unlabelled, has no maintainer response, and has been inactive for over a year.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 30
Confidence: 75
Support Request: 15
needs triage User reports inability to pass verbose flag to spread via charmcraft test. Unlabeled, no maintainer comments, inactive for over ten months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 25
Confidence: 75
Support Request: 15
needs triage charmcraft test does not forward the -vv flag to spread for verbose output. The report includes expected vs actual behavior and reproduction attempts but remains unlabelled and unassessed by maintainers after over 14 months.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 25
Confidence: 75
Support Request: 10
needs triage charmcraft test fails to forward the -vv verbose flag to spread, blocking detailed CI output. The report remains open with zero comments and no assignee, requiring triage and a fix to properly pass the flag through the CLI.

Update history

No update history recorded yet.

Related work

  • Related To: charmcraft#1988 (confidence 85%)

    PR proposing a --verbose flag to pass -vv to spread; closed as superseded by migration to the upstream test command.

  • Related To: charmcraft#2130 (confidence 70%)

    Same class of problem: charmcraft test cannot pass extra spread flags (artifacts) through.

Related issues

Issue Project State Summary Similarity
#1988 feat: add --verbose flag to pass -vv to spread from charmcraft test charmcraft closed Superseded by migration to the upstream test command. The proposed --verbose flag was closed without review or merge after maintainers determined the upstream solution better addresses CI verbosity requirements.
84%
#2130 Unable to use spread artifacts with `charmcraft test` charmcraft open charmcraft test cannot pass -artifacts to spread; unlabelled, 0 comments, last activity 381 days ago, similar to #2105 (verbose flag). No maintainer triage.
76%
#2482 `charmcraft test` v4.0.1 lost `--list` support charmcraft open charmcraft test --list was dropped in v4.0.1 when the custom test command was replaced by upstream spread (PR #2385); reporter requests restoring the --list wrapper for CI use. No maintainer response or labels yet.
70%