connection to :80 refused in test_clusterip_service_endpoint

Bug #1952645 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Charmed Kubernetes Testing
New
Undecided
Unassigned

Bug Description

During test_clusterip_service_endpoint there is a refused connection and assertion fails

Traceback (most recent call last):
  File "/home/ubuntu/k8s-validation/jobs/integration/test_service_endpoints.py", line 122, in test_clusterip_service_endpoint
    assert "Hello Kubernetes!" in action.results.get("Stdout", "")
AssertionError: assert 'Hello Kubernetes!' in ''
 + where '' = <built-in method get of dict object at 0x7f46b69ea8c0>('Stdout', '')
 + where <built-in method get of dict object at 0x7f46b69ea8c0> = {'Code': '7', 'Stderr': '* Trying 10.152.183.69:80...\n* TCP_NODELAY set\n % Total % Received % Xferd Average S...-- --:--:-- 0\n* Closing connection 0\ncurl: (7) Failed to connect to 10.152.183.69 port 80: Connection refused\n'}.get
 + where {'Code': '7', 'Stderr': '* Trying 10.152.183.69:80...\n* TCP_NODELAY set\n % Total % Received % Xferd Average S...-- --:--:-- 0\n* Closing connection 0\ncurl: (7) Failed to connect to 10.152.183.69 port 80: Connection refused\n'} = <Action entity_id="16">.results

This is on AWS, we have other passing runs with the same configuration

crashdump
https://oil-jenkins.canonical.com/artifacts/036ab621-c76b-4684-b3e7-af6a6c9aa751/generated/generated/kubernetes/juju-crashdump-kubernetes-2021-11-29-13.19.12.tar.gz

configs and artifacts

https://oil-jenkins.canonical.com/artifacts/036ab621-c76b-4684-b3e7-af6a6c9aa751/index.html

Revision history for this message
Moises Emilio Benzan Mora (moisesbenzan) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.