:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Rule Test netns default local :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:54:24 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "0:.*from all.*lookup local"' (Expected 0, got 0) :: [ 23:54:25 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "32766:.*from all.*lookup main"' (Expected 0, got 0) :: [ 23:54:26 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 100' (Expected 2,254, got 2) :: [ 23:54:28 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table -5' (Expected 0-255, got 255) :: [ 23:54:29 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table -5' (Expected 0-255, got 255) :: [ 23:54:31 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table -5' (Expected 0-255, got 255) :: [ 23:54:32 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table local' (Expected 0, got 0) :: [ 23:54:34 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table local' (Expected 0-255, got 0) :: [ 23:54:35 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "32765:.*from all to 10.10.0.1.*lookup local"' (Expected 0, got 0) :: [ 23:54:36 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 23:54:38 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 23:54:39 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "from all to 10.10.0.1.*goto 32765"' (Expected 0, got 0) :: [ 23:54:40 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table local' (Expected 0, got 0) :: [ 23:54:42 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table local' (Expected 0-255, got 0) :: [ 23:54:43 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 23:54:44 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 23:54:45 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table main' (Expected 0, got 0) :: [ 23:54:47 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table main' (Expected 0-255, got 0) :: [ 23:54:48 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "32765:.*from all to 10.10.0.1.*lookup main"' (Expected 0, got 0) :: [ 23:54:49 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 23:54:51 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 23:54:52 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "from all to 10.10.0.1.*goto 32765"' (Expected 0, got 0) :: [ 23:54:53 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table main' (Expected 0, got 0) :: [ 23:54:55 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table main' (Expected 0-255, got 0) :: [ 23:54:56 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 23:54:58 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 23:54:59 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table 200' (Expected 0, got 0) :: [ 23:55:00 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table 200' (Expected 0-255, got 0) :: [ 23:55:02 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "32765:.*from all to 10.10.0.1.*lookup 200"' (Expected 0, got 0) :: [ 23:55:03 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 23:55:04 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 23:55:06 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep "from all to 10.10.0.1.*goto 32765"' (Expected 0, got 0) :: [ 23:55:07 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table 200' (Expected 0, got 0) :: [ 23:55:08 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table 200' (Expected 0-255, got 0) :: [ 23:55:10 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0, got 0) :: [ 23:55:11 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 goto 32765' (Expected 0-255, got 0) :: [ 23:55:12 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table 300' (Expected 0, got 0) :: [ 23:55:14 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 10.10.0.1 table 300' (Expected 0-255, got 0) :: [ 23:55:15 ] :: [ PASS ] :: Command 'vrun client ip -4 route add table 300 default dev veth1 via 192.168.11.254' (Expected 0, got 0) :: [ 23:55:16 ] :: [ PASS ] :: Command 'vrun client ip -4 route get 10.10.0.1 | grep veth1' (Expected 0, got 0) :: [ 23:55:17 ] :: [ PASS ] :: Command 'vrun client ip -4 route get 10.10.0.1 oif veth1 | sed -n '3,$'p | grep veth1' (Expected 0, got 0) :: [ 23:55:19 ] :: [ PASS ] :: Command 'vrun client ip -4 route get 10.10.0.1 oif veth0 | sed -n '3,$'p | grep veth1' (Expected 1, got 1) :: [ 23:55:25 ] :: [ PASS ] :: Command 'vrun client ping 10.10.0.1 -c 1' (Expected 0, got 0) :: [ 23:55:28 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 23:55:29 ] :: [ PASS ] :: Command 'vrun client pkill tcpdump' (Expected 0, got 0) :: [ 23:55:36 ] :: [ PASS ] :: Command 'vrun client tcpdump -r route_second.pcap -nnle | grep "> 10.10.0.1"' (Expected 0, got 0) :: [ 23:55:37 ] :: [ PASS ] :: Command 'vrun client ip -4 route del table 300 default dev veth1 via 192.168.11.254' (Expected 0, got 0) :: [ 23:55:38 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table 300' (Expected 0, got 0) :: [ 23:55:39 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 10.10.0.1 table 300' (Expected 0-255, got 0) :: [ 23:55:45 ] :: [ PASS ] :: Command 'vrun client ping 10.10.0.1 -c 5' (Expected 0, got 0) :: [ 23:55:46 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "0:.*from all.*lookup local"' (Expected 0, got 0) :: [ 23:55:47 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "32766:.*from all.*lookup main"' (Expected 0, got 0) :: [ 23:55:48 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 100' (Expected 2,254, got 2) :: [ 23:55:50 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table -5' (Expected 0-255, got 255) :: [ 23:55:51 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table -5' (Expected 0-255, got 255) :: [ 23:55:53 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table -5' (Expected 0-255, got 255) :: [ 23:55:54 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table local' (Expected 0, got 0) :: [ 23:55:56 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table local' (Expected 0-255, got 0) :: [ 23:55:57 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "32765:.*from all to 3001::1.*lookup local"' (Expected 0, got 0) :: [ 23:55:58 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0, got 0) :: [ 23:56:00 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 23:56:01 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "from all to 3001::1.*goto 32765"' (Expected 0, got 0) :: [ 23:56:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table local' (Expected 0, got 0) :: [ 23:56:04 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table local' (Expected 0-255, got 0) :: [ 23:56:05 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0, got 0) :: [ 23:56:06 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 23:56:07 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table main' (Expected 0, got 0) :: [ 23:56:09 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table main' (Expected 0-255, got 0) :: [ 23:56:10 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "32765:.*from all to 3001::1.*lookup main"' (Expected 0, got 0) :: [ 23:56:12 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0, got 0) :: [ 23:56:13 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 23:56:14 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "from all to 3001::1.*goto 32765"' (Expected 0, got 0) :: [ 23:56:15 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table main' (Expected 0, got 0) :: [ 23:56:17 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table main' (Expected 0-255, got 0) :: [ 23:56:18 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0, got 0) :: [ 23:56:20 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 23:56:21 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table 200' (Expected 0, got 0) :: [ 23:56:23 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table 200' (Expected 0-255, got 0) :: [ 23:56:24 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "32765:.*from all to 3001::1.*lookup 200"' (Expected 0, got 0) :: [ 23:56:25 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0, got 0) :: [ 23:56:27 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 23:56:28 ] :: [ PASS ] :: Command 'vrun client ip -6 rule list | grep "from all to 3001::1.*goto 32765"' (Expected 0, got 0) :: [ 23:56:29 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table 200' (Expected 0, got 0) :: [ 23:56:30 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table 200' (Expected 0-255, got 0) :: [ 23:56:32 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0, got 0) :: [ 23:56:33 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 goto 32765' (Expected 0-255, got 0) :: [ 23:56:34 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table 300' (Expected 0, got 0) :: [ 23:56:36 ] :: [ PASS ] :: Command 'vrun client ip -6 rule add to 3001::1 table 300' (Expected 0-255, got 0) :: [ 23:56:37 ] :: [ PASS ] :: Command 'vrun client ip -6 route add table 300 default dev veth1 via 2011::a' (Expected 0, got 0) :: [ 23:56:38 ] :: [ PASS ] :: Command 'vrun client ip -6 route get 3001::1 | grep veth1' (Expected 0, got 0) :: [ 23:56:39 ] :: [ PASS ] :: Command 'vrun client ip -6 route get 3001::1 oif veth1 | sed -n '3,$'p | grep veth1' (Expected 0, got 0) :: [ 23:56:41 ] :: [ PASS ] :: Command 'vrun client ip -6 route get 3001::1 oif veth0 | sed -n '3,$'p | grep veth1' (Expected 1, got 1) :: [ 23:56:47 ] :: [ PASS ] :: Command 'vrun client ping6 3001::1 -c 1' (Expected 0, got 0) :: [ 23:56:50 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 23:56:51 ] :: [ PASS ] :: Command 'vrun client pkill tcpdump' (Expected 0, got 0) :: [ 23:56:58 ] :: [ PASS ] :: Command 'vrun client tcpdump -r route_second.pcap -nnle | grep "> 3001::1"' (Expected 0, got 0) :: [ 23:56:59 ] :: [ PASS ] :: Command 'vrun client ip -6 route del table 300 default dev veth1 via 2011::a' (Expected 0, got 0) :: [ 23:57:00 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table 300' (Expected 0, got 0) :: [ 23:57:02 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 3001::1 table 300' (Expected 0-255, got 0) :: [ 23:57:07 ] :: [ PASS ] :: Command 'vrun client ping6 3001::1 -c 5' (Expected 0, got 0) :: [ 23:57:08 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 172.145.11.1 table unspec' (Expected 2,254, got 2) :: [ 23:57:09 ] :: [ PASS ] :: Command 'vrun client ip -4 rule add to 172.145.11.1 table unspec' (Expected 0, got 0) :: [ 23:57:10 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep 172.145.11.1' (Expected 0, got 0) :: [ 23:57:11 ] :: [ PASS ] :: Command 'vrun client ip -4 rule del to 172.145.11.1 table unspec' (Expected 0, got 0) :: [ 23:57:13 ] :: [ PASS ] :: Command 'vrun client ip -4 rule list | grep 172.145.11.1' (Expected 1, got 1) :: [ 23:57:14 ] :: [ PASS ] :: Command 'vrun client ip -6 rule del to 4543:1111::1 table unspec' (Expected 2,254, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 171s :: Assertions: 106 good, 0 bad :: RESULT: PASS (Rule Test netns default local)