/testing/guestbin/swan-prep --x509 Preparing X.509 files kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth]# 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. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth]# ipsec auto --add ikev2-westnet-eastnet-x509-cr 002 added connection description "ikev2-westnet-eastnet-x509-cr" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth]# ../../pluto/bin/ipsec-look.sh ==== cut ==== start raw xfrm state: end raw xfrm state: ==== tuc ==== east Sat Sep 21 07:20:00 UTC 2019 XFRM state: XFRM policy: XFRM done IPSEC mangle TABLES NEW_IPSEC_CONN mangle TABLES ROUTING TABLES default via 192.1.2.254 dev eth1 192.0.1.0/24 via 192.1.2.45 dev eth1 192.0.2.0/24 dev eth0 proto kernel scope link src 192.0.2.254 192.1.2.0/24 dev eth1 proto kernel scope link src 192.1.2.23 NSS_CERTIFICATES Certificate Nickname Trust Attributes SSL,S/MIME,JAR/XPI Libreswan test CA for mainca - Libreswan CT,, east u,u,u hashsha1 P,, nic P,, north P,, road P,, west P,, west-ec P,, kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth]# # on east, it should show it failed the NSS IPsec profile and used the NSS TLS profile kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth]# hostname | grep east > /dev/null && grep "verify_end_cert trying profile" /tmp/pluto.log | verify_end_cert trying profile IPsec kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth]# ipsec auto --status whack: is Pluto running? connect() for "/run/pluto/pluto.ctl" failed (111 Connection refused) kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth 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.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: 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.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: 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.17454: No such file or directory Failed to read a valid object file image from memory. BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: 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.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: 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.17454: No such file or directory warning: Couldn't read general-purpose registers from `.reg/17454' section in core file. BFD: reopening /tmp/core.road.pluto.17454: No such file or directory warning: Couldn't read floating-point registers from `.reg2/17454' section in core file. BFD: reopening /tmp/core.road.pluto.17454: No such file or directory warning: Couldn't read XSAVE extended state registers from `.reg-xstate/17454' section in core file. BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory BFD: reopening /tmp/core.road.pluto.17454: No such file or directory mv: cannot stat '/tmp/core.road.pluto.17454': No such file or directory CORE FOUND: /tmp/core.road.pluto.17960 [New LWP 17960] [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 0x00007fcf59e5be75 in raise () from /lib64/libc.so.6 #0 0x00007fcf59e5be75 in raise () from /lib64/libc.so.6 #1 0x00007fcf59e46895 in abort () from /lib64/libc.so.6 #2 0x00005635968baecb in lswlog_passert_suffix (buf=buf@entry=0x7ffe4b8058e0, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x00005635968ac2e8 in lsw_passert_fail (where=..., fmt=fmt@entry=0x563596909624 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x0000563596848586 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 0x00005635968450c9 in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 #7 0x000056359680b907 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.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory Failed to read a valid object file image from memory. BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory Cannot find new threads: generic error BFD: reopening /tmp/core.road.pluto.17960: No such file or directory warning: Couldn't read general-purpose registers from `.reg/17960' section in core file. BFD: reopening /tmp/core.road.pluto.17960: No such file or directory warning: Couldn't read floating-point registers from `.reg2/17960' section in core file. BFD: reopening /tmp/core.road.pluto.17960: No such file or directory warning: Couldn't read XSAVE extended state registers from `.reg-xstate/17960' section in core file. BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory BFD: reopening /tmp/core.road.pluto.17960: No such file or directory mv: cannot stat '/tmp/core.road.pluto.17960': No such file or directory 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 BFD: reopening /tmp/core.road.pluto.18204: 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.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 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.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 Warning: couldn't activate thread debugging using libthread_db: Cannot find new threads: generic error 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 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.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 mv: cannot stat '/tmp/core.road.pluto.18204': No such file or directory kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-x509-27-criticalflag-clientAuth\[root@east ikev2-x509-27-criticalflag-clientAuth 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' <<<<<<<<<