/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. 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] 30950 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.088 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.089 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.080 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 97ms rtt min/avg/max/mdev = 0.080/0.085/0.089/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.072 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.093 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.076 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.127 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 65ms rtt min/avg/max/mdev = 0.072/0.092/0.127/0.021 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.072 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.066 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.075 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.101 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 111ms rtt min/avg/max/mdev = 0.066/0.078/0.101/0.016 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.067 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.077 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.065 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.084 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 105ms rtt min/avg/max/mdev = 0.065/0.073/0.084/0.009 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.101 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.066 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.088 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 98ms rtt min/avg/max/mdev = 0.066/0.087/0.101/0.014 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; ipsec whack --trafficstatus 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 whack --shuntstatus killall ip > /dev/null 2> /dev/null 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]# 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]# >>>>>>>>>>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' <<<<<<<<<