use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh modprobe: FATAL: Module veth is builtin. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:54:27 ] :: [ BEGIN ] :: Running 'ip netns add ns1' :: [ 00:54:28 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 00:54:28 ] :: [ BEGIN ] :: Running 'ip netns add ns2' :: [ 00:54:29 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 00:54:29 ] :: [ BEGIN ] :: Running 'ip netns add ns3' :: [ 00:54:30 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 00:54:30 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf0-ns1 type vrf table 10' :: [ 00:54:30 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 00:54:31 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf1-ns1 type vrf table 20' :: [ 00:54:31 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 00:54:32 ] :: [ BEGIN ] :: Running 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' :: [ 00:54:32 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 00:54:33 ] :: [ BEGIN ] :: Running 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' :: [ 00:54:33 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 00:54:34 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth12 up' :: [ 00:54:34 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 00:54:34 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth13 up' :: [ 00:54:35 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 00:54:35 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf0-ns1 up' :: [ 00:54:36 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 00:54:36 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf1-ns1 up' :: [ 00:54:37 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 00:54:37 ] :: [ BEGIN ] :: Running 'ip -net ns2 link set veth21 up' :: [ 00:54:37 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 00:54:38 ] :: [ BEGIN ] :: Running 'ip -net ns3 link set veth31 up' :: [ 00:54:38 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 00:54:39 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf0-ns1 veth12' :: [ 00:54:39 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 00:54:40 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf1-ns1 veth13' :: [ 00:54:40 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 14s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:54:51 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' :: [ 00:54:51 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 00:54:51 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' :: [ 00:54:52 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 00:54:52 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth12' :: [ 00:54:52 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 00:54:53 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 1111:1::2/64 dev veth21' :: [ 00:54:53 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 00:54:54 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' :: [ 00:54:54 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 00:54:55 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' :: [ 00:54:55 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 00:54:56 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth13' :: [ 00:54:56 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 00:54:56 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 1111:1::2/64 dev veth31' :: [ 00:54:57 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 1111:1::2/64 dev veth31' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 7s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Duplicate addrs) ** Duplicate-addrs PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Sanity checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:55:07 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' :: [ 00:55:07 ] :: [ 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 :: [ 00:55:07 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' :: [ 00:55:07 ] :: [ 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 :: [ 00:55:08 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 00:55:13 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 00:55:14 ] :: [ 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=1.48 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.524 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.563 ms --- 10.0.42.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2040ms rtt min/avg/max/mdev = 0.524/0.856/1.481/0.442 ms :: [ 00:55:16 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 00:55:17 ] :: [ 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.33 ms 64 bytes from 1111:1::1: icmp_seq=2 ttl=64 time=0.749 ms 64 bytes from 1111:1::1: icmp_seq=3 ttl=64 time=0.528 ms --- 1111:1::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 0.528/1.200/2.325/0.800 ms :: [ 00:55:19 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 00:55:20 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 21 packets captured 21 packets received by filter 0 packets dropped by kernel 19 packets captured 21 packets received by filter 0 packets dropped by kernel :: [ 00:55:20 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 00:55:21 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 00:55:26 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 00:55:27 ] :: [ 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 00:55:14.433268 nr0 B ifindex 13 3a:49:1c:c2:9b:72 ethertype ARP (0x0806), length 48: Request who-has 10.0.42.1 tell 10.0.42.2, length 28 00:55:14.433831 nr0 In ifindex 13 3a:49:1c:c2:9b:72 ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 29816, seq 1, length 64 00:55:14.434195 nr0 Out ifindex 13 4a:29:0b:e0:51:6e ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 29816, seq 1, length 64 00:55:15.435113 nr0 In ifindex 13 3a:49:1c:c2:9b:72 ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 29816, seq 2, length 64 00:55:15.435388 nr0 Out ifindex 13 4a:29:0b:e0:51:6e ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 29816, seq 2, length 64 00:55:16.473316 nr0 In ifindex 13 3a:49:1c:c2:9b:72 ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 29816, seq 3, length 64 00:55:16.473554 nr0 Out ifindex 13 4a:29:0b:e0:51:6e ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 29816, seq 3, length 64 :: [ 00:55:27 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 00:55:28 ] :: [ 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 :: [ 00:55:28 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 00:55:29 ] :: [ 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 00:55:17.359298 nr1 M ifindex 14 52:08:aa:c6:d1:29 ethertype IPv6 (0x86dd), length 92: 1111:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 1111:1::1, length 32 00:55:17.359815 nr1 Out ifindex 14 b6:61:cb:f1:07:cd ethertype IPv6 (0x86dd), length 92: 1111:1::1 > 1111:1::2: ICMP6, neighbor advertisement, tgt is 1111:1::1, length 32 00:55:17.360051 nr1 In ifindex 14 52:08:aa:c6:d1:29 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 39737, seq 1, length 64 00:55:17.360927 nr1 Out ifindex 14 b6:61:cb:f1:07:cd ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 39737, seq 1, length 64 00:55:18.361327 nr1 In ifindex 14 52:08:aa:c6:d1:29 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 39737, seq 2, length 64 00:55:18.361582 nr1 Out ifindex 14 b6:61:cb:f1:07:cd ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 39737, seq 2, length 64 00:55:19.362410 nr1 In ifindex 14 52:08:aa:c6:d1:29 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 39737, seq 3, length 64 00:55:19.362648 nr1 Out ifindex 14 b6:61:cb:f1:07:cd ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 39737, seq 3, length 64 :: [ 00:55:29 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 00:55:30 ] :: [ 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 :: [ 00:55:30 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 00:55:30 ] :: [ BEGIN ] :: Running 'rm vrf0.pcap vrf1.pcap' :: [ 00:55:31 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:55:41 ] :: [ 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 :: [ 00:55:41 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 00:55:41 ] :: [ 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 :: [ 00:55:42 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 00:55:43 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 10.0.42.1' RTNETLINK answers: Network is unreachable :: [ 00:55:43 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 00:55:44 ] :: [ 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 :: [ 00:55:44 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 00:55:45 ] :: [ 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 :: [ 00:55:45 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 00:55:46 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 1111:1::1' RTNETLINK answers: Network is unreachable :: [ 00:55:46 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1' (Expected 1-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 7s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Routes) ** Routes PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Multicast :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:55:56 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' net.ipv4.icmp_echo_ignore_broadcasts = 0 :: [ 00:55:56 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 00:55:57 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' net.ipv4.icmp_echo_ignore_broadcasts = 0 :: [ 00:55:57 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 00:55:58 ] :: [ 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.518 ms 64 bytes from 10.0.42.2: icmp_seq=1 ttl=64 time=0.944 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.663 ms 64 bytes from 10.0.42.2: icmp_seq=2 ttl=64 time=1.30 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.725 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, +2 duplicates, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.518/0.829/1.297/0.271 ms :: [ 00:56:00 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 00:56:01 ] :: [ 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.939 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=1.20 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=1.18 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.939/1.104/1.195/0.117 ms :: [ 00:56:03 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 00:56:04 ] :: [ 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::3849:1cff:fec2:9b72%vrf0-ns1: icmp_seq=1 ttl=64 time=1.87 ms 64 bytes from fe80::3849:1cff:fec2:9b72%vrf0-ns1: icmp_seq=2 ttl=64 time=1.11 ms 64 bytes from fe80::3849:1cff:fec2:9b72%vrf0-ns1: icmp_seq=3 ttl=64 time=1.10 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 1.095/1.357/1.866/0.359 ms :: [ 00:56:06 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 00:56:07 ] :: [ 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::4829:bff:fee0:516e%veth21: icmp_seq=1 ttl=64 time=0.645 ms 64 bytes from fe80::4829:bff:fee0:516e%veth21: icmp_seq=2 ttl=64 time=0.821 ms 64 bytes from fe80::4829:bff:fee0:516e%veth21: icmp_seq=3 ttl=64 time=0.869 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2004ms rtt min/avg/max/mdev = 0.645/0.778/0.869/0.096 ms :: [ 00:56:09 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 00:56:09 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' net.ipv4.icmp_echo_ignore_broadcasts = 1 :: [ 00:56:10 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 00:56:10 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' net.ipv4.icmp_echo_ignore_broadcasts = 1 :: [ 00:56:11 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 16s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) ** Multicast PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:56:21 ] :: [ BEGIN ] :: Running 'ip netns pids ns1 | xargs -r kill' :: [ 00:56:21 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 00:56:22 ] :: [ BEGIN ] :: Running 'ip netns del ns1' :: [ 00:56:22 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 00:56:22 ] :: [ BEGIN ] :: Running 'ip netns pids ns2 | xargs -r kill' :: [ 00:56:23 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 00:56:23 ] :: [ BEGIN ] :: Running 'ip netns del ns2' :: [ 00:56:24 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 00:56:24 ] :: [ BEGIN ] :: Running 'ip netns pids ns3 | xargs -r kill' :: [ 00:56:24 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 00:56:25 ] :: [ BEGIN ] :: Running 'ip netns del ns3' :: [ 00:56:25 ] :: [ 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 : 28 Package : vrf beakerlib RPM : beakerlib-1.29.3-2.fc38.noarch Test name : networking/vrf/sanity_checks Test started : 2023-02-06 00:54:22 EST Test finished : 2023-02-06 00:56:34 EST (still running) Test duration : 132 seconds Distro : Fedora release 38 (Rawhide) Hostname : ibm-x3650m4-02-vm-02.ibm2.lab.eng.bos.redhat.com Architecture : unknown CPUs : 8 x Intel Xeon E312xx (Sandy Bridge) RAM size : 27932 MB HDD size : 499.87 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of networking/vrf/sanity_check Description: santy checks for VRF, making sure basic functionalities work :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:54:28 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 00:54:29 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 00:54:30 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 00:54:30 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 00:54:31 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 00:54:32 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 00:54:33 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 00:54:34 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 00:54:35 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 00:54:36 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 00:54:37 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 00:54:37 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 00:54:38 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 00:54:39 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 00:54:40 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 14s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:54:51 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 00:54:52 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 00:54:52 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 00:54:53 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 00:54:54 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 00:54:55 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 00:54:56 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 00:54:57 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 1111:1::2/64 dev veth31' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 7s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Duplicate addrs) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Sanity checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:55:07 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' (Expected 0, got 0) :: [ 00:55:07 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' (Expected 0, got 0) :: [ 00:55:13 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 00:55:16 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 00:55:19 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 00:55:20 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 00:55:26 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 00:55:27 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 00:55:28 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 00:55:29 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 00:55:30 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 00:55:31 ] :: [ PASS ] :: Command 'rm vrf0.pcap vrf1.pcap' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 25s :: Assertions: 12 good, 0 bad :: RESULT: PASS (Sanity checks) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Routes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:55:41 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 00:55:42 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 00:55:43 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 00:55:44 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 00:55:45 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 00:55:46 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1' (Expected 1-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 7s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Routes) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Multicast :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:55:56 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 00:55:57 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 00:56:00 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 00:56:03 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 00:56:06 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 00:56:09 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 00:56:10 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 00:56:11 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 16s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:56:21 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 00:56:22 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 00:56:23 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 00:56:24 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 00:56:24 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 00:56:25 ] :: [ PASS ] :: Command 'ip netns del ns3' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 6s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/vrf/sanity_checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 00:56:36 ] :: [ LOG ] :: Phases fingerprint: wG6Jb0bU :: [ 00:56:36 ] :: [ LOG ] :: Asserts fingerprint: AI6bStEB Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 133s :: Phases: 6 good, 0 bad :: OVERALL RESULT: PASS (networking/vrf/sanity_checks)