/testing/guestbin/swan-prep --nokeys
Creating empty NSS database
west #
 ipsec start
Redirecting to: [initsystem]
west #
 ../../guestbin/wait-until-pluto-started
west #
 ipsec auto --add westnet-eastnet-ipv4-psk
"westnet-eastnet-ipv4-psk": added IKEv1 connection
west #
 ipsec whack --impair revival
west #
 echo "initdone"
initdone
west #
 # should fail fast
west #
 ipsec whack --impair ke_payload:0
west #
 ipsec whack --impair timeout_on_retransmit
west #
 ipsec auto --up westnet-eastnet-ipv4-psk
"westnet-eastnet-ipv4-psk" #1: initiating IKEv1 Main Mode connection
"westnet-eastnet-ipv4-psk" #1: sent Main Mode request
"westnet-eastnet-ipv4-psk" #1: IMPAIR: sending bogus KE (g^x) == 0 value to break DH calculations
"westnet-eastnet-ipv4-psk" #1: sent Main Mode I2
"westnet-eastnet-ipv4-psk" #1: NSS: shared key calculation using MODP failed: SEC_ERROR_NO_MEMORY: security library: memory allocation failure.
"westnet-eastnet-ipv4-psk" #1: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500
"westnet-eastnet-ipv4-psk" #1: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet-ipv4-psk" #1: IMPAIR: revival: skip scheduling revival event
"westnet-eastnet-ipv4-psk" #1: deleting ISAKMP SA (MAIN_I2) and NOT sending notification
west #
 ipsec whack --impair none
west #
 # expected to fail with a timeout
west #
 ipsec whack --impair suppress_retransmits
west #
 ipsec whack --impair revival
west #
 ipsec auto --add westnet-eastnet-ipv4-psk
"westnet-eastnet-ipv4-psk": added IKEv1 connection
west #
 ipsec auto --up westnet-eastnet-ipv4-psk
"westnet-eastnet-ipv4-psk" #2: initiating IKEv1 Main Mode connection
"westnet-eastnet-ipv4-psk" #2: sent Main Mode request
"westnet-eastnet-ipv4-psk" #2: sent Main Mode I2
"westnet-eastnet-ipv4-psk" #2: NSS: shared key calculation using MODP failed: SEC_ERROR_NO_MEMORY: security library: memory allocation failure.
"westnet-eastnet-ipv4-psk" #2: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500
"westnet-eastnet-ipv4-psk" #2: connection is supposed to remain up; revival attempt 1 scheduled in 0 seconds
"westnet-eastnet-ipv4-psk" #2: IMPAIR: revival: skip scheduling revival event
"westnet-eastnet-ipv4-psk" #2: deleting ISAKMP SA (MAIN_I2) and NOT sending notification
west #
 echo done
done
west #
 grep INVALID_KEY_INFORMATION /tmp/pluto.log
| complete v1 state transition with INVALID_KEY_INFORMATION
"westnet-eastnet-ipv4-psk" #1: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500
|    Notify Message Type: v1N_INVALID_KEY_INFORMATION (0x11)
| state transition function for STATE_MAIN_I2 failed: INVALID_KEY_INFORMATION
| complete v1 state transition with INVALID_KEY_INFORMATION
"westnet-eastnet-ipv4-psk" #2: sending notification INVALID_KEY_INFORMATION to 192.1.2.23:500
|    Notify Message Type: v1N_INVALID_KEY_INFORMATION (0x11)
| state transition function for STATE_MAIN_I2 failed: INVALID_KEY_INFORMATION
west #
 
