In testrun https://solutions.qa.canonical.com/testruns/testRun/672dadce-072f-4fb4-9eb5-563315223ea9, test_clusterip_service_endpoint fails to connect to the hello_kubernetes pod:
```
=================================== FAILURES ===================================
_______________________ test_clusterip_service_endpoint ________________________
Traceback (most recent call last):
File "/home/ubuntu/k8s-validation/jobs/integration/test_service_endpoints.py", line 124, in test_clusterip_service_endpoint
raise e
File "/home/ubuntu/k8s-validation/jobs/integration/test_service_endpoints.py", line 121, 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 0x7fa82c44e040>('Stdout', '')
+ where <built-in method get of dict object at 0x7fa82c44e040> = {'Code': '28', 'Stderr': '* Trying 10.152.183.3:80...\n* TCP_NODELAY set\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0\r... 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:00 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:01 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:02 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:03 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:04 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:05 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:06 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:07 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:08 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:09 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:10 --:--:-- 0* connect to 10.152.183.3 port 80 failed: Connection timed out\n* Failed to connect to 10.152.183.3 port 80: Connection timed out\n\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:10 --:--:-- 0\n* Closing connection 0\ncurl: (28) Failed to connect to 10.152.183.3 port 80: Connection timed out\n'}.get
+ where {'Code': '28', 'Stderr': '* Trying 10.152.183.3:80...\n* TCP_NODELAY set\n % Total % Received % Xferd Average Speed Time Time Time Current\n Dload Upload Total Spent Left Speed\n\r 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:08 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:09 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:10 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:00:11 --:--:-- 0\r... 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:00 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:01 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:02 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:03 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:04 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:05 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:06 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:07 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:08 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:09 --:--:-- 0\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:10 --:--:-- 0* connect to 10.152.183.3 port 80 failed: Connection timed out\n* Failed to connect to 10.152.183.3 port 80: Connection timed out\n\r 0 0 0 0 0 0 0 0 --:--:-- 0:02:10 --:--:-- 0\n* Closing connection 0\ncurl: (28) Failed to connect to 10.152.183.3 port 80: Connection timed out\n'} = <Action entity_id="22">.results
================================================================================
```
In the logs, we see little mention of this particular pod, except for:
```
6/baremetal/var/log/syslog:Aug 5 15:26:33 ip-172-31-47-31 kube-apiserver.daemon[150062]: I0805 15:26:33.346058 150062 alloc.go:327] "allocated clusterIPs" service="default/hello-world" clusterIPs=map[IPv4:10.152.183.3]
```
This run is on aws, but we see the same for k8s on openstack in this testrun:
https://solutions.qa.canonical.com/testruns/testRun/896a5199-5e70-4aa5-931b-e6f44cb31901
Crashdumps:
https://oil-jenkins.canonical.com/artifacts/672dadce-072f-4fb4-9eb5-563315223ea9/index.html
https://oil-jenkins.canonical.com/artifacts/896a5199-5e70-4aa5-931b-e6f44cb31901/index.html
PR:
https:/ /github. com/charmed- kubernetes/ jenkins/ pull/989