use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:25:40 ] :: [ BEGIN ] :: Running 'lsmod | grep sctp || modprobe sctp' sctp 655360 8 ip6_udp_tunnel 262144 3 l2tp_core,rxrpc,sctp udp_tunnel 262144 3 l2tp_core,rxrpc,sctp :: [ 07:25:40 ] :: [ PASS ] :: Command 'lsmod | grep sctp || modprobe sctp' (Expected 0-255, got 0) :: [ 07:25:40 ] :: [ LOG ] :: items include:basic_pmtu mtu_expire :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Setup) ** Setup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: pmtu_env_setup_nosec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:25:41 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 07:25:41 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 07:25:41 ] :: [ 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 :: [ 07:25:42 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 07:25:42 ] :: [ 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 e2:23:ed:98:cf:7e 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::e023:edff:fe98:cf7e/64 scope link tentative valid_lft forever preferred_lft forever :: [ 07:25:42 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 07:25:42 ] :: [ 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:03:43:63:ad:60 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::803:43ff:fe63:ad60/64 scope link tentative valid_lft forever preferred_lft forever :: [ 07:25:42 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 07:25:42 ] :: [ 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.075 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.156 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.035 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.025 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4126ms rtt min/avg/max/mdev = 0.025/0.083/0.156/0.050 ms :: [ 07:25:46 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:25:46 ] :: [ 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.114 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.122 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.112 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.024 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.022 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4188ms rtt min/avg/max/mdev = 0.022/0.078/0.122/0.045 ms :: [ 07:25:50 ] :: [ 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_nosec) ** pmtu-env-setup-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_pmtu_nosec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:25:51 ] :: [ 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.057 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.057/0.057/0.057/0.000 ms :: [ 07:25:51 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 07:25: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=0.031 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.031/0.031/0.031/0.000 ms :: [ 07:25:51 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 07:25:51 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 07:25:51 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 07:25: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. 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 :: [ 07:25:51 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 07:25:51 ] :: [ 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 :: [ 07:25:51 ] :: [ 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) :: [ 07:25:51 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 07:25:51 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 07:25:51 ] :: [ 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 :: [ 07:25:51 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 07:25:51 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 07:25:51 ] :: [ 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) :: [ 07:25:51 ] :: [ 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) :: [ 07:25:51 ] :: [ 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) :: [ 07:25:51 ] :: [ 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 :: [ 07:25:51 ] :: [ 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) :: [ 07:25:51 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 07:25:52 ] :: [ 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 :: [ 07:25:53 ] :: [ PASS ] :: File 'ping.log' should contain 'Message too long, mtu=1400' :: [ 07:25:53 ] :: [ 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.039 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.039/0.039/0.039/0.000 ms :: [ 07:25:53 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 07:25:53 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 07:25:53 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 07:25:53 ] :: [ 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.038 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.038/0.038/0.038/0.000 ms :: [ 07:25:53 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 07:25:53 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 07:25:53 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 07:25:53 ] :: [ 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.038 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.038/0.038/0.038/0.000 ms :: [ 07:25:53 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:25:54 ] :: [ 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.039 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.039/0.039/0.039/0.000 ms :: [ 07:25:54 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 07:25:54 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 07:25:54 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 07:25:54 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 07:25:54 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 07:25:54 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 07:25:54 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' net.ipv4.route.mtu_expires = 30 :: [ 07:25:54 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 07:25:54 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 07:25:54 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 07:25:54 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 07:25:54 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 07:25:54 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 07:25:54 ] :: [ 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 :: [ 07:25:54 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 07:25:54 ] :: [ 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 :: [ 07:25:54 ] :: [ 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) :: [ 07:25:54 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 07:27:34 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 07:27:34 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 07:27:34 ] :: [ 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) :: [ 07:27:34 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 07:27:34 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 07:27:34 ] :: [ 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.046 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.046/0.046/0.046/0.000 ms :: [ 07:27:34 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 07:27:34 ] :: [ 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.044 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.044/0.044/0.044/0.000 ms :: [ 07:27:35 ] :: [ 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 :: [ 07:27:35 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' net.ipv4.route.mtu_expires = 600 :: [ 07:27:35 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 07:27:35 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 07:27:35 ] :: [ PASS ] :: Command 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 101s :: Assertions: 17 good, 0 bad :: RESULT: PASS (mtu_expire_nosec) ** mtu-expire-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:27:36 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 07:27:36 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:27:37 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 07:27:37 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 07:27:37 ] :: [ 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 :: [ 07:27:38 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 07:27:38 ] :: [ 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 e6:0c:ee:4b:fa:5b 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::e40c:eeff:fe4b:fa5b/64 scope link tentative valid_lft forever preferred_lft forever :: [ 07:27:38 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 07:27:38 ] :: [ 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 46:de:53:b4:d0:a7 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::44de:53ff:feb4:d0a7/64 scope link tentative valid_lft forever preferred_lft forever :: [ 07:27:38 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 07:27:38 ] :: [ 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.103 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.069 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.074 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.133 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.083 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4124ms rtt min/avg/max/mdev = 0.069/0.092/0.133/0.023 ms :: [ 07:27:42 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 07:27:42 ] :: [ 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.162 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.150 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.112 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.092 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.130 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4191ms rtt min/avg/max/mdev = 0.092/0.129/0.162/0.025 ms :: [ 07:27:46 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:27:47 ] :: [ 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.126 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.126/0.126/0.126/0.000 ms :: [ 07:27:47 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 07:27:47 ] :: [ 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.077 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.077/0.077/0.077/0.000 ms :: [ 07:27:47 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 07:27:47 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 07:27:47 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 07:27:47 ] :: [ 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 :: [ 07:27:57 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 07:27:57 ] :: [ 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 :: [ 07:27:57 ] :: [ 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) :: [ 07:27:57 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 07:27:57 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 07:27:57 ] :: [ 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 :: [ 07:27:57 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 07:27:57 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 07:27:57 ] :: [ 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) :: [ 07:27:57 ] :: [ 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 :: [ 07:28:07 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 07:28:07 ] :: [ 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 :: [ 07:28:07 ] :: [ 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) :: [ 07:28:07 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 07:28:08 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' (Expected 1, got 1) :: [ 07:28:09 ] :: [ 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.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 :: [ 07:28:09 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 07:28:09 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 07:28:09 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 07:28:09 ] :: [ 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.070 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.070/0.070/0.070/0.000 ms :: [ 07:28:09 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 07:28:09 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 07:28:09 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 07:28:09 ] :: [ 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.092 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.092/0.092/0.092/0.000 ms :: [ 07:28:09 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 22s :: Assertions: 16 good, 0 bad :: RESULT: PASS (basic_pmtu_ipsec) ** basic-pmtu-ipsec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: mtu_expire_ipsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:28:10 ] :: [ 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.071 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.071/0.071/0.071/0.000 ms :: [ 07:28:10 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 07:28:10 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 07:28:10 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 07:28:10 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 07:28:10 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 07:28:10 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 07:28:10 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' net.ipv4.route.mtu_expires = 30 :: [ 07:28:10 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 07:28:10 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 07:28:10 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 07:28:10 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 07:28:10 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 07:28:10 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 07:28:10 ] :: [ 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 :: [ 07:28:20 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 07:28:20 ] :: [ 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 :: [ 07:28:20 ] :: [ 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) :: [ 07:28:20 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 07:30:00 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 07:30:00 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 07:30:00 ] :: [ 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) :: [ 07:30:00 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 07:30:00 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 07:30:00 ] :: [ 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.105 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.105/0.105/0.105/0.000 ms :: [ 07:30:00 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 07:30:00 ] :: [ 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.076 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.076/0.076/0.076/0.000 ms :: [ 07:30: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 :: [ 07:30:00 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' net.ipv4.route.mtu_expires = 600 :: [ 07:30:00 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 07:30:00 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 07:30:01 ] :: [ PASS ] :: Command 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 111s :: Assertions: 17 good, 0 bad :: RESULT: PASS (mtu_expire_ipsec) ** mtu-expire-ipsec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:30:02 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 07:30:02 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS (Cleanup) ** Cleanup PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/route/pmtu :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:30:03 ] :: [ LOG ] :: Phases fingerprint: qYP1zJ4N :: [ 07:30:03 ] :: [ LOG ] :: Asserts fingerprint: C9q7btes Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 263s :: Phases: 9 good, 0 bad :: OVERALL RESULT: PASS (networking/route/pmtu)