use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:26 ] :: [ BEGIN ] :: Running 'ip netns add ns1' :: [ 07:03:26 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 07:03:26 ] :: [ BEGIN ] :: Running 'ip netns add ns2' :: [ 07:03:26 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 07:03:26 ] :: [ BEGIN ] :: Running 'ip netns add ns3' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf0-ns1 type vrf table 10' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf1-ns1 type vrf table 20' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth12 up' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth13 up' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf0-ns1 up' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf1-ns1 up' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip -net ns2 link set veth21 up' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ BEGIN ] :: Running 'ip -net ns3 link set veth31 up' :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 07:03:28 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf0-ns1 veth12' :: [ 07:03:28 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 07:03:28 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf1-ns1 veth13' :: [ 07:03:28 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:29 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 07:03:29 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 07:03:29 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth12' :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 07:03:29 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 1111:1::2/64 dev veth21' :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 07:03:29 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 07:03:29 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 07:03:29 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth13' :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 07:03:29 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 1111:1::2/64 dev veth31' :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 1111:1::2/64 dev veth31' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Duplicate addrs) ** Duplicate-addrs PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Sanity checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:30 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' :: [ 07:03:30 ] :: [ 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 :: [ 07:03:31 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' dropped privs to tcpdump tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes :: [ 07:03:31 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' (Expected 0, got 0) :: [ 07:03:31 ] :: [ BEGIN ] :: Running 'sleep 5' 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 :: [ 07:03:36 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 07:03:36 ] :: [ 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.164 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.126 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.121 ms --- 10.0.42.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2077ms rtt min/avg/max/mdev = 0.121/0.137/0.164/0.019 ms :: [ 07:03:38 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 07:03:38 ] :: [ 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.161 ms 64 bytes from 1111:1::1: icmp_seq=2 ttl=64 time=0.141 ms 64 bytes from 1111:1::1: icmp_seq=3 ttl=64 time=0.149 ms --- 1111:1::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2048ms rtt min/avg/max/mdev = 0.141/0.150/0.161/0.008 ms :: [ 07:03:40 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 07:03:40 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 18 packets captured18 packets captured 20 packets received by filter20 packets received by filter 0 packets dropped by kernel 0 packets dropped by kernel :: [ 07:03:40 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:03:40 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 07:03:45 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 07:03:45 ] :: [ 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 07:03:36.234879 ? B ifindex 4 ee:bc:9c:92:b6:2a ethertype ARP (0x0806), length 48: Request who-has 10.0.42.1 tell 10.0.42.2, length 28 07:03:36.234929 ? In ifindex 4 ee:bc:9c:92:b6:2a ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 3364, seq 1, length 64 07:03:36.234959 ? Out ifindex 4 42:9e:78:15:50:98 ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 3364, seq 1, length 64 07:03:37.261405 ? In ifindex 4 ee:bc:9c:92:b6:2a ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 3364, seq 2, length 64 07:03:37.261462 ? Out ifindex 4 42:9e:78:15:50:98 ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 3364, seq 2, length 64 07:03:38.311394 ? In ifindex 4 ee:bc:9c:92:b6:2a ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 3364, seq 3, length 64 07:03:38.311450 ? Out ifindex 4 42:9e:78:15:50:98 ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 3364, seq 3, length 64 :: [ 07:03:45 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 07:03:45 ] :: [ 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 :: [ 07:03:45 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 07:03:45 ] :: [ 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 07:03:38.413258 ? M ifindex 5 de:a1:c9:ef:b1:d3 ethertype IPv6 (0x86dd), length 92: 1111:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 1111:1::1, length 32 07:03:38.413314 ? Out ifindex 5 5e:04:25:80:67:b5 ethertype IPv6 (0x86dd), length 92: 1111:1::1 > 1111:1::2: ICMP6, neighbor advertisement, tgt is 1111:1::1, length 32 07:03:38.413331 ? In ifindex 5 de:a1:c9:ef:b1:d3 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 32936, seq 1, length 64 07:03:38.413360 ? Out ifindex 5 5e:04:25:80:67:b5 ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 32936, seq 1, length 64 07:03:39.421409 ? In ifindex 5 de:a1:c9:ef:b1:d3 ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 32936, seq 2, length 64 07:03:39.421460 ? Out ifindex 5 5e:04:25:80:67:b5 ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 32936, seq 2, length 64 :: [ 07:03:46 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 07:03:46 ] :: [ 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 :: [ 07:03:46 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 07:03:46 ] :: [ BEGIN ] :: Running 'rm vrf0.pcap vrf1.pcap' :: [ 07:03:46 ] :: [ PASS ] :: Command 'rm vrf0.pcap vrf1.pcap' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 16s :: Assertions: 12 good, 0 bad :: RESULT: PASS (Sanity checks) ** Sanity-checks PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Routes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:47 ] :: [ 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 :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 07:03:47 ] :: [ 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 :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 07:03:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 10.0.42.1' RTNETLINK answers: Network is unreachable :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 07:03:47 ] :: [ 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 :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 07:03:47 ] :: [ 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 :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 07:03:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 1111:1::1' RTNETLINK answers: Network is unreachable :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1' (Expected 1-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Routes) ** Routes PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Multicast :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:48 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts = 0 :: [ 07:03:49 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 07:03:49 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts = 0 :: [ 07:03:49 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 07:03:49 ] :: [ 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.099 ms 64 bytes from 10.0.42.2: icmp_seq=1 ttl=64 time=0.136 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.085 ms 64 bytes from 10.0.42.2: icmp_seq=2 ttl=64 time=0.123 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.110 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, +2 duplicates, 0% packet loss, time 2054ms rtt min/avg/max/mdev = 0.085/0.110/0.136/0.017 ms :: [ 07:03:51 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 07:03:51 ] :: [ 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.092 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.169 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.139 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2059ms rtt min/avg/max/mdev = 0.092/0.133/0.169/0.031 ms :: [ 07:03:53 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 07:03:53 ] :: [ 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::ecbc:9cff:fe92:b62a%vrf0-ns1: icmp_seq=1 ttl=64 time=0.160 ms 64 bytes from fe80::ecbc:9cff:fe92:b62a%vrf0-ns1: icmp_seq=2 ttl=64 time=0.152 ms 64 bytes from fe80::ecbc:9cff:fe92:b62a%vrf0-ns1: icmp_seq=3 ttl=64 time=0.159 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2065ms rtt min/avg/max/mdev = 0.152/0.157/0.160/0.003 ms :: [ 07:03:55 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 07:03:55 ] :: [ 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::409e:78ff:fe15:5098%veth21: icmp_seq=1 ttl=64 time=0.126 ms 64 bytes from fe80::409e:78ff:fe15:5098%veth21: icmp_seq=2 ttl=64 time=0.160 ms 64 bytes from fe80::409e:78ff:fe15:5098%veth21: icmp_seq=3 ttl=64 time=0.139 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2042ms rtt min/avg/max/mdev = 0.126/0.141/0.160/0.014 ms :: [ 07:03:57 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 07:03:57 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts = 1 :: [ 07:03:58 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 07:03:58 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts = 1 :: [ 07:03:58 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 10s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) ** Multicast PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:59 ] :: [ BEGIN ] :: Running 'ip netns pids ns1 | xargs -r kill' :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 07:03:59 ] :: [ BEGIN ] :: Running 'ip netns del ns1' :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 07:03:59 ] :: [ BEGIN ] :: Running 'ip netns pids ns2 | xargs -r kill' :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 07:03:59 ] :: [ BEGIN ] :: Running 'ip netns del ns2' :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 07:03:59 ] :: [ BEGIN ] :: Running 'ip netns pids ns3 | xargs -r kill' :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 07:03:59 ] :: [ BEGIN ] :: Running 'ip netns del ns3' :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns del ns3' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: TEST PROTOCOL :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Test run ID : 23 Package : vrf beakerlib RPM : beakerlib-1.29.2-1.fc38.noarch Test name : networking/vrf/sanity_checks Test started : 2022-09-29 07:03:26 EDT Test finished : 2022-09-29 07:04:00 EDT (still running) Test duration : 34 seconds Distro : Fedora release 38 (Rawhide) Hostname : hpe-apollo-cn99xx-15-vm-21.khw4.lab.eng.bos.redhat.com Architecture : unknown CPUs : 0 x RAM size : 5903 MB HDD size : 99.86 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of networking/vrf/sanity_check Description: santy checks for VRF, making sure basic functionalities work :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:26 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 07:03:26 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 07:03:27 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 07:03:28 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 07:03:28 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 07:03:29 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 1111:1::2/64 dev veth31' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Duplicate addrs) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Sanity checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:30 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' (Expected 0, got 0) :: [ 07:03:31 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' (Expected 0, got 0) :: [ 07:03:36 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 07:03:38 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 07:03:40 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 07:03:40 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 07:03:45 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 07:03:45 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 07:03:45 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 07:03:46 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 07:03:46 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 07:03:46 ] :: [ PASS ] :: Command 'rm vrf0.pcap vrf1.pcap' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 16s :: Assertions: 12 good, 0 bad :: RESULT: PASS (Sanity checks) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Routes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 07:03:47 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1' (Expected 1-255, got 2) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Routes) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Multicast :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:49 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 07:03:49 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 07:03:51 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 07:03:53 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 07:03:55 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 07:03:57 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 07:03:58 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 07:03:58 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 10s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 07:03:59 ] :: [ PASS ] :: Command 'ip netns del ns3' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/vrf/sanity_checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:04:00 ] :: [ LOG ] :: Phases fingerprint: wG6Jb0bU :: [ 07:04:00 ] :: [ LOG ] :: Asserts fingerprint: AI6bStEB Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 34s :: Phases: 6 good, 0 bad :: OVERALL RESULT: PASS (networking/vrf/sanity_checks)