The "ping6 between two ports with header modify" test currently
fails 1 in 25 times on an idle system, and apparently 100% of the
time on a more busy system.
The failure appears to be caused by the very first packet to a
new destination being dropped.
Log excerpt:
ping6 -q -c 3 -i 0.3 -W 2 fc00::3 \
| grep "transmitted" | sed 's/time.*ms$/time 0ms/'
-3 packets transmitted, 3 received, 0% packet loss, time 0ms
+3 packets transmitted, 2 received, 33.3333% packet loss, time 0ms
The test already primes the neighbour table by waiting for the
first ping to two of the destinations used in the test.
This patch adds the same wait condition for the third destination
used in the test.
Having run the test in an endless successful loop for a while
makes it highly probable to have fixed the issue.
Reported-at: https://launchpad.net/bugs/2077157
Signed-off-by: Frode Nordahl <[email protected]>
---
tests/system-traffic.at | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/system-traffic.at b/tests/system-traffic.at
index 202ff0492..bb52d2cfb 100644
--- a/tests/system-traffic.at
+++ b/tests/system-traffic.at
@@ -253,6 +253,8 @@ priority=0,actions=NORMAL
AT_CHECK([ovs-ofctl del-flows br0])
AT_CHECK([ovs-ofctl add-flows br0 flows.txt])
+OVS_WAIT_UNTIL([ip netns exec at_ns0 ping6 -c 1 fc00::3])
+
NS_CHECK_EXEC([at_ns0], [ping6 -q -c 3 -i 0.3 -W 2 fc00::3 | FORMAT_PING],
[0], [dnl
3 packets transmitted, 3 received, 0% packet loss, time 0ms
])
--
2.45.2
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev