use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:57:50 ] :: [ BEGIN ] :: Running 'lsmod | grep sctp || modprobe sctp' sctp 405504 8 ip6_udp_tunnel 20480 3 l2tp_core,rxrpc,sctp udp_tunnel 28672 3 l2tp_core,rxrpc,sctp :: [ 20:57:51 ] :: [ PASS ] :: Command 'lsmod | grep sctp || modprobe sctp' (Expected 0-255, got 0) :: [ 20:57:51 ] :: [ LOG ] :: items include:basic_pmtu mtu_expire :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: pmtu_env_setup_nosec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:57:52 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 20:57:52 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 20:57:52 ] :: [ BEGIN ] :: Running 'default_pmtu_setup' /proc/sys/net/ipv4/conf/all/forwarding = 1 /proc/sys/net/ipv6/conf/all/forwarding = 1 /proc/sys/net/ipv4/conf/all/forwarding = 1 /proc/sys/net/ipv6/conf/all/forwarding = 1 :: [ 20:57:53 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 20:57:53 ] :: [ 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: veth0_client@if2: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether ba:14:72:07:80:a2 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 tentative valid_lft forever preferred_lft forever inet6 fe80::b814:72ff:fe07:80a2/64 scope link tentative valid_lft forever preferred_lft forever :: [ 20:57:53 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 20:57:53 ] :: [ 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: veth0_server@if2: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 9e:90:62:f2:8b:f0 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 tentative valid_lft forever preferred_lft forever inet6 fe80::9c90:62ff:fef2:8bf0/64 scope link tentative valid_lft forever preferred_lft forever :: [ 20:57:53 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 20:57:53 ] :: [ 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=0.198 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.145 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.127 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.127 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.196 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4188ms rtt min/avg/max/mdev = 0.127/0.158/0.198/0.032 ms :: [ 20:57:57 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 20:57:57 ] :: [ 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=0.300 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.132 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.143 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.162 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.170 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4123ms rtt min/avg/max/mdev = 0.132/0.181/0.300/0.060 ms :: [ 20:58:02 ] :: [ PASS ] :: Command 'ip netns exec client ping6 2001::1 -c 5' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 10s :: 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:58:03 ] :: [ 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.143 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.143/0.143/0.143/0.000 ms :: [ 20:58:03 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 20:58:03 ] :: [ 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.096 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.096/0.096/0.096/0.000 ms :: [ 20:58:03 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 20:58:03 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 20:58:03 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 20:58:03 ] :: [ 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 :: [ 20:58:03 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 20:58:03 ] :: [ 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 :: [ 20:58:03 ] :: [ 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) :: [ 20:58:03 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 20:58:03 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 20:58:03 ] :: [ 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 :: [ 20:58:03 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 20:58:03 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 20:58:03 ] :: [ 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) :: [ 20:58:04 ] :: [ 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) :: [ 20:58:04 ] :: [ 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) :: [ 20:58:04 ] :: [ 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 :: [ 20:58:04 ] :: [ 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) :: [ 20:58:04 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 20:58:05 ] :: [ 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 :: [ 20:58:05 ] :: [ PASS ] :: File 'ping.log' should contain 'Message too long, mtu=1400' :: [ 20:58:05 ] :: [ 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.094 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.094/0.094/0.094/0.000 ms :: [ 20:58:05 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 20:58:05 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 20:58:05 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 20:58:05 ] :: [ 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.095 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.095/0.095/0.095/0.000 ms :: [ 20:58:05 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 20:58:05 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 20:58:05 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 20:58:05 ] :: [ 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.100 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.100/0.100/0.100/0.000 ms :: [ 20:58:05 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 2s :: Assertions: 17 good, 0 bad :: RESULT: PASS (basic_pmtu_nosec) ** basic-pmtu-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: mtu_expire_nosec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:58:07 ] :: [ 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.087 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.087/0.087/0.087/0.000 ms :: [ 20:58:07 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 20:58:07 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 20:58:07 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 20:58:07 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 20:58:07 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 20:58:07 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 20:58:07 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' /proc/sys/net/ipv4/route/mtu_expires = 30 :: [ 20:58:07 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 20:58:07 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 20:58:07 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 20:58:07 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 20:58:07 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 20:58:07 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 20:58:07 ] :: [ 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 :: [ 20:58:08 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 20:58:08 ] :: [ 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 :: [ 20:58:08 ] :: [ 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) :: [ 20:58:08 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 20:59:48 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 20:59:48 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 20:59:48 ] :: [ 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) :: [ 20:59:48 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 20:59:48 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 20:59:48 ] :: [ 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.116 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.116/0.116/0.116/0.000 ms :: [ 20:59:48 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 20:59:48 ] :: [ 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.103 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.103/0.103/0.103/0.000 ms :: [ 20:59:48 ] :: [ 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 :: [ 20:59:48 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' /proc/sys/net/ipv4/route/mtu_expires = 600 :: [ 20:59:48 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 20:59:48 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 20:59:49 ] :: [ PASS ] :: Command 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 103s :: Assertions: 17 good, 0 bad :: RESULT: PASS (mtu_expire_nosec) ** mtu-expire-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:59:50 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 20:59:50 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: pmtu_env_setup_ipsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 20:59:52 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 20:59:52 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 20:59:52 ] :: [ BEGIN ] :: Running 'default_pmtu_setup' /proc/sys/net/ipv4/conf/all/forwarding = 1 /proc/sys/net/ipv6/conf/all/forwarding = 1 /proc/sys/net/ipv4/conf/all/forwarding = 1 /proc/sys/net/ipv6/conf/all/forwarding = 1 :: [ 20:59:52 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 20:59:53 ] :: [ 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: veth0_client@if2: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 82:51:25:ed:dc:a5 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 tentative valid_lft forever preferred_lft forever inet6 fe80::8051:25ff:feed:dca5/64 scope link tentative valid_lft forever preferred_lft forever :: [ 20:59:53 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 20:59:53 ] :: [ 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: veth0_server@if2: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether 0a:89:08:27:6d:e2 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 tentative valid_lft forever preferred_lft forever inet6 fe80::889:8ff:fe27:6de2/64 scope link tentative valid_lft forever preferred_lft forever :: [ 20:59:53 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 20:59:53 ] :: [ 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=0.432 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.196 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.216 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.239 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.232 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4164ms rtt min/avg/max/mdev = 0.196/0.263/0.432/0.085 ms :: [ 20:59:57 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 20:59:57 ] :: [ 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=0.514 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.233 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.202 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.197 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.239 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4121ms rtt min/avg/max/mdev = 0.197/0.277/0.514/0.119 ms :: [ 21:00:01 ] :: [ PASS ] :: Command 'ip netns exec client ping6 2001::1 -c 5' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 9s :: 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 21:00:02 ] :: [ 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.238 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.238/0.238/0.238/0.000 ms :: [ 21:00:02 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 21:00:03 ] :: [ 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.162 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.162/0.162/0.162/0.000 ms :: [ 21:00:03 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 21:00:03 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 21:00:03 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 21:00:03 ] :: [ 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 :: [ 21:00:13 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 21:00:13 ] :: [ 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 :: [ 21:00:13 ] :: [ 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) :: [ 21:00:13 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 21:00:13 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 21:00:13 ] :: [ 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 :: [ 21:00:13 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 21:00:13 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 21:00:13 ] :: [ 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) :: [ 21:00:13 ] :: [ 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 :: [ 21:00:23 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 21:00:23 ] :: [ 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 :: [ 21:00:24 ] :: [ 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) :: [ 21:00:24 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 21:00:25 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' (Expected 1, got 1) :: [ 21:00:25 ] :: [ 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.165 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.165/0.165/0.165/0.000 ms :: [ 21:00:25 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 21:00:25 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 21:00:25 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 21:00:25 ] :: [ 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.150 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.150/0.150/0.150/0.000 ms :: [ 21:00:25 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 21:00:25 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 21:00:25 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 21:00: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.157 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.157/0.157/0.157/0.000 ms :: [ 21:00:25 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 23s :: Assertions: 16 good, 0 bad :: RESULT: PASS (basic_pmtu_ipsec) ** basic-pmtu-ipsec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: mtu_expire_ipsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 21:00:26 ] :: [ 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.177 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.177/0.177/0.177/0.000 ms :: [ 21:00:26 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 21:00:26 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 21:00:27 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 21:00:27 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 21:00:27 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 21:00:27 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 21:00:27 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' /proc/sys/net/ipv4/route/mtu_expires = 30 :: [ 21:00:27 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 21:00:27 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 21:00:27 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 21:00:27 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 21:00:27 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 21:00:27 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 21:00:27 ] :: [ 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 :: [ 21:00:37 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 21:00:37 ] :: [ 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 :: [ 21:00:37 ] :: [ 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) :: [ 21:00:38 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 21:02:18 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 21:02:18 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 21:02:18 ] :: [ 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) :: [ 21:02:18 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 21:02:18 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 21:02:18 ] :: [ 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.176 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.176/0.176/0.176/0.000 ms :: [ 21:02:18 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 21:02:18 ] :: [ 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.147 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.147/0.147/0.147/0.000 ms :: [ 21:02:18 ] :: [ 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 :: [ 21:02:18 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' /proc/sys/net/ipv4/route/mtu_expires = 600 :: [ 21:02:18 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 21:02:18 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 21:02:18 ] :: [ PASS ] :: Command 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 112s :: Assertions: 17 good, 0 bad :: RESULT: PASS (mtu_expire_ipsec) ** mtu-expire-ipsec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 21:02:20 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 21:02:20 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/route/pmtu :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 21:02:21 ] :: [ LOG ] :: Phases fingerprint: qYP1zJ4N :: [ 21:02:21 ] :: [ LOG ] :: Asserts fingerprint: C9q7btes Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 271s :: Phases: 9 good, 0 bad :: OVERALL RESULT: PASS (networking/route/pmtu)