Also failing on charmed-kubernetes-testing while running the K8s validation suite.
==================================== ERRORS ====================================
____________________ ERROR at setup of test_series_upgrade _____________________
Traceback (most recent call last):
File "/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/pytest_asyncio/plugin.py", line 299, in _asyncgen_fixture_wrapper
result = event_loop.run_until_complete(setup())
File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/pytest_asyncio/plugin.py", line 281, in setup
res = await gen_obj.__anext__()
File "/home/ubuntu/k8s-validation/jobs/integration/conftest.py", line 258, in model
await model.connect(tools.connection)
File "/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/juju/model.py", line 658, in connect
_, model_uuid = await self._connector.connect_model(model_name, **kwargs)
File "/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/juju/client/connector.py", line 174, in connect_model
await self.connect(**kwargs)
File "/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/juju/client/connector.py", line 82, in connect
raise JujuConnectionError("juju server-version %s not supported" % juju_server_version)
juju.errors.JujuConnectionError: juju server-version 2.9.42 not supported
------------------------------ Captured log setup ------------------------------
WARNING connector:connector.py:80 This version was tested using 3.1.0 juju version 2.9.42 may have compatibility issues
=============================== warnings summary ===============================
.tox/py3/lib/python3.8/site-packages/invoke/loader.py:3
/home/ubuntu/k8s-validation/.tox/py3/lib/python3.8/site-packages/invoke/loader.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
jobs/integration/conftest.py:626
/home/ubuntu/k8s-validation/jobs/integration/conftest.py:626: PytestDeprecationWarning: The hookimpl pytest_metadata uses old-style configuration options (marks or attributes).
Please use the pytest.hookimpl(optionalhook=True) decorator instead
to configure the hooks.
See https://docs.pytest.org/en/latest/deprecations.html#configuring-hook-specs-impls-using-markers
@pytest.mark.optionalhook
Also failing on charmed- kubernetes- testing while running the K8s validation suite.
======= ======= ======= ======= ======= = ERRORS ======= ======= ======= ======= ======= = _______ ______ ERROR at setup of test_series_upgrade _______ _______ _______ ubuntu/ k8s-validation/ .tox/py3/ lib/python3. 8/site- packages/ pytest_ asyncio/ plugin. py", line 299, in _asyncgen_ fixture_ wrapper run_until_ complete( setup() ) python3. 8/asyncio/ base_events. py", line 616, in run_until_complete ubuntu/ k8s-validation/ .tox/py3/ lib/python3. 8/site- packages/ pytest_ asyncio/ plugin. py", line 281, in setup ubuntu/ k8s-validation/ jobs/integratio n/conftest. py", line 258, in model tools.connectio n) ubuntu/ k8s-validation/ .tox/py3/ lib/python3. 8/site- packages/ juju/model. py", line 658, in connect .connect_ model(model_ name, **kwargs) ubuntu/ k8s-validation/ .tox/py3/ lib/python3. 8/site- packages/ juju/client/ connector. py", line 174, in connect_model **kwargs) ubuntu/ k8s-validation/ .tox/py3/ lib/python3. 8/site- packages/ juju/client/ connector. py", line 82, in connect rror("juju server-version %s not supported" % juju_server_ version) JujuConnectionE rror: juju server-version 2.9.42 not supported ------- ------- ------- -- Captured log setup ------- ------- ------- ------- -- connector. py:80 This version was tested using 3.1.0 juju version 2.9.42 may have compatibility issues ======= ======= ======= === warnings summary ======= ======= ======= ======= === lib/python3. 8/site- packages/ invoke/ loader. py:3 ubuntu/ k8s-validation/ .tox/py3/ lib/python3. 8/site- packages/ invoke/ loader. py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
_______
Traceback (most recent call last):
File "/home/
result = event_loop.
File "/usr/lib/
return future.result()
File "/home/
res = await gen_obj.__anext__()
File "/home/
await model.connect(
File "/home/
_, model_uuid = await self._connector
File "/home/
await self.connect(
File "/home/
raise JujuConnectionE
juju.errors.
-------
WARNING connector:
=======
.tox/py3/
/home/
import imp
jobs/integratio n/conftest. py:626 ubuntu/ k8s-validation/ jobs/integratio n/conftest. py:626: PytestDeprecati onWarning: The hookimpl pytest_metadata uses old-style configuration options (marks or attributes). hookimpl( optionalhook= True) decorator instead /docs.pytest. org/en/ latest/ deprecations. html#configurin g-hook- specs-impls- using-markers mark.optionalho ok
/home/
Please use the pytest.
to configure the hooks.
See https:/
@pytest.
-- Docs: https:/ /docs.pytest. org/en/ stable/ how-to/ capture- warnings. html k8s-validation/ report. xml ---------- /home/ubuntu/ k8s-validation/ report. html ------ ======= ======= ==== 2 warnings, 1 error in 0.76s ======= ======= ======= ==== k8s-validation/ .tox/py3/ bin/pytest -v -s --controller= foundations- maas --model= kubernetes- maas /home/ubuntu/ k8s-validation/ jobs/integratio n/validation. py::test_ series_ upgrade --is-series-upgrade --upgrade- snap-channel= latest/ stable --upgrade- charm-channel= stable --series=jammy '--vault- unseal- command= fce_wrap build --layer kubernetes-maas --steps vault' (exited with code 1) _______ _______ _______ _______ summary _______ _______ _______ _______ _______ _
---------- generated xml file: /home/ubuntu/
----- generated html file: file://
=======
ERROR: InvocationError for command /home/ubuntu/
_______
ERROR: py3: commands failed
Test run: https:/ /solutions. qa.canonical. com/v2/ testruns/ 2e6802d6- 8699-4816- a791-b83f361a3c 24 /oil-jenkins. canonical. com/artifacts/ 2e6802d6- 8699-4816- a791-b83f361a3c 24/index. html
Artifacts: https:/