/testing/guestbin/swan-prep
west #
 ipsec start
Redirecting to: systemctl start ipsec.service
west #
 /testing/pluto/bin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-ipv4-psk-ikev2
002 added connection description "westnet-eastnet-ipv4-psk-ikev2"
west #
 echo "initdone"
initdone
west #
 ipsec auto --up  westnet-eastnet-ipv4-psk-ikev2
002 "westnet-eastnet-ipv4-psk-ikev2" #1: initiating v2 parent SA
133 "westnet-eastnet-ipv4-psk-ikev2" #1: STATE_PARENT_I1: initiate
133 "westnet-eastnet-ipv4-psk-ikev2" #1: STATE_PARENT_I1: sent v2I1, expected v2R1
217 "westnet-eastnet-ipv4-psk-ikev2" #1: STATE_PARENT_I1: v2N_INVALID_KE_PAYLOAD
002 "westnet-eastnet-ipv4-psk-ikev2" #1: deleting state (STATE_PARENT_I1)
west #
 echo done
done
west #
 grep v2N_INVALID_KE_PAYLOAD /tmp/pluto.log
| #1 complete v2 state transition from STATE_PARENT_I1 with v2N_INVALID_KE_PAYLOAD
| state transition function for STATE_PARENT_I1 failed: v2N_INVALID_KE_PAYLOAD
west #
west #
 if [ -n "`ls /tmp/core* 2>/dev/null`" ]; then echo CORE FOUND; mv /tmp/core* OUTPUT/; fi
west #
 if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi

