/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# rm /etc/ipsec.d/*db kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# ipsec initnss > /dev/null 2> /dev/null kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# 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. 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/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# ipsec whack --impair revival kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# ipsec auto --add westnet-eastnet 002 added connection description "westnet-eastnet" kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# # this is expected to fail to our own misconfigured key kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# ipsec auto --up westnet-eastnet 002 "westnet-eastnet" #1: initiating Main Mode 002 "westnet-eastnet" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 102 "westnet-eastnet" #1: STATE_MAIN_I1: initiate 002 "westnet-eastnet" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 104 "westnet-eastnet" #1: STATE_MAIN_I2: sent MI2, expecting MR2 003 "westnet-eastnet" #1: Can't find the certificate or private key from the NSS CKA_ID 003 "westnet-eastnet" #1: unable to locate my private key for RSA Signature 224 "westnet-eastnet" #1: STATE_MAIN_I2: AUTHENTICATION_FAILED 002 "westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500 003 "westnet-eastnet" #1: Can't find the certificate or private key from the NSS CKA_ID 003 "westnet-eastnet" #1: unable to locate my private key for RSA Signature 224 "westnet-eastnet" #1: STATE_MAIN_I2: AUTHENTICATION_FAILED 002 "westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500 003 "westnet-eastnet" #1: Can't find the certificate or private key from the NSS CKA_ID 003 "westnet-eastnet" #1: unable to locate my private key for RSA Signature 224 "westnet-eastnet" #1: STATE_MAIN_I2: AUTHENTICATION_FAILED 002 "westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500 003 "westnet-eastnet" #1: Can't find the certificate or private key from the NSS CKA_ID 003 "westnet-eastnet" #1: unable to locate my private key for RSA Signature 224 "westnet-eastnet" #1: STATE_MAIN_I2: AUTHENTICATION_FAILED 002 "westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500 003 "westnet-eastnet" #1: Can't find the certificate or private key from the NSS CKA_ID 003 "westnet-eastnet" #1: unable to locate my private key for RSA Signature 224 "westnet-eastnet" #1: STATE_MAIN_I2: AUTHENTICATION_FAILED 002 "westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500 003 "westnet-eastnet" #1: Can't find the certificate or private key from the NSS CKA_ID 003 "westnet-eastnet" #1: unable to locate my private key for RSA Signature 224 "westnet-eastnet" #1: STATE_MAIN_I2: AUTHENTICATION_FAILED 002 "westnet-eastnet" #1: sending notification AUTHENTICATION_FAILED to 192.1.2.23:500 kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# # we should not see any leftover states kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey]# ipsec status |grep STATE_ whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/basic-pluto-01-nokey\[root@west basic-pluto-01-nokey 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 westrun.sh 'ipsec status |grep STATE_' <<<<<<<<<>>>>>>>>>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' <<<<<<<<<