/testing/guestbin/swan-prep --x509 Preparing X.509 files kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# 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. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# ipsec auto --add north-east 002 added connection description "north-east" kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# ipsec auto --up north-east 002 "north-east" #1: initiating Aggressive Mode 002 "north-east" #1: I am sending a certificate request 002 "north-east" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 110 "north-east" #1: STATE_AGGR_I1: initiate 002 "north-east" #1: Peer ID is ID_DER_ASN1_DN: 'C=CA, ST=Ontario, L=Toronto, O=Libreswan, OU=Test Department, CN=east.testing.libreswan.org, E=user-east@testing.libreswan.org' 002 "north-east" #1: certificate verified OK: E=user-east@testing.libreswan.org,CN=east.testing.libreswan.org,OU=Test Department,O=Libreswan,L=Toronto,ST=Ontario,C=CA 003 "north-east" #1: Authenticated using RSA 002 "north-east" #1: I am sending my cert 004 "north-east" #1: STATE_AGGR_I2: sent AI2, ISAKMP SA established {auth=RSA_SIG cipher=AES_CBC_128 integ=HMAC_SHA1 group=MODP2048} 002 "north-east" #2: initiating Quick Mode RSASIG+ENCRYPT+TUNNEL+PFS+UP+AGGRESSIVE+IKEV1_ALLOW+SAREF_TRACK+IKE_FRAG_ALLOW+ESN_NO {using isakmp#1 msgid:cd6b2212 proposal=AES_CBC_128-HMAC_SHA1_96 pfsgroup=MODP2048} 002 "north-east" #2: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 115 "north-east" #2: STATE_QUICK_I1: initiate 004 "north-east" #2: STATE_QUICK_I2: sent QI2, IPsec SA established tunnel mode {ESP=>0x6859a021 <0xe13413e3 xfrm=AES_CBC_128-HMAC_SHA1_96 NATOA=none NATD=none DPD=passive} kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# # change ip to a new one and restart pluto kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# # PAUL: should no longer matter! kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# ip addr del 192.1.3.33/24 dev eth1 kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# ip addr add 192.1.3.34/24 dev eth1 kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# ip route add 0.0.0.0/0 via 192.1.3.254 dev eth1 kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# killall -9 pluto kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01]# ipsec restart 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: systemctl restart ipsec.service Job for ipsec.service failed because the control process exited with error code. See "systemctl status ipsec.service" and "journalctl -xe" for details. kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-aggr-replace-01\[root@north ikev1-aggr-replace-01 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 northrun.sh 'ipsec restart' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 northrun.sh '/testing/pluto/bin/wait-until-pluto-started' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 northrun.sh '# temp while the test still fails' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 northrun.sh 'ipsec whack --impair suppress-retransmits' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 255 northrun.sh 'ipsec auto --add north-east' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 northrun.sh 'ipsec auto --up north-east' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'grep "already in use" /tmp/pluto.log' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh '# should only show 1 connection' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.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' <<<<<<<<<