From: Jozef Urbanovsky <jurbanov(a)redhat.com>
IPv6 address assigment to an interface involves duplicate address
detection using neighbor solicitation and neighbor advertisement
messages. Duration of this process was not accounted for in the recipe,
therefore ping6 was failing as IPv6 address was not yet assigned to
interface.
Signed-off-by: Jozef Urbanovsky <jurbanov(a)redhat.com>
---
recipes/regression_tests/phase3/simple_macsec.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes/regression_tests/phase3/simple_macsec.py
b/recipes/regression_tests/phase3/simple_macsec.py
index ced140c..5cec47c 100644
--- a/recipes/regression_tests/phase3/simple_macsec.py
+++ b/recipes/regression_tests/phase3/simple_macsec.py
@@ -94,6 +94,9 @@ def macsecSetup(encryption):
m1.run("ip -6 addr add %s/64 dev %s" % (m1_tif_addr6, msec_tif_name))
m2.run("ip -6 addr add %s/64 dev %s" % (m2_tif_addr6, msec_tif_name))
+ if ipv in ['ipv6', 'both']:
+ ctl.wait(5)
+
if netdev_cpupin:
m1.run("service irqbalance stop")
m2.run("service irqbalance stop")
--
2.20.1