/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# cp policies/* /etc/ipsec.d/policies/ kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# ipsec start Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Error: Peer netns reference is invalid. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# # ensure for tests acquires expire before our failureshunt=2m kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# echo 30 > /proc/sys/net/core/xfrm_acq_expires kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# # give OE policies time to load kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# ip -s xfrm monitor > /tmp/xfrm-monitor.out & [1] 27728 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# ping -n -c 4 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.079 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.091 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.064 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 70ms rtt min/avg/max/mdev = 0.064/0.078/0.091/0.011 ms kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# # wait on OE retransmits and rekeying kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# sleep 20 [1]+ Terminated ip -s xfrm monitor > /tmp/xfrm-monitor.out kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# ping -n -c 4 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. 64 bytes from 192.1.2.23: icmp_seq=1 ttl=64 time=0.078 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.083 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.081 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.089 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 75ms rtt min/avg/max/mdev = 0.078/0.082/0.089/0.011 ms kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# ipsec status | grep "STATE_" 000 #1: "private-or-clear#192.1.2.0/24"[1] ...192.1.2.23:500 STATE_PARENT_I3 (PARENT SA established); EVENT_SA_REKEY in 44s; newest ISAKMP; idle; 000 #2: "private-or-clear#192.1.2.0/24"[1] ...192.1.2.23:500 STATE_V2_IPSEC_I (IPsec SA established); EVENT_SA_REKEY in 28759s; newest IPSEC; eroute owner; isakmp#1; idle; kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# sleep 20 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# ping -n -c 4 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. 64 bytes from 192.1.2.23: icmp_seq=1 ttl=64 time=0.094 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.079 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.217 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.087 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 94ms rtt min/avg/max/mdev = 0.079/0.119/0.217/0.057 ms kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# sleep 20 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# ping -n -c 4 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. 64 bytes from 192.1.2.23: icmp_seq=1 ttl=64 time=0.087 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.094 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.132 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.113 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 96ms rtt min/avg/max/mdev = 0.087/0.106/0.132/0.020 ms kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# sleep 20 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# ping -n -c 4 -I 192.1.3.209 192.1.2.23 PING 192.1.2.23 (192.1.2.23) from 192.1.3.209 : 56(84) bytes of data. 64 bytes from 192.1.2.23: icmp_seq=1 ttl=64 time=0.066 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.104 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.088 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.095 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 103ms rtt min/avg/max/mdev = 0.066/0.088/0.104/0.015 ms kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# #parent state must be #3 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# grep "STATE_" OUTPUT/road.console.verbose.txt kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# ipsec status | grep "STATE_" 000 #1: "private-or-clear#192.1.2.0/24"[1] ...192.1.2.23:500 STATE_PARENT_I3 (PARENT SA established); EVENT_SA_REKEY in 44s; newest ISAKMP; idle; 000 #2: "private-or-clear#192.1.2.0/24"[1] ...192.1.2.23:500 STATE_V2_IPSEC_I (IPsec SA established); EVENT_SA_REKEY in 28759s; newest IPSEC; eroute owner; isakmp#1; idle; kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# grep "STATE_" OUTPUT/road.console.verbose.txt ipsec whack --trafficstatus ipsec whack --shuntstatus kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator]# whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/newoe-07-ike-replace-initiator\[root@road newoe-07-ike-replace-initiator 33]# killall ip > /dev/null 2> /dev/null >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'killall ip > /dev/null 2> /dev/null' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'echo done' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh '../bin/check-for-core.sh' <<<<<<<<<