use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:07:44 ] :: [ BEGIN ] :: Running 'nl_fib_lookup_install' Last metadata expiration check: 0:47:58 ago on Wed 28 Sep 2022 06:19:49 AM 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 :: [ 07:07:49 ] :: [ PASS ] :: Command 'nl_fib_lookup_install' (Expected 0, got 0) :: [ 07:07:49 ] :: [ LOG ] :: test_items:route_prefix_test route_selector_test route_options_test route_addr_test rule_test :: [ 07:07:49 ] :: [ LOG ] :: test_topo:default :: [ 07:07:49 ] :: [ LOG ] :: test_type:netns :: [ 07:07:49 ] :: [ LOG ] :: route_mode:forward :: [ 07:07:49 ] :: [ 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.335 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.074 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.060 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.085 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.072 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4176ms rtt min/avg/max/mdev = 0.060/0.125/0.335/0.105 ms PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=0.232 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.104 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.089 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.123 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.107 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4150ms rtt min/avg/max/mdev = 0.089/0.131/0.232/0.051 ms :: [ 07:07:58 ] :: [ PASS ] :: Command 'default_forward_setup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 14s :: Assertions: 2 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Route_Prefix netns default forward :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:07:59 ] :: [ LOG ] :: ROUTE_MODE:forward not local, return :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Route_Selector netns default forward :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:07:59 ] :: [ LOG ] :: ROUTE_MODE:forward not local, return :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Route_Options netns default forward :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:08:00 ] :: [ LOG ] :: ROUTE_MODE:forward not local, return :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Route Addr netns default forward :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: [07:08:00][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 :: [ 07:08:01 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:08:03 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:08:03 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [07:08:03][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.179 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.122 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.149 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.093 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.134 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4123ms rtt min/avg/max/mdev = 0.093/0.135/0.179/0.028 ms :: [ 07:08:07 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:08:07 ] :: [ BEGIN ] :: Running 'sleep 3' :: [ 07:08:10 ] :: [ PASS ] :: Command 'sleep 3' (Expected 0, got 0) :: [ 07:08:10 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:08:10][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 10 packets captured 10 packets received by filter 0 packets dropped by kernel :: [ 07:08:10 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0-255, got 0) :: [ 07:08:10 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:08:13 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:08:13 ] :: [ BEGIN ] :: Running 'vrun route0 cat route_addr_pcap.log | grep "> 192.168.1.1"' 07:08:03.467745 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 61957, seq 1, length 64 07:08:04.470608 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 61957, seq 2, length 64 07:08:05.520625 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 61957, seq 3, length 64 07:08:06.550582 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 61957, seq 4, length 64 07:08:07.590610 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 61957, seq 5, length 64 :: [ 07:08:13 ] :: [ PASS ] :: Command 'vrun route0 cat route_addr_pcap.log | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 07:08:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' [07:08:13][root]# echo 'ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash :: [ 07:08:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' (Expected 0, got 0) :: [ 07:08:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' [07:08:13][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 :: [ 07:08:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add 192.168.1.1 dev eth1r0 via 10.1.1.2' (Expected 0-255, got 2) :: [ 07:08:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route list' [07:08:13][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 :: [ 07:08:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route list' (Expected 0, got 0) :: [ 07:08:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route get 192.168.1.1' [07:08:13][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 :: [ 07:08:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1' (Expected 0, got 0) [07:08:13][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 :: [ 07:08:14 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:08:16 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:08:16 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [07:08:16][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.136 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.110 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.099 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.074 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.091 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4180ms rtt min/avg/max/mdev = 0.074/0.102/0.136/0.020 ms :: [ 07:08:21 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:08:21 ] :: [ BEGIN ] :: Running 'sleep 3' :: [ 07:08:24 ] :: [ PASS ] :: Command 'sleep 3' (Expected 0, got 0) :: [ 07:08:24 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:08:24][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 7 packets captured 7 packets received by filter 0 packets dropped by kernel :: [ 07:08:24 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0-255, got 0) :: [ 07:08:24 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:08:26 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:08:26 ] :: [ BEGIN ] :: Running 'vrun route0 cat route_addr_pcap.log | grep "> 192.168.1.1"' 07:08:17.010689 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 54832, seq 1, length 64 07:08:18.070602 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 54832, seq 2, length 64 07:08:19.110573 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 54832, seq 3, length 64 07:08:20.150558 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 54832, seq 4, length 64 07:08:21.190565 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 54832, seq 5, length 64 :: [ 07:08:26 ] :: [ PASS ] :: Command 'vrun route0 cat route_addr_pcap.log | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 07:08:26 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' [07:08:26][root]# echo 'ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash :: [ 07:08:26 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' (Expected 0, got 0) :: [ 07:08:27 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' [07:08:27][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 :: [ 07:08:27 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del 192.168.1.1 dev eth1r0 via 10.1.1.2' (Expected 0-255, got 2) [07:08:27][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 :: [ 07:08:28 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:08:30 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:08:30 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [07:08:30][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.198 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.137 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.113 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.138 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.088 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4134ms rtt min/avg/max/mdev = 0.088/0.134/0.198/0.036 ms :: [ 07:08:34 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 07:08:34 ] :: [ BEGIN ] :: Running 'sleep 3' :: [ 07:08:37 ] :: [ PASS ] :: Command 'sleep 3' (Expected 0, got 0) :: [ 07:08:37 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:08:37][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 10 packets captured 10 packets received by filter 0 packets dropped by kernel :: [ 07:08:37 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0-255, got 0) :: [ 07:08:37 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:08:39 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:08:39 ] :: [ BEGIN ] :: Running 'vrun route0 cat route_addr_pcap.log | grep "> 2001::1"' 07:08:30.336762 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 25436, seq 1, length 64 07:08:31.350598 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 25436, seq 2, length 64 07:08:32.390587 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 25436, seq 3, length 64 07:08:33.430605 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 25436, seq 4, length 64 07:08:34.470575 26:c3:ce:21:56:f8 > 02:2a:8e:f5:15:3d, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 25436, seq 5, length 64 :: [ 07:08:40 ] :: [ PASS ] :: Command 'vrun route0 cat route_addr_pcap.log | grep "> 2001::1"' (Expected 0, got 0) :: [ 07:08:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add 2001::1 dev eth1r0 via 4002::2' [07:08:40][root]# echo 'ip -6 route add 2001::1 dev eth1r0 via 4002::2' | ip netns exec route0 bash :: [ 07:08:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add 2001::1 dev eth1r0 via 4002::2' (Expected 0, got 0) :: [ 07:08:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add 2001::1 dev eth1r0 via 4002::2' [07:08:40][root]# echo 'ip -6 route add 2001::1 dev eth1r0 via 4002::2' | ip netns exec route0 bash RTNETLINK answers: File exists :: [ 07:08:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add 2001::1 dev eth1r0 via 4002::2' (Expected 0-255, got 2) :: [ 07:08:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route list' [07:08:40][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 :: [ 07:08:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route list' (Expected 0, got 0) :: [ 07:08:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route get 2001::1' [07:08:40][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 :: [ 07:08:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1' (Expected 0, got 0) [07:08:40][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 :: [ 07:08:41 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:08:43 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:08:43 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [07:08:43][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.254 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.106 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.086 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.088 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.087 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4188ms rtt min/avg/max/mdev = 0.086/0.124/0.254/0.065 ms :: [ 07:08:48 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 07:08:48 ] :: [ BEGIN ] :: Running 'sleep 3' :: [ 07:08:51 ] :: [ PASS ] :: Command 'sleep 3' (Expected 0, got 0) :: [ 07:08:51 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:08:51][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 9 packets captured 9 packets received by filter 0 packets dropped by kernel :: [ 07:08:51 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0-255, got 0) :: [ 07:08:51 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:08:53 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:08:53 ] :: [ BEGIN ] :: Running 'vrun route0 cat route_addr_pcap.log | grep "> 2001::1"' 07:08:43.883275 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 65419, seq 1, length 64 07:08:44.950573 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 65419, seq 2, length 64 07:08:45.990575 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 65419, seq 3, length 64 07:08:47.030570 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 65419, seq 4, length 64 07:08:48.070597 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 65419, seq 5, length 64 :: [ 07:08:53 ] :: [ PASS ] :: Command 'vrun route0 cat route_addr_pcap.log | grep "> 2001::1"' (Expected 0, got 0) :: [ 07:08:53 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del 2001::1 dev eth1r0 via 4002::2' [07:08:53][root]# echo 'ip -6 route del 2001::1 dev eth1r0 via 4002::2' | ip netns exec route0 bash :: [ 07:08:53 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del 2001::1 dev eth1r0 via 4002::2' (Expected 0, got 0) :: [ 07:08:53 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del 2001::1 dev eth1r0 via 4002::2' [07:08:53][root]# echo 'ip -6 route del 2001::1 dev eth1r0 via 4002::2' | ip netns exec route0 bash RTNETLINK answers: No such process :: [ 07:08:53 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del 2001::1 dev eth1r0 via 4002::2' (Expected 0-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 54s :: 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:08:55 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "0:.*from all.*lookup local"' 0: from all lookup local :: [ 07:08:55 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "0:.*from all.*lookup local"' (Expected 0, got 0) :: [ 07:08:55 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "32766:.*from all.*lookup main"' 32766: from all lookup main :: [ 07:08:55 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "32766:.*from all.*lookup main"' (Expected 0, got 0) :: [ 07:08:55 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 100' [07:08:55][root]# echo 'ip -4 rule add to 192.168.1.1 goto 100' | ip netns exec route0 bash Error: Backward goto not supported. :: [ 07:08:55 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 100' (Expected 2,254, got 2) :: [ 07:08:55 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table -5' [07:08:55][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 :: [ 07:08:55 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table -5' (Expected 0-255, got 255) :: [ 07:08:55 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table -5' [07:08:55][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 :: [ 07:08:55 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table -5' (Expected 0-255, got 255) :: [ 07:08:55 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table -5' [07:08:55][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 :: [ 07:08:56 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table -5' (Expected 0-255, got 255) :: [ 07:08:56 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table local' [07:08:56][root]# echo 'ip -4 rule add to 192.168.1.1 table local' | ip netns exec route0 bash :: [ 07:08:56 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table local' (Expected 0, got 0) :: [ 07:08:56 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table local' [07:08:56][root]# echo 'ip -4 rule add to 192.168.1.1 table local' | ip netns exec route0 bash :: [ 07:08:56 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table local' (Expected 0-255, got 0) :: [ 07:08:56 ] :: [ 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 :: [ 07:08:56 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "32765:.*from all to 192.168.1.1.*lookup local"' (Expected 0, got 0) :: [ 07:08:56 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [07:08:56][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:56 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 07:08:56 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [07:08:56][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:56 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 07:08:56 ] :: [ 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 :: [ 07:08:56 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from all to 192.168.1.1.*goto 32765"' (Expected 0, got 0) :: [ 07:08:56 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table local' [07:08:57][root]# echo 'ip -4 rule del to 192.168.1.1 table local' | ip netns exec route0 bash :: [ 07:08:57 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table local' (Expected 0, got 0) :: [ 07:08:57 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table local' [07:08:57][root]# echo 'ip -4 rule del to 192.168.1.1 table local' | ip netns exec route0 bash :: [ 07:08:57 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table local' (Expected 0-255, got 0) :: [ 07:08:57 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [07:08:57][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:57 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 07:08:57 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [07:08:57][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:57 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 07:08:57 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table main' [07:08:57][root]# echo 'ip -4 rule add to 192.168.1.1 table main' | ip netns exec route0 bash :: [ 07:08:57 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table main' (Expected 0, got 0) :: [ 07:08:57 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table main' [07:08:57][root]# echo 'ip -4 rule add to 192.168.1.1 table main' | ip netns exec route0 bash :: [ 07:08:57 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table main' (Expected 0-255, got 0) :: [ 07:08:57 ] :: [ 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 :: [ 07:08:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "32765:.*from all to 192.168.1.1.*lookup main"' (Expected 0, got 0) :: [ 07:08:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [07:08:58][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 07:08:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [07:08:58][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 07:08:58 ] :: [ 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 :: [ 07:08:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from all to 192.168.1.1.*goto 32765"' (Expected 0, got 0) :: [ 07:08:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table main' [07:08:58][root]# echo 'ip -4 rule del to 192.168.1.1 table main' | ip netns exec route0 bash :: [ 07:08:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table main' (Expected 0, got 0) :: [ 07:08:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table main' [07:08:58][root]# echo 'ip -4 rule del to 192.168.1.1 table main' | ip netns exec route0 bash :: [ 07:08:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table main' (Expected 0-255, got 0) :: [ 07:08:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [07:08:58][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 07:08:59 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [07:08:59][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:59 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 07:08:59 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table 200' [07:08:59][root]# echo 'ip -4 rule add to 192.168.1.1 table 200' | ip netns exec route0 bash :: [ 07:08:59 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table 200' (Expected 0, got 0) :: [ 07:08:59 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table 200' [07:08:59][root]# echo 'ip -4 rule add to 192.168.1.1 table 200' | ip netns exec route0 bash :: [ 07:08:59 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table 200' (Expected 0-255, got 0) :: [ 07:08:59 ] :: [ 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 :: [ 07:08:59 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "32765:.*from all to 192.168.1.1.*lookup 200"' (Expected 0, got 0) :: [ 07:08:59 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [07:08:59][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:59 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 07:08:59 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' [07:08:59][root]# echo 'ip -4 rule add to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:08:59 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 07:08:59 ] :: [ 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 :: [ 07:09:00 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from all to 192.168.1.1.*goto 32765"' (Expected 0, got 0) :: [ 07:09:00 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table 200' [07:09:00][root]# echo 'ip -4 rule del to 192.168.1.1 table 200' | ip netns exec route0 bash :: [ 07:09:00 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table 200' (Expected 0, got 0) :: [ 07:09:00 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table 200' [07:09:00][root]# echo 'ip -4 rule del to 192.168.1.1 table 200' | ip netns exec route0 bash :: [ 07:09:00 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table 200' (Expected 0-255, got 0) :: [ 07:09:00 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [07:09:00][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:09:00 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0, got 0) :: [ 07:09:00 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' [07:09:00][root]# echo 'ip -4 rule del to 192.168.1.1 goto 32765' | ip netns exec route0 bash :: [ 07:09:00 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 goto 32765' (Expected 0-255, got 0) :: [ 07:09:00 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table 300' [07:09:00][root]# echo 'ip -4 rule add to 192.168.1.1 table 300' | ip netns exec route0 bash :: [ 07:09:00 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table 300' (Expected 0, got 0) :: [ 07:09:00 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 192.168.1.1 table 300' [07:09:00][root]# echo 'ip -4 rule add to 192.168.1.1 table 300' | ip netns exec route0 bash :: [ 07:09:01 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 192.168.1.1 table 300' (Expected 0-255, got 0) :: [ 07:09:01 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add table 300 default dev eth1r0 via 10.1.1.2' [07:09:01][root]# echo 'ip -4 route add table 300 default dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash :: [ 07:09:01 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add table 300 default dev eth1r0 via 10.1.1.2' (Expected 0, got 0) :: [ 07:09:01 ] :: [ 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 :: [ 07:09:01 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1 | grep eth1r0' (Expected 0, got 0) :: [ 07:09:01 ] :: [ 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 :: [ 07:09:01 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1 oif eth1r0 | sed -n '3,$'p | grep eth1r0' (Expected 0, got 0) :: [ 07:09:01 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route get 192.168.1.1 oif eth0r0 | sed -n '3,$'p | grep eth1r0' :: [ 07:09:01 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1 oif eth0r0 | sed -n '3,$'p | grep eth1r0' (Expected 1, got 1) [07:09:01][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 :: [ 07:09:06 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 1' [07:09:06][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.112 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.112/0.112/0.112/0.000 ms :: [ 07:09:06 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 07:09:06 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:09:08 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:09:08 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:09:08][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 1 packet captured 1 packet received by filter 0 packets dropped by kernel :: [ 07:09:09 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:09:14 ] :: [ 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 07:09:06.726242 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 47417, seq 1, length 64 :: [ 07:09:14 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r route_second.pcap -nnle | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 07:09:14 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del table 300 default dev eth1r0 via 10.1.1.2' [07:09:14][root]# echo 'ip -4 route del table 300 default dev eth1r0 via 10.1.1.2' | ip netns exec route0 bash :: [ 07:09:14 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del table 300 default dev eth1r0 via 10.1.1.2' (Expected 0, got 0) :: [ 07:09:14 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table 300' [07:09:14][root]# echo 'ip -4 rule del to 192.168.1.1 table 300' | ip netns exec route0 bash :: [ 07:09:14 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table 300' (Expected 0, got 0) :: [ 07:09:14 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 192.168.1.1 table 300' [07:09:14][root]# echo 'ip -4 rule del to 192.168.1.1 table 300' | ip netns exec route0 bash :: [ 07:09:14 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 192.168.1.1 table 300' (Expected 0-255, got 0) :: [ 07:09:14 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [07:09:14][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.097 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.075 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.106 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.124 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4132ms rtt min/avg/max/mdev = 0.075/0.111/0.153/0.026 ms :: [ 07:09:18 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:09:18 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "0:.*from all.*lookup local"' 0: from all lookup local :: [ 07:09:19 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "0:.*from all.*lookup local"' (Expected 0, got 0) :: [ 07:09:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "32766:.*from all.*lookup main"' 32766: from all lookup main :: [ 07:09:19 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "32766:.*from all.*lookup main"' (Expected 0, got 0) :: [ 07:09:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 100' [07:09:19][root]# echo 'ip -6 rule add to 2001::1 goto 100' | ip netns exec route0 bash Error: Backward goto not supported. :: [ 07:09:19 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 100' (Expected 2,254, got 2) :: [ 07:09:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table -5' [07:09:19][root]# echo 'ip -6 rule add to 2001::1 table -5' | ip netns exec route0 bash Error: argument "-5" is wrong: invalid table ID :: [ 07:09:19 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table -5' (Expected 0-255, got 255) :: [ 07:09:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table -5' [07:09:19][root]# echo 'ip -6 rule del to 2001::1 table -5' | ip netns exec route0 bash Error: argument "-5" is wrong: invalid table ID :: [ 07:09:19 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table -5' (Expected 0-255, got 255) :: [ 07:09:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table -5' [07:09:19][root]# echo 'ip -6 rule del to 2001::1 table -5' | ip netns exec route0 bash Error: argument "-5" is wrong: invalid table ID :: [ 07:09:19 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table -5' (Expected 0-255, got 255) :: [ 07:09:19 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table local' [07:09:19][root]# echo 'ip -6 rule add to 2001::1 table local' | ip netns exec route0 bash :: [ 07:09:20 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table local' (Expected 0, got 0) :: [ 07:09:20 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table local' [07:09:20][root]# echo 'ip -6 rule add to 2001::1 table local' | ip netns exec route0 bash :: [ 07:09:20 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table local' (Expected 0-255, got 0) :: [ 07:09:20 ] :: [ 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 :: [ 07:09:20 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "32765:.*from all to 2001::1.*lookup local"' (Expected 0, got 0) :: [ 07:09:20 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [07:09:20][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:20 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0, got 0) :: [ 07:09:20 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [07:09:20][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:20 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 07:09:20 ] :: [ 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 :: [ 07:09:20 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from all to 2001::1.*goto 32765"' (Expected 0, got 0) :: [ 07:09:20 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table local' [07:09:20][root]# echo 'ip -6 rule del to 2001::1 table local' | ip netns exec route0 bash :: [ 07:09:20 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table local' (Expected 0, got 0) :: [ 07:09:21 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table local' [07:09:21][root]# echo 'ip -6 rule del to 2001::1 table local' | ip netns exec route0 bash :: [ 07:09:21 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table local' (Expected 0-255, got 0) :: [ 07:09:21 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [07:09:21][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:21 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0, got 0) :: [ 07:09:21 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [07:09:21][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:21 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 07:09:21 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table main' [07:09:21][root]# echo 'ip -6 rule add to 2001::1 table main' | ip netns exec route0 bash :: [ 07:09:21 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table main' (Expected 0, got 0) :: [ 07:09:21 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table main' [07:09:21][root]# echo 'ip -6 rule add to 2001::1 table main' | ip netns exec route0 bash :: [ 07:09:21 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table main' (Expected 0-255, got 0) :: [ 07:09:21 ] :: [ 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 :: [ 07:09:21 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "32765:.*from all to 2001::1.*lookup main"' (Expected 0, got 0) :: [ 07:09:22 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [07:09:22][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:22 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0, got 0) :: [ 07:09:22 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [07:09:22][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:22 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 07:09:22 ] :: [ 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 :: [ 07:09:22 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from all to 2001::1.*goto 32765"' (Expected 0, got 0) :: [ 07:09:22 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table main' [07:09:22][root]# echo 'ip -6 rule del to 2001::1 table main' | ip netns exec route0 bash :: [ 07:09:22 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table main' (Expected 0, got 0) :: [ 07:09:22 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table main' [07:09:22][root]# echo 'ip -6 rule del to 2001::1 table main' | ip netns exec route0 bash :: [ 07:09:22 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table main' (Expected 0-255, got 0) :: [ 07:09:22 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [07:09:22][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:22 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0, got 0) :: [ 07:09:23 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [07:09:23][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:23 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 07:09:23 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table 200' [07:09:23][root]# echo 'ip -6 rule add to 2001::1 table 200' | ip netns exec route0 bash :: [ 07:09:23 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table 200' (Expected 0, got 0) :: [ 07:09:23 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table 200' [07:09:23][root]# echo 'ip -6 rule add to 2001::1 table 200' | ip netns exec route0 bash :: [ 07:09:23 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table 200' (Expected 0-255, got 0) :: [ 07:09:23 ] :: [ 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 :: [ 07:09:23 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "32765:.*from all to 2001::1.*lookup 200"' (Expected 0, got 0) :: [ 07:09:23 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [07:09:23][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:23 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0, got 0) :: [ 07:09:23 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 goto 32765' [07:09:23][root]# echo 'ip -6 rule add to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:23 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 07:09:23 ] :: [ 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 :: [ 07:09:24 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from all to 2001::1.*goto 32765"' (Expected 0, got 0) :: [ 07:09:24 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table 200' [07:09:24][root]# echo 'ip -6 rule del to 2001::1 table 200' | ip netns exec route0 bash :: [ 07:09:24 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table 200' (Expected 0, got 0) :: [ 07:09:24 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table 200' [07:09:24][root]# echo 'ip -6 rule del to 2001::1 table 200' | ip netns exec route0 bash :: [ 07:09:24 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table 200' (Expected 0-255, got 0) :: [ 07:09:24 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [07:09:24][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:24 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0, got 0) :: [ 07:09:24 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 goto 32765' [07:09:24][root]# echo 'ip -6 rule del to 2001::1 goto 32765' | ip netns exec route0 bash :: [ 07:09:24 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 goto 32765' (Expected 0-255, got 0) :: [ 07:09:24 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table 300' [07:09:24][root]# echo 'ip -6 rule add to 2001::1 table 300' | ip netns exec route0 bash :: [ 07:09:24 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table 300' (Expected 0, got 0) :: [ 07:09:24 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add to 2001::1 table 300' [07:09:24][root]# echo 'ip -6 rule add to 2001::1 table 300' | ip netns exec route0 bash :: [ 07:09:25 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add to 2001::1 table 300' (Expected 0-255, got 0) :: [ 07:09:25 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add table 300 default dev eth1r0 via 4002::2' [07:09:25][root]# echo 'ip -6 route add table 300 default dev eth1r0 via 4002::2' | ip netns exec route0 bash :: [ 07:09:25 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add table 300 default dev eth1r0 via 4002::2' (Expected 0, got 0) :: [ 07:09:25 ] :: [ 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 :: [ 07:09:25 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1 | grep eth1r0' (Expected 0, got 0) :: [ 07:09:25 ] :: [ 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 :: [ 07:09:25 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1 oif eth1r0 | sed -n '3,$'p | grep eth1r0' (Expected 0, got 0) :: [ 07:09:25 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route get 2001::1 oif eth0r0 | sed -n '3,$'p | grep eth1r0' :: [ 07:09:25 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1 oif eth0r0 | sed -n '3,$'p | grep eth1r0' (Expected 1, got 1) [07:09:25][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 :: [ 07:09:30 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 1' [07:09:30][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.213 ms --- 2001::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.213/0.213/0.213/0.000 ms :: [ 07:09:30 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 1' (Expected 0, got 0) :: [ 07:09:30 ] :: [ BEGIN ] :: Running 'sleep 2' :: [ 07:09:32 ] :: [ PASS ] :: Command 'sleep 2' (Expected 0, got 0) :: [ 07:09:32 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:09:32][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 1 packet captured 1 packet received by filter 0 packets dropped by kernel :: [ 07:09:33 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:09:38 ] :: [ 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 07:09:30.762368 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 34848, seq 1, length 64 :: [ 07:09:38 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r route_second.pcap -nnle | grep "> 2001::1"' (Expected 0, got 0) :: [ 07:09:38 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del table 300 default dev eth1r0 via 4002::2' [07:09:38][root]# echo 'ip -6 route del table 300 default dev eth1r0 via 4002::2' | ip netns exec route0 bash :: [ 07:09:38 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del table 300 default dev eth1r0 via 4002::2' (Expected 0, got 0) :: [ 07:09:38 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table 300' [07:09:38][root]# echo 'ip -6 rule del to 2001::1 table 300' | ip netns exec route0 bash :: [ 07:09:38 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table 300' (Expected 0, got 0) :: [ 07:09:38 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 2001::1 table 300' [07:09:38][root]# echo 'ip -6 rule del to 2001::1 table 300' | ip netns exec route0 bash :: [ 07:09:38 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 2001::1 table 300' (Expected 0-255, got 0) :: [ 07:09:38 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [07:09:38][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.106 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.144 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.111 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.131 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.136 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4152ms rtt min/avg/max/mdev = 0.106/0.125/0.144/0.014 ms :: [ 07:09:42 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 07:09:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 172.145.11.1 table unspec' [07:09:43][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 :: [ 07:09:43 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 172.145.11.1 table unspec' (Expected 2,254, got 2) :: [ 07:09:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add to 172.145.11.1 table unspec' [07:09:43][root]# echo 'ip -4 rule add to 172.145.11.1 table unspec' | ip netns exec route0 bash :: [ 07:09:43 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add to 172.145.11.1 table unspec' (Expected 0, got 0) :: [ 07:09:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep 172.145.11.1' 32765: from all to 172.145.11.1 lookup 1 :: [ 07:09:43 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep 172.145.11.1' (Expected 0, got 0) :: [ 07:09:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del to 172.145.11.1 table unspec' [07:09:43][root]# echo 'ip -4 rule del to 172.145.11.1 table unspec' | ip netns exec route0 bash :: [ 07:09:43 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del to 172.145.11.1 table unspec' (Expected 0, got 0) :: [ 07:09:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep 172.145.11.1' :: [ 07:09:43 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep 172.145.11.1' (Expected 1, got 1) :: [ 07:09:43 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del to 4543:1111::1 table unspec' [07:09:43][root]# echo 'ip -6 rule del to 4543:1111::1 table unspec' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 07:09:43 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del to 4543:1111::1 table unspec' (Expected 2,254, got 2) :: [ 07:09:43 ] :: [ 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 :: [ 07:09:43 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route get 192.168.1.1 | grep 10.0.0.2' (Expected 0, got 0) :: [ 07:09:44 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add from 192.168.0.1 table 11' [07:09:44][root]# echo 'ip -4 rule add from 192.168.0.1 table 11' | ip netns exec route0 bash :: [ 07:09:44 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add from 192.168.0.1 table 11' (Expected 0, got 0) :: [ 07:09:44 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add from 192.168.0.1 table 11' [07:09:44][root]# echo 'ip -4 rule add from 192.168.0.1 table 11' | ip netns exec route0 bash :: [ 07:09:44 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add from 192.168.0.1 table 11' (Expected 0-255, got 0) :: [ 07:09:44 ] :: [ 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 :: [ 07:09:44 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from 192.168.0.1.*lookup 11"' (Expected 0, got 0) :: [ 07:09:44 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' [07:09:44][root]# echo 'ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 07:09:44 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [07:09:44][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 :: [ 07:09:46 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [07:09:46][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.109 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.132 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.115 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.139 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.122 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4173ms rtt min/avg/max/mdev = 0.109/0.123/0.139/0.010 ms :: [ 07:09:50 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:09:52 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:09:52][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 9 packets captured 9 packets received by filter 0 packets dropped by kernel :: [ 07:09:53 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:09:58 ] :: [ 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 07:09:46.697879 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 50825, seq 1, length 64 07:09:47.750618 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 50825, seq 2, length 64 07:09:48.790597 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 50825, seq 3, length 64 07:09:49.830683 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 50825, seq 4, length 64 07:09:50.870605 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 50825, seq 5, length 64 :: [ 07:09:58 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 07:09:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' [07:09:58][root]# echo 'ip -4 rule del from 192.168.0.1 table 11' | ip netns exec route0 bash :: [ 07:09:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' (Expected 0, got 0) :: [ 07:09:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' [07:09:58][root]# echo 'ip -4 rule del from 192.168.0.1 table 11' | ip netns exec route0 bash :: [ 07:09:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' (Expected 0-255, got 0) :: [ 07:09:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule list | grep "from 192.168.0.1.*lookup 11"' :: [ 07:09:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule list | grep "from 192.168.0.1.*lookup 11"' (Expected 1, got 1) :: [ 07:09:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' [07:09:58][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 :: [ 07:09:58 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del from 192.168.0.1 table 11' (Expected 0-255, got 2) :: [ 07:09:58 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' [07:09:58][root]# echo 'ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 07:09:59 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [07:09:59][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 :: [ 07:10:01 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [07:10:01][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.179 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.122 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.123 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.115 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.127 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4186ms rtt min/avg/max/mdev = 0.115/0.133/0.179/0.023 ms :: [ 07:10:05 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:10:07 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:10:07][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 07:10:07 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:10:12 ] :: [ 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 :: [ 07:10:12 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 1, got 1) :: [ 07:10:12 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add iif veth0_r table 11 pref 100' [07:10:12][root]# echo 'ip -4 rule add iif veth0_r table 11 pref 100' | ip netns exec route0 bash :: [ 07:10:12 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add iif veth0_r table 11 pref 100' (Expected 0, got 0) :: [ 07:10:12 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add iif veth0_r table 11 pref 100' [07:10:12][root]# echo 'ip -4 rule add iif veth0_r table 11 pref 100' | ip netns exec route0 bash RTNETLINK answers: File exists :: [ 07:10:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 07:10:13 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' [07:10:13][root]# echo 'ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 07:10:13 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [07:10:13][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 :: [ 07:10:15 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [07:10:15][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.105 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.124 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.124 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.116 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.122 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4131ms rtt min/avg/max/mdev = 0.105/0.118/0.124/0.007 ms :: [ 07:10:19 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:10:21 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:10:21][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 7 packets captured 7 packets received by filter 0 packets dropped by kernel :: [ 07:10:21 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:10:26 ] :: [ 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 07:10:15.299503 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 48681, seq 1, length 64 07:10:16.310610 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 48681, seq 2, length 64 07:10:17.350589 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 48681, seq 3, length 64 07:10:18.390628 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 48681, seq 4, length 64 07:10:19.430587 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 48681, seq 5, length 64 :: [ 07:10:26 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 07:10:26 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' [07:10:26][root]# echo 'ip -4 rule del iif veth0_r table 11 pref 100' | ip netns exec route0 bash :: [ 07:10:26 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' (Expected 0, got 0) :: [ 07:10:27 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' [07:10:27][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 :: [ 07:10:27 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 07:10:27 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' [07:10:27][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 :: [ 07:10:27 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 07:10:27 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' [07:10:27][root]# echo 'ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 07:10:27 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [07:10:27][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 :: [ 07:10:29 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [07:10:29][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.097 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.131 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.108 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.115 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4156ms rtt min/avg/max/mdev = 0.097/0.117/0.138/0.014 ms :: [ 07:10:33 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:10:35 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:10:35][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 07:10:35 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:10:41 ] :: [ 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 :: [ 07:10:41 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 1, got 1) :: [ 07:10:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add not iif eth0r0 iif eth1r0 table 11' [07:10:41][root]# echo 'ip -4 rule add not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 07:10:41 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add not iif eth0r0 iif eth1r0 table 11' (Expected 0, got 0) :: [ 07:10:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add not iif eth0r0 iif eth1r0 table 11' [07:10:41][root]# echo 'ip -4 rule add not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 07:10:41 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule add not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 0) :: [ 07:10:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' [07:10:41][root]# echo 'ip -4 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 07:10:41 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0, got 0) :: [ 07:10:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' [07:10:41][root]# echo 'ip -4 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 07:10:41 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 0) :: [ 07:10:41 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' [07:10:41][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 :: [ 07:10:41 ] :: [ PASS ] :: Command 'vrun route0 ip -4 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 2) :: [ 07:10:42 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [07:10:42][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 :: [ 07:10:42 ] :: [ 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) :: [ 07:10:42 ] :: [ 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 :: [ 07:10:42 ] :: [ 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) :: [ 07:10:42 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule add not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [07:10:42][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 :: [ 07:10:42 ] :: [ 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) :: [ 07:10:42 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' [07:10:42][root]# echo 'ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 07:10:42 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route add default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [07:10:42][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 :: [ 07:10:44 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [07:10:44][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.199 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.116 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.123 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4190ms rtt min/avg/max/mdev = 0.116/0.146/0.199/0.029 ms :: [ 07:10:48 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:10:51 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:10:51][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 7 packets captured 7 packets received by filter 0 packets dropped by kernel :: [ 07:10:51 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:10:56 ] :: [ 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 07:10:44.760132 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 47605, seq 1, length 64 07:10:45.830631 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 47605, seq 2, length 64 07:10:46.870600 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 47605, seq 3, length 64 07:10:47.920613 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 47605, seq 4, length 64 07:10:48.950611 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv4 (0x0800), length 98: 192.168.0.1 > 192.168.1.1: ICMP echo request, id 47605, seq 5, length 64 :: [ 07:10:56 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 0, got 0) :: [ 07:10:56 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [07:10:56][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 :: [ 07:10:56 ] :: [ 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) :: [ 07:10:56 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [07:10:56][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 :: [ 07:10:56 ] :: [ 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) :: [ 07:10:56 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 rule del not from 192.168.1.1 to 192.168.0.1 pref 100 table 11' [07:10:56][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 :: [ 07:10:56 ] :: [ 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) :: [ 07:10:56 ] :: [ BEGIN ] :: Running 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' [07:10:56][root]# echo 'ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' | ip netns exec route0 bash :: [ 07:10:56 ] :: [ PASS ] :: Command 'vrun route0 ip -4 route del default dev eth1r0 via 10.1.1.2 table 11' (Expected 0, got 0) [07:10:57][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 :: [ 07:10:59 ] :: [ BEGIN ] :: Running 'vrun client ping 192.168.1.1 -c 5' [07:10:59][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.092 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.127 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.137 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.093 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.125 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4140ms rtt min/avg/max/mdev = 0.092/0.114/0.137/0.018 ms :: [ 07:11:03 ] :: [ PASS ] :: Command 'vrun client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:11:05 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:11:05][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 07:11:05 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:11:10 ] :: [ 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 :: [ 07:11:10 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 192.168.1.1"' (Expected 1, got 1) :: [ 07:11:10 ] :: [ 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 :: [ 07:11:10 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route get 2001::1 | grep 4001::2' (Expected 0, got 0) :: [ 07:11:10 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add from 2000::1 table 11' [07:11:10][root]# echo 'ip -6 rule add from 2000::1 table 11' | ip netns exec route0 bash :: [ 07:11:10 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add from 2000::1 table 11' (Expected 0, got 0) :: [ 07:11:11 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add from 2000::1 table 11' [07:11:11][root]# echo 'ip -6 rule add from 2000::1 table 11' | ip netns exec route0 bash :: [ 07:11:11 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add from 2000::1 table 11' (Expected 0-255, got 0) :: [ 07:11:11 ] :: [ 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 :: [ 07:11:11 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from 2000::1.*lookup 11"' (Expected 0, got 0) :: [ 07:11:11 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' [07:11:11][root]# echo 'ip -6 route add default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 07:11:11 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [07:11:11][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 :: [ 07:11:13 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [07:11:13][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.213 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.106 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.128 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.133 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.143 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4193ms rtt min/avg/max/mdev = 0.106/0.144/0.213/0.036 ms :: [ 07:11:17 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 07:11:19 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:11:19][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 5 packets captured 5 packets received by filter 0 packets dropped by kernel :: [ 07:11:20 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:11:25 ] :: [ 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 07:11:13.558126 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 58061, seq 1, length 64 07:11:14.630584 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 58061, seq 2, length 64 07:11:15.670614 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 58061, seq 3, length 64 07:11:16.710642 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 58061, seq 4, length 64 07:11:17.750641 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 58061, seq 5, length 64 :: [ 07:11:25 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 0, got 0) :: [ 07:11:25 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del from 2000::1 table 11' [07:11:25][root]# echo 'ip -6 rule del from 2000::1 table 11' | ip netns exec route0 bash :: [ 07:11:25 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del from 2000::1 table 11' (Expected 0, got 0) :: [ 07:11:25 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del from 2000::1 table 11' [07:11:25][root]# echo 'ip -6 rule del from 2000::1 table 11' | ip netns exec route0 bash :: [ 07:11:25 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del from 2000::1 table 11' (Expected 0-255, got 0) :: [ 07:11:25 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule list | grep "from 2000::1.*lookup 11"' :: [ 07:11:25 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "from 2000::1.*lookup 11"' (Expected 1, got 1) :: [ 07:11:25 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del from 2000::1 table 11' [07:11:25][root]# echo 'ip -6 rule del from 2000::1 table 11' | ip netns exec route0 bash RTNETLINK answers: No such file or directory :: [ 07:11:25 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del from 2000::1 table 11' (Expected 0-255, got 2) :: [ 07:11:25 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' [07:11:25][root]# echo 'ip -6 route del default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 07:11:26 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [07:11:26][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 :: [ 07:11:28 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [07:11:28][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.419 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.143 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.136 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.131 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.139 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4122ms rtt min/avg/max/mdev = 0.131/0.193/0.419/0.112 ms :: [ 07:11:32 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 07:11:34 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:11:34][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 07:11:34 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:11:39 ] :: [ 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 :: [ 07:11:39 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 1, got 1) :: [ 07:11:39 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add iif veth0_r table 11 pref 100' [07:11:39][root]# echo 'ip -6 rule add iif veth0_r table 11 pref 100' | ip netns exec route0 bash :: [ 07:11:39 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add iif veth0_r table 11 pref 100' (Expected 0, got 0) :: [ 07:11:39 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add iif veth0_r table 11 pref 100' [07:11:39][root]# echo 'ip -6 rule add iif veth0_r table 11 pref 100' | ip netns exec route0 bash RTNETLINK answers: File exists :: [ 07:11:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 07:11:40 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' [07:11:40][root]# echo 'ip -6 route add default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 07:11:40 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [07:11:40][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 :: [ 07:11:42 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [07:11:42][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.199 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.115 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.143 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.108 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.115 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4174ms rtt min/avg/max/mdev = 0.108/0.136/0.199/0.033 ms :: [ 07:11:46 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 07:11:48 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:11:48][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 5 packets captured 5 packets received by filter 0 packets dropped by kernel :: [ 07:11:48 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:11:53 ] :: [ 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 07:11:42.296639 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 52110, seq 1, length 64 07:11:43.350593 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 52110, seq 2, length 64 07:11:44.390648 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 52110, seq 3, length 64 07:11:45.430590 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 52110, seq 4, length 64 07:11:46.470582 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 52110, seq 5, length 64 :: [ 07:11:53 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 0, got 0) :: [ 07:11:53 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' [07:11:53][root]# echo 'ip -6 rule del iif veth0_r table 11 pref 100' | ip netns exec route0 bash :: [ 07:11:53 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' (Expected 0, got 0) :: [ 07:11:54 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' [07:11:54][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 :: [ 07:11:54 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 07:11:54 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' [07:11:54][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 :: [ 07:11:54 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del iif veth0_r table 11 pref 100' (Expected 0-255, got 2) :: [ 07:11:54 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' [07:11:54][root]# echo 'ip -6 route del default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 07:11:54 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [07:11:54][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 :: [ 07:11:56 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [07:11:56][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.196 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.124 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.115 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.082 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.153 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4135ms rtt min/avg/max/mdev = 0.082/0.134/0.196/0.038 ms :: [ 07:12:00 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 07:12:02 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:12:02][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 07:12:03 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:12:08 ] :: [ 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 :: [ 07:12:08 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 1, got 1) :: [ 07:12:08 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add not iif eth0r0 iif eth1r0 table 11' [07:12:08][root]# echo 'ip -6 rule add not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 07:12:08 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add not iif eth0r0 iif eth1r0 table 11' (Expected 0, got 0) :: [ 07:12:08 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add not iif eth0r0 iif eth1r0 table 11' [07:12:08][root]# echo 'ip -6 rule add not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 07:12:08 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 0) :: [ 07:12:08 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' [07:12:08][root]# echo 'ip -6 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 07:12:08 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0, got 0) :: [ 07:12:08 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' [07:12:08][root]# echo 'ip -6 rule del not iif eth0r0 iif eth1r0 table 11' | ip netns exec route0 bash :: [ 07:12:08 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 0) :: [ 07:12:08 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' [07:12:09][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 :: [ 07:12:09 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not iif eth0r0 iif eth1r0 table 11' (Expected 0-255, got 2) :: [ 07:12:09 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' [07:12:09][root]# echo 'ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' | ip netns exec route0 bash :: [ 07:12:09 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0, got 0) :: [ 07:12:09 ] :: [ 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 :: [ 07:12:09 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule list | grep "100:.*not from 2001::1 to 2000::1.*lookup 11"' (Expected 0, got 0) :: [ 07:12:09 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' [07:12:09][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 :: [ 07:12:09 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule add not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0-255, got 2) :: [ 07:12:09 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' [07:12:09][root]# echo 'ip -6 route add default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 07:12:09 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route add default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [07:12:09][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 :: [ 07:12:11 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [07:12:11][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.193 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.127 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.144 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.111 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.096 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4149ms rtt min/avg/max/mdev = 0.096/0.134/0.193/0.033 ms :: [ 07:12:16 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 07:12:18 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:12:18][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 5 packets captured 5 packets received by filter 0 packets dropped by kernel :: [ 07:12:18 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:12:23 ] :: [ 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 07:12:11.841503 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 7796, seq 1, length 64 07:12:12.870598 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 7796, seq 2, length 64 07:12:13.910612 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 7796, seq 3, length 64 07:12:14.950590 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 7796, seq 4, length 64 07:12:15.990575 52:85:bc:aa:8b:cc > 5e:21:b4:5c:b9:e2, ethertype IPv6 (0x86dd), length 118: 2000::1 > 2001::1: ICMP6, echo request, id 7796, seq 5, length 64 :: [ 07:12:23 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 0, got 0) :: [ 07:12:23 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' [07:12:23][root]# echo 'ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' | ip netns exec route0 bash :: [ 07:12:23 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0, got 0) :: [ 07:12:23 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' [07:12:23][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 :: [ 07:12:23 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0-255, got 2) :: [ 07:12:23 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' [07:12:23][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 :: [ 07:12:23 ] :: [ PASS ] :: Command 'vrun route0 ip -6 rule del not from 2001::1 to 2000::1 pref 100 table 11' (Expected 0-255, got 2) :: [ 07:12:23 ] :: [ BEGIN ] :: Running 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' [07:12:24][root]# echo 'ip -6 route del default dev eth1r0 via 4002::2 table 11' | ip netns exec route0 bash :: [ 07:12:24 ] :: [ PASS ] :: Command 'vrun route0 ip -6 route del default dev eth1r0 via 4002::2 table 11' (Expected 0, got 0) [07:12:24][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 :: [ 07:12:26 ] :: [ BEGIN ] :: Running 'vrun client ping6 2001::1 -c 5' [07:12:26][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.099 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.108 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.106 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.124 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.102 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4123ms rtt min/avg/max/mdev = 0.099/0.107/0.124/0.008 ms :: [ 07:12:30 ] :: [ PASS ] :: Command 'vrun client ping6 2001::1 -c 5' (Expected 0, got 0) :: [ 07:12:32 ] :: [ BEGIN ] :: Running 'vrun route0 pkill tcpdump' [07:12:32][root]# echo 'pkill tcpdump' | ip netns exec route0 bash 0 packets captured 0 packets received by filter 0 packets dropped by kernel :: [ 07:12:32 ] :: [ PASS ] :: Command 'vrun route0 pkill tcpdump' (Expected 0, got 0) :: [ 07:12:37 ] :: [ 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 :: [ 07:12:37 ] :: [ PASS ] :: Command 'vrun route0 tcpdump -r if2.pcap -nnle | grep "> 2001::1"' (Expected 1, got 1) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 222s :: 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:12:38 ] :: [ BEGIN ] :: Running 'default_forward_cleanup' :: [ 07:12:39 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:12:40 ] :: [ LOG ] :: Phases fingerprint: 3TFH3dbq :: [ 07:12:40 ] :: [ LOG ] :: Asserts fingerprint: KsBVtXcw Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 296s :: Phases: 4 good, 0 bad :: OVERALL RESULT: PASS (networking/route/route_func)