Job:
#OCPBUGS-26585issue2 months agoTest "[sig-network-edge][Conformance][Area:Networking][Feature:Router] The HAProxy router should be able to connect to a service that is idled because a GET on the route will unidle it" not working on dualstack ipv6primary cluster New
Issue 15708616: Test "[sig-network-edge][Conformance][Area:Networking][Feature:Router] The HAProxy router should be able to connect to a service that is idled because a GET on the route will unidle it" not working on dualstack ipv6primary cluster
Description: Description of problem:
 
 The test is failing because the socat configured on the pod does not support ipv6.
 
 It is confirmed by running on the pod:
 
 {code}
 sh-4.4$ /usr/bin/socat TCP6-LISTEN:8082,reuseaddr,fork EXEC:'/bin/bash -c \"printf \\\"HTTP/1.0 200 OK\r\n\r\n\\\"; sed -e \\\"/^\r/q\\\"\"' &                                                                                               
 [2] 32
 sh-4.4$
 sh-4.4$ curl [fd01:0:0:5::52c]:8082                                                                                                                                                                                                          
 GET / HTTP/1.1
 Host: [fd01:0:0:5::52c]:8082
 User-Agent: curl/7.61.1
 Accept: */*
 {code}
 
 As a consequence, the endpoint for the svc is shown as notReady:
 
 {code}
 [stack@undercloud-0 ~]$ oc describe endpoints -n $NAMESPACE
 Name:         idle-test
 Namespace:    e2e-test-router-idling-qsvn7
 Labels:       app=idle-test
 Annotations:  endpoints.kubernetes.io/last-change-trigger-time: 2024-01-10T11:41:33Z
 Subsets:
   Addresses:          <none>
   NotReadyAddresses:  fd01:0:0:5::52b
   Ports:
     Name       Port  Protocol
     ----       ----  --------
     8080-http  8080  TCP
 {code}
 
 and the testcase fails with http response code 503:
 
 {code}
   Jan 10 07:10:44.005: INFO: GET#2 "http://idle-test-e2e-test-router-idling-95jmw.apps.ostest.shiftstack.com" status=503
   Jan 10 07:10:45.005: INFO: GET#3 "http://idle-test-e2e-test-router-idling-95jmw.apps.ostest.shiftstack.com" status=503
   Jan 10 07:10:46.005: INFO: GET#4 "http://idle-test-e2e-test-router-idling-95jmw.apps.ostest.shiftstack.com" status=503
 {code}
 
 The fix can be placed on https://github.com/openshift/origin/blob/6d5063bb04e0395cc93d4c2591e5e1372d8e5119/test/extended/router/idle.go#L149-L154 or the test should be skipped if ipv6 cluster (or ipv6primary dualstack cluster).,ยก
 
 Version-Release number of selected component (if applicable): https://github.com/openshift/origin/tree/release-4.15

Found in 0.00% of runs (0.00% of failures) across 1 total runs and 1 jobs (100.00% failed) in 87ms - clear search | chart view - source code located on github