/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. Redirecting to: /etc/init.d/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. Starting pluto IKE daemon for IPsec: 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] 16144 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.083 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.168 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.074 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 104ms rtt min/avg/max/mdev = 0.074/0.108/0.168/0.043 ms [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]# # 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 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.085 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.112 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.094 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.342 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 75ms rtt min/avg/max/mdev = 0.085/0.158/0.342/0.106 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.068 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.243 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.218 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.217 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 56ms rtt min/avg/max/mdev = 0.068/0.186/0.243/0.070 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.090 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.473 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.108 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 105ms rtt min/avg/max/mdev = 0.083/0.188/0.473/0.165 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.106 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.090 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.082 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.109 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 97ms rtt min/avg/max/mdev = 0.082/0.096/0.109/0.016 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 1 final.sh '../../pluto/bin/ipsec-look.sh' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh '../bin/check-for-core.sh' <<<<<<<<<