functests failing with series mismatch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-juju-controller |
Fix Released
|
Undecided
|
Mert Kirpici | ||
charm-juju-local |
Fix Released
|
Undecided
|
Sudeep Bhandari |
Bug Description
The functional tests first need to update the juju-local(listed as affected charms by this bug since it is possibly the culprit) that is used in functional testing since it has undergone a name change. i,e:
--- a/src/tests/
+++ b/src/tests/
@@ -8,6 +8,6 @@ applications:
to:
- '0'
juju-local:
- charm: "cs:~bootstack-
+ charm: "ch:bootstack-
relations:
- ["ubuntu", "juju-local"]
After having done that, the functional tests are failing with:
2022-11-29 11:31:22 [INFO] ERROR: setUpClass (tests.
2022-11-29 11:31:22 [INFO] -------
2022-11-29 11:31:22 [INFO] Traceback (most recent call last):
2022-11-29 11:31:22 [INFO] File "/home/
2022-11-29 11:31:22 [INFO] cls.deploy_
2022-11-29 11:31:22 [INFO] File "/home/
2022-11-29 11:31:22 [INFO] cls.run_
2022-11-29 11:31:22 [INFO] File "/home/
2022-11-29 11:31:22 [INFO] assert out["Code"] == "0", "Error running {}: {}".format(cmd, out["Stderr"])
2022-11-29 11:31:22 [INFO] AssertionError: Error running sudo -u ubuntu -H /snap/bin/juju deploy -m controller -n 3 --force=true --to 0,1,2 /home/ubuntu/
er", revision 0
2022-11-29 11:31:22 [INFO] Deploying "juju-controller" from local charm "juju-controller", revision 0 on jammy
2022-11-29 11:31:22 [INFO] ERROR cannot add application "juju-controller": cannot deploy to machine 0: series does not match
When ssh'd into the environment, there is a mismatch between the ha enabled juju controller and the deployed charm. Possibly specifying the series will be needed during on juju-controller functests and juju-local bootstrap.
Related branches
- JamesLin: Approve
- Eric Chen: Approve
- Robert Gildein: Pending requested
- BootStack Reviewers: Pending requested
-
Diff: 116 lines (+12/-30)4 files modifiedcharmcraft.yaml (+1/-5)
dev/null (+0/-1)
lib/lib_charm_juju_local.py (+11/-23)
tests/tests.yaml (+0/-1)
- Erhan Sunar (community): Approve
- Ramesh Sattaru (community): Approve
- Eric Chen: Approve
- 🤖 prod-jenkaas-bootstack: Approve (continuous-integration)
- BootStack Reviewers: Pending requested
-
Diff: 31 lines (+6/-2)2 files modifiedMakefile (+1/-1)
src/tests/functional/tests/tests_juju_controller.py (+5/-1)
tags: | added: bseng-679 |
Changed in charm-juju-controller: | |
assignee: | nobody → Mert Kirpici (mertkirpici) |
status: | New → Fix Committed |
milestone: | none → 23.01 |
Changed in charm-juju-controller: | |
status: | Fix Committed → Fix Released |
Changed in charm-juju-local: | |
status: | New → Fix Committed |
assignee: | nobody → Mert Kirpici (mertkirpici) |
assignee: | Mert Kirpici (mertkirpici) → Sudeep Bhandari (sudeephb) |
Changed in charm-juju-local: | |
status: | Fix Committed → Fix Released |
milestone: | none → 23.04 |