Details
-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
False
-
False
-
Undefined
-
---
-
0
-
0
Description
I ran the test locally several times (> 10) against OpenShift SDN cluster and it failed to obtain unused IP address.
[20:24:52] INFO> Exit Status: 0
[20:24:52] INFO> Shell Commands: oc exec sdn-9cmkb --kubeconfig=/home/asood/workdir/asood-asood/ocp4_admin.kubeconfig -n openshift-sdn --container=sdn -i – ping -c4 -W2 10.0.32.3
PING 10.0.32.3 (10.0.32.3) 56(84) bytes of data.
64 bytes from 10.0.32.3: icmp_seq=1 ttl=64 time=0.116 ms
64 bytes from 10.0.32.3: icmp_seq=2 ttl=64 time=0.101 ms
64 bytes from 10.0.32.3: icmp_seq=3 ttl=64 time=0.075 ms
64 bytes from 10.0.32.3: icmp_seq=4 ttl=64 time=0.084 ms
— 10.0.32.3 ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 98ms
rtt min/avg/max/mdev = 0.075/0.094/0.116/0.015 ms
STDERR:
E0305 15:24:53.391200 1440215 v2.go:105] read /dev/stdin: invalid argument
[20:24:56] INFO> Exit Status: 0
[20:24:56] INFO> The IP is in use.
address family must be specified (IPAddr::AddressFamilyError)
/home/asood/github-projects/verification-tests/features/step_definitions/networking.rb:551:in `new'
/home/asood/github-projects/verification-tests/features/step_definitions/networking.rb:551:in `/^I store a random unused IP address from the reserved range to the(?: \S+))? clipboard$/'
/home/asood/github-projects/verification-tests/features/step_definitions/networking.rb:556:in `/^the valid egress IP is added to the(?: "(.+?)")? node$/'
features/networking/egress-ip.feature:90:in `Given the valid egress IP is added to the node'
The IP addresses obtained most of the time were node 's HOST IP address.
NAME HOST HOST IP SUBNET EGRESS CIDRS EGRESS IPS
asood-03-05-wltvq-master-0.c.openshift-qe.internal asood-03-05-wltvq-master-0.c.openshift-qe.internal 10.0.0.5 10.130.0.0/23
asood-03-05-wltvq-master-1.c.openshift-qe.internal asood-03-05-wltvq-master-1.c.openshift-qe.internal 10.0.0.4 10.129.0.0/23
asood-03-05-wltvq-master-2.c.openshift-qe.internal asood-03-05-wltvq-master-2.c.openshift-qe.internal 10.0.0.3 10.128.0.0/23
asood-03-05-wltvq-worker-a-bkt9r.c.openshift-qe.internal asood-03-05-wltvq-worker-a-bkt9r.c.openshift-qe.internal 10.0.32.3 10.128.2.0/23
asood-03-05-wltvq-worker-b-cbns8.c.openshift-qe.internal asood-03-05-wltvq-worker-b-cbns8.c.openshift-qe.internal 10.0.32.4 10.131.0.0/23
asood-03-05-wltvq-worker-c-xj9d8.c.openshift-qe.internal asood-03-05-wltvq-worker-c-xj9d8.c.openshift-qe.internal 10.0.32.2 10.129.2.0/23
Logging the defect to see if the logic to obtain the unused IP address can be improved to cause fewer occurrence of this test failing.