use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:53:33 ] :: [ BEGIN ] :: Running 'lsmod | grep sctp || modprobe sctp' sctp 405504 8 ip6_udp_tunnel 20480 2 rxrpc,sctp udp_tunnel 28672 2 rxrpc,sctp :: [ 11:53:33 ] :: [ PASS ] :: Command 'lsmod | grep sctp || modprobe sctp' (Expected 0-255, got 0) :: [ 11:53:33 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:53:34 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 11:53:34 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 11:53:34 ] :: [ 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 :: [ 11:53:35 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 11:53:35 ] :: [ 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 02:ae:c7:ca:41:c0 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::ae:c7ff:feca:41c0/64 scope link tentative valid_lft forever preferred_lft forever :: [ 11:53:35 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 11:53:35 ] :: [ 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 4e:b5:b0:13:fd:cd 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::4cb5:b0ff:fe13:fdcd/64 scope link tentative valid_lft forever preferred_lft forever :: [ 11:53:35 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 11:53:35 ] :: [ 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.197 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.091 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.058 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.093 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.092 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4191ms rtt min/avg/max/mdev = 0.058/0.106/0.197/0.047 ms :: [ 11:53:39 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 11:53:39 ] :: [ 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.288 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.083 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.091 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.081 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.071 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4134ms rtt min/avg/max/mdev = 0.071/0.122/0.288/0.082 ms :: [ 11:53:43 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:53:44 ] :: [ 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.120 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.120/0.120/0.120/0.000 ms :: [ 11:53:44 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 11:53:44 ] :: [ 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.063 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.063/0.063/0.063/0.000 ms :: [ 11:53:45 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 11:53:45 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 11:53:45 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 11:53:45 ] :: [ 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 :: [ 11:53:45 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 11:53:45 ] :: [ 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 :: [ 11:53:45 ] :: [ 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) :: [ 11:53:45 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 11:53:45 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 11:53:45 ] :: [ 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 :: [ 11:53:45 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 11:53:45 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 11:53:45 ] :: [ 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) :: [ 11:53:45 ] :: [ 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) :: [ 11:53:45 ] :: [ 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) :: [ 11:53:45 ] :: [ 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 :: [ 11:53:45 ] :: [ 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) :: [ 11:53:45 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 11:53:47 ] :: [ 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 :: [ 11:53:47 ] :: [ PASS ] :: File 'ping.log' should contain 'Message too long, mtu=1400' :: [ 11:53:47 ] :: [ 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.064 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.064/0.064/0.064/0.000 ms :: [ 11:53:47 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 11:53:47 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 11:53:47 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 11:53:47 ] :: [ 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.062 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.062/0.062/0.062/0.000 ms :: [ 11:53:47 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 11:53:47 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 11:53:47 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 11:53: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.086 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.086/0.086/0.086/0.000 ms :: [ 11:53:47 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 3s :: Assertions: 17 good, 0 bad :: RESULT: PASS (basic_pmtu_nosec) ** basic-pmtu-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: mtu_expire_nosec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:53:48 ] :: [ 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.084 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.084/0.084/0.084/0.000 ms :: [ 11:53:48 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 11:53:48 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 11:53:48 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 11:53:49 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 11:53:49 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 11:53:49 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 11:53:49 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' /proc/sys/net/ipv4/route/mtu_expires = 30 :: [ 11:53:49 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 11:53:49 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 11:53:49 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 11:53:49 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 11:53:49 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 11:53:49 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 11:53: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 :: [ 11:53:49 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 11:53:49 ] :: [ 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 :: [ 11:53:49 ] :: [ 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) :: [ 11:53:49 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 11:55:29 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 11:55:29 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 11:55:30 ] :: [ 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) :: [ 11:55:30 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 11:55:30 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 11:55:30 ] :: [ 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.179 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.179/0.179/0.179/0.000 ms :: [ 11:55:30 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 11:55:30 ] :: [ 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.063 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.063/0.063/0.063/0.000 ms :: [ 11:55:30 ] :: [ 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 :: [ 11:55:30 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' /proc/sys/net/ipv4/route/mtu_expires = 600 :: [ 11:55:30 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 11:55:30 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 11:55:30 ] :: [ PASS ] :: Command 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 102s :: Assertions: 17 good, 0 bad :: RESULT: PASS (mtu_expire_nosec) ** mtu-expire-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:55:32 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 11:55:32 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: pmtu_env_setup_ipsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:55:33 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 11:55:33 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 11:55:33 ] :: [ 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 :: [ 11:55:34 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 11:55:34 ] :: [ 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 5a:d6:e6:69:a6:ae 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::58d6:e6ff:fe69:a6ae/64 scope link tentative valid_lft forever preferred_lft forever :: [ 11:55:34 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 11:55:34 ] :: [ 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 e6:11:2c:06:a5:07 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::e411:2cff:fe06:a507/64 scope link tentative valid_lft forever preferred_lft forever :: [ 11:55:34 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 11:55:34 ] :: [ 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.317 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.143 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.099 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.113 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.120 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4183ms rtt min/avg/max/mdev = 0.099/0.158/0.317/0.080 ms :: [ 11:55:39 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 11:55:39 ] :: [ 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.316 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.156 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.114 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.108 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.105 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4200ms rtt min/avg/max/mdev = 0.105/0.159/0.316/0.080 ms :: [ 11:55:43 ] :: [ 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_ipsec) ** pmtu-env-setup-ipsec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: basic_pmtu_ipsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:55:44 ] :: [ 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.283 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.283/0.283/0.283/0.000 ms :: [ 11:55:44 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 11:55:44 ] :: [ 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.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 :: [ 11:55:44 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 11:55:44 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 11:55:44 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 11:55:44 ] :: [ 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 :: [ 11:55:54 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 11:55:55 ] :: [ 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 :: [ 11:55:55 ] :: [ 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) :: [ 11:55:55 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 11:55:55 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 11:55:55 ] :: [ 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 :: [ 11:55:55 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 11:55:55 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 11:55:55 ] :: [ 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) :: [ 11:55:55 ] :: [ 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 :: [ 11:56:05 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 11:56:05 ] :: [ 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 :: [ 11:56:05 ] :: [ 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) :: [ 11:56:05 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 11:56:06 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' (Expected 1, got 1) :: [ 11:56:06 ] :: [ 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.159 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.159/0.159/0.159/0.000 ms :: [ 11:56:06 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 11:56:06 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 11:56:06 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 11:56: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.127 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.127/0.127/0.127/0.000 ms :: [ 11:56:07 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 11:56:07 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 11:56:07 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 11:56: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. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.110 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.110/0.110/0.110/0.000 ms :: [ 11:56:07 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:56:08 ] :: [ 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.152 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.152/0.152/0.152/0.000 ms :: [ 11:56:08 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 11:56:08 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 11:56:08 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 11:56:08 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 11:56:08 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 11:56:08 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 11:56:08 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' /proc/sys/net/ipv4/route/mtu_expires = 30 :: [ 11:56:08 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 11:56:09 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 11:56:09 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 11:56:09 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 11:56:09 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 11:56:09 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 11:56: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. --- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms :: [ 11:56:19 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 11:56:19 ] :: [ 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 :: [ 11:56:19 ] :: [ 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) :: [ 11:56:19 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 11:57:59 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 11:57:59 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 11:57:59 ] :: [ 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) :: [ 11:57:59 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 11:57:59 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 11:57: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.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 :: [ 11:57:59 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 11:57: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.106 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.106/0.106/0.106/0.000 ms :: [ 11:57:59 ] :: [ 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 :: [ 11:58:00 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' /proc/sys/net/ipv4/route/mtu_expires = 600 :: [ 11:58:00 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 11:58:00 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 11:58:00 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:58:01 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' :: [ 11:58:01 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 11:58:02 ] :: [ LOG ] :: Phases fingerprint: qYP1zJ4N :: [ 11:58:02 ] :: [ LOG ] :: Asserts fingerprint: C9q7btes Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 270s :: Phases: 9 good, 0 bad :: OVERALL RESULT: PASS (networking/route/pmtu)