:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Rule Test netns default local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "0:.*from all.*lookup local"' (Expected 0, got 0) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "32766:.*from all.*lookup main"' (Expected 0, got 0) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 100' (Expected 2,254, got 2) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table -5' (Expected 0-255, got 255) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table -5' (Expected 0-255, got 255) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table -5' (Expected 0-255, got 255) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table local' (Expected 0, got 0) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table local' (Expected 0-255, got 0) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "32765:.*from all to 10.10.0.1.*lookup local"' (Expected 0, got 0) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 20:03:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "from all to 10.10.0.1.*goto 32765"' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table local' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table local' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table main' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table main' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "32765:.*from all to 10.10.0.1.*lookup main"' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "from all to 10.10.0.1.*goto 32765"' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table main' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table main' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table 200' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table 200' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "32765:.*from all to 10.10.0.1.*lookup 200"' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "from all to 10.10.0.1.*goto 32765"' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table 200' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table 200' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table 300' (Expected 0, got 0) :: [ 20:03:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table 300' (Expected 0-255, got 0) :: [ 20:03:46 ] :: [ PASS ] :: Command 'vrun client ip -4 route add table 300 default dev veth1 via 192.168.11.254' (Expected 0, got 0) :: [ 20:03:46 ] :: [ PASS ] :: Command 'vrun client ip -4 route get 10.10.0.1 | grep veth1' (Expected 0, got 0) :: [ 20:03:46 ] :: [ PASS ] :: Command 'vrun client ip -4 route get 10.10.0.1 oif veth1 | sed -n '3,$'p | grep veth1' (Expected 0, got 0) :: [ 20:03:46 ] :: [ PASS ] :: Command 'vrun client ip -4 route get 10.10.0.1 oif veth0 | sed -n '3,$'p | grep veth1' (Expected 1, got 1) :: [ 20:03:51 ] :: [ PASS ] :: Command 'vrun client ping 10.10.0.1 -c 1' (Expected 0, got 0) :: [ 20:03:53 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 20:03:53 ] :: [ PASS ] :: Command 'vrun client pkill tcpdump' (Expected 0, got 0) :: [ 20:03:58 ] :: [ PASS ] :: Command 'vrun client tcpdump -r route_second.pcap -nnle | grep "> 10.10.0.1"' (Expected 0, got 0) :: [ 20:03:58 ] :: [ PASS ] :: Command 'vrun client ip -4 route del table 300 default dev veth1 via 192.168.11.254' (Expected 0, got 0) :: [ 20:03:58 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table 300' (Expected 0, got 0) :: [ 20:03:58 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table 300' (Expected 0-255, got 0) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ping 10.10.0.1 -c 5' (Expected 0, got 0) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "0:.*from all.*lookup local"' (Expected 0, got 0) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "32766:.*from all.*lookup main"' (Expected 0, got 0) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 100' (Expected 2,254, got 2) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table -5' (Expected 0-255, got 255) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table -5' (Expected 0-255, got 255) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table -5' (Expected 0-255, got 255) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table local' (Expected 0, got 0) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table local' (Expected 0-255, got 0) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "32765:.*from all to 3001::1.*lookup local"' (Expected 0, got 0) :: [ 20:04:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "from all to 3001::1.*goto 32765"' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table local' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table local' (Expected 0-255, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table main' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table main' (Expected 0-255, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "32765:.*from all to 3001::1.*lookup main"' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "from all to 3001::1.*goto 32765"' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table main' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table main' (Expected 0-255, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table 200' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table 200' (Expected 0-255, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "32765:.*from all to 3001::1.*lookup 200"' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "from all to 3001::1.*goto 32765"' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table 200' (Expected 0, got 0) :: [ 20:04:03 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table 200' (Expected 0-255, got 0) :: [ 20:04:04 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0, got 0) :: [ 20:04:04 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 20:04:04 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table 300' (Expected 0, got 0) :: [ 20:04:04 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table 300' (Expected 0-255, got 0) :: [ 20:04:04 ] :: [ PASS ] :: Command 'vrun client ip -6 route add table 300 default dev veth1 via 2011::a' (Expected 0, got 0) :: [ 20:04:04 ] :: [ PASS ] :: Command 'vrun client ip -6 route get 3001::1 | grep veth1' (Expected 0, got 0) :: [ 20:04:04 ] :: [ PASS ] :: Command 'vrun client ip -6 route get 3001::1 oif veth1 | sed -n '3,$'p | grep veth1' (Expected 0, got 0) :: [ 20:04:04 ] :: [ PASS ] :: Command 'vrun client ip -6 route get 3001::1 oif veth0 | sed -n '3,$'p | grep veth1' (Expected 1, got 1) :: [ 20:04:09 ] :: [ PASS ] :: Command 'vrun client ping6 3001::1 -c 1' (Expected 0, got 0) :: [ 20:04:11 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 20:04:11 ] :: [ PASS ] :: Command 'vrun client pkill tcpdump' (Expected 0, got 0) :: [ 20:04:16 ] :: [ PASS ] :: Command 'vrun client tcpdump -r route_second.pcap -nnle | grep "> 3001::1"' (Expected 0, got 0) :: [ 20:04:16 ] :: [ PASS ] :: Command 'vrun client ip -6 route del table 300 default dev veth1 via 2011::a' (Expected 0, got 0) :: [ 20:04:16 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table 300' (Expected 0, got 0) :: [ 20:04:16 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table 300' (Expected 0-255, got 0) :: [ 20:04:20 ] :: [ PASS ] :: Command 'vrun client ping6 3001::1 -c 5' (Expected 0, got 0) :: [ 20:04:20 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 172.145.11.1 table unspec' (Expected 2,254, got 2) :: [ 20:04:20 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 172.145.11.1 table unspec' (Expected 0, got 0) :: [ 20:04:20 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep 172.145.11.1' (Expected 0, got 0) :: [ 20:04:20 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 172.145.11.1 table unspec' (Expected 0, got 0) :: [ 20:04:20 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep 172.145.11.1' (Expected 1, got 1) :: [ 20:04:20 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 4543:1111::1 table unspec' (Expected 2,254, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 36s :: Assertions: 106 good, 0 bad :: RESULT: PASS (Rule Test netns default local)