use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:53:46 ] :: [ BEGIN ] :: Running 'ip netns add ns1' :: [ 09:53:46 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 09:53:46 ] :: [ BEGIN ] :: Running 'ip netns add ns2' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip netns add ns3' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf0-ns1 type vrf table 10' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 link add vrf1-ns1 type vrf table 20' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth12 up' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set veth13 up' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf0-ns1 up' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set vrf1-ns1 up' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns2 link set veth21 up' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns3 link set veth31 up' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf0-ns1 veth12' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 09:53:47 ] :: [ BEGIN ] :: Running 'ip -net ns1 link set master vrf1-ns1 veth13' :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:53:48 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 09:53:48 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 09:53:48 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth12' :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 09:53:48 ] :: [ BEGIN ] :: Running 'ip -net ns2 addr add 1111:1::2/64 dev veth21' :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 09:53:48 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 09:53:48 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 09:53:48 ] :: [ BEGIN ] :: Running 'ip -net ns1 addr add 1111:1::1/64 dev veth13' :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 09:53:48 ] :: [ BEGIN ] :: Running 'ip -net ns3 addr add 1111:1::2/64 dev veth31' :: [ 09:53:48 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:53:49 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' :: [ 09:53:49 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' (Expected 0, got 0) :: [ 09:53:49 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' :: [ 09:53:49 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' (Expected 0, got 0) :: [ 09:53:49 ] :: [ BEGIN ] :: Running 'sleep 5' tcpdump: data link type LINUX_SLL2 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 dropped privs to tcpdump tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes :: [ 09:53:54 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 09:53:54 ] :: [ 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.053 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.088 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.030 ms --- 10.0.42.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2105ms rtt min/avg/max/mdev = 0.030/0.057/0.088/0.023 ms :: [ 09:53:56 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 09:53:56 ] :: [ 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.071 ms 64 bytes from 1111:1::1: icmp_seq=2 ttl=64 time=0.036 ms 64 bytes from 1111:1::1: icmp_seq=3 ttl=64 time=0.094 ms --- 1111:1::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2109ms rtt min/avg/max/mdev = 0.036/0.067/0.094/0.023 ms :: [ 09:53:58 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 09:53:58 ] :: [ BEGIN ] :: Running 'pkill tcpdump' 23 packets captured23 packets captured 25 packets received by filter25 packets received by filter 0 packets dropped by kernel0 packets dropped by kernel :: [ 09:53:58 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 09:53:59 ] :: [ BEGIN ] :: Running 'sleep 5' :: [ 09:54:04 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 09:54:04 ] :: [ 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 09:53:54.648136 ? B ifindex 4 56:26:59:73:81:6f ethertype ARP (0x0806), length 48: Request who-has 10.0.42.1 tell 10.0.42.2, length 28 09:53:54.648157 ? In ifindex 4 56:26:59:73:81:6f ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 14575, seq 1, length 64 09:53:54.648171 ? Out ifindex 4 1e:1f:3a:66:94:01 ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 14575, seq 1, length 64 09:53:55.712664 ? In ifindex 4 56:26:59:73:81:6f ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 14575, seq 2, length 64 09:53:55.712679 ? Out ifindex 4 1e:1f:3a:66:94:01 ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 14575, seq 2, length 64 09:53:56.752599 ? In ifindex 4 56:26:59:73:81:6f ethertype IPv4 (0x0800), length 104: 10.0.42.2 > 10.0.42.1: ICMP echo request, id 14575, seq 3, length 64 09:53:56.752613 ? Out ifindex 4 1e:1f:3a:66:94:01 ethertype IPv4 (0x0800), length 104: 10.0.42.1 > 10.0.42.2: ICMP echo reply, id 14575, seq 3, length 64 :: [ 09:54:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 09:54:04 ] :: [ 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 :: [ 09:54:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 09:54:04 ] :: [ 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 09:53:49.712629 ? Out ifindex 5 1a:40:62:50:c0:e9 ethertype IPv6 (0x86dd), length 92: :: > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 1111:1::1, length 32 09:53:56.804236 ? M ifindex 5 1a:8f:32:a7:d6:fc ethertype IPv6 (0x86dd), length 92: 1111:1::2 > ff02::1:ff00:1: ICMP6, neighbor solicitation, who has 1111:1::1, length 32 09:53:56.804259 ? Out ifindex 5 1a:40:62:50:c0:e9 ethertype IPv6 (0x86dd), length 92: 1111:1::1 > 1111:1::2: ICMP6, neighbor advertisement, tgt is 1111:1::1, length 32 09:53:56.804266 ? In ifindex 5 1a:8f:32:a7:d6:fc ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 2051, seq 1, length 64 09:53:56.804280 ? Out ifindex 5 1a:40:62:50:c0:e9 ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 2051, seq 1, length 64 09:53:57.872602 ? In ifindex 5 1a:8f:32:a7:d6:fc ethertype IPv6 (0x86dd), length 124: 1111:1::2 > 1111:1::1: ICMP6, echo request, id 2051, seq 2, length 64 09:53:57.872618 ? Out ifindex 5 1a:40:62:50:c0:e9 ethertype IPv6 (0x86dd), length 124: 1111:1::1 > 1111:1::2: ICMP6, echo reply, id 2051, seq 2, length 64 :: [ 09:54:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 09:54: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 :: [ 09:54:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 09:54:04 ] :: [ BEGIN ] :: Running 'rm vrf0.pcap vrf1.pcap' :: [ 09:54:04 ] :: [ PASS ] :: Command 'rm vrf0.pcap vrf1.pcap' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 15s :: Assertions: 12 good, 0 bad :: RESULT: PASS (Sanity checks) ** Sanity-checks PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Routes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:54:05 ] :: [ 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 :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 09:54:05 ] :: [ 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 :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 09:54:05 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 10.0.42.1' RTNETLINK answers: Network is unreachable :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 09:54:05 ] :: [ 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 :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 09:54:05 ] :: [ 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 :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 09:54:05 ] :: [ BEGIN ] :: Running 'ip -net ns1 route get 1111:1::1' RTNETLINK answers: Network is unreachable :: [ 09:54:05 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:54:06 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' net.ipv4.icmp_echo_ignore_broadcasts = 0 :: [ 09:54:06 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 09:54:06 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' net.ipv4.icmp_echo_ignore_broadcasts = 0 :: [ 09:54:06 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 09:54:06 ] :: [ 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.029 ms 64 bytes from 10.0.42.2: icmp_seq=1 ttl=64 time=0.045 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.021 ms 64 bytes from 10.0.42.2: icmp_seq=2 ttl=64 time=0.032 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.056 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, +2 duplicates, 0% packet loss, time 2078ms rtt min/avg/max/mdev = 0.021/0.036/0.056/0.012 ms :: [ 09:54:08 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 09:54:08 ] :: [ 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.038 ms 64 bytes from 10.0.42.1: icmp_seq=2 ttl=64 time=0.072 ms 64 bytes from 10.0.42.1: icmp_seq=3 ttl=64 time=0.031 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2103ms rtt min/avg/max/mdev = 0.031/0.047/0.072/0.017 ms :: [ 09:54:10 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 09:54:10 ] :: [ 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::5426:59ff:fe73:816f%vrf0-ns1: icmp_seq=1 ttl=64 time=0.122 ms 64 bytes from fe80::5426:59ff:fe73:816f%vrf0-ns1: icmp_seq=2 ttl=64 time=0.073 ms 64 bytes from fe80::5426:59ff:fe73:816f%vrf0-ns1: icmp_seq=3 ttl=64 time=0.069 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2088ms rtt min/avg/max/mdev = 0.069/0.088/0.122/0.024 ms :: [ 09:54:12 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 09:54:12 ] :: [ 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::1c1f:3aff:fe66:9401%veth21: icmp_seq=1 ttl=64 time=0.047 ms 64 bytes from fe80::1c1f:3aff:fe66:9401%veth21: icmp_seq=2 ttl=64 time=0.096 ms 64 bytes from fe80::1c1f:3aff:fe66:9401%veth21: icmp_seq=3 ttl=64 time=0.098 ms --- ff02::1 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2108ms rtt min/avg/max/mdev = 0.047/0.080/0.098/0.023 ms :: [ 09:54:14 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 09:54:14 ] :: [ BEGIN ] :: Running 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' net.ipv4.icmp_echo_ignore_broadcasts = 1 :: [ 09:54:14 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 09:54:14 ] :: [ BEGIN ] :: Running 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' net.ipv4.icmp_echo_ignore_broadcasts = 1 :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 9s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) ** Multicast PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:54:15 ] :: [ BEGIN ] :: Running 'ip netns pids ns1 | xargs -r kill' :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 09:54:15 ] :: [ BEGIN ] :: Running 'ip netns del ns1' :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 09:54:15 ] :: [ BEGIN ] :: Running 'ip netns pids ns2 | xargs -r kill' :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 09:54:15 ] :: [ BEGIN ] :: Running 'ip netns del ns2' :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 09:54:15 ] :: [ BEGIN ] :: Running 'ip netns pids ns3 | xargs -r kill' :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 09:54:15 ] :: [ BEGIN ] :: Running 'ip netns del ns3' :: [ 09:54:16 ] :: [ PASS ] :: Command 'ip netns del ns3' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: 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.3-2.fc38.noarch Test name : networking/vrf/sanity_checks Test started : 2023-02-06 09:53:46 EST Test finished : 2023-02-06 09:54:16 EST (still running) Test duration : 30 seconds Distro : Fedora release 38 (Rawhide) Hostname : ibm-p9z-06-lp6.khw3.lab.eng.bos.redhat.com Architecture : unknown CPUs : 0 x RAM size : 16247 MB HDD size : 68.36 GB :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test description :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: PURPOSE of networking/vrf/sanity_check Description: santy checks for VRF, making sure basic functionalities work :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:53:46 ] :: [ PASS ] :: Command 'ip netns add ns1' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip netns add ns2' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip netns add ns3' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf0-ns1 type vrf table 10' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link add vrf1-ns1 type vrf table 20' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip link add veth12 netns ns1 type veth peer name veth21 netns ns2' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip link add veth13 netns ns1 type veth peer name veth31 netns ns3' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth12 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set veth13 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf0-ns1 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set vrf1-ns1 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns2 link set veth21 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns3 link set veth31 up' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf0-ns1 veth12' (Expected 0, got 0) :: [ 09:53:47 ] :: [ PASS ] :: Command 'ip -net ns1 link set master vrf1-ns1 veth13' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 15 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duplicate addrs :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth12' (Expected 0, got 0) :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 10.0.42.2/24 dev veth21' (Expected 0, got 0) :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth12' (Expected 0, got 0) :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns2 addr add 1111:1::2/64 dev veth21' (Expected 0, got 0) :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 10.0.42.1/24 dev veth13' (Expected 0, got 0) :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns3 addr add 10.0.42.2/24 dev veth31' (Expected 0, got 0) :: [ 09:53:48 ] :: [ PASS ] :: Command 'ip -net ns1 addr add 1111:1::1/64 dev veth13' (Expected 0, got 0) :: [ 09:53:48 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:53:49 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 tcpdump -i any -w vrf0.pcap &' (Expected 0, got 0) :: [ 09:53:49 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf1-ns1 tcpdump -i any -w vrf1.pcap &' (Expected 0, got 0) :: [ 09:53:54 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 09:53:56 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 10.0.42.1' (Expected 0, got 0) :: [ 09:53:58 ] :: [ PASS ] :: Command 'ip netns exec ns3 ping -c3 1111:1::1' (Expected 0, got 0) :: [ 09:53:58 ] :: [ PASS ] :: Command 'pkill tcpdump' (Expected 0, got 0) :: [ 09:54:04 ] :: [ PASS ] :: Command 'sleep 5' (Expected 0, got 0) :: [ 09:54:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep 10.0.42.2' (Expected 0, got 0) :: [ 09:54:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep -qv 10.0.42.2' (Expected 0, got 0) :: [ 09:54:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf1.pcap -nnle | grep 1111:1::1' (Expected 0, got 0) :: [ 09:54:04 ] :: [ PASS ] :: Command 'tcpdump -r vrf0.pcap -nnle | grep -qv 1111:1::1' (Expected 0, got 0) :: [ 09:54:04 ] :: [ PASS ] :: Command 'rm vrf0.pcap vrf1.pcap' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 15s :: Assertions: 12 good, 0 bad :: RESULT: PASS (Sanity checks) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Routes :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 10.0.42.1' (Expected 1-255, got 2) :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf0-ns1' (Expected 0, got 0) :: [ 09:54:05 ] :: [ PASS ] :: Command 'ip -net ns1 route get 1111:1::1 vrf vrf1-ns1' (Expected 0, got 0) :: [ 09:54:05 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:54:06 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 09:54:06 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=0' (Expected 0, got 0) :: [ 09:54:08 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 224.0.0.1' (Expected 0, got 0) :: [ 09:54:10 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 224.0.0.1' (Expected 0, got 0) :: [ 09:54:12 ] :: [ PASS ] :: Command 'ip netns exec ns1 ip vrf exec vrf0-ns1 ping -c3 -I veth12 ff02::1' (Expected 0, got 0) :: [ 09:54:14 ] :: [ PASS ] :: Command 'ip netns exec ns2 ping -c3 -I veth21 ff02::1' (Expected 0, got 0) :: [ 09:54:14 ] :: [ PASS ] :: Command 'ip netns exec ns1 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns exec ns2 sysctl -w net.ipv4.icmp_echo_ignore_broadcasts=1' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 9s :: Assertions: 8 good, 0 bad :: RESULT: PASS (Multicast) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns pids ns1 | xargs -r kill' (Expected 0, got 0) :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns del ns1' (Expected 0, got 0) :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns pids ns2 | xargs -r kill' (Expected 0, got 0) :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns del ns2' (Expected 0, got 0) :: [ 09:54:15 ] :: [ PASS ] :: Command 'ip netns pids ns3 | xargs -r kill' (Expected 0, got 0) :: [ 09:54:16 ] :: [ PASS ] :: Command 'ip netns del ns3' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 6 good, 0 bad :: RESULT: PASS (Cleanup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/vrf/sanity_checks :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:54:16 ] :: [ LOG ] :: Phases fingerprint: wG6Jb0bU :: [ 09:54:16 ] :: [ LOG ] :: Asserts fingerprint: AI6bStEB Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 30s :: Phases: 6 good, 0 bad :: OVERALL RESULT: PASS (networking/vrf/sanity_checks)