The local_test target fails on focal
Bug #1893167 reported by
Barry Price
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-deployer |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
On an amd64 machine running the latest focal (20.04) LTS, the local_test target fails:
https:/
If I apply the patch for LP:1893163, it will also test with Python 3.8, but that too fails:
Related branches
lp://staging/~mthaddon/juju-deployer/fix-test-failures
- Barry Price: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 26 lines (+4/-1)2 files modifieddeployer/env/watchers.py (+3/-0)
deployer/tests/test_charm.py (+1/-1)
lp://staging/~barryprice/juju-deployer/resolve-yaml-warnings
- Benjamin Allot: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 75 lines (+21/-5)2 files modifieddeployer/tests/test_config.py (+11/-2)
deployer/tests/test_diff.py (+10/-3)
lp://staging/~barryprice/juju-deployer/resolve-OpenStack-1501-option-errors
- Benjamin Allot: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 16 lines (+0/-3)1 file modifieddeployer/tests/test_data/openstack/openstack-1501.yaml (+0/-3)
lp://staging/~barryprice/juju-deployer/resolve-pep8-failures
- Benjamin Allot: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 174 lines (+21/-32)9 files modifieddeployer/action/diff.py (+3/-2)
deployer/config.py (+1/-2)
deployer/deployment.py (+1/-2)
deployer/env/base.py (+3/-3)
deployer/env/go.py (+1/-4)
deployer/relation.py (+2/-6)
deployer/service.py (+4/-5)
deployer/tests/test_diff.py (+3/-2)
deployer/utils.py (+3/-6)
Changed in juju-deployer: | |
status: | New → Fix Released |
Changed in juju-deployer: | |
status: | Fix Released → New |
Changed in juju-deployer: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in juju-deployer: | |
assignee: | nobody → Barry Price (barryprice) |
status: | Confirmed → In Progress |
Changed in juju-deployer: | |
status: | In Progress → Fix Committed |
assignee: | Barry Price (barryprice) → nobody |
To post a comment you must log in.
Still seeing one failure here.
To reproduce, launch a Focal VM, e.g.
$ multipass launch focal -n jujutest
$ multipass shell jujutest
Then within the VM, install dependencies (LP:1893162):
ubuntu@jujutest:~$ sudo apt install brz make tox
Install Juju itself:
ubuntu@jujutest:~$ sudo snap install juju --classic
Clone the latest source, and attempt to run the tests:
ubuntu@jujutest:~$ bzr clone lp:juju-deployer
ubuntu@jujutest:~$ cd juju-deployer
ubuntu@jujutest:~$ make local_test
Here's the output I see:
https:/ /paste. ubuntu. com/p/TQvqYSczS W/
I've submitted another MP, linked, to resolve the YAMLLoadWarning, but that's not the root cause.