use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:24:00 ] :: [ BEGIN ] :: Running 'nl_fib_lookup_install' Last metadata expiration check: 0:18:22 ago on Mon 26 Sep 2022 05:05:40 PM EDT. Package libnl3-3.7.0-2.fc37.aarch64 is already installed. Package libnl3-devel-3.7.0-2.fc37.aarch64 is already installed. Dependencies resolved. Nothing to do. Complete! /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/route/route_func/tools /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/route/route_func /mnt/tests/gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/archive/main/kernel-tests-main.zip/networking/route/route_func :: [ 17:24:05 ] :: [ PASS ] :: Command 'nl_fib_lookup_install' (Expected 0, got 0) :: [ 17:24:05 ] :: [ LOG ] :: test_items:route_prefix_test route_selector_test route_options_test route_addr_test rule_test :: [ 17:24:05 ] :: [ LOG ] :: test_topo:default :: [ 17:24:06 ] :: [ LOG ] :: test_type:netns :: [ 17:24:06 ] :: [ LOG ] :: route_mode:forward :: [ 17:24:06 ] :: [ BEGIN ] :: Running 'default_forward_setup' /proc/sys/net/ipv4/conf/all/forwarding = 1 /proc/sys/net/ipv6/conf/all/forwarding = 1 /proc/sys/net/ipv4/conf/all/forwarding = 1 /proc/sys/net/ipv6/conf/all/forwarding = 1 /proc/sys/net/ipv4/conf/all/rp_filter = 0 /proc/sys/net/ipv4/conf/default/rp_filter = 0 /proc/sys/net/ipv4/conf/eth0r0/rp_filter = 0 /proc/sys/net/ipv4/conf/eth1r0/rp_filter = 0 /proc/sys/net/ipv4/conf/veth0_r/rp_filter = 0 /proc/sys/net/ipv4/ip_forward_use_pmtu = 1 /proc/sys/net/ipv4/conf/all/rp_filter = 0 /proc/sys/net/ipv4/conf/default/rp_filter = 0 /proc/sys/net/ipv4/conf/eth0r0_r/rp_filter = 0 /proc/sys/net/ipv4/conf/eth1r0_r/rp_filter = 0 /proc/sys/net/ipv4/conf/veth2_r/rp_filter = 0 /proc/sys/net/ipv4/ip_forward_use_pmtu = 1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.292 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.150 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.136 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.150 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.137 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4133ms rtt min/avg/max/mdev = 0.136/0.173/0.292/0.059 ms PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.311 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.185 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.164 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.137 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.166 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4148ms rtt min/avg/max/mdev = 0.137/0.192/0.311/0.061 ms :: [ 17:24:15 ] :: [ PASS ] :: Command 'default_forward_setup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 15s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Route_Prefix netns default forward :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:24:16 ] :: [ LOG ] :: ROUTE_MODE:forward not local, return :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Route_Selector netns default forward :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:24:16 ] :: [ LOG ] :: ROUTE_MODE:forward not local, return :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Route_Options netns default forward :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:24:16 ] :: [ LOG ] :: ROUTE_MODE:forward not local, return :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Route Addr netns default forward :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: [17:24:16][root]# echo 'nohup tcpdump -U -i eth0r0 -p -nnle > route_addr_pcap.log &' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eth0r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:24:17 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:24:19 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:24:19 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [17:24:19][root]# echo 'ping 192.168.1.1 -c 5' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.225 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.149 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.142 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.164 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.139 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4169ms rtt min/avg/max/mdev = 0.139/0.163/0.225/0.031 ms :: [ 17:24:24 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 17:24:24 ] :: [ BEGIN ] :: Running 'sleep 3' :: [ 17:24:27 ] :: [ PASS ] :: Command 'sleep 3' (Expected 0, got 0) :: [ 17:24:27 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:24:27][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 10 packets captured 10 packets received by filter 0 packets dropped by kernel :: [ 17:24:27 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0-255, got 0) :: [ 17:24:27 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:24:29 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:24:29 ] :: [ BEGIN ] :: Running 'vrun route0 cat route_addr_pcap.log | grep "> 192.168.1.1"' 17:24:19.953705 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 12388, seq 1, length 64 17:24:20.993128 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 12388, seq 2, length 64 17:24:22.033106 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 12388, seq 3, length 64 17:24:23.073113 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 12388, seq 4, length 64 17:24:24.123120 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 12388, seq 5, length 64 :: [ 17:24:29 ] :: [ PASS ] :: Command 'vrun route0 cat route_addr_pcap.log | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 17:24:29 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' [17:24:29][root]# echo 'ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash :: [ 17:24:29 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' (Expected 0, got 0) :: [ 17:24:30 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' [17:24:30][root]# echo 'ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash RTNETLINK answers: File exists :: [ 17:24:30 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' (Expected 0-255, got 2) :: [ 17:24:30 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route list' [17:24:30][root]# echo 'ip -4 route list' | ip netns exec route0 bash default via 10.0.0.2 dev eth0r0 10.0.0.0/24 dev eth0r0 proto kernel scope link src 10.0.0.1 10.1.1.0/24 dev eth1r0 proto kernel scope link src 10.1.1.1 192.168.0.0/24 dev veth0_r proto kernel scope link src 192.168.0.254 192.168.1.1 via 10.1.1.2 dev eth1r0 :: [ 17:24:30 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route list' (Expected 0, got 0) :: [ 17:24:30 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route get 192.168.1.1' [17:24:30][root]# echo 'ip -4 route get 192.168.1.1' | ip netns exec route0 bash 192.168.1.1 via 10.1.1.2 dev eth1r0 src 10.1.1.1 uid 0 cache :: [ 17:24:30 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1' (Expected 0, got 0) [17:24:30][root]# echo 'nohup tcpdump -U -i eth1r0 -p -nnle > route_addr_pcap.log &' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:24:31 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:24:33 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:24:33 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [17:24:33][root]# echo 'ping 192.168.1.1 -c 5' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.240 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.160 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.138 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.151 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.144 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4187ms rtt min/avg/max/mdev = 0.138/0.166/0.240/0.037 ms :: [ 17:24:37 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 17:24:38 ] :: [ BEGIN ] :: Running 'sleep 3' :: [ 17:24:41 ] :: [ PASS ] :: Command 'sleep 3' (Expected 0, got 0) :: [ 17:24:41 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:24:41][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 7 packets captured 7 packets received by filter 0 packets dropped by kernel :: [ 17:24:41 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0-255, got 0) :: [ 17:24:41 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:24:43 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:24:43 ] :: [ BEGIN ] :: Running 'vrun route0 cat route_addr_pcap.log | grep "> 192.168.1.1"' 17:24:33.766592 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 45687, seq 1, length 64 17:24:34.833146 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 45687, seq 2, length 64 17:24:35.873142 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 45687, seq 3, length 64 17:24:36.913183 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 45687, seq 4, length 64 17:24:37.953166 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 45687, seq 5, length 64 :: [ 17:24:43 ] :: [ PASS ] :: Command 'vrun route0 cat route_addr_pcap.log | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 17:24:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' [17:24:43][root]# echo 'ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash :: [ 17:24:43 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' (Expected 0, got 0) :: [ 17:24:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' [17:24:43][root]# echo 'ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash RTNETLINK answers: No such process :: [ 17:24:43 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' (Expected 0-255, got 2) [17:24:43][root]# echo 'nohup tcpdump -U -i eth0r0 -p -nnle > route_addr_pcap.log &' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eth0r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:24:45 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:24:47 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:24:47 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [17:24:47][root]# echo 'ping6 2001::1 -c 5' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.208 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.159 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.195 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.166 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.156 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4175ms rtt min/avg/max/mdev = 0.156/0.176/0.208/0.020 ms :: [ 17:24:51 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 17:24:51 ] :: [ BEGIN ] :: Running 'sleep 3' :: [ 17:24:54 ] :: [ PASS ] :: Command 'sleep 3' (Expected 0, got 0) :: [ 17:24:54 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:24:54][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 12 packets captured 12 packets received by filter 0 packets dropped by kernel :: [ 17:24:54 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0-255, got 0) :: [ 17:24:54 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:24:56 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:24:57 ] :: [ BEGIN ] :: Running 'vrun route0 cat route_addr_pcap.log | grep "> 2001::1"' 17:24:47.218029 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 56268, seq 1, length 64 17:24:48.273143 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 56268, seq 2, length 64 17:24:49.313156 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 56268, seq 3, length 64 17:24:50.353103 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 56268, seq 4, length 64 17:24:51.393177 16:f3:6a:c8:07:d5 > e2:50:01:bc:4c:63, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 56268, seq 5, length 64 :: [ 17:24:57 ] :: [ PASS ] :: Command 'vrun route0 cat route_addr_pcap.log | grep "> 2001::1"' (Expected 0, got 0) :: [ 17:24:57 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add 2001::1 dev eth1r0 via 4002::2' [17:24:57][root]# echo 'ip -6 route add 2001::1 dev eth1r0 via 4002::2' | ip netns exec route0 bash :: [ 17:24:57 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add 2001::1 dev eth1r0 via 4002::2' (Expected 0, got 0) :: [ 17:24:57 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add 2001::1 dev eth1r0 via 4002::2' [17:24:57][root]# echo 'ip -6 route add 2001::1 dev eth1r0 via 4002::2' | ip netns exec route0 bash RTNETLINK answers: File exists :: [ 17:24:57 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add 2001::1 dev eth1r0 via 4002::2' (Expected 0-255, got 2) :: [ 17:24:57 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route list' [17:24:57][root]# echo 'ip -6 route list' | ip netns exec route0 bash 2000::/64 dev veth0_r proto kernel metric 256 pref medium 2001::1 via 4002::2 dev eth1r0 metric 1024 pref medium 4001::/64 dev eth0r0 proto kernel metric 256 pref medium 4002::/64 dev eth1r0 proto kernel metric 256 pref medium fe80::/64 dev eth0r0 proto kernel metric 256 pref medium fe80::/64 dev eth1r0 proto kernel metric 256 pref medium fe80::/64 dev veth0_r proto kernel metric 256 pref medium default via 4001::2 dev eth0r0 metric 1024 pref medium :: [ 17:24:57 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route list' (Expected 0, got 0) :: [ 17:24:57 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route get 2001::1' [17:24:57][root]# echo 'ip -6 route get 2001::1' | ip netns exec route0 bash 2001::1 from :: via 4002::2 dev eth1r0 src 4002::1 metric 1024 pref medium :: [ 17:24:57 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1' (Expected 0, got 0) [17:24:57][root]# echo 'nohup tcpdump -U -i eth1r0 -p -nnle > route_addr_pcap.log &' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:24:58 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:25:00 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:25:01 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [17:25:01][root]# echo 'ping6 2001::1 -c 5' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.282 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.177 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.182 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.148 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.213 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4138ms rtt min/avg/max/mdev = 0.148/0.200/0.282/0.045 ms :: [ 17:25:05 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 17:25:05 ] :: [ BEGIN ] :: Running 'sleep 3' :: [ 17:25:08 ] :: [ PASS ] :: Command 'sleep 3' (Expected 0, got 0) :: [ 17:25:08 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:25:08][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 9 packets captured 9 packets received by filter 0 packets dropped by kernel :: [ 17:25:08 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0-255, got 0) :: [ 17:25:08 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:25:10 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:25:10 ] :: [ BEGIN ] :: Running 'vrun route0 cat route_addr_pcap.log | grep "> 2001::1"' 17:25:01.094837 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 17818, seq 1, length 64 17:25:02.113133 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 17818, seq 2, length 64 17:25:03.153149 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 17818, seq 3, length 64 17:25:04.193104 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 17818, seq 4, length 64 17:25:05.233172 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 17818, seq 5, length 64 :: [ 17:25:10 ] :: [ PASS ] :: Command 'vrun route0 cat route_addr_pcap.log | grep "> 2001::1"' (Expected 0, got 0) :: [ 17:25:11 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del 2001::1 dev eth1r0 via 4002::2' [17:25:11][root]# echo 'ip -6 route del 2001::1 dev eth1r0 via 4002::2' | ip netns exec route0 bash :: [ 17:25:11 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del 2001::1 dev eth1r0 via 4002::2' (Expected 0, got 0) :: [ 17:25:11 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del 2001::1 dev eth1r0 via 4002::2' [17:25:11][root]# echo 'ip -6 route del 2001::1 dev eth1r0 via 4002::2' | ip netns exec route0 bash RTNETLINK answers: No such process :: [ 17:25:11 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del 2001::1 dev eth1r0 via 4002::2' (Expected 0-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 55s :: Assertions: 36 good, 0 bad :: RESULT: PASS (Route Addr netns default forward) ** Route-Addr-netns-default-forward PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Rule Test netns default forward :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:25:12 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "0:.*from all.*lookup local"' 0: from all lookup local :: [ 17:25:12 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "0:.*from all.*lookup local"' (Expected 0, got 0) :: [ 17:25:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "32766:.*from all.*lookup main"' 32766: from all lookup main :: [ 17:25:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "32766:.*from all.*lookup main"' (Expected 0, got 0) :: [ 17:25:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 100' [17:25:13][root]# echo 'ip -4 rule add to 192.168.1.1 goto 100' | ip netns exec route0 bash Error: Backward goto not supported. :: [ 17:25:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 100' (Expected 2,254, got 2) :: [ 17:25:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table -5' [17:25:13][root]# echo 'ip -4 rule add to 192.168.1.1 table -5' | ip netns exec route0 bash Error: argument "-5" is wrong: invalid table ID :: [ 17:25:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table -5' (Expected 0-255, got 255) :: [ 17:25:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table -5' [17:25:13][root]# echo 'ip -4 rule del to 192.168.1.1 table -5' | ip netns exec route0 bash Error: argument "-5" is wrong: invalid table ID :: [ 17:25:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table -5' (Expected 0-255, got 255) :: [ 17:25:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table -5' [17:25:13][root]# echo 'ip -4 rule del to 192.168.1.1 table -5' | ip netns exec route0 bash Error: argument "-5" is wrong: invalid table ID :: [ 17:25:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table -5' (Expected 0-255, got 255) :: [ 17:25:14 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table local' [17:25:14][root]# echo 'ip -4 rule add to 192.168.1.1 table local' | ip netns exec route0 bash :: [ 17:25:14 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table local' (Expected 0, got 0) :: [ 17:25:14 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table local' [17:25:14][root]# echo 'ip -4 rule add to 192.168.1.1 table local' | ip netns exec route0 bash :: [ 17:25:14 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table local' (Expected 0-255, got 0) :: [ 17:25:14 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "32765:.*from all to 192.168.1.1.*lookup local"' 32765: from all to 192.168.1.1 lookup local :: [ 17:25:14 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "32765:.*from all to 192.168.1.1.*lookup local"' (Expected 0, got 0) :: [ 17:25:14 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [17:25:14][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:14 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 17:25:14 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [17:25:14][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:14 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:15 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "from all to 192.168.1.1.*goto 32765"' 32762: from all to 192.168.1.1 goto 32765 32763: from all to 192.168.1.1 goto 32765 :: [ 17:25:15 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from all to 192.168.1.1.*goto 32765"' (Expected 0, got 0) :: [ 17:25:15 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table local' [17:25:15][root]# echo 'ip -4 rule del to 192.168.1.1 table local' | ip netns exec route0 bash :: [ 17:25:15 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table local' (Expected 0, got 0) :: [ 17:25:15 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table local' [17:25:15][root]# echo 'ip -4 rule del to 192.168.1.1 table local' | ip netns exec route0 bash :: [ 17:25:15 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table local' (Expected 0-255, got 0) :: [ 17:25:15 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [17:25:15][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:15 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 17:25:15 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [17:25:15][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:15 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:15 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table main' [17:25:15][root]# echo 'ip -4 rule add to 192.168.1.1 table main' | ip netns exec route0 bash :: [ 17:25:15 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table main' (Expected 0, got 0) :: [ 17:25:16 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table main' [17:25:16][root]# echo 'ip -4 rule add to 192.168.1.1 table main' | ip netns exec route0 bash :: [ 17:25:16 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table main' (Expected 0-255, got 0) :: [ 17:25:16 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "32765:.*from all to 192.168.1.1.*lookup main"' 32765: from all to 192.168.1.1 lookup main :: [ 17:25:16 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "32765:.*from all to 192.168.1.1.*lookup main"' (Expected 0, got 0) :: [ 17:25:16 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [17:25:16][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:16 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 17:25:16 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [17:25:16][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:16 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:16 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "from all to 192.168.1.1.*goto 32765"' 32762: from all to 192.168.1.1 goto 32765 32763: from all to 192.168.1.1 goto 32765 :: [ 17:25:17 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from all to 192.168.1.1.*goto 32765"' (Expected 0, got 0) :: [ 17:25:17 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table main' [17:25:17][root]# echo 'ip -4 rule del to 192.168.1.1 table main' | ip netns exec route0 bash :: [ 17:25:17 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table main' (Expected 0, got 0) :: [ 17:25:17 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table main' [17:25:17][root]# echo 'ip -4 rule del to 192.168.1.1 table main' | ip netns exec route0 bash :: [ 17:25:17 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table main' (Expected 0-255, got 0) :: [ 17:25:17 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [17:25:17][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:17 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 17:25:17 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [17:25:17][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:17 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:17 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table 200' [17:25:17][root]# echo 'ip -4 rule add to 192.168.1.1 table 200' | ip netns exec route0 bash :: [ 17:25:17 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table 200' (Expected 0, got 0) :: [ 17:25:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table 200' [17:25:18][root]# echo 'ip -4 rule add to 192.168.1.1 table 200' | ip netns exec route0 bash :: [ 17:25:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table 200' (Expected 0-255, got 0) :: [ 17:25:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "32765:.*from all to 192.168.1.1.*lookup 200"' 32765: from all to 192.168.1.1 lookup 200 :: [ 17:25:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "32765:.*from all to 192.168.1.1.*lookup 200"' (Expected 0, got 0) :: [ 17:25:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [17:25:18][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 17:25:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [17:25:18][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "from all to 192.168.1.1.*goto 32765"' 32762: from all to 192.168.1.1 goto 32765 32763: from all to 192.168.1.1 goto 32765 :: [ 17:25:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from all to 192.168.1.1.*goto 32765"' (Expected 0, got 0) :: [ 17:25:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table 200' [17:25:18][root]# echo 'ip -4 rule del to 192.168.1.1 table 200' | ip netns exec route0 bash :: [ 17:25:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table 200' (Expected 0, got 0) :: [ 17:25:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table 200' [17:25:19][root]# echo 'ip -4 rule del to 192.168.1.1 table 200' | ip netns exec route0 bash :: [ 17:25:19 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table 200' (Expected 0-255, got 0) :: [ 17:25:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [17:25:19][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:19 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 17:25:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [17:25:19][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 17:25:19 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table 300' [17:25:19][root]# echo 'ip -4 rule add to 192.168.1.1 table 300' | ip netns exec route0 bash :: [ 17:25:19 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table 300' (Expected 0, got 0) :: [ 17:25:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table 300' [17:25:19][root]# echo 'ip -4 rule add to 192.168.1.1 table 300' | ip netns exec route0 bash :: [ 17:25:19 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table 300' (Expected 0-255, got 0) :: [ 17:25:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add table 300 default dev eth1r0 via 10.1.1.2' [17:25:19][root]# echo 'ip -4 route add table 300 default dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash :: [ 17:25:20 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add table 300 default dev eth1r0 via 10.1.1.2' (Expected 0, got 0) :: [ 17:25:20 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route get 192.168.1.1 | grep eth1r0' 192.168.1.1 via 10.1.1.2 dev eth1r0 table 300 src 10.1.1.1 uid 0 :: [ 17:25:20 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1 | grep eth1r0' (Expected 0, got 0) :: [ 17:25:20 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route get 192.168.1.1 oif eth1r0 | sed -n '3,$'p | grep eth1r0' 192.168.1.1 via 10.1.1.2 dev eth1r0 table 300 src 10.1.1.1 uid 0 :: [ 17:25:20 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1 oif eth1r0 | sed -n '3,$'p | grep eth1r0' (Expected 0, got 0) :: [ 17:25:20 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route get 192.168.1.1 oif eth0r0 | sed -n '3,$'p | grep eth1r0' :: [ 17:25:20 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1 oif eth0r0 | sed -n '3,$'p | grep eth1r0' (Expected 1, got 1) [17:25:20][root]# echo 'nohup tcpdump -U -i eth1r0 -p -w route_second.pcap &' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:25:25 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 1' [17:25:25][root]# echo 'ping 192.168.1.1 -c 1' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.220 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.220/0.220/0.220/0.000 ms :: [ 17:25:25 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 17:25:25 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:25:27 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:25:27 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:25:27][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 1 packet captured 1 packet received by filter 0 packets dropped by kernel :: [ 17:25:27 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:25:33 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r route_second.pcap -nnle | grep "> 192.168.1.1"' reading from file route_second.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:25:25.654272 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 55375, seq 1, length 64 :: [ 17:25:33 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r route_second.pcap -nnle | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 17:25:33 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del table 300 default dev eth1r0 via 10.1.1.2' [17:25:33][root]# echo 'ip -4 route del table 300 default dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash :: [ 17:25:33 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del table 300 default dev eth1r0 via 10.1.1.2' (Expected 0, got 0) :: [ 17:25:33 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table 300' [17:25:33][root]# echo 'ip -4 rule del to 192.168.1.1 table 300' | ip netns exec route0 bash :: [ 17:25:33 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table 300' (Expected 0, got 0) :: [ 17:25:33 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table 300' [17:25:33][root]# echo 'ip -4 rule del to 192.168.1.1 table 300' | ip netns exec route0 bash :: [ 17:25:33 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table 300' (Expected 0-255, got 0) :: [ 17:25:33 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [17:25:33][root]# echo 'ping 192.168.1.1 -c 5' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.116 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.158 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.139 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.153 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.163 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4149ms rtt min/avg/max/mdev = 0.116/0.145/0.163/0.016 ms :: [ 17:25:37 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 17:25:38 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "0:.*from all.*lookup local"' 0: from all lookup local :: [ 17:25:38 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "0:.*from all.*lookup local"' (Expected 0, got 0) :: [ 17:25:38 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "32766:.*from all.*lookup main"' 32766: from all lookup main :: [ 17:25:38 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "32766:.*from all.*lookup main"' (Expected 0, got 0) :: [ 17:25:38 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 100' [17:25:38][root]# echo 'ip -6 rule add to 2001::1 goto 100' | ip netns exec route0 bash Error: Backward goto not supported. :: [ 17:25:38 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 100' (Expected 2,254, got 2) :: [ 17:25:38 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table -5' [17:25:38][root]# echo 'ip -6 rule add to 2001::1 table -5' | ip netns exec route0 bash Error: argument "-5" is wrong: invalid table ID :: [ 17:25:38 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table -5' (Expected 0-255, got 255) :: [ 17:25:38 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table -5' [17:25:38][root]# echo 'ip -6 rule del to 2001::1 table -5' | ip netns exec route0 bash Error: argument "-5" is wrong: invalid table ID :: [ 17:25:38 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table -5' (Expected 0-255, got 255) :: [ 17:25:38 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table -5' [17:25:39][root]# echo 'ip -6 rule del to 2001::1 table -5' | ip netns exec route0 bash Error: argument "-5" is wrong: invalid table ID :: [ 17:25:39 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table -5' (Expected 0-255, got 255) :: [ 17:25:39 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table local' [17:25:39][root]# echo 'ip -6 rule add to 2001::1 table local' | ip netns exec route0 bash :: [ 17:25:39 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table local' (Expected 0, got 0) :: [ 17:25:39 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table local' [17:25:39][root]# echo 'ip -6 rule add to 2001::1 table local' | ip netns exec route0 bash :: [ 17:25:39 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table local' (Expected 0-255, got 0) :: [ 17:25:39 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "32765:.*from all to 2001::1.*lookup local"' 32765: from all to 2001::1 lookup local :: [ 17:25:39 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "32765:.*from all to 2001::1.*lookup local"' (Expected 0, got 0) :: [ 17:25:39 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [17:25:39][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:39 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0, got 0) :: [ 17:25:39 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [17:25:39][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:39 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "from all to 2001::1.*goto 32765"' 32762: from all to 2001::1 goto 32765 32763: from all to 2001::1 goto 32765 :: [ 17:25:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from all to 2001::1.*goto 32765"' (Expected 0, got 0) :: [ 17:25:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table local' [17:25:40][root]# echo 'ip -6 rule del to 2001::1 table local' | ip netns exec route0 bash :: [ 17:25:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table local' (Expected 0, got 0) :: [ 17:25:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table local' [17:25:40][root]# echo 'ip -6 rule del to 2001::1 table local' | ip netns exec route0 bash :: [ 17:25:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table local' (Expected 0-255, got 0) :: [ 17:25:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [17:25:40][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0, got 0) :: [ 17:25:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [17:25:40][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table main' [17:25:40][root]# echo 'ip -6 rule add to 2001::1 table main' | ip netns exec route0 bash :: [ 17:25:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table main' (Expected 0, got 0) :: [ 17:25:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table main' [17:25:41][root]# echo 'ip -6 rule add to 2001::1 table main' | ip netns exec route0 bash :: [ 17:25:41 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table main' (Expected 0-255, got 0) :: [ 17:25:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "32765:.*from all to 2001::1.*lookup main"' 32765: from all to 2001::1 lookup main :: [ 17:25:41 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "32765:.*from all to 2001::1.*lookup main"' (Expected 0, got 0) :: [ 17:25:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [17:25:41][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:41 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0, got 0) :: [ 17:25:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [17:25:41][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:41 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "from all to 2001::1.*goto 32765"' 32762: from all to 2001::1 goto 32765 32763: from all to 2001::1 goto 32765 :: [ 17:25:41 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from all to 2001::1.*goto 32765"' (Expected 0, got 0) :: [ 17:25:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table main' [17:25:41][root]# echo 'ip -6 rule del to 2001::1 table main' | ip netns exec route0 bash :: [ 17:25:42 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table main' (Expected 0, got 0) :: [ 17:25:42 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table main' [17:25:42][root]# echo 'ip -6 rule del to 2001::1 table main' | ip netns exec route0 bash :: [ 17:25:42 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table main' (Expected 0-255, got 0) :: [ 17:25:42 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [17:25:42][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:42 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0, got 0) :: [ 17:25:42 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [17:25:42][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:42 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:42 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table 200' [17:25:42][root]# echo 'ip -6 rule add to 2001::1 table 200' | ip netns exec route0 bash :: [ 17:25:42 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table 200' (Expected 0, got 0) :: [ 17:25:42 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table 200' [17:25:42][root]# echo 'ip -6 rule add to 2001::1 table 200' | ip netns exec route0 bash :: [ 17:25:43 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table 200' (Expected 0-255, got 0) :: [ 17:25:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "32765:.*from all to 2001::1.*lookup 200"' 32765: from all to 2001::1 lookup 200 :: [ 17:25:43 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "32765:.*from all to 2001::1.*lookup 200"' (Expected 0, got 0) :: [ 17:25:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [17:25:43][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:43 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0, got 0) :: [ 17:25:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [17:25:43][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:43 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "from all to 2001::1.*goto 32765"' 32762: from all to 2001::1 goto 32765 32763: from all to 2001::1 goto 32765 :: [ 17:25:43 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from all to 2001::1.*goto 32765"' (Expected 0, got 0) :: [ 17:25:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table 200' [17:25:43][root]# echo 'ip -6 rule del to 2001::1 table 200' | ip netns exec route0 bash :: [ 17:25:43 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table 200' (Expected 0, got 0) :: [ 17:25:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table 200' [17:25:44][root]# echo 'ip -6 rule del to 2001::1 table 200' | ip netns exec route0 bash :: [ 17:25:44 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table 200' (Expected 0-255, got 0) :: [ 17:25:44 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [17:25:44][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:44 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0, got 0) :: [ 17:25:44 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [17:25:44][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 17:25:44 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 17:25:44 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table 300' [17:25:44][root]# echo 'ip -6 rule add to 2001::1 table 300' | ip netns exec route0 bash :: [ 17:25:44 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table 300' (Expected 0, got 0) :: [ 17:25:44 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table 300' [17:25:44][root]# echo 'ip -6 rule add to 2001::1 table 300' | ip netns exec route0 bash :: [ 17:25:44 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table 300' (Expected 0-255, got 0) :: [ 17:25:44 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add table 300 default dev eth1r0 via 4002::2' [17:25:44][root]# echo 'ip -6 route add table 300 default dev eth1r0 via 4002::2' | ip netns exec route0 bash :: [ 17:25:44 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add table 300 default dev eth1r0 via 4002::2' (Expected 0, got 0) :: [ 17:25:45 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route get 2001::1 | grep eth1r0' 2001::1 from :: via 4002::2 dev eth1r0 table 300 src 4002::1 metric 1024 pref medium :: [ 17:25:45 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1 | grep eth1r0' (Expected 0, got 0) :: [ 17:25:45 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route get 2001::1 oif eth1r0 | sed -n '3,$'p | grep eth1r0' 2001::1 from :: via 4002::2 dev eth1r0 table 300 src 4002::1 metric 1024 pref medium :: [ 17:25:45 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1 oif eth1r0 | sed -n '3,$'p | grep eth1r0' (Expected 0, got 0) :: [ 17:25:45 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route get 2001::1 oif eth0r0 | sed -n '3,$'p | grep eth1r0' :: [ 17:25:45 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1 oif eth0r0 | sed -n '3,$'p | grep eth1r0' (Expected 1, got 1) [17:25:45][root]# echo 'nohup tcpdump -U -i eth1r0 -p -w route_second.pcap &' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:25:50 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 1' [17:25:50][root]# echo 'ping6 2001::1 -c 1' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.228 ms --- 2001::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.228/0.228/0.228/0.000 ms :: [ 17:25:50 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 1' (Expected 0, got 0) :: [ 17:25:50 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 17:25:52 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 17:25:52 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:25:52][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 1 packet captured 1 packet received by filter 0 packets dropped by kernel :: [ 17:25:52 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:25:58 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r route_second.pcap -nnle | grep "> 2001::1"' reading from file route_second.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:25:50.585491 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 49910, seq 1, length 64 :: [ 17:25:58 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r route_second.pcap -nnle | grep "> 2001::1"' (Expected 0, got 0) :: [ 17:25:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del table 300 default dev eth1r0 via 4002::2' [17:25:58][root]# echo 'ip -6 route del table 300 default dev eth1r0 via 4002::2' | ip netns exec route0 bash :: [ 17:25:58 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del table 300 default dev eth1r0 via 4002::2' (Expected 0, got 0) :: [ 17:25:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table 300' [17:25:58][root]# echo 'ip -6 rule del to 2001::1 table 300' | ip netns exec route0 bash :: [ 17:25:58 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table 300' (Expected 0, got 0) :: [ 17:25:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table 300' [17:25:58][root]# echo 'ip -6 rule del to 2001::1 table 300' | ip netns exec route0 bash :: [ 17:25:58 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table 300' (Expected 0-255, got 0) :: [ 17:25:58 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [17:25:58][root]# echo 'ping6 2001::1 -c 5' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.116 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.331 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.210 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.189 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.179 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4182ms rtt min/avg/max/mdev = 0.116/0.205/0.331/0.070 ms :: [ 17:26:03 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 17:26:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 172.145.11.1 table unspec' [17:26:03][root]# echo 'ip -4 rule del to 172.145.11.1 table unspec' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:26:03 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 172.145.11.1 table unspec' (Expected 2,254, got 2) :: [ 17:26:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 172.145.11.1 table unspec' [17:26:03][root]# echo 'ip -4 rule add to 172.145.11.1 table unspec' | ip netns exec route0 bash :: [ 17:26:03 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 172.145.11.1 table unspec' (Expected 0, got 0) :: [ 17:26:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep 172.145.11.1' 32765: from all to 172.145.11.1 lookup 1 :: [ 17:26:03 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep 172.145.11.1' (Expected 0, got 0) :: [ 17:26:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 172.145.11.1 table unspec' [17:26:03][root]# echo 'ip -4 rule del to 172.145.11.1 table unspec' | ip netns exec route0 bash :: [ 17:26:03 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 172.145.11.1 table unspec' (Expected 0, got 0) :: [ 17:26:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep 172.145.11.1' :: [ 17:26:03 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep 172.145.11.1' (Expected 1, got 1) :: [ 17:26:04 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 4543:1111::1 table unspec' [17:26:04][root]# echo 'ip -6 rule del to 4543:1111::1 table unspec' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:26:04 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 4543:1111::1 table unspec' (Expected 2,254, got 2) :: [ 17:26:04 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route get 192.168.1.1 | grep 10.0.0.2' 192.168.1.1 via 10.0.0.2 dev eth0r0 src 10.0.0.1 uid 0 :: [ 17:26:04 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1 | grep 10.0.0.2' (Expected 0, got 0) :: [ 17:26:04 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add from 192.168.0.1 table 11' [17:26:04][root]# echo 'ip -4 rule add from 192.168.0.1 table 11' | ip netns exec route0 bash :: [ 17:26:04 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add from 192.168.0.1 table 11' (Expected 0, got 0) :: [ 17:26:04 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add from 192.168.0.1 table 11' [17:26:04][root]# echo 'ip -4 rule add from 192.168.0.1 table 11' | ip netns exec route0 bash :: [ 17:26:04 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add from 192.168.0.1 table 11' (Expected 0-255, got 0) :: [ 17:26:04 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "from 192.168.0.1.*lookup 11"' 32764: from 192.168.0.1 lookup 11 32765: from 192.168.0.1 lookup 11 :: [ 17:26:04 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from 192.168.0.1.*lookup 11"' (Expected 0, got 0) :: [ 17:26:04 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' [17:26:05][root]# echo 'ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 17:26:05 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [17:26:05][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:26:07 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [17:26:07][root]# echo 'ping 192.168.1.1 -c 5' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.124 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.160 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.167 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.157 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.165 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4164ms rtt min/avg/max/mdev = 0.124/0.154/0.167/0.015 ms :: [ 17:26:11 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 17:26:13 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:26:13][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 9 packets captured 9 packets received by filter 0 packets dropped by kernel :: [ 17:26:13 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:26:18 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:26:07.228775 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 6018, seq 1, length 64 17:26:08.273120 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 6018, seq 2, length 64 17:26:09.313118 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 6018, seq 3, length 64 17:26:10.353110 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 6018, seq 4, length 64 17:26:11.393141 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 6018, seq 5, length 64 :: [ 17:26:18 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 17:26:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' [17:26:18][root]# echo 'ip -4 rule del from 192.168.0.1 table 11' | ip netns exec route0 bash :: [ 17:26:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' (Expected 0, got 0) :: [ 17:26:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' [17:26:19][root]# echo 'ip -4 rule del from 192.168.0.1 table 11' | ip netns exec route0 bash :: [ 17:26:19 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' (Expected 0-255, got 0) :: [ 17:26:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "from 192.168.0.1.*lookup 11"' :: [ 17:26:19 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from 192.168.0.1.*lookup 11"' (Expected 1, got 1) :: [ 17:26:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' [17:26:19][root]# echo 'ip -4 rule del from 192.168.0.1 table 11' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:26:19 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' (Expected 0-255, got 2) :: [ 17:26:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' [17:26:19][root]# echo 'ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 17:26:19 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [17:26:19][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:26:21 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [17:26:21][root]# echo 'ping 192.168.1.1 -c 5' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.099 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.135 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.157 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.227 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.133 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4156ms rtt min/avg/max/mdev = 0.099/0.150/0.227/0.042 ms :: [ 17:26:26 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 17:26:28 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:26:28][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 17:26:28 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:26:33 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 17:26:33 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 1, got 1) :: [ 17:26:33 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add iif veth0_r table 11 pref 100' [17:26:33][root]# echo 'ip -4 rule add iif veth0_r table 11 pref 100' | ip netns exec route0 bash :: [ 17:26:33 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add iif veth0_r table 11 pref 100' (Expected 0, got 0) :: [ 17:26:33 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add iif veth0_r table 11 pref 100' [17:26:33][root]# echo 'ip -4 rule add iif veth0_r table 11 pref 100' | ip netns exec route0 bash RTNETLINK answers: File exists :: [ 17:26:33 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 17:26:33 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' [17:26:34][root]# echo 'ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 17:26:34 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [17:26:34][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:26:36 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [17:26:36][root]# echo 'ping 192.168.1.1 -c 5' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.121 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.135 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.169 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.168 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.177 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4193ms rtt min/avg/max/mdev = 0.121/0.154/0.177/0.021 ms :: [ 17:26:40 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 17:26:42 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:26:42][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 5 packets captured 5 packets received by filter 0 packets dropped by kernel :: [ 17:26:42 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:26:47 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:26:36.239774 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 43091, seq 1, length 64 17:26:37.313107 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 43091, seq 2, length 64 17:26:38.353155 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 43091, seq 3, length 64 17:26:39.393144 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 43091, seq 4, length 64 17:26:40.433126 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 43091, seq 5, length 64 :: [ 17:26:47 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 17:26:47 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' [17:26:47][root]# echo 'ip -4 rule del iif veth0_r table 11 pref 100' | ip netns exec route0 bash :: [ 17:26:47 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' (Expected 0, got 0) :: [ 17:26:48 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' [17:26:48][root]# echo 'ip -4 rule del iif veth0_r table 11 pref 100' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:26:48 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 17:26:48 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' [17:26:48][root]# echo 'ip -4 rule del iif veth0_r table 11 pref 100' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:26:48 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 17:26:48 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' [17:26:48][root]# echo 'ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 17:26:48 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [17:26:48][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:26:50 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [17:26:50][root]# echo 'ping 192.168.1.1 -c 5' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.106 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.166 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.174 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.159 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.231 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4151ms rtt min/avg/max/mdev = 0.106/0.167/0.231/0.039 ms :: [ 17:26:54 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 17:26:57 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:26:57][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 17:26:57 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:27:02 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 17:27:02 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 1, got 1) :: [ 17:27:02 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add not iif eth0r0 iif eth1r0 table 11' [17:27:02][root]# echo 'ip -4 rule add not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 17:27:02 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add not iif eth0r0 iif eth1r0 table 11' (Expected 0, got 0) :: [ 17:27:02 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add not iif eth0r0 iif eth1r0 table 11' [17:27:02][root]# echo 'ip -4 rule add not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 17:27:02 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 0) :: [ 17:27:02 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' [17:27:02][root]# echo 'ip -4 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 17:27:02 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0, got 0) :: [ 17:27:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' [17:27:03][root]# echo 'ip -4 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 17:27:03 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 0) :: [ 17:27:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' [17:27:03][root]# echo 'ip -4 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:27:03 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 2) :: [ 17:27:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [17:27:03][root]# echo 'ip -4 rule add not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' | ip netns exec route0 bash :: [ 17:27:03 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' (Expected 0, got 0) :: [ 17:27:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "100:.*not from 192.168.1.1 to 192.168.0.1.*lookup 11"' 100: not from 192.168.1.1 to 192.168.0.1 lookup 11 :: [ 17:27:03 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "100:.*not from 192.168.1.1 to 192.168.0.1.*lookup 11"' (Expected 0, got 0) :: [ 17:27:03 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [17:27:03][root]# echo 'ip -4 rule add not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' | ip netns exec route0 bash RTNETLINK answers: File exists :: [ 17:27:04 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' (Expected 0-255, got 2) :: [ 17:27:04 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' [17:27:04][root]# echo 'ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 17:27:04 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [17:27:04][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:27:06 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [17:27:06][root]# echo 'ping 192.168.1.1 -c 5' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.232 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.237 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.179 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.143 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.165 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4150ms rtt min/avg/max/mdev = 0.143/0.191/0.237/0.037 ms :: [ 17:27:10 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 17:27:12 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:27:12][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 7 packets captured 7 packets received by filter 0 packets dropped by kernel :: [ 17:27:12 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:27:17 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:27:06.363542 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 16320, seq 1, length 64 17:27:07.393245 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 16320, seq 2, length 64 17:27:08.433152 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 16320, seq 3, length 64 17:27:09.473117 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 16320, seq 4, length 64 17:27:10.513127 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 16320, seq 5, length 64 :: [ 17:27:17 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 17:27:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [17:27:18][root]# echo 'ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' | ip netns exec route0 bash :: [ 17:27:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' (Expected 0, got 0) :: [ 17:27:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [17:27:18][root]# echo 'ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:27:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' (Expected 0-255, got 2) :: [ 17:27:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [17:27:18][root]# echo 'ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:27:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' (Expected 0-255, got 2) :: [ 17:27:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' [17:27:18][root]# echo 'ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 17:27:18 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [17:27:18][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:27:20 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [17:27:20][root]# echo 'ping 192.168.1.1 -c 5' | ip netns exec client bash PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.110 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.143 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.138 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.246 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.130 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4178ms rtt min/avg/max/mdev = 0.110/0.153/0.246/0.047 ms :: [ 17:27:25 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 17:27:27 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:27:27][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 17:27:27 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:27:32 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 17:27:32 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 1, got 1) :: [ 17:27:32 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route get 2001::1 | grep 4001::2' 2001::1 from :: via 4001::2 dev eth0r0 src 4001::1 metric 1024 pref medium :: [ 17:27:32 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1 | grep 4001::2' (Expected 0, got 0) :: [ 17:27:32 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add from 2000::1 table 11' [17:27:32][root]# echo 'ip -6 rule add from 2000::1 table 11' | ip netns exec route0 bash :: [ 17:27:32 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add from 2000::1 table 11' (Expected 0, got 0) :: [ 17:27:33 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add from 2000::1 table 11' [17:27:33][root]# echo 'ip -6 rule add from 2000::1 table 11' | ip netns exec route0 bash :: [ 17:27:33 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add from 2000::1 table 11' (Expected 0-255, got 0) :: [ 17:27:33 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "from 2000::1.*lookup 11"' 32764: from 2000::1 lookup 11 32765: from 2000::1 lookup 11 :: [ 17:27:33 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from 2000::1.*lookup 11"' (Expected 0, got 0) :: [ 17:27:33 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' [17:27:33][root]# echo 'ip -6 route add default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 17:27:33 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [17:27:33][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:27:35 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [17:27:35][root]# echo 'ping6 2001::1 -c 5' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.273 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.196 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.195 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.243 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.318 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4123ms rtt min/avg/max/mdev = 0.195/0.245/0.318/0.046 ms :: [ 17:27:39 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 17:27:41 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:27:41][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 5 packets captured 5 packets received by filter 0 packets dropped by kernel :: [ 17:27:41 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:27:47 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:27:35.590712 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 2405, seq 1, length 64 17:27:36.593181 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 2405, seq 2, length 64 17:27:37.633180 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 2405, seq 3, length 64 17:27:38.673191 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 2405, seq 4, length 64 17:27:39.713378 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 2405, seq 5, length 64 :: [ 17:27:47 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 0, got 0) :: [ 17:27:47 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del from 2000::1 table 11' [17:27:47][root]# echo 'ip -6 rule del from 2000::1 table 11' | ip netns exec route0 bash :: [ 17:27:47 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del from 2000::1 table 11' (Expected 0, got 0) :: [ 17:27:47 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del from 2000::1 table 11' [17:27:47][root]# echo 'ip -6 rule del from 2000::1 table 11' | ip netns exec route0 bash :: [ 17:27:47 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del from 2000::1 table 11' (Expected 0-255, got 0) :: [ 17:27:47 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "from 2000::1.*lookup 11"' :: [ 17:27:47 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from 2000::1.*lookup 11"' (Expected 1, got 1) :: [ 17:27:47 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del from 2000::1 table 11' [17:27:47][root]# echo 'ip -6 rule del from 2000::1 table 11' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:27:47 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del from 2000::1 table 11' (Expected 0-255, got 2) :: [ 17:27:48 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' [17:27:48][root]# echo 'ip -6 route del default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 17:27:48 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [17:27:48][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:27:50 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [17:27:50][root]# echo 'ping6 2001::1 -c 5' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.136 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.172 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.217 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.177 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.157 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4195ms rtt min/avg/max/mdev = 0.136/0.171/0.217/0.026 ms :: [ 17:27:54 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 17:27:56 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:27:56][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 17:27:56 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:28:01 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 17:28:01 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 1, got 1) :: [ 17:28:02 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add iif veth0_r table 11 pref 100' [17:28:02][root]# echo 'ip -6 rule add iif veth0_r table 11 pref 100' | ip netns exec route0 bash :: [ 17:28:02 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add iif veth0_r table 11 pref 100' (Expected 0, got 0) :: [ 17:28:02 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add iif veth0_r table 11 pref 100' [17:28:02][root]# echo 'ip -6 rule add iif veth0_r table 11 pref 100' | ip netns exec route0 bash RTNETLINK answers: File exists :: [ 17:28:02 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 17:28:02 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' [17:28:02][root]# echo 'ip -6 route add default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 17:28:02 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [17:28:02][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:28:04 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [17:28:04][root]# echo 'ping6 2001::1 -c 5' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.239 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.291 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.159 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.230 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.191 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4145ms rtt min/avg/max/mdev = 0.159/0.222/0.291/0.044 ms :: [ 17:28:08 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 17:28:10 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:28:10][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 5 packets captured 5 packets received by filter 0 packets dropped by kernel :: [ 17:28:11 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:28:16 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:28:04.687850 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 37177, seq 1, length 64 17:28:05.713249 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 37177, seq 2, length 64 17:28:06.753147 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 37177, seq 3, length 64 17:28:07.793228 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 37177, seq 4, length 64 17:28:08.833206 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 37177, seq 5, length 64 :: [ 17:28:16 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 0, got 0) :: [ 17:28:16 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' [17:28:16][root]# echo 'ip -6 rule del iif veth0_r table 11 pref 100' | ip netns exec route0 bash :: [ 17:28:16 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' (Expected 0, got 0) :: [ 17:28:16 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' [17:28:16][root]# echo 'ip -6 rule del iif veth0_r table 11 pref 100' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:28:16 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 17:28:16 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' [17:28:16][root]# echo 'ip -6 rule del iif veth0_r table 11 pref 100' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:28:16 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 17:28:16 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' [17:28:16][root]# echo 'ip -6 route del default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 17:28:17 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [17:28:17][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:28:19 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [17:28:19][root]# echo 'ping6 2001::1 -c 5' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.114 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.201 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.211 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.154 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.174 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4188ms rtt min/avg/max/mdev = 0.114/0.170/0.211/0.034 ms :: [ 17:28:23 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 17:28:25 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:28:25][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 17:28:25 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:28:30 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 17:28:30 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 1, got 1) :: [ 17:28:30 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add not iif eth0r0 iif eth1r0 table 11' [17:28:30][root]# echo 'ip -6 rule add not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 17:28:31 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add not iif eth0r0 iif eth1r0 table 11' (Expected 0, got 0) :: [ 17:28:31 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add not iif eth0r0 iif eth1r0 table 11' [17:28:31][root]# echo 'ip -6 rule add not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 17:28:31 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 0) :: [ 17:28:31 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' [17:28:31][root]# echo 'ip -6 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 17:28:31 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0, got 0) :: [ 17:28:31 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' [17:28:31][root]# echo 'ip -6 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 17:28:31 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 0) :: [ 17:28:31 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' [17:28:31][root]# echo 'ip -6 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:28:31 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 2) :: [ 17:28:32 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' [17:28:32][root]# echo 'ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' | ip netns exec route0 bash :: [ 17:28:32 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0, got 0) :: [ 17:28:32 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "100:.*not from 2001::1 to 2000::1.*lookup 11"' 100: not from 2001::1 to 2000::1 lookup 11 :: [ 17:28:32 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "100:.*not from 2001::1 to 2000::1.*lookup 11"' (Expected 0, got 0) :: [ 17:28:32 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' [17:28:32][root]# echo 'ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' | ip netns exec route0 bash RTNETLINK answers: File exists :: [ 17:28:32 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0-255, got 2) :: [ 17:28:32 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' [17:28:32][root]# echo 'ip -6 route add default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 17:28:32 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [17:28:32][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:28:34 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [17:28:34][root]# echo 'ping6 2001::1 -c 5' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.222 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.215 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.230 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.196 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.166 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4161ms rtt min/avg/max/mdev = 0.166/0.205/0.230/0.022 ms :: [ 17:28:39 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 17:28:41 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:28:41][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 5 packets captured 5 packets received by filter 0 packets dropped by kernel :: [ 17:28:41 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:28:46 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump 17:28:34.831865 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 13156, seq 1, length 64 17:28:35.873268 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 13156, seq 2, length 64 17:28:36.913520 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 13156, seq 3, length 64 17:28:37.953216 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 13156, seq 4, length 64 17:28:38.993183 7e:51:55:ac:88:53 > 3e:58:5d:3b:cf:2a, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 13156, seq 5, length 64 :: [ 17:28:46 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 0, got 0) :: [ 17:28:46 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' [17:28:46][root]# echo 'ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' | ip netns exec route0 bash :: [ 17:28:46 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0, got 0) :: [ 17:28:46 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' [17:28:46][root]# echo 'ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:28:46 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0-255, got 2) :: [ 17:28:47 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' [17:28:47][root]# echo 'ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 17:28:47 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0-255, got 2) :: [ 17:28:47 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' [17:28:47][root]# echo 'ip -6 route del default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 17:28:47 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [17:28:47][root]# echo 'tcpdump -U -i eth1r0 -w if2.pcap' | ip netns exec route0 bash dropped privs to tcpdump tcpdump: listening on eth1r0, link-type EN10MB (Ethernet), snapshot length 262144 bytes :: [ 17:28:49 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [17:28:49][root]# echo 'ping6 2001::1 -c 5' | ip netns exec client bash PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.107 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.226 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.189 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.194 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.269 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4171ms rtt min/avg/max/mdev = 0.107/0.197/0.269/0.053 ms :: [ 17:28:53 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 17:28:55 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [17:28:55][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 17:28:56 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 17:29:01 ] :: [ BEGIN ] :: Running 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' reading from file if2.pcap, link-type EN10MB (Ethernet), snapshot length 262144 dropped privs to tcpdump :: [ 17:29:01 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 229s :: Assertions: 202 good, 0 bad :: RESULT: PASS (Rule Test netns default forward) ** Rule-Test-netns-default-forward PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:29:03 ] :: [ BEGIN ] :: Running 'default_forward_cleanup' :: [ 17:29:03 ] :: [ PASS ] :: Command 'default_forward_cleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/route/route_func :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:29:04 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 17:29:04 ] :: [ LOG ] :: Asserts fingerprint: KsBVtXcw Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 305s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (networking/route/route_func)