On Thu, Aug 01, 2019 at 11:56:33AM -0700, David Ahern wrote: > From: David Ahern <dsah...@gmail.com> > > This is a port the functional test cases created during the development > of the VRF feature. It covers various permutations of icmp, tcp and udp > for IPv4 and IPv6 including negative tests.
Thanks a lot for doing this! Is there expected output ? All tests suppose to pass on the latest net-next? I'm seeing: ./fcnal-test.sh ... SYSCTL: net.ipv4.raw_l3mdev_accept=0 TEST: ping out - ns-B IP [ OK ] TEST: ping out, device bind - ns-B IP [ OK ] TEST: ping out, address bind - ns-B IP [FAIL] TEST: ping out - ns-B loopback IP [ OK ] TEST: ping out, device bind - ns-B loopback IP [ OK ] TEST: ping out, address bind - ns-B loopback IP [FAIL] TEST: ping in - ns-A IP [ OK ] TEST: ping in - ns-A loopback IP [ OK ] TEST: ping local - ns-A IP [ OK ] TEST: ping local - ns-A loopback IP [ OK ] TEST: ping local - loopback [ OK ] TEST: ping local, device bind - ns-A IP [ OK ] TEST: ping local, device bind - ns-A loopback IP [FAIL] TEST: ping local, device bind - loopback [FAIL] with -v I see: COMMAND: ip netns exec ns-A ping -c1 -w1 -I 172.16.2.1 172.16.1.2 ping: unknown iface 172.16.2.1 TEST: ping out, address bind - ns-B IP [FAIL] Any tips for further debug? Do you really need 'sleep 1' everywhere? It makes them so slow to run... What happens if you just remove it ? Tests will fail? Why?