/testing/guestbin/swan-prep kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-39-psk-64bytes\[root@east ikev2-39-psk-64bytes]# 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. Redirecting to: namespaces direct start via ipsec pluto kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-39-psk-64bytes\[root@east ikev2-39-psk-64bytes]# /testing/pluto/bin/wait-until-pluto-started kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-39-psk-64bytes\[root@east ikev2-39-psk-64bytes]# ipsec auto --add westnet-eastnet-ipv4-psk-ikev2 002 added connection description "westnet-eastnet-ipv4-psk-ikev2" kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-39-psk-64bytes\[root@east ikev2-39-psk-64bytes]# echo "initdone" initdone kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-39-psk-64bytes\[root@east ikev2-39-psk-64bytes]# ../../pluto/bin/ipsec-look.sh ==== cut ==== start raw xfrm state: src 192.0.2.0/24 dst 192.0.1.0/24 \ dir out priority 1042407 ptype main \ tmpl src 192.1.2.23 dst 192.1.2.45\ proto esp reqid 16389 mode tunnel\ src 192.0.1.0/24 dst 192.0.2.0/24 \ dir fwd priority 1042407 ptype main \ tmpl src 192.1.2.45 dst 192.1.2.23\ proto esp reqid 16389 mode tunnel\ src 192.0.1.0/24 dst 192.0.2.0/24 \ dir in priority 1042407 ptype main \ tmpl src 192.1.2.45 dst 192.1.2.23\ proto esp reqid 16389 mode tunnel\ end raw xfrm state: ==== tuc ==== east Sat Sep 21 07:29:02 UTC 2019 XFRM state: src 192.1.2.45 dst 192.1.2.23 proto esp spi 0x844df304 reqid 16389 mode tunnel replay-window 32 flag af-unspec aead rfc4106(gcm(aes)) 0x683d357564124dd0b46dc0a888383c6cd54a2a5195978c3e01e6704a1922bdf1fd5098d3 128 anti-replay context: seq 0x4, oseq 0x0, bitmap 0x0000000f src 192.1.2.23 dst 192.1.2.45 proto esp spi 0x5e01097a reqid 16389 mode tunnel replay-window 32 flag af-unspec aead rfc4106(gcm(aes)) 0x54c05f33fc18585aed677201f1b9489c41639e2eebbdfa60b8e254edc6954044ab766247 128 anti-replay context: seq 0x0, oseq 0x4, bitmap 0x00000000 XFRM policy: src 192.0.1.0/24 dst 192.0.2.0/24 dir fwd priority 1042407 ptype main tmpl src 192.1.2.45 dst 192.1.2.23 proto esp reqid 16389 mode tunnel src 192.0.1.0/24 dst 192.0.2.0/24 dir in priority 1042407 ptype main tmpl src 192.1.2.45 dst 192.1.2.23 proto esp reqid 16389 mode tunnel src 192.0.2.0/24 dst 192.0.1.0/24 dir out priority 1042407 ptype main tmpl src 192.1.2.23 dst 192.1.2.45 proto esp reqid 16389 mode tunnel 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 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-39-psk-64bytes\[root@east ikev2-39-psk-64bytes]# : ==== cut ==== kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-39-psk-64bytes\[root@east ikev2-39-psk-64bytes]# 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-39-psk-64bytes\[root@east ikev2-39-psk-64bytes 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.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory Failed to read a valid object file image from memory. BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory Cannot find new threads: generic error BFD: reopening /tmp/core.road.pluto.16045: No such file or directory warning: Couldn't read general-purpose registers from `.reg/16045' section in core file. BFD: reopening /tmp/core.road.pluto.16045: No such file or directory warning: Couldn't read floating-point registers from `.reg2/16045' section in core file. BFD: reopening /tmp/core.road.pluto.16045: No such file or directory warning: Couldn't read XSAVE extended state registers from `.reg-xstate/16045' section in core file. BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory BFD: reopening /tmp/core.road.pluto.16045: No such file or directory mv: cannot stat '/tmp/core.road.pluto.16045': No such file or directory CORE FOUND: /tmp/core.road.pluto.16412 [New LWP 16412] [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 0x00007f2b3bc2ee75 in raise () from /lib64/libc.so.6 #0 0x00007f2b3bc2ee75 in raise () from /lib64/libc.so.6 #1 0x00007f2b3bc19895 in abort () from /lib64/libc.so.6 #2 0x000055632d550ecb in lswlog_passert_suffix (buf=buf@entry=0x7ffe80c37340, where=...) at /home/build/libreswan/lib/libswan/lswlog_passert.c:32 #3 0x000055632d5422e8 in lsw_passert_fail (where=..., fmt=fmt@entry=0x55632d59f624 "%s") at /home/build/libreswan/lib/libswan/lsw_passert_fail.c:31 #4 0x000055632d4de586 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 0x000055632d4db0c9 in exit_pluto (status=10) at /home/build/libreswan/programs/pluto/plutomain.c:1850 #7 0x000055632d4a1907 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 kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-39-psk-64bytes\[root@east ikev2-39-psk-64bytes]# if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi kroot@swantest:/home/build/libreswan/testing/pluto/ikev2-39-psk-64bytes\[root@east ikev2-39-psk-64bytes 1]# >>>>>>>>>>cutnonzeroexit>>>>>>>>>> exit status 1 final.sh 'if [ -f /sbin/ausearch ]; then ausearch -r -m avc -ts recent ; fi' <<<<<<<<<