use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:17:19 ] :: [ BEGIN ] :: Running 'ip netns add ns1' :: [ 19:17:19 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 19:17:20 ] :: [ BEGIN ] :: Running 'ip netns add ns2' :: [ 19:17:20 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 19:17:20 ] :: [ BEGIN ] :: Running 'ip netns add ns3' :: [ 19:17:20 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 19:17:21 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf0-ns1 type vrf table 10' :: [ 19:17:21 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 19:17:21 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf1-ns1 type vrf table 20' :: [ 19:17:21 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 19:17:21 ] :: [ BEGIN ] :: Running 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' :: [ 19:17:22 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 19:17:22 ] :: [ BEGIN ] :: Running 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' :: [ 19:17:22 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 19:17:23 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth12 up' :: [ 19:17:23 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 19:17:23 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth13 up' :: [ 19:17:23 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 19:17:24 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf0-ns1 up' :: [ 19:17:24 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 19:17:24 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf1-ns1 up' :: [ 19:17:24 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 19:17:25 ] :: [ BEGIN ] :: Running 'ip -net ns2 link set veth21 up' :: [ 19:17:25 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 19:17:25 ] :: [ BEGIN ] :: Running 'ip -net ns3 link set veth31 up' :: [ 19:17:25 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 19:17:25 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf0-ns1 veth12' :: [ 19:17:26 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 19:17:26 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf1-ns1 veth13' :: [ 19:17:26 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 7s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:17:30 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' :: [ 19:17:30 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 19:17:30 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' :: [ 19:17:31 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 19:17:31 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth12' :: [ 19:17:31 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 19:17:31 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 1111:1::2/64 dev veth21' :: [ 19:17:31 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 19:17:32 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' :: [ 19:17:32 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 19:17:32 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' :: [ 19:17:32 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 19:17:33 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth13' :: [ 19:17:33 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 19:17:33 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 1111:1::2/64 dev veth31' :: [ 19:17:33 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 1111:1::2/64 dev veth31' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Duplicate addrs) ** Duplicate-addrs PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Sanity checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:17:37 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' :: [ 19:17:37 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' (Expected 0, got 0) tcpdump: data link type LINUX_SLL2 dropped privs to tcpdump tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes :: [ 19:17:38 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' :: [ 19:17:38 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' (Expected 0, got 0) tcpdump: data link type LINUX_SLL2 dropped privs to tcpdump tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes :: [ 19:17:38 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 19:17:43 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 19:17:43 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 ping -c3 10.0.42.1' PING 10.0.42.1 (10.0.42.1) 56(84) bytes of data. 64 bytes from 10.0.42.1: icmp_seq=1 ttl=64 time=0.667 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.218 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.273 ms --- 10.0.42.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2044ms rtt min/avg/max/mdev = 0.218/0.386/0.667/0.199 ms :: [ 19:17:46 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 19:17:46 ] :: [ BEGIN ] :: Running 'ip netns exec ns3 ping -c3 1111:1::1' PING 1111:1::1(1111:1::1) 56 data bytes 64 bytes from 1111:1::1: icmp_seq=1 ttl=64 time=0.965 ms 64 bytes from 1111:1::1: icmp_seq=2 ttl=64 time=0.463 ms 64 bytes from 1111:1::1: icmp_seq=3 ttl=64 time=0.394 ms --- 1111:1::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2065ms rtt min/avg/max/mdev = 0.394/0.607/0.965/0.254 ms :: [ 19:17:48 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 19:17:48 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 18 packets captured 18 packets captured20 packets received by filter 20 packets received by filter 0 packets dropped by kernel0 packets dropped by kernel :: [ 19:17:49 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 19:17:49 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 19:17:54 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 19:17:54 ] :: [ BEGIN ] :: Running 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' reading from file vrf0.pcap, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 Warning: interface names might be incorrect dropped privs to tcpdump 19:17:43.850799 eno2 B ifindex 12 ce:37:80:96:35:34 ethertype ARP (0x0806), length 48: Request who-has 10.0.42.1 tell 10.0.42.2, length 28 19:17:43.851042 eno2 In ifindex 12 ce:37:80:96:35:34 ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 63728, seq 1, length 64 19:17:43.851221 eno2 Out ifindex 12 7e:28:aa:23:24:ce ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 63728, seq 1, length 64 19:17:44.870796 eno2 In ifindex 12 ce:37:80:96:35:34 ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 63728, seq 2, length 64 19:17:44.870894 eno2 Out ifindex 12 7e:28:aa:23:24:ce ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 63728, seq 2, length 64 19:17:45.894801 eno2 In ifindex 12 ce:37:80:96:35:34 ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 63728, seq 3, length 64 19:17:45.894933 eno2 Out ifindex 12 7e:28:aa:23:24:ce ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 63728, seq 3, length 64 :: [ 19:17:54 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 19:17:55 ] :: [ BEGIN ] :: Running 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' reading from file vrf1.pcap, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 Warning: interface names might be incorrect dropped privs to tcpdump tcpdump: Unable to write output: Broken pipe :: [ 19:17:55 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 19:17:55 ] :: [ BEGIN ] :: Running 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' reading from file vrf1.pcap, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 Warning: interface names might be incorrect dropped privs to tcpdump 19:17:46.325889 rose0 M ifindex 13 ea:e0:b8:be:e3:a9 ethertype IPv6 (0x86dd), length 92: 1111:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 1111:1::1, length 32 19:17:46.326126 rose0 Out ifindex 13 12:1b:2f:ad:a7:df ethertype IPv6 (0x86dd), length 92: 1111:1::1 > 1111:1::2: ICMP6, neighbor advertisement, tgt is 1111:1::1, length 32 19:17:46.326229 rose0 In ifindex 13 ea:e0:b8:be:e3:a9 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 62642, seq 1, length 64 19:17:46.326518 rose0 Out ifindex 13 12:1b:2f:ad:a7:df ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 62642, seq 1, length 64 19:17:47.327046 rose0 In ifindex 13 ea:e0:b8:be:e3:a9 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 62642, seq 2, length 64 19:17:47.327266 rose0 Out ifindex 13 12:1b:2f:ad:a7:df ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 62642, seq 2, length 64 :: [ 19:17:55 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 19:17:56 ] :: [ BEGIN ] :: Running 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' reading from file vrf0.pcap, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 Warning: interface names might be incorrect dropped privs to tcpdump tcpdump: Unable to write output: Broken pipe :: [ 19:17:56 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 19:17:56 ] :: [ BEGIN ] :: Running 'rm vrf0.pcap vrf1.pcap' :: [ 19:17:56 ] :: [ PASS ] :: Command 'rm vrf0.pcap vrf1.pcap' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 19s :: Assertions: 12 good, 0 bad :: RESULT: PASS (Sanity checks) ** Sanity-checks PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Routes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:18:00 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' local 10.0.42.1 dev vrf0-ns1 table 10 src 10.0.42.1 uid 0 cache :: [ 19:18:00 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 19:18:01 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' local 10.0.42.1 dev vrf1-ns1 table 20 src 10.0.42.1 uid 0 cache :: [ 19:18:01 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 19:18:01 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 10.0.42.1' RTNETLINK answers: Network is unreachable :: [ 19:18:01 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 19:18:02 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' local 1111:1::1 from :: dev vrf0-ns1 table 10 proto kernel src 1111:1::1 metric 0 pref medium :: [ 19:18:02 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 19:18:02 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' local 1111:1::1 from :: dev vrf1-ns1 table 20 proto kernel src 1111:1::1 metric 0 pref medium :: [ 19:18:02 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 19:18:03 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 1111:1::1' RTNETLINK answers: Network is unreachable :: [ 19:18:03 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1' (Expected 1-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Routes) ** Routes PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Multicast :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:18:07 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts = 0 :: [ 19:18:07 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 19:18:07 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts = 0 :: [ 19:18:08 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 19:18:08 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' PING 224.0.0.1 (224.0.0.1) from 10.0.42.1 veth12: 56(84) bytes of data. 64 bytes from 10.0.42.1: icmp_seq=1 ttl=64 time=0.258 ms 64 bytes from 10.0.42.2: icmp_seq=1 ttl=64 time=0.459 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.245 ms 64 bytes from 10.0.42.2: icmp_seq=2 ttl=64 time=0.384 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.266 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, +2 duplicates, 0% packet loss, time 2065ms rtt min/avg/max/mdev = 0.245/0.322/0.459/0.084 ms :: [ 19:18:10 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 19:18:10 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' PING 224.0.0.1 (224.0.0.1) from 10.0.42.2 veth21: 56(84) bytes of data. 64 bytes from 10.0.42.1: icmp_seq=1 ttl=64 time=0.400 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.340 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.416 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2042ms rtt min/avg/max/mdev = 0.340/0.385/0.416/0.032 ms :: [ 19:18:13 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 19:18:13 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' ping: Warning: source address might be selected on device other than: veth12 PING ff02::1(ff02::1) from :: veth12: 56 data bytes 64 bytes from fe80::cc37:80ff:fe96:3534%vrf0-ns1: icmp_seq=1 ttl=64 time=1.93 ms 64 bytes from fe80::cc37:80ff:fe96:3534%vrf0-ns1: icmp_seq=2 ttl=64 time=0.302 ms 64 bytes from fe80::cc37:80ff:fe96:3534%vrf0-ns1: icmp_seq=3 ttl=64 time=0.430 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2019ms rtt min/avg/max/mdev = 0.302/0.886/1.927/0.737 ms :: [ 19:18:15 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 19:18:15 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' ping: Warning: source address might be selected on device other than: veth21 PING ff02::1(ff02::1) from :: veth21: 56 data bytes 64 bytes from fe80::7c28:aaff:fe23:24ce%veth21: icmp_seq=1 ttl=64 time=0.378 ms 64 bytes from fe80::7c28:aaff:fe23:24ce%veth21: icmp_seq=2 ttl=64 time=0.288 ms 64 bytes from fe80::7c28:aaff:fe23:24ce%veth21: icmp_seq=3 ttl=64 time=0.341 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2046ms rtt min/avg/max/mdev = 0.288/0.335/0.378/0.036 ms :: [ 19:18:18 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 19:18:18 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts = 1 :: [ 19:18:18 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 19:18:18 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts = 1 :: [ 19:18:18 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 12s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) ** Multicast PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:18:23 ] :: [ BEGIN ] :: Running 'ip netns pids ns1 | xargs -r kill' :: [ 19:18:23 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 19:18:23 ] :: [ BEGIN ] :: Running 'ip netns del ns1' :: [ 19:18:23 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 19:18:23 ] :: [ BEGIN ] :: Running 'ip netns pids ns2 | xargs -r kill' :: [ 19:18:24 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 19:18:24 ] :: [ BEGIN ] :: Running 'ip netns del ns2' :: [ 19:18:24 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 19:18:24 ] :: [ BEGIN ] :: Running 'ip netns pids ns3 | xargs -r kill' :: [ 19:18:24 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 19:18:25 ] :: [ BEGIN ] :: Running 'ip netns del ns3' :: [ 19:18:25 ] :: [ PASS ] :: Command 'ip netns del ns3' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 27 Package : vrf beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch bl-redhat RPM : beakerlib-redhat-1-33.fc37eng.noarch Test name : networking/vrf/sanity_checks Test started : 2022-09-25 19:17:17 EDT Test finished : 2022-09-25 19:18:28 EDT (still running) Test duration : 71 seconds Distro : Fedora release 38 (Rawhide) Hostname : hpe-ml310egen8-01.hpe2.lab.eng.bos.redhat.com Architecture : unknown CPUs : 8 x Intel(R) Xeon(R) CPU E3-1280 V2 @ 3.60GHz RAM size : 3007 MB HDD size : 232.75 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of networking/vrf/sanity_check Description: santy checks for VRF, making sure basic functionalities work :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:17:19 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 19:17:20 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 19:17:20 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 19:17:21 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 19:17:21 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 19:17:22 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 19:17:22 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 19:17:23 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 19:17:23 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 19:17:24 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 19:17:24 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 19:17:25 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 19:17:25 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 19:17:26 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 19:17:26 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 7s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:17:30 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 19:17:31 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 19:17:31 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 19:17:31 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 19:17:32 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 19:17:32 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 19:17:33 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 19:17:33 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 1111:1::2/64 dev veth31' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Duplicate addrs) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Sanity checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:17:37 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' (Expected 0, got 0) :: [ 19:17:38 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' (Expected 0, got 0) :: [ 19:17:43 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 19:17:46 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 19:17:48 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 19:17:49 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 19:17:54 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 19:17:54 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 19:17:55 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 19:17:55 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 19:17:56 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 19:17:56 ] :: [ PASS ] :: Command 'rm vrf0.pcap vrf1.pcap' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 19s :: Assertions: 12 good, 0 bad :: RESULT: PASS (Sanity checks) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Routes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:18:00 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 19:18:01 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 19:18:01 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 19:18:02 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 19:18:02 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 19:18:03 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1' (Expected 1-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Routes) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Multicast :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:18:07 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 19:18:08 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 19:18:10 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 19:18:13 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 19:18:15 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 19:18:18 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 19:18:18 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 19:18:18 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 12s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:18:23 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 19:18:23 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 19:18:24 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 19:18:24 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 19:18:24 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 19:18:25 ] :: [ PASS ] :: Command 'ip netns del ns3' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/vrf/sanity_checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 19:18:29 ] :: [ LOG ] :: Phases fingerprint: wG6Jb0bU :: [ 19:18:29 ] :: [ LOG ] :: Asserts fingerprint: AI6bStEB Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 72s :: Phases: 6 good, 0 bad :: OVERALL RESULT: PASS (networking/vrf/sanity_checks)