← 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
2025-07-28 17:21:53+00:00
Updated
2025-08-15 15:17:44+00:00
Closed

Current evaluation

Tutorial spread tests fail due to a missing greeting option caused by a craft-application packaging bug, now resolved pending the craft-application 5.6.1 update.

Suggested action: close stale

Reason: The issue tracks failing tests caused by an external dependency bug in craft-application. The root cause was identified and a fix was noted ~10 months ago. Given the prolonged inactivity, the dependency update has likely been released and the tests are no longer failing, making this issue outdated.

Staleness: 75 Complexity: 10 Confidence: 70 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
2026-06-15 14:02:55.276200+00:00 qwen3.6-35b-a3b-mtp-q6
Staleness: 75
Complexity: 10
Confidence: 70
Support Request: 0
close stale Tutorial spread tests fail due to a missing greeting option caused by a craft-application packaging bug, now resolved pending the craft-application 5.6.1 update.
2026-06-15 14:00:06.963885+00:00 pending