You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #939 from cderici/green-ci-cleanup
#939
#### Description
There's a couple of known intermittent failures in CI, some excessive warning logs and asyncio outputs. This PR attempts to clear up some of these issues for the new release.
Some major ones of the known CI failures are as follows (will be updated on the go) in the QA steps below. All the tests should be green before this lands.
#### QA Steps
```
tox -e integration --tests/integration/test_model.py::test_add_and_list_storage
```
```
tox -e integration -- tests/integration/test_controller.py::test_destroy_model_by_name
```
```
tox -e integration -- tests/integration/test_controller.py::test_secrets_backend_lifecycle
```
```
tox -e integration -- tests/integration/test_crossmodel.py::test_relate_with_offer
```
```
tox -e integration -- tests/integration/test_model.py::test_deploy_bundle_local_charms
```
```
tox -e integration -- tests/integration/test_model.py::test_deploy_bundle_local_charm_series_manifest
```
```
tox -e integration -- tests/integration/test_connection.py::test_reconnect
```
All CI tests need to pass.
Following examples should complete without any noise:
```sh
$ python examples/connect_current_model.py
```
Also try to deliberately have it error. The error should only include the relevant parts, i.e. no clutter or noise from pending tasks etc.
```sh
$ juju deploy ubuntu
$ python examples/deploy.py
Connecting to model
Deploying ubuntu
Disconnecting from model
Traceback (most recent call last):
...........
File "/home/caner/work/python-libjuju/juju/client/_client17.py", line 1051, in Deploy
reply = await self.rpc(msg)
File "/home/caner/work/python-libjuju/juju/client/facade.py", line 659, in rpc
result = await self.connection.rpc(msg, encoder=TypeEncoder)
File "/home/caner/work/python-libjuju/juju/client/connection.py", line 693, in rpc
raise errors.JujuError(err_results)
juju.errors.JujuError: ['cannot add application "ubuntu": application already exists']
```
#### Notes & Discussion
JUJU-4549
0 commit comments