use_pty:FALSE /usr/share/restraint/plugins/run_task_plugins bash ./runtest.sh :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:05:27 ] :: [ BEGIN ] :: Running 'lsmod | grep sctp || modprobe sctp' sctp 417792 8 ip6_udp_tunnel 16384 1 sctp udp_tunnel 28672 1 sctp :: [ 09:05:27 ] :: [ PASS ] :: Command 'lsmod | grep sctp || modprobe sctp' (Expected 0-255, got 0) :: [ 09:05:27 ] :: [ 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 modprobe: FATAL: Module bridge is in use. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: pmtu_env_setup_nosec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:05:27 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' modprobe: FATAL: Module bridge is in use. :: [ 09:05:27 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 09:05:27 ] :: [ 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 :: [ 09:05:27 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 09:05:27 ] :: [ 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 3e:ef:d4:49:53:3f 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::3cef:d4ff:fe49:533f/64 scope link tentative valid_lft forever preferred_lft forever :: [ 09:05:27 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 09:05:27 ] :: [ 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 fe:0f:d5:1b:21:bc 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::fc0f:d5ff:fe1b:21bc/64 scope link tentative valid_lft forever preferred_lft forever :: [ 09:05:27 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 09:05:27 ] :: [ 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.043 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.025 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.025 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.037 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.054 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4185ms rtt min/avg/max/mdev = 0.025/0.036/0.054/0.011 ms :: [ 09:05:32 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 09:05:32 ] :: [ 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.101 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.042 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.048 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.039 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.051 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4131ms rtt min/avg/max/mdev = 0.039/0.056/0.101/0.022 ms :: [ 09:05:36 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:05:36 ] :: [ 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.043 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.043/0.043/0.043/0.000 ms :: [ 09:05:36 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 09:05:36 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 1408 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.013 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.013/0.013/0.013/0.000 ms :: [ 09:05:36 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 09:05:36 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 09:05:36 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 09:05:36 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' PING 192.168.1.1 (192.168.1.1) 1400(1428) bytes of data. 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 :: [ 09:05:36 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 09:05:36 ] :: [ 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 :: [ 09:05:36 ] :: [ 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) :: [ 09:05:36 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 09:05:36 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 09:05:36 ] :: [ 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 :: [ 09:05:36 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 09:05:36 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 09:05:36 ] :: [ 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) :: [ 09:05:36 ] :: [ 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) :: [ 09:05:36 ] :: [ 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) :: [ 09:05:36 ] :: [ 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 :: [ 09:05:36 ] :: [ 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) :: [ 09:05:36 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 09:05:37 ] :: [ 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 :: [ 09:05:37 ] :: [ PASS ] :: File 'ping.log' should contain 'Message too long, mtu=1400' :: [ 09:05:37 ] :: [ 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.021 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.021/0.021/0.021/0.000 ms :: [ 09:05:37 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 09:05:37 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 09:05:37 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 09:05:37 ] :: [ 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.013 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.013/0.013/0.013/0.000 ms :: [ 09:05:37 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 09:05:37 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 09:05:37 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 09:05:38 ] :: [ 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.013 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.013/0.013/0.013/0.000 ms :: [ 09:05:38 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:05:38 ] :: [ 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.020 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.020/0.020/0.020/0.000 ms :: [ 09:05:38 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 09:05:38 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 09:05:38 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 09:05:38 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 09:05:38 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 09:05:38 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 09:05:38 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' net.ipv4.route.mtu_expires = 30 :: [ 09:05:38 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 09:05:38 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 09:05:38 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 09:05:38 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 09:05:38 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 09:05:38 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 09:05:38 ] :: [ 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 :: [ 09:05:38 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 09:05:38 ] :: [ 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 :: [ 09:05:38 ] :: [ 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) :: [ 09:05:38 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 09:07:18 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 09:07:18 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 09:07: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) :: [ 09:07:18 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 09:07:18 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 09:07: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.042 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.042/0.042/0.042/0.000 ms :: [ 09:07:18 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 09:07: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.014 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.014/0.014/0.014/0.000 ms :: [ 09:07: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 :: [ 09:07:18 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' net.ipv4.route.mtu_expires = 600 :: [ 09:07:18 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 09:07:18 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 09:07:18 ] :: [ PASS ] :: Command 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 100s :: Assertions: 17 good, 0 bad :: RESULT: PASS (mtu_expire_nosec) ** mtu-expire-nosec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:07:19 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' modprobe: FATAL: Module bridge is in use. :: [ 09:07:19 ] :: [ 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 modprobe: FATAL: Module bridge is in use. modprobe: FATAL: Module bridge is in use. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: pmtu_env_setup_ipsec :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:07:19 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' modprobe: FATAL: Module bridge is in use. :: [ 09:07:19 ] :: [ PASS ] :: Command 'default_pmtu_cleanup' (Expected 0-255, got 0) :: [ 09:07:19 ] :: [ 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 :: [ 09:07:20 ] :: [ PASS ] :: Command 'default_pmtu_setup' (Expected 0, got 0) :: [ 09:07:20 ] :: [ 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 86:27:ca:c8:86:4f 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::8427:caff:fec8:864f/64 scope link tentative valid_lft forever preferred_lft forever :: [ 09:07:20 ] :: [ PASS ] :: Command 'ip netns exec client ip addr sh' (Expected 0, got 0) :: [ 09:07:20 ] :: [ 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 4a:06:87:ee:26: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::4806:87ff:feee:26e2/64 scope link tentative valid_lft forever preferred_lft forever :: [ 09:07:20 ] :: [ PASS ] :: Command 'ip netns exec server ip addr sh' (Expected 0, got 0) :: [ 09:07:20 ] :: [ 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.058 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=62 time=0.065 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=62 time=0.080 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=62 time=0.057 ms 64 bytes from 192.168.1.1: icmp_seq=5 ttl=62 time=0.059 ms --- 192.168.1.1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4193ms rtt min/avg/max/mdev = 0.057/0.063/0.080/0.008 ms :: [ 09:07:24 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 5' (Expected 0, got 0) :: [ 09:07:24 ] :: [ 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.137 ms 64 bytes from 2001::1: icmp_seq=2 ttl=62 time=0.098 ms 64 bytes from 2001::1: icmp_seq=3 ttl=62 time=0.085 ms 64 bytes from 2001::1: icmp_seq=4 ttl=62 time=0.058 ms 64 bytes from 2001::1: icmp_seq=5 ttl=62 time=0.063 ms --- 2001::1 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4130ms rtt min/avg/max/mdev = 0.058/0.088/0.137/0.028 ms :: [ 09:07:28 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:07:28 ] :: [ 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.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 :: [ 09:07:28 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 2000' (Expected 0, got 0) :: [ 09:07:28 ] :: [ 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.028 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.028/0.028/0.028/0.000 ms :: [ 09:07:28 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 0, got 0) :: [ 09:07:28 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 09:07:28 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) :: [ 09:07:28 ] :: [ 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 :: [ 09:07:38 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 09:07:38 ] :: [ 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 :: [ 09:07:38 ] :: [ 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) :: [ 09:07:38 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 09:07:38 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 09:07:38 ] :: [ 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 :: [ 09:07:38 ] :: [ PASS ] :: Command 'ip netns exec client ip route get 192.168.1.1' (Expected 0, got 0) :: [ 09:07:38 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 09:07:38 ] :: [ 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) :: [ 09:07:38 ] :: [ 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 :: [ 09:07:48 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 09:07:49 ] :: [ 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 :: [ 09:07: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) :: [ 09:07:49 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' :: [ 09:07:50 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do &>ping.log' (Expected 1, got 1) :: [ 09:07:50 ] :: [ 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.078 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.078/0.078/0.078/0.000 ms :: [ 09:07:50 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1300 -M do' (Expected 0, got 0) :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route flush cache' :: [ 09:07:50 ] :: [ PASS ] :: Command 'ip netns exec client ip route flush cache' (Expected 0, got 0) :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1' PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.041 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.041/0.041/0.041/0.000 ms :: [ 09:07:50 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 09:07:50 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 09:07:50 ] :: [ 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.028 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.028/0.028/0.028/0.000 ms :: [ 09:07:50 ] :: [ 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 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'ip netns exec client ping 192.168.1.1 -c 1' PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=62 time=0.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 :: [ 09:07:50 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1' (Expected 0, got 0) :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1400' :: [ 09:07:50 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1400' (Expected 0, got 0) net.ipv4.route.mtu_expires = 600 :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'default_mtu_expire=600' :: [ 09:07:50 ] :: [ PASS ] :: Command 'default_mtu_expire=600' (Expected 0, got 0) :: [ 09:07:50 ] :: [ PASS ] :: default ipv4 mtu expire:600 should equal 600 (Assert: '600' should equal '600') net.ipv4.route.mtu_expires = 600 :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' net.ipv4.route.mtu_expires = 30 :: [ 09:07:50 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=30' (Expected 0, got 0) :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'default_mtu_expire=30' :: [ 09:07:50 ] :: [ PASS ] :: Command 'default_mtu_expire=30' (Expected 0, got 0) :: [ 09:07:50 ] :: [ BEGIN ] :: Running 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 09:07:50 ] :: [ PASS ] :: Command 'echo 30 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :: [ 09:07:50 ] :: [ PASS ] :: ipv4 mtu expire:30 become 30 (Assert: '30' should equal '30') :: [ 09:07:50 ] :: [ 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 :: [ 09:08:00 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M do' (Expected 1, got 1) :: [ 09:08:00 ] :: [ 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 :: [ 09:08:00 ] :: [ 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) :: [ 09:08:00 ] :: [ BEGIN ] :: Running 'sleep 100' :: [ 09:09:40 ] :: [ PASS ] :: Command 'sleep 100' (Expected 0, got 0) :: [ 09:09:40 ] :: [ BEGIN ] :: Running 'ip netns exec client ip route get 192.168.1.1 | grep -E "expires [0-9]*sec mtu 1400"' :: [ 09:09:40 ] :: [ 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) :: [ 09:09:40 ] :: [ BEGIN ] :: Running 'ip netns exec route0 ip link set veth0_route0 mtu 1500' :: [ 09:09:40 ] :: [ PASS ] :: Command 'ip netns exec route0 ip link set veth0_route0 mtu 1500' (Expected 0, got 0) :: [ 09:09:40 ] :: [ 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.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 :: [ 09:09:40 ] :: [ PASS ] :: Command 'ip netns exec client ping 192.168.1.1 -c 1 -s 1400 -M dont' (Expected 0, got 0) :: [ 09:09:40 ] :: [ 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.029 ms --- 192.168.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.029/0.029/0.029/0.000 ms :: [ 09:09:40 ] :: [ 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 :: [ 09:09:40 ] :: [ BEGIN ] :: Running 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' net.ipv4.route.mtu_expires = 600 :: [ 09:09:40 ] :: [ PASS ] :: Command 'ip netns exec client sysctl -w net.ipv4.route.mtu_expires=600' (Expected 0, got 0) :: [ 09:09:40 ] :: [ BEGIN ] :: Running 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' :: [ 09:09:40 ] :: [ PASS ] :: Command 'echo 60 > /proc/sys/net/ipv4/route/gc_timeout' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 110s :: Assertions: 17 good, 0 bad :: RESULT: PASS (mtu_expire_ipsec) ** mtu-expire-ipsec PASS Score:0 Uploading resultoutputfile.log .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:09:41 ] :: [ BEGIN ] :: Running 'default_pmtu_cleanup' modprobe: FATAL: Module bridge is in use. :: [ 09:09:41 ] :: [ 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 modprobe: FATAL: Module bridge is in use. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: networking/route/pmtu :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 09:09:41 ] :: [ LOG ] :: Phases fingerprint: qYP1zJ4N :: [ 09:09:41 ] :: [ LOG ] :: Asserts fingerprint: C9q7btes Uploading journal.xml .done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 254s :: Phases: 9 good, 0 bad :: OVERALL RESULT: PASS (networking/route/pmtu)