/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# cp policies/* /etc/ipsec.d/policies/ kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# echo "192.1.2.0/24" >> /etc/ipsec.d/policies/private-or-clear kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# 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. 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. 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-21-liveness-clear\[root@road newoe-21-liveness-clear]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# # ensure for tests acquires expire before our failureshunt=2m kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# echo 30 > /proc/sys/net/core/xfrm_acq_expires kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# # give OE policies time to load kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# ip -s xfrm monitor > /tmp/xfrm-monitor.out & [1] 9642 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# ping -n -c 1 -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. --- 192.1.2.23 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms [1]+ Terminated ip -s xfrm monitor > /tmp/xfrm-monitor.out kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh 'ping -n -c 1 -I 192.1.3.209 192.1.2.23' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh '# wait on OE retransmits and rekeying' <<<<<<<<<ev) (in free_signal_handlers() at server.c:624) /etc/init.d/ipsec: line 120: 7733 Aborted (core dumped) ${IPSEC_EXECDIR}/pluto --config ${IPSEC_CONF} ${PLUTO_OPTIONS} kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# /testing/pluto/bin/wait-until-pluto-started whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh '/testing/pluto/bin/wait-until-pluto-started' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --shuntstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh '# ensure for tests acquires expire before our failureshunt=2m' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh '# ping should succeed through tunnel' <<<<<<<<< /dev/null 2> /dev/null kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# cp /tmp/xfrm-monitor.out OUTPUT/road.xfrm-monitor.txt kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# echo done done kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# 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-21-liveness-clear\[root@road newoe-21-liveness-clear 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec whack --shuntstatus' <<<<<<<<< /dev/null || grep -A 1 "has not responded in" /tmp/pluto.log kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'hostname |grep west > /dev/null || grep -A 1 "has not responded in" /tmp/pluto.log' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh '# A tunnel should have established' <<<<<<<<< [192.1.2.23-192.1.2.23:0-65535 0] kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear]# ipsec auto --status whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/newoe-21-liveness-clear\[root@road newoe-21-liveness-clear 33]# >>>>>>>>>>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' <<<<<<<<<