/testing/guestbin/swan-prep --x509
Preparing X.509 files
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]# certutil -D -n east -d sql:/etc/ipsec.d
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]# cp policies/* /etc/ipsec.d/policies/
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]# echo "192.1.2.0/24" >> /etc/ipsec.d/policies/private-or-clear
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]# 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.
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.
Starting pluto IKE daemon for IPsec: 
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]# /testing/pluto/bin/wait-until-pluto-started
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]# # give OE policies time to load
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]# sleep 5
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]# echo "initdone"
initdone
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]# ipsec whack --oppohere 192.1.2.45 --oppothere 192.1.2.23
whack: is Pluto running?  connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused)
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 westrun.sh 'ipsec whack --oppohere 192.1.2.45 --oppothere 192.1.2.23' <<<<<<<<<<tuc<<<<<<<<<<ping -n -c 4 192.1.2.23
PING 192.1.2.23 (192.1.2.23) 56(84) bytes of data.

--- 192.1.2.23 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 77ms

kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'ping -n -c 4 192.1.2.23' <<<<<<<<<<tuc<<<<<<<<<<# should show traffic
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh '# should show traffic' <<<<<<<<<<tuc<<<<<<<<<<ipsec whack --trafficstatus
whack: is Pluto running?  connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused)
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 westrun.sh 'ipsec whack --trafficstatus' <<<<<<<<<<tuc<<<<<<<<<<echo done
done
kroot@swantest:/home/build/libreswan/testing/pluto/certoe-01-whack\[root@west certoe-01-whack]#