/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# cp policies/* /etc/ipsec.d/policies/ kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# echo "192.1.2.0/24" >> /etc/ipsec.d/policies/private-or-clear kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# 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-18-poc-poc\[root@road newoe-18-poc-poc]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# # ensure for tests acquires expire before our failureshunt=2m kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# echo 30 > /proc/sys/net/core/xfrm_acq_expires kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# # give OE policies time to load kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# sleep 5 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# ip -s xfrm monitor > /tmp/xfrm-monitor.out & [1] 1863 kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# 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-18-poc-poc\[root@road newoe-18-poc-poc 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' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --shuntstatus' <<<<<<<<< /dev/null 2> /dev/null kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# cp /tmp/xfrm-monitor.out OUTPUT/road.xfrm-monitor.txt kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# # ping should succeed through tunnel kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# ping -n -c 2 -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.088 ms 64 bytes from 192.1.2.23: icmp_seq=2 ttl=64 time=0.193 ms --- 192.1.2.23 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 45ms rtt min/avg/max/mdev = 0.088/0.140/0.193/0.053 ms kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# 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-18-poc-poc\[root@road newoe-18-poc-poc 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 roadrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 roadrun.sh 'ipsec status | grep "SAs: total"' <<<<<<<<< [192.1.2.23-192.1.2.23:0-65535 0] kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# # check for proper state counting kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc]# hostname | grep east && ipsec status | grep "SAs: total" kroot@swantest:/home/build/libreswan/testing/pluto/newoe-18-poc-poc\[root@road newoe-18-poc-poc 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'hostname | grep east && ipsec status | grep "SAs: total"' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --delete private-or-clear' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'ipsec status | grep "SAs: total"' <<<<<<<<<>>>>>>>>>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' <<<<<<<<<