use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh modprobe: FATAL: Module veth is builtin. modprobe: FATAL: Module bridge is builtin. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:24:03 ] :: [ BEGIN ] :: Running 'ip netns add ns1' :: [ 04:24:03 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 04:24:04 ] :: [ BEGIN ] :: Running 'ip netns add ns2' :: [ 04:24:04 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 04:24:05 ] :: [ BEGIN ] :: Running 'ip netns add ns3' :: [ 04:24:05 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 04:24:06 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf0-ns1 type vrf table 10' :: [ 04:24:06 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 04:24:07 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf1-ns1 type vrf table 20' :: [ 04:24:07 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 04:24:07 ] :: [ BEGIN ] :: Running 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' :: [ 04:24:08 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 04:24:09 ] :: [ BEGIN ] :: Running 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' :: [ 04:24:09 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 04:24:10 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth12 up' :: [ 04:24:10 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 04:24:11 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth13 up' :: [ 04:24:11 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 04:24:12 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf0-ns1 up' :: [ 04:24:12 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 04:24:12 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf1-ns1 up' :: [ 04:24:13 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 04:24:13 ] :: [ BEGIN ] :: Running 'ip -net ns2 link set veth21 up' :: [ 04:24:14 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 04:24:14 ] :: [ BEGIN ] :: Running 'ip -net ns3 link set veth31 up' :: [ 04:24:14 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 04:24:15 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf0-ns1 veth12' :: [ 04:24:15 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 04:24:16 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf1-ns1 veth13' :: [ 04:24:16 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 15s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:24:26 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' :: [ 04:24:26 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 04:24:27 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' :: [ 04:24:27 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 04:24:28 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth12' :: [ 04:24:28 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 04:24:29 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 1111:1::2/64 dev veth21' :: [ 04:24:29 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 04:24:29 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' :: [ 04:24:30 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 04:24:30 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' :: [ 04:24:31 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 04:24:31 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth13' :: [ 04:24:31 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 04:24:32 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 1111:1::2/64 dev veth31' :: [ 04:24:32 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 1111:1::2/64 dev veth31' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Duplicate addrs) ** Duplicate-addrs PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Sanity checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:24:41 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' :: [ 04:24:42 ] :: [ 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 :: [ 04:24:42 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' :: [ 04:24:42 ] :: [ 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 :: [ 04:24:43 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 04:24:48 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 04:24:49 ] :: [ 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=2.22 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.410 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.358 ms --- 10.0.42.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2056ms rtt min/avg/max/mdev = 0.358/0.996/2.222/0.866 ms :: [ 04:24:51 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 04:24:52 ] :: [ 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=2.01 ms 64 bytes from 1111:1::1: icmp_seq=2 ttl=64 time=0.866 ms 64 bytes from 1111:1::1: icmp_seq=3 ttl=64 time=0.423 ms --- 1111:1::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.423/1.098/2.007/0.667 ms :: [ 04:24:54 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 04:24:55 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 22 packets captured21 packets captured 21 packets received by filter 0 packets dropped by kernel 22 packets received by filter 0 packets dropped by kernel :: [ 04:24:55 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 04:24:56 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 04:25:01 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 04:25:02 ] :: [ 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 04:24:49.386327 eno2 B ifindex 13 22:9e:08:86:fc:03 ethertype ARP (0x0806), length 48: Request who-has 10.0.42.1 tell 10.0.42.2, length 28 04:24:49.387157 eno2 In ifindex 13 22:9e:08:86:fc:03 ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 59580, seq 1, length 64 04:24:49.387723 eno2 Out ifindex 13 5a:58:b8:aa:11:51 ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 59580, seq 1, length 64 04:24:50.387872 eno2 In ifindex 13 22:9e:08:86:fc:03 ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 59580, seq 2, length 64 04:24:50.388099 eno2 Out ifindex 13 5a:58:b8:aa:11:51 ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 59580, seq 2, length 64 04:24:51.441410 eno2 In ifindex 13 22:9e:08:86:fc:03 ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 59580, seq 3, length 64 04:24:51.441585 eno2 Out ifindex 13 5a:58:b8:aa:11:51 ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 59580, seq 3, length 64 04:24:54.769264 eno2 Out ifindex 13 5a:58:b8:aa:11:51 ethertype ARP (0x0806), length 48: Request who-has 10.0.42.2 tell 10.0.42.1, length 28 04:24:54.769842 eno2 In ifindex 13 22:9e:08:86:fc:03 ethertype ARP (0x0806), length 48: Reply 10.0.42.2 is-at 22:9e:08:86:fc:03, length 28 :: [ 04:25:02 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 04:25:02 ] :: [ 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 :: [ 04:25:03 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 04:25:03 ] :: [ 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 04:24:52.366887 eno3 M ifindex 14 5a:f3:0d:d2:dc:32 ethertype IPv6 (0x86dd), length 92: 1111:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 1111:1::1, length 32 04:24:52.367408 eno3 Out ifindex 14 1a:40:7f:99:06:83 ethertype IPv6 (0x86dd), length 92: 1111:1::1 > 1111:1::2: ICMP6, neighbor advertisement, tgt is 1111:1::1, length 32 04:24:52.367620 eno3 In ifindex 14 5a:f3:0d:d2:dc:32 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 39791, seq 1, length 64 04:24:52.368256 eno3 Out ifindex 14 1a:40:7f:99:06:83 ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 39791, seq 1, length 64 04:24:53.368399 eno3 In ifindex 14 5a:f3:0d:d2:dc:32 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 39791, seq 2, length 64 04:24:53.368699 eno3 Out ifindex 14 1a:40:7f:99:06:83 ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 39791, seq 2, length 64 04:24:54.369865 eno3 In ifindex 14 5a:f3:0d:d2:dc:32 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 39791, seq 3, length 64 04:24:54.370085 eno3 Out ifindex 14 1a:40:7f:99:06:83 ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 39791, seq 3, length 64 :: [ 04:25:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 04:25:04 ] :: [ 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 :: [ 04:25:05 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 04:25:05 ] :: [ BEGIN ] :: Running 'rm vrf0.pcap vrf1.pcap' :: [ 04:25:05 ] :: [ PASS ] :: Command 'rm vrf0.pcap vrf1.pcap' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 25s :: Assertions: 12 good, 0 bad :: RESULT: PASS (Sanity checks) ** Sanity-checks PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Routes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:25:17 ] :: [ 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 :: [ 04:25:17 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 04:25:17 ] :: [ 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 :: [ 04:25:18 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 04:25:19 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 10.0.42.1' RTNETLINK answers: Network is unreachable :: [ 04:25:19 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 04:25:20 ] :: [ 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 :: [ 04:25:20 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 04:25:20 ] :: [ 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 :: [ 04:25:21 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 04:25:22 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 1111:1::1' RTNETLINK answers: Network is unreachable :: [ 04:25:22 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1' (Expected 1-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 6s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Routes) ** Routes PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Multicast :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:25:32 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' net.ipv4.icmp_echo_ignore_broadcasts = 0 :: [ 04:25:32 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 04:25:33 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' net.ipv4.icmp_echo_ignore_broadcasts = 0 :: [ 04:25:33 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 04:25:34 ] :: [ 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.625 ms 64 bytes from 10.0.42.2: icmp_seq=1 ttl=64 time=1.32 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.381 ms 64 bytes from 10.0.42.2: icmp_seq=2 ttl=64 time=0.735 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.429 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, +2 duplicates, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.381/0.698/1.324/0.338 ms :: [ 04:25:36 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 04:25:37 ] :: [ 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.813 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.576 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.566 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2062ms rtt min/avg/max/mdev = 0.566/0.651/0.813/0.114 ms :: [ 04:25:39 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 04:25:40 ] :: [ 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::209e:8ff:fe86:fc03%vrf0-ns1: icmp_seq=1 ttl=64 time=3.01 ms 64 bytes from fe80::209e:8ff:fe86:fc03%vrf0-ns1: icmp_seq=2 ttl=64 time=0.649 ms 64 bytes from fe80::209e:8ff:fe86:fc03%vrf0-ns1: icmp_seq=3 ttl=64 time=0.570 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.570/1.409/3.010/1.132 ms :: [ 04:25:42 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 04:25:43 ] :: [ 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::5858:b8ff:feaa:1151%veth21: icmp_seq=1 ttl=64 time=1.32 ms 64 bytes from fe80::5858:b8ff:feaa:1151%veth21: icmp_seq=2 ttl=64 time=0.520 ms 64 bytes from fe80::5858:b8ff:feaa:1151%veth21: icmp_seq=3 ttl=64 time=0.521 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.520/0.787/1.321/0.377 ms :: [ 04:25:45 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 04:25:46 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' net.ipv4.icmp_echo_ignore_broadcasts = 1 :: [ 04:25:46 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 04:25:47 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' net.ipv4.icmp_echo_ignore_broadcasts = 1 :: [ 04:25:47 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 17s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) ** Multicast PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:25:57 ] :: [ BEGIN ] :: Running 'ip netns pids ns1 | xargs -r kill' :: [ 04:25:58 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 04:25:58 ] :: [ BEGIN ] :: Running 'ip netns del ns1' :: [ 04:25:59 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 04:25:59 ] :: [ BEGIN ] :: Running 'ip netns pids ns2 | xargs -r kill' :: [ 04:26:00 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 04:26:00 ] :: [ BEGIN ] :: Running 'ip netns del ns2' :: [ 04:26:00 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 04:26:01 ] :: [ BEGIN ] :: Running 'ip netns pids ns3 | xargs -r kill' :: [ 04:26:01 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 04:26:02 ] :: [ BEGIN ] :: Running 'ip netns del ns3' :: [ 04:26:02 ] :: [ PASS ] :: Command 'ip netns del ns3' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 6s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 19 Package : vrf beakerlib RPM : beakerlib-1.29.3-2.fc38.noarch Test name : networking/vrf/sanity_checks Test started : 2023-02-04 04:23:57 EST Test finished : 2023-02-04 04:26:10 EST (still running) Test duration : 133 seconds Distro : Fedora release 38 (Rawhide) Hostname : hpe-dl360gen8-01.hpe2.lab.eng.bos.redhat.com Architecture : unknown CPUs : 32 x Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz RAM size : 27923 MB HDD size : 465.57 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of networking/vrf/sanity_check Description: santy checks for VRF, making sure basic functionalities work :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:24:03 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 04:24:04 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 04:24:05 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 04:24:06 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 04:24:07 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 04:24:08 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 04:24:09 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 04:24:10 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 04:24:11 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 04:24:12 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 04:24:13 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 04:24:14 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 04:24:14 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 04:24:15 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 04:24:16 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 15s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:24:26 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 04:24:27 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 04:24:28 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 04:24:29 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 04:24:30 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 04:24:31 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 04:24:31 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 04:24:32 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 1111:1::2/64 dev veth31' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 8s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Duplicate addrs) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Sanity checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:24:42 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' (Expected 0, got 0) :: [ 04:24:42 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' (Expected 0, got 0) :: [ 04:24:48 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 04:24:51 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 04:24:54 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 04:24:55 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 04:25:01 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 04:25:02 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 04:25:03 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 04:25:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 04:25:05 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 04:25:05 ] :: [ PASS ] :: Command 'rm vrf0.pcap vrf1.pcap' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 25s :: Assertions: 12 good, 0 bad :: RESULT: PASS (Sanity checks) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Routes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:25:17 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 04:25:18 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 04:25:19 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 04:25:20 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 04:25:21 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 04:25:22 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1' (Expected 1-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 6s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Routes) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Multicast :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:25:32 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 04:25:33 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 04:25:36 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 04:25:39 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 04:25:42 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 04:25:45 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 04:25:46 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 04:25:47 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 17s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:25:58 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 04:25:59 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 04:26:00 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 04:26:00 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 04:26:01 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 04:26:02 ] :: [ PASS ] :: Command 'ip netns del ns3' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 6s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/vrf/sanity_checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 04:26:12 ] :: [ LOG ] :: Phases fingerprint: wG6Jb0bU :: [ 04:26:13 ] :: [ LOG ] :: Asserts fingerprint: AI6bStEB Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 135s :: Phases: 6 good, 0 bad :: OVERALL RESULT: PASS (networking/vrf/sanity_checks)