Comment 7 for bug 1915042

Revision history for this message
Michael Skalka (mskalka) wrote :

saw another instance of this bug here: https://solutions.qa.canonical.com/testruns/testRun/a3fc7ae7-5ffb-4df7-a97f-7d14ea9dadaf while running test_dns_provider:

=================================== FAILURES ===================================
______________________________ test_dns_provider _______________________________
Traceback (most recent call last):
  File "/home/ubuntu/k8s-validation/jobs/integration/validation.py", line 1737, in test_dns_provider
    await verify_dns_resolution(fresh=True)
  File "/home/ubuntu/k8s-validation/jobs/integration/validation.py", line 1693, in verify_dns_resolution
    await kubectl(model, f"exec validate-dns -- host {name}")
  File "/home/ubuntu/k8s-validation/jobs/integration/utils.py", line 539, in kubectl
    return await juju_run(
  File "/home/ubuntu/k8s-validation/jobs/integration/utils.py", line 533, in juju_run
    raise JujuRunError(cmd, result)
integration.utils.JujuRunError: `/snap/bin/kubectl --kubeconfig /root/.kube/config exec validate-dns -- host www.ubuntu.com` failed:

error: cannot exec into a container in a completed pod; current phase is Succeeded
------------------------------ Captured log setup ------------------------------
WARNING juju.client.connection:connection.py:706 unknown facade CAASModelOperator
WARNING juju.client.connection:connection.py:730 unexpected facade CAASModelOperator found, unable to decipher version to use
WARNING juju.model:model.py:905 unknown delta type: id
WARNING juju.client.connection:connection.py:706 unknown facade CAASModelOperator
WARNING juju.client.connection:connection.py:730 unexpected facade CAASModelOperator found, unable to decipher version to use
WARNING juju.model:model.py:905 unknown delta type: id
- generated xml file: /home/ubuntu/project/generated/kubernetes/k8s-suite/test_dns_provider-junit.xml -
----- generated html file: file:///home/ubuntu/k8s-validation/report.html ------
=========================== short test summary info ============================
FAILED jobs/integration/validation.py::test_dns_provider - integration.utils....
======================== 1 failed in 388.48s (0:06:28) =========================
ERROR: InvocationError for command /home/ubuntu/k8s-validation/.tox/py3/bin/pytest -v -s --junit-xml=/home/ubuntu/project/generated/kubernetes/k8s-suite/test_dns_provider-junit.xml --controller=foundations-maas --model=kubernetes /home/ubuntu/k8s-validation/jobs/integration/validation.py::test_dns_provider (exited with code 1)
___________________________________ summary ____________________________________
ERROR: py3: commands failed