/testing/guestbin/swan-prep --x509 Preparing X.509 files kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# certutil -D -n east -d sql:/etc/ipsec.d kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# 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. Error: Peer netns reference is invalid. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# 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-18-id-notany\[root@west ikev1-x509-18-id-notany]# ipsec status | grep idtype 000 "ikev2-westnet-eastnet-x509-cr": our idtype: ID_IPV4_ADDR; our id=192.1.2.45; their idtype: ID_FQDN; their id=@right kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# ipsec whack --impair suppress-retransmits kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# # expected to fail kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# 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-18-id-notany\[root@west ikev1-x509-18-id-notany]# echo "done" done kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany]# 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-18-id-notany\[root@west ikev1-x509-18-id-notany 33]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 33 final.sh 'ipsec auto --status' <<<<<<<<<, argv=) at /home/build/libreswan/programs/pluto/plutomain.c:1458 BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory Failed to read a valid object file image from memory. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory warning: Couldn't read general-purpose registers from `.reg/16022' section in core file. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory warning: Couldn't read floating-point registers from `.reg2/16022' section in core file. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory warning: Couldn't read XSAVE extended state registers from `.reg-xstate/16022' section in core file. BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory BFD: reopening /tmp/core.road.pluto.16022: No such file or directory mv: cannot stat '/tmp/core.road.pluto.16022': No such file or directory CORE FOUND: /tmp/core.road.pluto.16045 [New LWP 16045] [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 0x00007fee8faa4e75 in raise () from /lib64/libc.so.6 #0 0x00007fee8faa4e75 in raise () from /lib64/libc.so.6 #1 0x00007fee8fa8f895 in abort () from /lib64/libc.so.6 #2 0x00005640afed8ecb in lswlog_passert_suffix (buf=buf@entry=0x7ffe8ac566a0, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x00005640afeca2e8 in lsw_passert_fail (where=..., fmt=fmt@entry=0x5640aff27624 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x00005640afe66586 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 0x00005640afe630c9 in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 #7 0x00005640afe29907 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 /tmp/core.road.pluto.16045: No such file or directory. No stack. mv: cannot stat '/tmp/core.road.pluto.16045': No such file or directory kroot@swantest:/home/build/libreswan/testing/pluto/ikev1-x509-18-id-notany\[root@west ikev1-x509-18-id-notany 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' <<<<<<<<<