← Back to issue list

Tutorial spread tests are failing

View original Github issue

Metadata

Project
charmcraft
Number
#2396
Type
issue
State
open
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Tutorial spread tests failed after a craft-application change caused packed charms to lose the 'greeting' option. Root cause identified as craft-application#821; fix expected via craft-application#829 / 5.6.1. No follow-up in this issue.

Suggested action: needs triage

Reason: Maintainer @javierdelapuente identified the root cause as craft-application#821 and @lengau confirmed the fix should come with craft-application 5.6.1 (PR #829), but the issue has no labels, no assignee, and no confirmation that the fix landed or that tutorial spread tests pass again. The repo now pins craft-application~=7.2, so the 5.6.1-era fix is almost certainly included, but nobody has verified the tutorial spread tests and closed this. Needs a maintainer to re-run the tutorial spread tests and close if green.

Impact: 50 Quick Win: 35.0 Staleness: 70 Complexity: 30 Confidence: 60 Support Request: 0

Issue body

### Bug Description A recent change (I'm not sure whether it's to charmcraft or to paas-charm) has caused the tutorial spread tests to stop working. The issue appears to be that the applications have lost the "greeting" option. Some examples (linked directly to the error): - https://github.com/canonical/charmcraft/actions/runs/16563361419/job/46838091745#step:10:44481 - https://github.com/canonical/charmcraft/actions/runs/16563361419/job/46838091749#step:10:18904 - https://github.com/canonical/charmcraft/actions/runs/16563361419/job/46838091782#step:10:15420 - https://github.com/canonical/charmcraft/actions/runs/16563361419/job/46838091752#step:10:2936 ### To Reproduce Run the spread tests for any tutorial. ### Environment n/a ### charmcraft.yaml ```yaml n/a ``` ### Relevant log output ```shell + juju refresh go-hello-world --path=./go-hello-world_amd64.charm --resource app-image=localhost:32000/go-hello-world:0.2 Added local charm "go-hello-world", revision 1, to the model no change to endpoints in space "alpha": grafana-dashboard, ingress, logging, metrics-endpoint, secret-storage + juju wait-for application go-hello-world '--query=status=="active"' --timeout 10m Application "go-hello-world" is running properties: status: active + retry -n 5 --wait 5 sh -c 'curl http://go-hello-world --resolve go-hello-world:80:127.0.0.1 | grep Hello' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14 100 14 0 0 11579 0 --:--:-- --:--:-- --:--:-- 14000 Hello, world! + juju config go-hello-world 'greeting=Hi!' {} ERROR parsing settings for application: unknown option "greeting" ----- . 2025-07-28 08:16:54 Debug output for ci:ubuntu-24.04-64:docs/tutorial/code/go (ci:ubuntu-24.04-64) : ----- ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 50
Quick Win: 35.0
Staleness: 70
Complexity: 30
Confidence: 60
Support Request: 0
needs triage Tutorial spread tests failed after a craft-application change caused packed charms to lose the 'greeting' option. Root cause identified as craft-application#821; fix expected via craft-application#829 / 5.6.1. No follow-up in this issue.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 15
Confidence: 85
Support Request: 0
keep open Tutorial spread tests fail due to a missing greeting option caused by an upstream craft-application bug. Root cause identified and fix path confirmed by maintainers.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 10
Confidence: 90
Support Request: 0
close stale Tutorial spread tests fail due to missing charm option. Root cause identified as upstream craft-application issue #821. Fix available in v5.6.1. Issue is inactive and resolved by dependency update.
qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 15
Confidence: 90
Support Request: 0
keep open Tutorial spread tests fail due to missing greeting option caused by upstream craft-application issue. Root cause identified and fix linked; awaiting dependency update.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 10
Confidence: 90
Support Request: 0
close stale Tutorial spread tests fail due to missing charm greeting options. Root cause traced to craft-application issue #821. Resolution depends on craft-application PR #829 and update to v5.6.1. Currently awaiting upstream dependency release.

Update history

No update history recorded yet.

Related work

  • Caused By: canonical/craft-application#821 (confidence 85%)

    javierdelapuente explicitly attributed the tutorial failures to this craft-application issue (repeated packing without clean drops options).

  • Likely Fixed By: canonical/craft-application#829 (confidence 70%)

    lengau stated the issue 'should be fixed with' this PR and the craft-application 5.6.1 update; current charmcraft pins craft-application~=7.2, well past 5.6.1.

Related issues

No related issues found above the similarity threshold.