/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# cp policies/* /etc/ipsec.d/policies/ kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# 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. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# # ensure for tests acquires expire before our failureshunt=2m kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# echo 30 > /proc/sys/net/core/xfrm_acq_expires kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# # give OE policies time to load kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# 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.135 ms 64 bytes from 192.1.2.23: icmp_seq=3 ttl=64 time=0.100 ms 64 bytes from 192.1.2.23: icmp_seq=4 ttl=64 time=0.124 ms --- 192.1.2.23 ping statistics --- 4 packets transmitted, 3 received, 25% packet loss, time 90ms rtt min/avg/max/mdev = 0.100/0.119/0.135/0.019 ms kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# ipsec whack --trafficstatus 006 #2: "private-or-clear#192.1.2.0/24"[1] ...192.1.2.23, type=ESP, add_time=0, inBytes=252, outBytes=252, id='ID_NULL' kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# ipsec whack --shuntstatus 000 Bare Shunt list: 000 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# # wait for IKE SA to expire due to inactivity. kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# sleep 60 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# sleep 60 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# sleep 50 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# # expired #1 and #2. trafficstatus should be empty kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike]# ipsec whack --trafficstatus whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/newoe-10-expire-inactive-ike\[root@road newoe-10-expire-inactive-ike 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh 'ping -n -c 4 -I 192.1.3.209 192.1.2.23' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<