use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:49:51 ] :: [ BEGIN ] :: Running 'lsmod | grep sctp || modprobe sctp' sctp 974848 4 :: [ 23:49:51 ] :: [ PASS ] :: Command 'lsmod | grep sctp || modprobe sctp' (Expected 0-255, got 0) :: [ 23:49:51 ] :: [ LOG ] :: items include:basic_pmtu mtu_expire :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: pmtu_env_setup_nosec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:50:00 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 23:50:01 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 23:50:01 ] :: [ BEGIN ] :: Running 'default_pmtu_setup' net.ipv4.conf.all.forwarding = 1 net.ipv6.conf.all.forwarding = 1 net.ipv4.conf.all.forwarding = 1 net.ipv6.conf.all.forwarding = 1 :: [ 23:50:06 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 23:50:07 ] :: [ BEGIN ] :: Running 'ip netns exec client ip addr sh' 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: tunl0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 3: gre0@NONE: mtu 1476 qdisc noop state DOWN group default qlen 1000 link/gre 0.0.0.0 brd 0.0.0.0 4: gretap0@NONE: mtu 1462 qdisc noop state DOWN group default qlen 1000 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 5: erspan0@NONE: mtu 1450 qdisc noop state DOWN group default qlen 1000 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 6: ip_vti0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 7: ip6_vti0@NONE: mtu 1332 qdisc noop state DOWN group default qlen 1000 link/tunnel6 :: brd :: permaddr 1e85:959c:bc1e:: 8: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 9: ip6tnl0@NONE: mtu 1452 qdisc noop state DOWN group default qlen 1000 link/tunnel6 :: brd :: permaddr 5aec:eae7:2132:: 10: ip6gre0@NONE: mtu 1448 qdisc noop state DOWN group default qlen 1000 link/gre6 :: brd :: permaddr 6640:544:40fa:: 11: veth0_client@if11: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether ea:5a:fc:c4:16:2a brd ff:ff:ff:ff:ff:ff link-netns route0 inet 192.168.0.1/24 scope global veth0_client valid_lft forever preferred_lft forever inet6 2000::1/64 scope global valid_lft forever preferred_lft forever inet6 fe80::e85a:fcff:fec4:162a/64 scope link valid_lft forever preferred_lft forever :: [ 23:50:07 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 23:50:07 ] :: [ BEGIN ] :: Running 'ip netns exec server ip addr sh' 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: tunl0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 3: gre0@NONE: mtu 1476 qdisc noop state DOWN group default qlen 1000 link/gre 0.0.0.0 brd 0.0.0.0 4: gretap0@NONE: mtu 1462 qdisc noop state DOWN group default qlen 1000 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 5: erspan0@NONE: mtu 1450 qdisc noop state DOWN group default qlen 1000 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 6: ip_vti0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 7: ip6_vti0@NONE: mtu 1332 qdisc noop state DOWN group default qlen 1000 link/tunnel6 :: brd :: permaddr ecf:4095:fd07:: 8: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 9: ip6tnl0@NONE: mtu 1452 qdisc noop state DOWN group default qlen 1000 link/tunnel6 :: brd :: permaddr 62cd:6ba5:dbd9:: 10: ip6gre0@NONE: mtu 1448 qdisc noop state DOWN group default qlen 1000 link/gre6 :: brd :: permaddr 9a33:a557:a0e8:: 11: veth0_server@if11: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 5a:db:a1:60:4f:3f brd ff:ff:ff:ff:ff:ff link-netns route1 inet 192.168.1.1/24 scope global veth0_server valid_lft forever preferred_lft forever inet6 2001::1/64 scope global valid_lft forever preferred_lft forever inet6 fe80::58db:a1ff:fe60:4f3f/64 scope link valid_lft forever preferred_lft forever :: [ 23:50:07 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 23:50:08 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 5' PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=1.67 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.293 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.305 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.248 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.295 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4078ms rtt min/avg/max/mdev = 0.248/0.561/1.667/0.553 ms :: [ 23:50:12 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 23:50:12 ] :: [ BEGIN ] :: Running 'ip netns exec client ping6 2001::1 -c 5' PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=4.02 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.369 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.367 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.403 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.288 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4050ms rtt min/avg/max/mdev = 0.288/1.088/4.015/1.463 ms :: [ 23:50:17 ] :: [ PASS ] :: Command 'ip netns exec client ping6 2001::1 -c 5' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 17s :: Assertions: 6 good, 0 bad :: RESULT: PASS (pmtu_env_setup_nosec) ** pmtu-env-setup-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_pmtu_nosec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:50:24 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' PING 192.168.1.1 (192.168.1.1) 2000(2028) bytes of data. 2008 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.567 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.567/0.567/0.567/0.000 ms :: [ 23:50:25 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 23:50:25 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.288 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.288/0.288/0.288/0.000 ms :: [ 23:50:25 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 23:50:26 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 23:50:26 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 23:50:26 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. From 192.168.0.254 icmp_seq=1 Frag needed and DF set (mtu = 1400) --- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms :: [ 23:50:27 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 23:50:27 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec .*mtu 1400"' cache expires 599sec mtu 1400 :: [ 23:50:27 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec .*mtu 1400"' (Expected 0, got 0) :: [ 23:50:28 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 23:50:28 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 23:50:28 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1' 192.168.1.1 via 192.168.0.254 dev veth0_client src 192.168.0.1 uid 0 cache :: [ 23:50:28 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 23:50:29 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 23:50:29 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' (Expected 1, got 1) :: [ 23:50:29 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do | grep "Frag needed and DF set (mtu = 1400)"' From 192.168.0.254 icmp_seq=1 Frag needed and DF set (mtu = 1400) :: [ 23:50:30 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do | grep "Frag needed and DF set (mtu = 1400)"' (Expected 0, got 0) :: [ 23:50:30 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' cache expires 599sec mtu 1400 :: [ 23:50:30 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' (Expected 0, got 0) :: [ 23:50:31 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 23:50:32 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' (Expected 1, got 1) ping: local error: message too long, mtu=1400 :: [ 23:50:32 ] :: [ PASS ] :: File 'ping.log' should contain 'Message too long, mtu=1400' :: [ 23:50:33 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' PING 192.168.1.1 (192.168.1.1) 1300(1328) bytes of data. 1308 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.254 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.254/0.254/0.254/0.000 ms :: [ 23:50:33 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 23:50:33 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 23:50:33 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 23:50:34 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1' PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.227 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.227/0.227/0.227/0.000 ms :: [ 23:50:34 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 23:50:34 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 23:50:35 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 23:50:35 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.371 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.371/0.371/0.371/0.000 ms :: [ 23:50:35 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 11s :: Assertions: 17 good, 0 bad :: RESULT: PASS (basic_pmtu_nosec) ** basic-pmtu-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: mtu_expire_nosec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:50:43 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1' PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.256 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.256/0.256/0.256/0.000 ms :: [ 23:50:43 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 23:50:44 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 23:50:44 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 23:50:46 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 23:50:46 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 23:50:46 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 23:50:48 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' net.ipv4.route.mtu_expires = 30 :: [ 23:50:48 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 23:50:48 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 23:50:48 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 23:50:49 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 23:50:49 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 23:50:49 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 23:50:49 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. From 192.168.0.254 icmp_seq=1 Frag needed and DF set (mtu = 1400) --- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms :: [ 23:50:50 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 23:50:50 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' cache expires 29sec mtu 1400 :: [ 23:50:50 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' (Expected 0, got 0) :: [ 23:50:51 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 23:52:31 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 23:52:31 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 23:52:31 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' (Expected 1, got 1) :: [ 23:52:32 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 23:52:32 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 23:52:32 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.534 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.534/0.534/0.534/0.000 ms :: [ 23:52:33 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 23:52:33 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.254 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.254/0.254/0.254/0.000 ms :: [ 23:52:33 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) net.ipv4.route.mtu_expires = 30 :: [ 23:52:35 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' net.ipv4.route.mtu_expires = 600 :: [ 23:52:35 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 23:52:35 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 23:52:35 ] :: [ PASS ] :: Command 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 113s :: Assertions: 17 good, 0 bad :: RESULT: PASS (mtu_expire_nosec) ** mtu-expire-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:52:44 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 23:52:45 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: pmtu_env_setup_ipsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:52:54 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 23:52:55 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 23:52:55 ] :: [ BEGIN ] :: Running 'default_pmtu_setup' net.ipv4.conf.all.forwarding = 1 net.ipv6.conf.all.forwarding = 1 net.ipv4.conf.all.forwarding = 1 net.ipv6.conf.all.forwarding = 1 :: [ 23:53:02 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 23:53:02 ] :: [ BEGIN ] :: Running 'ip netns exec client ip addr sh' 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: tunl0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 3: gre0@NONE: mtu 1476 qdisc noop state DOWN group default qlen 1000 link/gre 0.0.0.0 brd 0.0.0.0 4: gretap0@NONE: mtu 1462 qdisc noop state DOWN group default qlen 1000 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 5: erspan0@NONE: mtu 1450 qdisc noop state DOWN group default qlen 1000 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 6: ip_vti0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 7: ip6_vti0@NONE: mtu 1332 qdisc noop state DOWN group default qlen 1000 link/tunnel6 :: brd :: permaddr d6be:b1a:8ad6:: 8: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 9: ip6tnl0@NONE: mtu 1452 qdisc noop state DOWN group default qlen 1000 link/tunnel6 :: brd :: permaddr 2e8d:f3f9:b768:: 10: ip6gre0@NONE: mtu 1448 qdisc noop state DOWN group default qlen 1000 link/gre6 :: brd :: permaddr bec0:e51b:4d3c:: 11: veth0_client@if11: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 3a:bd:f4:f9:98:62 brd ff:ff:ff:ff:ff:ff link-netns route0 inet 192.168.0.1/24 scope global veth0_client valid_lft forever preferred_lft forever inet6 2000::1/64 scope global valid_lft forever preferred_lft forever inet6 fe80::38bd:f4ff:fef9:9862/64 scope link valid_lft forever preferred_lft forever :: [ 23:53:03 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 23:53:03 ] :: [ BEGIN ] :: Running 'ip netns exec server ip addr sh' 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: tunl0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 3: gre0@NONE: mtu 1476 qdisc noop state DOWN group default qlen 1000 link/gre 0.0.0.0 brd 0.0.0.0 4: gretap0@NONE: mtu 1462 qdisc noop state DOWN group default qlen 1000 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 5: erspan0@NONE: mtu 1450 qdisc noop state DOWN group default qlen 1000 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 6: ip_vti0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 7: ip6_vti0@NONE: mtu 1332 qdisc noop state DOWN group default qlen 1000 link/tunnel6 :: brd :: permaddr daa8:bc42:d06f:: 8: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 9: ip6tnl0@NONE: mtu 1452 qdisc noop state DOWN group default qlen 1000 link/tunnel6 :: brd :: permaddr 1237:55fd:7227:: 10: ip6gre0@NONE: mtu 1448 qdisc noop state DOWN group default qlen 1000 link/gre6 :: brd :: permaddr 220d:4fb8:1d68:: 11: veth0_server@if11: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 02:c5:b4:1d:01:04 brd ff:ff:ff:ff:ff:ff link-netns route1 inet 192.168.1.1/24 scope global veth0_server valid_lft forever preferred_lft forever inet6 2001::1/64 scope global valid_lft forever preferred_lft forever inet6 fe80::c5:b4ff:fe1d:104/64 scope link valid_lft forever preferred_lft forever :: [ 23:53:03 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 23:53:04 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 5' PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=2.39 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.614 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.617 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.582 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.608 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4073ms rtt min/avg/max/mdev = 0.582/0.962/2.393/0.715 ms :: [ 23:53:08 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 23:53:08 ] :: [ BEGIN ] :: Running 'ip netns exec client ping6 2001::1 -c 5' PING 2001::1(2001::1) 56 data bytes 64 bytes from 2001::1: icmp_seq=1 ttl=62 time=4.32 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.688 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.665 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.688 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.738 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4109ms rtt min/avg/max/mdev = 0.665/1.420/4.323/1.451 ms :: [ 23:53:13 ] :: [ PASS ] :: Command 'ip netns exec client ping6 2001::1 -c 5' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 19s :: Assertions: 6 good, 0 bad :: RESULT: PASS (pmtu_env_setup_ipsec) ** pmtu-env-setup-ipsec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_pmtu_ipsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:53:21 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' PING 192.168.1.1 (192.168.1.1) 2000(2028) bytes of data. 2008 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=10.8 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 10.845/10.845/10.845/0.000 ms :: [ 23:53:21 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 23:53:21 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.788 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.788/0.788/0.788/0.000 ms :: [ 23:53:22 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 23:53:22 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 23:53:22 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 23:53:23 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. --- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms :: [ 23:53:33 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 23:53:33 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec .*mtu 1400"' cache expires 589sec mtu 1400 :: [ 23:53:34 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec .*mtu 1400"' (Expected 0, got 0) :: [ 23:53:34 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 23:53:34 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 23:53:34 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1' 192.168.1.1 via 192.168.0.254 dev veth0_client src 192.168.0.1 uid 0 cache :: [ 23:53:35 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 23:53:35 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 23:53:35 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' (Expected 1, got 1) :: [ 23:53:36 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. --- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms :: [ 23:53:46 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 23:53:46 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' cache expires 589sec mtu 1400 :: [ 23:53:47 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' (Expected 0, got 0) :: [ 23:53:47 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 23:53:48 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' (Expected 1, got 1) :: [ 23:53:49 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' PING 192.168.1.1 (192.168.1.1) 1300(1328) bytes of data. 1308 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.827 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.827/0.827/0.827/0.000 ms :: [ 23:53:49 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 23:53:49 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 23:53:49 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 23:53:50 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1' PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.590 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.590/0.590/0.590/0.000 ms :: [ 23:53:50 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 23:53:50 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 23:53:51 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 23:53:51 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=1.10 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 1.097/1.097/1.097/0.000 ms :: [ 23:53:51 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 31s :: Assertions: 16 good, 0 bad :: RESULT: PASS (basic_pmtu_ipsec) ** basic-pmtu-ipsec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: mtu_expire_ipsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:54:00 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1' PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.631 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.631/0.631/0.631/0.000 ms :: [ 23:54:00 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 23:54:00 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 23:54:00 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 23:54:02 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 23:54:02 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 23:54:03 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 23:54:04 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' net.ipv4.route.mtu_expires = 30 :: [ 23:54:04 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 23:54:05 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 23:54:05 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 23:54:05 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 23:54:05 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 23:54:06 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 23:54:06 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. --- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms :: [ 23:54:16 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 23:54:16 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' cache expires 19sec mtu 1400 :: [ 23:54:17 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' (Expected 0, got 0) :: [ 23:54:17 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 23:55:57 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 23:55:58 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 23:55:58 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' (Expected 1, got 1) :: [ 23:55:58 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 23:55:58 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 23:55:59 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.908 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.908/0.908/0.908/0.000 ms :: [ 23:55:59 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 23:55:59 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.902 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.902/0.902/0.902/0.000 ms :: [ 23:56:00 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) net.ipv4.route.mtu_expires = 30 :: [ 23:56:01 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' net.ipv4.route.mtu_expires = 600 :: [ 23:56:01 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 23:56:02 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 23:56:02 ] :: [ PASS ] :: Command 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 123s :: Assertions: 17 good, 0 bad :: RESULT: PASS (mtu_expire_ipsec) ** mtu-expire-ipsec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:56:10 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 23:56:12 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/route/pmtu :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 23:56:20 ] :: [ LOG ] :: Phases fingerprint: qYP1zJ4N :: [ 23:56:21 ] :: [ LOG ] :: Asserts fingerprint: C9q7btes Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 394s :: Phases: 9 good, 0 bad :: OVERALL RESULT: PASS (networking/route/pmtu)