/testing/guestbin/swan-prep --x509 --x509name west-nosan Preparing X.509 files kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# certutil -D -n east -d sql:/etc/ipsec.d kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# 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. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# ipsec auto --add ikev2-westnet-eastnet-x509-cr 002 added connection description "ikev2-westnet-eastnet-x509-cr" kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# ipsec status | grep idtype 000 "ikev2-westnet-eastnet-x509-cr": our idtype: ID_IPV4_ADDR; our id=192.1.2.45; their idtype: ID_IPV4_ADDR; their id=192.1.2.23 kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# # should fail kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# ipsec auto --up ikev2-westnet-eastnet-x509-cr 002 "ikev2-westnet-eastnet-x509-cr" #1: initiating Main Mode 002 "ikev2-westnet-eastnet-x509-cr" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 102 "ikev2-westnet-eastnet-x509-cr" #1: STATE_MAIN_I1: initiate 002 "ikev2-westnet-eastnet-x509-cr" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 104 "ikev2-westnet-eastnet-x509-cr" #1: STATE_MAIN_I2: sent MI2, expecting MR2 002 "ikev2-westnet-eastnet-x509-cr" #1: I am sending my cert 002 "ikev2-westnet-eastnet-x509-cr" #1: I am sending a certificate request 002 "ikev2-westnet-eastnet-x509-cr" #1: IMPAIR: suppressing retransmits; scheduling timeout in 60 seconds 106 "ikev2-westnet-eastnet-x509-cr" #1: STATE_MAIN_I3: sent MI3, expecting MR3 003 "ikev2-westnet-eastnet-x509-cr" #1: ignoring informational payload INVALID_ID_INFORMATION, msgid=00000000, length=12 003 "ikev2-westnet-eastnet-x509-cr" #1: received and ignored notification payload: INVALID_ID_INFORMATION kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# echo "done" done kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder]# ipsec auto --status whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<, argv=) at /home/build/libreswan/programs/pluto/plutomain.c:1458 CORE FOUND: /tmp/core.road.pluto.18204 [New LWP 18204] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/usr/local/libexec/ipsec/pluto --config /etc/ipsec.conf'. Program terminated with signal SIGABRT, Aborted. #0 0x00007f83065c8e75 in raise () from /lib64/libc.so.6 #0 0x00007f83065c8e75 in raise () from /lib64/libc.so.6 #1 0x00007f83065b3895 in abort () from /lib64/libc.so.6 #2 0x000056231a09cecb in lswlog_passert_suffix (buf=buf@entry=0x7fff44733ef0, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x000056231a08e2e8 in lsw_passert_fail (where=..., fmt=fmt@entry=0x56231a0eb624 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x000056231a02a586 in free_signal_handlers () at /home/build/libreswan/programs/pluto/server.c:624 #5 free_pluto_event_list () at /home/build/libreswan/programs/pluto/server.c:671 #6 0x000056231a0270c9 in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 #7 0x0000562319fed907 in create_lock () at /home/build/libreswan/programs/pluto/plutomain.c:272 #8 main (argc=, argv=) at /home/build/libreswan/programs/pluto/plutomain.c:1458 BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory Failed to read a valid object file image from memory. BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory Cannot find new threads: generic error BFD: reopening /tmp/core.road.pluto.18204: No such file or directory warning: Couldn't read general-purpose registers from `.reg/18204' section in core file. BFD: reopening /tmp/core.road.pluto.18204: No such file or directory warning: Couldn't read floating-point registers from `.reg2/18204' section in core file. BFD: reopening /tmp/core.road.pluto.18204: No such file or directory warning: Couldn't read XSAVE extended state registers from `.reg-xstate/18204' section in core file. BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory BFD: reopening /tmp/core.road.pluto.18204: No such file or directory mv: cannot stat '/tmp/core.road.pluto.18204': No such file or directory kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-19-id-notany-responder\[root@west ikev1-x509-19-id-notany-responder 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh '../bin/check-for-core.sh' <<<<<<<<<>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<