Changes:
------------------------------------------ [...truncated 317.38 KB...] Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 50648), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 50648), raddr=('127.0.0.1', 4239)> (0 sockets open) Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfg0srikn9l, test write_config Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfg0srikn9l'
ls -l /proc/30445/fd
total 0 lr-x------ 1 build build 64 Jun 14 10:16 0 -> pipe:[3619429186] l-wx------ 1 build build 64 Jun 14 10:16 1 -> pipe:[3619429187] l-wx------ 1 build build 64 Jun 14 10:16 2 -> pipe:[3619429188] l-wx------ 1 build build 64 Jun 14 10:16 3 -> /dev/null
ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ps xua | grep osmo
build 30445 5.5 0.0 24764 19180 ? S 10:16 0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v build 30542 0.0 0.0 21474925388 16664 ? S 10:17 0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfg0srikn9l build 30562 0.0 0.0 2480 580 ? S 10:17 0:00 /bin/sh -c ps xua | grep osmo build 30564 0.0 0.0 6240 648 ? S 10:17 0:00 grep osmo
Socket: in 1 tries, connected to 127.0.0.1:4239 <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 50652), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 50652), raddr=('127.0.0.1', 4239)> (0 sockets open) Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfg0srikn9l, test token_vty_command Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfg0srikn9l'
ls -l /proc/30445/fd
total 0 lr-x------ 1 build build 64 Jun 14 10:16 0 -> pipe:[3619429186] l-wx------ 1 build build 64 Jun 14 10:16 1 -> pipe:[3619429187] l-wx------ 1 build build 64 Jun 14 10:16 2 -> pipe:[3619429188] l-wx------ 1 build build 64 Jun 14 10:16 3 -> /dev/null
ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ps xua | grep osmo
build 30445 5.5 0.0 24764 19180 ? S 10:16 0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v build 30566 0.0 0.0 21474924712 15664 ? R 10:17 0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfg0srikn9l build 30586 0.0 0.0 2480 576 ? S 10:17 0:00 /bin/sh -c ps xua | grep osmo build 30588 0.0 0.0 6240 716 ? S 10:17 0:00 grep osmo
Connecting socket failed, retrying... Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 50660), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 50660), raddr=('127.0.0.1', 4239)> (0 sockets open) make[5]: Leaving directory '/build/tests/vty' make[4]: Leaving directory '/build/tests/vty' make[3]: Leaving directory '/build/tests/vty' make[3]: Entering directory '/build/tests' make check-local make[4]: Entering directory '/build/tests' :;{ \ echo '# Signature of the current package.' && \ echo 'm4_define([AT_PACKAGE_NAME],' && \ echo ' [libosmo-sccp])' && \ echo 'm4_define([AT_PACKAGE_TARNAME],' && \ echo ' [libosmo-sccp])' && \ echo 'm4_define([AT_PACKAGE_VERSION],' && \ echo ' [1.7.0.32-2a0c])' && \ echo 'm4_define([AT_PACKAGE_STRING],' && \ echo ' [libosmo-sccp 1.7.0.32-2a0c])' && \ echo 'm4_define([AT_PACKAGE_BUGREPORT],' && \ echo ' [openbsc@lists.osmocom.org])'; \ echo 'm4_define([AT_PACKAGE_URL],' && \ echo ' [])'; \ } >'./package.m4' /bin/bash ../missing --run autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at mv testsuite.tmp testsuite /bin/bash './testsuite' ## -------------------------------------- ## ## libosmo-sccp 1.7.0.32-2a0c test suite. ## ## -------------------------------------- ##
Regression tests.
1: m2ua ok 2: mtp ok 3: sccp ok 4: xua ok 5: ss7 FAILED (testsuite.at:32)
## ------------- ## ## Test results. ## ## ------------- ##
ERROR: All 5 tests were run, 1 failed unexpectedly. ## -------------------------- ## ## testsuite.log was created. ## ## -------------------------- ##
Please send `tests/testsuite.log' and all information you think might help:
To: openbsc@lists.osmocom.org Subject: [libosmo-sccp 1.7.0.32-2a0c] testsuite: 5 failed
You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. Its output may be found below `tests/testsuite.dir'.
make[4]: *** [Makefile:669: check-local] Error 1 make[4]: Leaving directory '/build/tests' make[3]: *** [Makefile:529: check-am] Error 2 make[3]: Leaving directory '/build/tests' make[2]: *** [Makefile:378: check-recursive] Error 1 make[2]: Leaving directory '/build/tests' make[1]: *** [Makefile:509: check-recursive] Error 1 make[1]: Leaving directory '/build' make: *** [Makefile:809: check] Error 2 + cat-testlogs.sh
======================== ./tests/testsuite.dir/5/testsuite.log
# -*- compilation -*- 5. testsuite.at:29: testing ss7 ... ./testsuite.at:32: $abs_top_builddir/tests/ss7/ss7_test stderr: [38;5;43m<000c> 0: Creating SS7 Instance [0;m[38;5;43m<000c> 0: Creating Route Table system [0;m[38;5;43m<000c> 0: Point Code Format 8-8-8 is longer than 14 bits, odd? [0;m[38;5;43m<000c> registering user=testuser for SI 1 with priv 0x1234 [0;m[38;5;43m<000c> delivering MTP-TRANSFER.ind to user testuser, priv=0x1234 [0;m[38;5;43m<000c> No MTP-User for SI 1 [0;m[38;5;43m<000c> Unsupported Primitive [0;m[38;5;43m<000c> 0: Creating Route Table foobar [0;m[38;5;43m<000c> 0: Creating Linkset a [0;m[38;5;43m<000c> 0: Creating Linkset b [0;m[38;5;43m<000c> 0: Creating route: pc=12=0.1.4 mask=0x3fff via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=12=0.1.4 mask=0x3fff via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=8=0.1.0 mask=0x3ff8 via linkset 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=12=0.1.4 mask=0x3fff via linkset 'b' [0;m[38;5;43m<000c> 0: Creating route: pc=0=0.0.0 mask=0x0 via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=0=0.0.0 mask=0x0 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=12=0.1.4 mask=0x3fff via linkset/ASP 'b' [0;m[38;5;43m<000c> 0: Destroying route: pc=8=0.1.0 mask=0x3ff8 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=8=0.1.0 mask=0x3ff9 via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=8=0.1.0 mask=0x3ff9 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Destroying Linkset a [0;m[38;5;43m<000c> 0: Destroying Linkset b [0;m[38;5;43m<000c> 0: Creating Linkset a [0;m[38;5;43m<000c> 0: Creating Linkset b [0;m[38;5;43m<000c> 0: Creating Link a:1 [0;m[38;5;43m<000c> 0: Creating Link a:2 [0;m[38;5;43m<000c> 0: Destroying Link a:1 [0;m[38;5;43m<000c> 0: Destroying Link a:2 [0;m[38;5;43m<000c> 0: Destroying Linkset a [0;m[38;5;43m<000c> 0: Destroying Linkset b [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: Allocated [0;m[38;5;43m<000c> 0: as-as1: Created AS [0;m[38;5;43m<000c> 0: as-as1: Adding ASP asp1 to AS [0;m[38;5;43m<000c> 0: asp-asp1: Restarting ASP asp1, r=:0<->l=:2905 [0;m[38;5;23m<0002> [WAIT_RECONNECT] osmo_stream_cli_reconnect(): retrying in 5 seconds... [0;m[38;5;43m<000c> 0: asp-asp1: Unable to open stream client for ASP asp1, :2905 ==> :0 [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Allocated [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Received Event M-ASP_UP.req [0;m[38;5;43m<000c> 0: asp-asp1: Cannot transmit, asp->client not connected [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Received Event ASPSM-ASP_UP_ACK [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: state_chg to ASP_INACTIVE [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: Received Event ASPAS-ASP_INACTIVE.ind [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: state_chg to AS_INACTIVE [0;m[38;5;43m<000c> 0: asp-asp1: No Layer Manager, dropping M-ASP_UP.confirm [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: Received Event M-ASP_ACTIVE.req [0;m[38;5;43m<000c> 0: asp-asp1: Cannot transmit, asp->client not connected [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: Received Event ASPTM-ASP_AC_ACK [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: state_chg to ASP_ACTIVE [0;m[38;5;43m<000c> XUA_AS(as1){AS_INACTIVE}: Received Event ASPAS-ASP_ACTIVE.ind [0;m[38;5;43m<000c> XUA_AS(as1){AS_INACTIVE}: state_chg to AS_ACTIVE [0;m[38;5;43m<000c> 0: asp-asp1: No Layer Manager, dropping M-ASP_ACTIVE.confirm [0;m[38;5;43m<000c> 0: as-as1: Removing ASP asp1 from AS [0;m[38;5;43m<000c> 0: as-as1: Removing ASP asp1 from AS [0;m[38;5;43m<000c> 0: asp-asp1: Destroying ASP [0;mAddressSanitizer:DEADLYSIGNAL ================================================================= ==30774==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f35074ba076 bp 0x7ffe4b397a58 sp 0x7ffe4b397a58 T0) ==30774==The signal is caused by a WRITE memory access. ==30774==Hint: address points to the zero page. #0 0x7f35074ba076 in __llist_del (/build/deps/install/lib/libosmocore.so.20+0x2e076) #1 0x7f35074ba0ad in llist_del (/build/deps/install/lib/libosmocore.so.20+0x2e0ad) #2 0x7f35074ba688 in osmo_fd_unregister (/build/deps/install/lib/libosmocore.so.20+0x2e688) #3 0x7f35075a8700 in osmo_stream_cli_close (/build/deps/install/lib/libosmonetif.so.11+0x13700) #4 0x7f35075a984a in osmo_stream_cli_destroy (/build/deps/install/lib/libosmonetif.so.11+0x1484a) #5 0x55efb4006654 in osmo_ss7_asp_destroy (/build/tests/ss7/ss7_test+0x15b654) #6 0x55efb3ff1b22 in test_as (/build/tests/ss7/ss7_test+0x146b22) #7 0x55efb3ff218e in main (/build/tests/ss7/ss7_test+0x14718e) #8 0x7f3506939d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #9 0x55efb3fefb49 in _start (/build/tests/ss7/ss7_test+0x144b49)
AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/build/deps/install/lib/libosmocore.so.20+0x2e076) in __llist_del ==30774==ABORTING --- expout 2023-06-14 10:17:01.780983348 +0000 +++ /build/tests/testsuite.dir/at-groups/5/stdout 2023-06-14 10:17:01.780983348 +0000 @@ -1,30 +0,0 @@ -Testing ITU-style point code format -test_pc_transcode(0) -> 0.0.0 -> 0 -test_pc_transcode(1) -> 0.0.1 -> 1 -test_pc_transcode(8) -> 0.1.0 -> 8 -test_pc_transcode(2048) -> 1.0.0 -> 2048 -test_pc_transcode(14336) -> 7.0.0 -> 14336 -test_pc_transcode(100) -> 0.12.4 -> 100 -test_pc_transcode(2342) -> 1.36.6 -> 2342 -test_pc_transcode(16383) -> 7.255.7 -> 16383 -mask /1 => 8192 (0x2000) 4.0.0 -mask 7.0.0 => 14336 (0x3800) 7.0.0 -mask /14 => 16383 (0x3fff) 7.255.7 -Testing ANSI-style point code format -test_pc_transcode(0) -> 0-0-0 -> 0 -test_pc_transcode(1) -> 0-0-1 -> 1 -test_pc_transcode(256) -> 0-1-0 -> 256 -test_pc_transcode(65536) -> 1-0-0 -> 65536 -test_pc_transcode(2048) -> 0-8-0 -> 2048 -test_pc_transcode(16777215) -> 255-255-255 -> 16777215 -test_pc_transcode(100) -> 0-0-100 -> 100 -test_pc_transcode(2342) -> 0-9-38 -> 2342 -mask /1 => 8388608 (0x800000) 128-0-0 -mask /16 => 16776960 (0xffff00) 255-255-0 -mask /24 => 16777215 (0xffffff) 255-255-255 -Testing SS7 user -Testing SS7 routing -route with full mask: 0.1.4/14 -route with partial mask: 0.1.0/11 -route with non-consecutive mask: 0.1.0/7.255.1 -Testing SS7 linkset/link ./testsuite.at:32: exit code was 1, expected 0 5. testsuite.at:29: 5. ss7 (testsuite.at:29): FAILED (testsuite.at:32) Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 278160 killed; [ssh-agent] Stopped. Archiving artifacts
Changes:
[Pau Espin Pedrol] osmo_sccp_simple_client_on_ss7_id(): Support ASP explicitly configured
------------------------------------------ [...truncated 339.38 KB...] Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55674), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55674), raddr=('127.0.0.1', 4239)> (0 sockets open) Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgpt6s4_fd, test write_config Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfgpt6s4_fd'
ls -l /proc/30675/fd
total 0 lr-x------ 1 build build 64 Jun 14 12:01 0 -> pipe:[3621515862] l-wx------ 1 build build 64 Jun 14 12:01 1 -> pipe:[3621515863] l-wx------ 1 build build 64 Jun 14 12:01 2 -> pipe:[3621515864] l-wx------ 1 build build 64 Jun 14 12:01 3 -> /dev/null
ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ps xua | grep osmo
build 30675 15.0 0.0 24764 19056 ? S 12:01 0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v build 30772 0.0 0.0 21474925396 16648 ? S 12:01 0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgpt6s4_fd build 30792 0.0 0.0 2480 512 ? S 12:01 0:00 /bin/sh -c ps xua | grep osmo build 30794 0.0 0.0 6240 716 ? S 12:01 0:00 grep osmo
Socket: in 1 tries, connected to 127.0.0.1:4239 <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55680), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55680), raddr=('127.0.0.1', 4239)> (0 sockets open) Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgpt6s4_fd, test token_vty_command Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfgpt6s4_fd'
ls -l /proc/30675/fd
total 0 lr-x------ 1 build build 64 Jun 14 12:01 0 -> pipe:[3621515862] l-wx------ 1 build build 64 Jun 14 12:01 1 -> pipe:[3621515863] l-wx------ 1 build build 64 Jun 14 12:01 2 -> pipe:[3621515864] l-wx------ 1 build build 64 Jun 14 12:01 3 -> /dev/null
ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ps xua | grep osmo
build 30675 15.0 0.0 24764 19056 ? S 12:01 0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v build 30796 0.0 0.0 21474924516 8732 ? R 12:01 0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgpt6s4_fd build 30816 0.0 0.0 2480 584 ? S 12:01 0:00 /bin/sh -c ps xua | grep osmo build 30818 0.0 0.0 6240 716 ? S 12:01 0:00 grep osmo
Connecting socket failed, retrying... Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55688), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55688), raddr=('127.0.0.1', 4239)> (0 sockets open) make[5]: Leaving directory '/build/tests/vty' make[4]: Leaving directory '/build/tests/vty' make[3]: Leaving directory '/build/tests/vty' make[3]: Entering directory '/build/tests' make check-local make[4]: Entering directory '/build/tests' :;{ \ echo '# Signature of the current package.' && \ echo 'm4_define([AT_PACKAGE_NAME],' && \ echo ' [libosmo-sccp])' && \ echo 'm4_define([AT_PACKAGE_TARNAME],' && \ echo ' [libosmo-sccp])' && \ echo 'm4_define([AT_PACKAGE_VERSION],' && \ echo ' [1.7.0.33-0aff])' && \ echo 'm4_define([AT_PACKAGE_STRING],' && \ echo ' [libosmo-sccp 1.7.0.33-0aff])' && \ echo 'm4_define([AT_PACKAGE_BUGREPORT],' && \ echo ' [openbsc@lists.osmocom.org])'; \ echo 'm4_define([AT_PACKAGE_URL],' && \ echo ' [])'; \ } >'./package.m4' /bin/bash ../missing --run autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at mv testsuite.tmp testsuite /bin/bash './testsuite' ## -------------------------------------- ## ## libosmo-sccp 1.7.0.33-0aff test suite. ## ## -------------------------------------- ##
Regression tests.
1: m2ua ok 2: mtp ok 3: sccp ok 4: xua ok 5: ss7 FAILED (testsuite.at:32)
## ------------- ## ## Test results. ## ## ------------- ##
ERROR: All 5 tests were run, 1 failed unexpectedly. ## -------------------------- ## ## testsuite.log was created. ## ## -------------------------- ##
Please send `tests/testsuite.log' and all information you think might help:
To: openbsc@lists.osmocom.org Subject: [libosmo-sccp 1.7.0.33-0aff] testsuite: 5 failed
You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. Its output may be found below `tests/testsuite.dir'.
make[4]: *** [Makefile:669: check-local] Error 1 make[4]: Leaving directory '/build/tests' make[3]: *** [Makefile:529: check-am] Error 2 make[3]: Leaving directory '/build/tests' make[2]: Leaving directory '/build/tests' make[2]: *** [Makefile:378: check-recursive] Error 1 make[1]: *** [Makefile:509: check-recursive] Error 1 make[1]: Leaving directory '/build' make: *** [Makefile:809: check] Error 2 + cat-testlogs.sh
======================== ./tests/testsuite.dir/5/testsuite.log
# -*- compilation -*- 5. testsuite.at:29: testing ss7 ... ./testsuite.at:32: $abs_top_builddir/tests/ss7/ss7_test stderr: [38;5;43m<000c> 0: Creating SS7 Instance [0;m[38;5;43m<000c> 0: Creating Route Table system [0;m[38;5;43m<000c> 0: Point Code Format 8-8-8 is longer than 14 bits, odd? [0;m[38;5;43m<000c> registering user=testuser for SI 1 with priv 0x1234 [0;m[38;5;43m<000c> delivering MTP-TRANSFER.ind to user testuser, priv=0x1234 [0;m[38;5;43m<000c> No MTP-User for SI 1 [0;m[38;5;43m<000c> Unsupported Primitive [0;m[38;5;43m<000c> 0: Creating Route Table foobar [0;m[38;5;43m<000c> 0: Creating Linkset a [0;m[38;5;43m<000c> 0: Creating Linkset b [0;m[38;5;43m<000c> 0: Creating route: pc=12=0.1.4 mask=0x3fff via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=12=0.1.4 mask=0x3fff via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=8=0.1.0 mask=0x3ff8 via linkset 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=12=0.1.4 mask=0x3fff via linkset 'b' [0;m[38;5;43m<000c> 0: Creating route: pc=0=0.0.0 mask=0x0 via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=0=0.0.0 mask=0x0 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=12=0.1.4 mask=0x3fff via linkset/ASP 'b' [0;m[38;5;43m<000c> 0: Destroying route: pc=8=0.1.0 mask=0x3ff8 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=8=0.1.0 mask=0x3ff9 via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=8=0.1.0 mask=0x3ff9 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Destroying Linkset a [0;m[38;5;43m<000c> 0: Destroying Linkset b [0;m[38;5;43m<000c> 0: Creating Linkset a [0;m[38;5;43m<000c> 0: Creating Linkset b [0;m[38;5;43m<000c> 0: Creating Link a:1 [0;m[38;5;43m<000c> 0: Creating Link a:2 [0;m[38;5;43m<000c> 0: Destroying Link a:1 [0;m[38;5;43m<000c> 0: Destroying Link a:2 [0;m[38;5;43m<000c> 0: Destroying Linkset a [0;m[38;5;43m<000c> 0: Destroying Linkset b [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: Allocated [0;m[38;5;43m<000c> 0: as-as1: Created AS [0;m[38;5;43m<000c> 0: as-as1: Adding ASP asp1 to AS [0;m[38;5;43m<000c> 0: asp-asp1: Restarting ASP asp1, r=:0<->l=:2905 [0;m[38;5;23m<0002> [WAIT_RECONNECT] osmo_stream_cli_reconnect(): retrying in 5 seconds... [0;m[38;5;43m<000c> 0: asp-asp1: Unable to open stream client for ASP asp1, :2905 ==> :0 [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Allocated [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Received Event M-ASP_UP.req [0;m[38;5;43m<000c> 0: asp-asp1: Cannot transmit, asp->client not connected [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Received Event ASPSM-ASP_UP_ACK [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: state_chg to ASP_INACTIVE [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: Received Event ASPAS-ASP_INACTIVE.ind [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: state_chg to AS_INACTIVE [0;m[38;5;43m<000c> 0: asp-asp1: No Layer Manager, dropping M-ASP_UP.confirm [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: Received Event M-ASP_ACTIVE.req [0;m[38;5;43m<000c> 0: asp-asp1: Cannot transmit, asp->client not connected [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: Received Event ASPTM-ASP_AC_ACK [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: state_chg to ASP_ACTIVE [0;m[38;5;43m<000c> XUA_AS(as1){AS_INACTIVE}: Received Event ASPAS-ASP_ACTIVE.ind [0;m[38;5;43m<000c> XUA_AS(as1){AS_INACTIVE}: state_chg to AS_ACTIVE [0;m[38;5;43m<000c> 0: asp-asp1: No Layer Manager, dropping M-ASP_ACTIVE.confirm [0;m[38;5;43m<000c> 0: as-as1: Removing ASP asp1 from AS [0;m[38;5;43m<000c> 0: as-as1: Removing ASP asp1 from AS [0;m[38;5;43m<000c> 0: asp-asp1: Destroying ASP [0;mAddressSanitizer:DEADLYSIGNAL ================================================================= ==31004==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f3b6df93076 bp 0x7ffd68afe948 sp 0x7ffd68afe948 T0) ==31004==The signal is caused by a WRITE memory access. ==31004==Hint: address points to the zero page. #0 0x7f3b6df93076 in __llist_del (/build/deps/install/lib/libosmocore.so.20+0x2e076) #1 0x7f3b6df930ad in llist_del (/build/deps/install/lib/libosmocore.so.20+0x2e0ad) #2 0x7f3b6df93688 in osmo_fd_unregister (/build/deps/install/lib/libosmocore.so.20+0x2e688) #3 0x7f3b6e081700 in osmo_stream_cli_close (/build/deps/install/lib/libosmonetif.so.11+0x13700) #4 0x7f3b6e08284a in osmo_stream_cli_destroy (/build/deps/install/lib/libosmonetif.so.11+0x1484a) #5 0x56444b4ca654 in osmo_ss7_asp_destroy (/build/tests/ss7/ss7_test+0x15b654) #6 0x56444b4b5b22 in test_as (/build/tests/ss7/ss7_test+0x146b22) #7 0x56444b4b618e in main (/build/tests/ss7/ss7_test+0x14718e) #8 0x7f3b6d412d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #9 0x56444b4b3b49 in _start (/build/tests/ss7/ss7_test+0x144b49)
AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/build/deps/install/lib/libosmocore.so.20+0x2e076) in __llist_del ==31004==ABORTING --- expout 2023-06-14 12:01:37.205688123 +0000 +++ /build/tests/testsuite.dir/at-groups/5/stdout 2023-06-14 12:01:37.205688123 +0000 @@ -1,30 +0,0 @@ -Testing ITU-style point code format -test_pc_transcode(0) -> 0.0.0 -> 0 -test_pc_transcode(1) -> 0.0.1 -> 1 -test_pc_transcode(8) -> 0.1.0 -> 8 -test_pc_transcode(2048) -> 1.0.0 -> 2048 -test_pc_transcode(14336) -> 7.0.0 -> 14336 -test_pc_transcode(100) -> 0.12.4 -> 100 -test_pc_transcode(2342) -> 1.36.6 -> 2342 -test_pc_transcode(16383) -> 7.255.7 -> 16383 -mask /1 => 8192 (0x2000) 4.0.0 -mask 7.0.0 => 14336 (0x3800) 7.0.0 -mask /14 => 16383 (0x3fff) 7.255.7 -Testing ANSI-style point code format -test_pc_transcode(0) -> 0-0-0 -> 0 -test_pc_transcode(1) -> 0-0-1 -> 1 -test_pc_transcode(256) -> 0-1-0 -> 256 -test_pc_transcode(65536) -> 1-0-0 -> 65536 -test_pc_transcode(2048) -> 0-8-0 -> 2048 -test_pc_transcode(16777215) -> 255-255-255 -> 16777215 -test_pc_transcode(100) -> 0-0-100 -> 100 -test_pc_transcode(2342) -> 0-9-38 -> 2342 -mask /1 => 8388608 (0x800000) 128-0-0 -mask /16 => 16776960 (0xffff00) 255-255-0 -mask /24 => 16777215 (0xffffff) 255-255-255 -Testing SS7 user -Testing SS7 routing -route with full mask: 0.1.4/14 -route with partial mask: 0.1.0/11 -route with non-consecutive mask: 0.1.0/7.255.1 -Testing SS7 linkset/link ./testsuite.at:32: exit code was 1, expected 0 5. testsuite.at:29: 5. ss7 (testsuite.at:29): FAILED (testsuite.at:32) Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1744387 killed; [ssh-agent] Stopped. Archiving artifacts
Changes:
[Pau Espin Pedrol] osmo_sccp_simple_client_on_ss7_id(): Always follow VTY config of ASP if
------------------------------------------ [...truncated 339.44 KB...] Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 49458), raddr=('127.0.0.1', 4239)> (0 sockets open) Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgcr4ojcry, test write_config Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfgcr4ojcry'
ls -l /proc/30648/fd
total 0 lr-x------ 1 build build 64 Jun 14 12:06 0 -> pipe:[3621879795] l-wx------ 1 build build 64 Jun 14 12:06 1 -> pipe:[3621879796] l-wx------ 1 build build 64 Jun 14 12:06 2 -> pipe:[3621879797] l-wx------ 1 build build 64 Jun 14 12:06 3 -> /dev/null
ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ps xua | grep osmo
build 30648 11.0 0.0 24764 19164 ? S 12:06 0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v build 30745 0.0 0.0 21474924676 13568 ? R 12:06 0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgcr4ojcry build 30765 0.0 0.0 2480 580 ? S 12:06 0:00 /bin/sh -c ps xua | grep osmo build 30767 0.0 0.0 6240 712 ? S 12:06 0:00 grep osmo
Connecting socket failed, retrying... Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 49484), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 49484), raddr=('127.0.0.1', 4239)> (0 sockets open) Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgcr4ojcry, test token_vty_command Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfgcr4ojcry'
ls -l /proc/30648/fd
total 0 lr-x------ 1 build build 64 Jun 14 12:06 0 -> pipe:[3621879795] l-wx------ 1 build build 64 Jun 14 12:06 1 -> pipe:[3621879796] l-wx------ 1 build build 64 Jun 14 12:06 2 -> pipe:[3621879797] l-wx------ 1 build build 64 Jun 14 12:06 3 -> /dev/null
ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ps xua | grep osmo
build 30648 11.0 0.0 24764 19164 ? S 12:06 0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v build 30769 0.0 0.0 21474924712 14692 ? R 12:06 0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgcr4ojcry build 30789 0.0 0.0 2480 512 ? S 12:06 0:00 /bin/sh -c ps xua | grep osmo build 30791 0.0 0.0 6240 644 ? S 12:06 0:00 grep osmo
Connecting socket failed, retrying... Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 49504), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 49504), raddr=('127.0.0.1', 4239)> (0 sockets open) make[5]: Leaving directory '/build/tests/vty' make[4]: Leaving directory '/build/tests/vty' make[3]: Leaving directory '/build/tests/vty' make[3]: Entering directory '/build/tests' make check-local make[4]: Entering directory '/build/tests' :;{ \ echo '# Signature of the current package.' && \ echo 'm4_define([AT_PACKAGE_NAME],' && \ echo ' [libosmo-sccp])' && \ echo 'm4_define([AT_PACKAGE_TARNAME],' && \ echo ' [libosmo-sccp])' && \ echo 'm4_define([AT_PACKAGE_VERSION],' && \ echo ' [1.7.0.34-83db])' && \ echo 'm4_define([AT_PACKAGE_STRING],' && \ echo ' [libosmo-sccp 1.7.0.34-83db])' && \ echo 'm4_define([AT_PACKAGE_BUGREPORT],' && \ echo ' [openbsc@lists.osmocom.org])'; \ echo 'm4_define([AT_PACKAGE_URL],' && \ echo ' [])'; \ } >'./package.m4' /bin/bash ../missing --run autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at mv testsuite.tmp testsuite /bin/bash './testsuite' ## -------------------------------------- ## ## libosmo-sccp 1.7.0.34-83db test suite. ## ## -------------------------------------- ##
Regression tests.
1: m2ua ok 2: mtp ok 3: sccp ok 4: xua ok 5: ss7 FAILED (testsuite.at:32)
## ------------- ## ## Test results. ## ## ------------- ##
ERROR: All 5 tests were run, 1 failed unexpectedly. ## -------------------------- ## ## testsuite.log was created. ## ## -------------------------- ##
Please send `tests/testsuite.log' and all information you think might help:
To: openbsc@lists.osmocom.org Subject: [libosmo-sccp 1.7.0.34-83db] testsuite: 5 failed
You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. Its output may be found below `tests/testsuite.dir'.
make[4]: *** [Makefile:669: check-local] Error 1 make[4]: Leaving directory '/build/tests' make[3]: *** [Makefile:529: check-am] Error 2 make[3]: Leaving directory '/build/tests' make[2]: *** [Makefile:378: check-recursive] Error 1 make[2]: Leaving directory '/build/tests' make[1]: *** [Makefile:509: check-recursive] Error 1 make[1]: Leaving directory '/build' make: *** [Makefile:809: check] Error 2 + cat-testlogs.sh
======================== ./tests/testsuite.dir/5/testsuite.log
# -*- compilation -*- 5. testsuite.at:29: testing ss7 ... ./testsuite.at:32: $abs_top_builddir/tests/ss7/ss7_test stderr: [38;5;43m<000c> 0: Creating SS7 Instance [0;m[38;5;43m<000c> 0: Creating Route Table system [0;m[38;5;43m<000c> 0: Point Code Format 8-8-8 is longer than 14 bits, odd? [0;m[38;5;43m<000c> registering user=testuser for SI 1 with priv 0x1234 [0;m[38;5;43m<000c> delivering MTP-TRANSFER.ind to user testuser, priv=0x1234 [0;m[38;5;43m<000c> No MTP-User for SI 1 [0;m[38;5;43m<000c> Unsupported Primitive [0;m[38;5;43m<000c> 0: Creating Route Table foobar [0;m[38;5;43m<000c> 0: Creating Linkset a [0;m[38;5;43m<000c> 0: Creating Linkset b [0;m[38;5;43m<000c> 0: Creating route: pc=12=0.1.4 mask=0x3fff via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=12=0.1.4 mask=0x3fff via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=8=0.1.0 mask=0x3ff8 via linkset 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=12=0.1.4 mask=0x3fff via linkset 'b' [0;m[38;5;43m<000c> 0: Creating route: pc=0=0.0.0 mask=0x0 via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=0=0.0.0 mask=0x0 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=12=0.1.4 mask=0x3fff via linkset/ASP 'b' [0;m[38;5;43m<000c> 0: Destroying route: pc=8=0.1.0 mask=0x3ff8 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=8=0.1.0 mask=0x3ff9 via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=8=0.1.0 mask=0x3ff9 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Destroying Linkset a [0;m[38;5;43m<000c> 0: Destroying Linkset b [0;m[38;5;43m<000c> 0: Creating Linkset a [0;m[38;5;43m<000c> 0: Creating Linkset b [0;m[38;5;43m<000c> 0: Creating Link a:1 [0;m[38;5;43m<000c> 0: Creating Link a:2 [0;m[38;5;43m<000c> 0: Destroying Link a:1 [0;m[38;5;43m<000c> 0: Destroying Link a:2 [0;m[38;5;43m<000c> 0: Destroying Linkset a [0;m[38;5;43m<000c> 0: Destroying Linkset b [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: Allocated [0;m[38;5;43m<000c> 0: as-as1: Created AS [0;m[38;5;43m<000c> 0: as-as1: Adding ASP asp1 to AS [0;m[38;5;43m<000c> 0: asp-asp1: Restarting ASP asp1, r=:0<->l=:2905 [0;m[38;5;23m<0002> [WAIT_RECONNECT] osmo_stream_cli_reconnect(): retrying in 5 seconds... [0;m[38;5;43m<000c> 0: asp-asp1: Unable to open stream client for ASP asp1, :2905 ==> :0 [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Allocated [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Received Event M-ASP_UP.req [0;m[38;5;43m<000c> 0: asp-asp1: Cannot transmit, asp->client not connected [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Received Event ASPSM-ASP_UP_ACK [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: state_chg to ASP_INACTIVE [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: Received Event ASPAS-ASP_INACTIVE.ind [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: state_chg to AS_INACTIVE [0;m[38;5;43m<000c> 0: asp-asp1: No Layer Manager, dropping M-ASP_UP.confirm [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: Received Event M-ASP_ACTIVE.req [0;m[38;5;43m<000c> 0: asp-asp1: Cannot transmit, asp->client not connected [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: Received Event ASPTM-ASP_AC_ACK [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: state_chg to ASP_ACTIVE [0;m[38;5;43m<000c> XUA_AS(as1){AS_INACTIVE}: Received Event ASPAS-ASP_ACTIVE.ind [0;m[38;5;43m<000c> XUA_AS(as1){AS_INACTIVE}: state_chg to AS_ACTIVE [0;m[38;5;43m<000c> 0: asp-asp1: No Layer Manager, dropping M-ASP_ACTIVE.confirm [0;m[38;5;43m<000c> 0: as-as1: Removing ASP asp1 from AS [0;m[38;5;43m<000c> 0: as-as1: Removing ASP asp1 from AS [0;m[38;5;43m<000c> 0: asp-asp1: Destroying ASP [0;mAddressSanitizer:DEADLYSIGNAL ================================================================= ==30977==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f96ff175076 bp 0x7ffed05aa368 sp 0x7ffed05aa368 T0) ==30977==The signal is caused by a WRITE memory access. ==30977==Hint: address points to the zero page. #0 0x7f96ff175076 in __llist_del (/build/deps/install/lib/libosmocore.so.20+0x2e076) #1 0x7f96ff1750ad in llist_del (/build/deps/install/lib/libosmocore.so.20+0x2e0ad) #2 0x7f96ff175688 in osmo_fd_unregister (/build/deps/install/lib/libosmocore.so.20+0x2e688) #3 0x7f96ff263700 in osmo_stream_cli_close (/build/deps/install/lib/libosmonetif.so.11+0x13700) #4 0x7f96ff26484a in osmo_stream_cli_destroy (/build/deps/install/lib/libosmonetif.so.11+0x1484a) #5 0x5560e160c631 in osmo_ss7_asp_destroy (/build/tests/ss7/ss7_test+0x15b631) #6 0x5560e15f7b22 in test_as (/build/tests/ss7/ss7_test+0x146b22) #7 0x5560e15f818e in main (/build/tests/ss7/ss7_test+0x14718e) #8 0x7f96fe5f4d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #9 0x5560e15f5b49 in _start (/build/tests/ss7/ss7_test+0x144b49)
AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/build/deps/install/lib/libosmocore.so.20+0x2e076) in __llist_del ==30977==ABORTING --- expout 2023-06-14 12:06:09.086529942 +0000 +++ /build/tests/testsuite.dir/at-groups/5/stdout 2023-06-14 12:06:09.086529942 +0000 @@ -1,30 +0,0 @@ -Testing ITU-style point code format -test_pc_transcode(0) -> 0.0.0 -> 0 -test_pc_transcode(1) -> 0.0.1 -> 1 -test_pc_transcode(8) -> 0.1.0 -> 8 -test_pc_transcode(2048) -> 1.0.0 -> 2048 -test_pc_transcode(14336) -> 7.0.0 -> 14336 -test_pc_transcode(100) -> 0.12.4 -> 100 -test_pc_transcode(2342) -> 1.36.6 -> 2342 -test_pc_transcode(16383) -> 7.255.7 -> 16383 -mask /1 => 8192 (0x2000) 4.0.0 -mask 7.0.0 => 14336 (0x3800) 7.0.0 -mask /14 => 16383 (0x3fff) 7.255.7 -Testing ANSI-style point code format -test_pc_transcode(0) -> 0-0-0 -> 0 -test_pc_transcode(1) -> 0-0-1 -> 1 -test_pc_transcode(256) -> 0-1-0 -> 256 -test_pc_transcode(65536) -> 1-0-0 -> 65536 -test_pc_transcode(2048) -> 0-8-0 -> 2048 -test_pc_transcode(16777215) -> 255-255-255 -> 16777215 -test_pc_transcode(100) -> 0-0-100 -> 100 -test_pc_transcode(2342) -> 0-9-38 -> 2342 -mask /1 => 8388608 (0x800000) 128-0-0 -mask /16 => 16776960 (0xffff00) 255-255-0 -mask /24 => 16777215 (0xffffff) 255-255-255 -Testing SS7 user -Testing SS7 routing -route with full mask: 0.1.4/14 -route with partial mask: 0.1.0/11 -route with non-consecutive mask: 0.1.0/7.255.1 -Testing SS7 linkset/link ./testsuite.at:32: exit code was 1, expected 0 5. testsuite.at:29: 5. ss7 (testsuite.at:29): FAILED (testsuite.at:32) Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1843701 killed; [ssh-agent] Stopped. Archiving artifacts
Changes:
------------------------------------------ [...truncated 340.11 KB...] Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 39286), raddr=('127.0.0.1', 4239)> (0 sockets open) Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgx33gdrg9, test write_config Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfgx33gdrg9'
ls -l /proc/30362/fd
total 0 lr-x------ 1 build build 64 Jun 14 16:06 0 -> pipe:[3624437827] l-wx------ 1 build build 64 Jun 14 16:06 1 -> pipe:[3624437828] l-wx------ 1 build build 64 Jun 14 16:06 2 -> pipe:[3624437829] l-wx------ 1 build build 64 Jun 14 16:06 3 -> /dev/null
ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ps xua | grep osmo
build 30362 5.5 0.0 24764 19112 ? S 16:06 0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v build 30459 0.0 0.0 21474924712 15728 ? R 16:06 0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgx33gdrg9 build 30479 0.0 0.0 2480 584 ? S 16:06 0:00 /bin/sh -c ps xua | grep osmo build 30481 0.0 0.0 6240 648 ? S 16:06 0:00 grep osmo
Connecting socket failed, retrying... Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 39304), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 39304), raddr=('127.0.0.1', 4239)> (0 sockets open) Verifying stp/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgx33gdrg9, test token_vty_command Launching: PWD=/build 'stp/osmo-stp' '-c' '/build/writtenconfig/osmo-stp-multihome.cfgx33gdrg9'
ls -l /proc/30362/fd
total 0 lr-x------ 1 build build 64 Jun 14 16:06 0 -> pipe:[3624437827] l-wx------ 1 build build 64 Jun 14 16:06 1 -> pipe:[3624437828] l-wx------ 1 build build 64 Jun 14 16:06 2 -> pipe:[3624437829] l-wx------ 1 build build 64 Jun 14 16:06 3 -> /dev/null
ss -tn
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ss -tln
State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
ps xua | grep osmo
build 30362 5.5 0.0 24764 19112 ? S 16:06 0:00 /usr/bin/python3 /usr/local/bin/osmotestconfig.py -p /build -w /build -v build 30483 0.0 0.0 21474924712 15680 ? R 16:06 0:00 /build/stp/.libs/osmo-stp -c /build/writtenconfig/osmo-stp-multihome.cfgx33gdrg9 build 30503 0.0 0.0 2480 576 ? S 16:06 0:00 /bin/sh -c ps xua | grep osmo build 30505 0.0 0.0 6240 648 ? S 16:06 0:00 grep osmo
Connecting socket failed, retrying... Socket: in 2 tries, connected to 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 39328), raddr=('127.0.0.1', 4239)> (1 sockets open) Process returned code: 0 Socket: closing 127.0.0.1:4239 <socket.socket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 39328), raddr=('127.0.0.1', 4239)> (0 sockets open) make[5]: Leaving directory '/build/tests/vty' make[4]: Leaving directory '/build/tests/vty' make[3]: Leaving directory '/build/tests/vty' make[3]: Entering directory '/build/tests' make check-local make[4]: Entering directory '/build/tests' :;{ \ echo '# Signature of the current package.' && \ echo 'm4_define([AT_PACKAGE_NAME],' && \ echo ' [libosmo-sccp])' && \ echo 'm4_define([AT_PACKAGE_TARNAME],' && \ echo ' [libosmo-sccp])' && \ echo 'm4_define([AT_PACKAGE_VERSION],' && \ echo ' [1.7.0.34-83db])' && \ echo 'm4_define([AT_PACKAGE_STRING],' && \ echo ' [libosmo-sccp 1.7.0.34-83db])' && \ echo 'm4_define([AT_PACKAGE_BUGREPORT],' && \ echo ' [openbsc@lists.osmocom.org])'; \ echo 'm4_define([AT_PACKAGE_URL],' && \ echo ' [])'; \ } >'./package.m4' /bin/bash ../missing --run autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at mv testsuite.tmp testsuite /bin/bash './testsuite' ## -------------------------------------- ## ## libosmo-sccp 1.7.0.34-83db test suite. ## ## -------------------------------------- ##
Regression tests.
1: m2ua ok 2: mtp ok 3: sccp ok 4: xua ok 5: ss7 FAILED (testsuite.at:32)
## ------------- ## ## Test results. ## ## ------------- ##
ERROR: All 5 tests were run, 1 failed unexpectedly. ## -------------------------- ## ## testsuite.log was created. ## ## -------------------------- ##
Please send `tests/testsuite.log' and all information you think might help:
To: openbsc@lists.osmocom.org Subject: [libosmo-sccp 1.7.0.34-83db] testsuite: 5 failed
You may investigate any problem if you feel able to do so, in which case the test suite provides a good starting point. Its output may be found below `tests/testsuite.dir'.
make[4]: Leaving directory '/build/tests' make[4]: *** [Makefile:669: check-local] Error 1 make[3]: *** [Makefile:529: check-am] Error 2 make[3]: Leaving directory '/build/tests' make[2]: *** [Makefile:378: check-recursive] Error 1 make[2]: Leaving directory '/build/tests' make[1]: *** [Makefile:509: check-recursive] Error 1 make[1]: Leaving directory '/build' make: *** [Makefile:809: check] Error 2 + cat-testlogs.sh
======================== ./tests/testsuite.dir/5/testsuite.log
# -*- compilation -*- 5. testsuite.at:29: testing ss7 ... ./testsuite.at:32: $abs_top_builddir/tests/ss7/ss7_test stderr: [38;5;43m<000c> 0: Creating SS7 Instance [0;m[38;5;43m<000c> 0: Creating Route Table system [0;m[38;5;43m<000c> 0: Point Code Format 8-8-8 is longer than 14 bits, odd? [0;m[38;5;43m<000c> registering user=testuser for SI 1 with priv 0x1234 [0;m[38;5;43m<000c> delivering MTP-TRANSFER.ind to user testuser, priv=0x1234 [0;m[38;5;43m<000c> No MTP-User for SI 1 [0;m[38;5;43m<000c> Unsupported Primitive [0;m[38;5;43m<000c> 0: Creating Route Table foobar [0;m[38;5;43m<000c> 0: Creating Linkset a [0;m[38;5;43m<000c> 0: Creating Linkset b [0;m[38;5;43m<000c> 0: Creating route: pc=12=0.1.4 mask=0x3fff via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=12=0.1.4 mask=0x3fff via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=8=0.1.0 mask=0x3ff8 via linkset 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=12=0.1.4 mask=0x3fff via linkset 'b' [0;m[38;5;43m<000c> 0: Creating route: pc=0=0.0.0 mask=0x0 via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=0=0.0.0 mask=0x0 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=12=0.1.4 mask=0x3fff via linkset/ASP 'b' [0;m[38;5;43m<000c> 0: Destroying route: pc=8=0.1.0 mask=0x3ff8 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Creating route: pc=8=0.1.0 mask=0x3ff9 via linkset 'a' [0;m[38;5;43m<000c> 0: Destroying route: pc=8=0.1.0 mask=0x3ff9 via linkset/ASP 'a' [0;m[38;5;43m<000c> 0: Destroying Linkset a [0;m[38;5;43m<000c> 0: Destroying Linkset b [0;m[38;5;43m<000c> 0: Creating Linkset a [0;m[38;5;43m<000c> 0: Creating Linkset b [0;m[38;5;43m<000c> 0: Creating Link a:1 [0;m[38;5;43m<000c> 0: Creating Link a:2 [0;m[38;5;43m<000c> 0: Destroying Link a:1 [0;m[38;5;43m<000c> 0: Destroying Link a:2 [0;m[38;5;43m<000c> 0: Destroying Linkset a [0;m[38;5;43m<000c> 0: Destroying Linkset b [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: Allocated [0;m[38;5;43m<000c> 0: as-as1: Created AS [0;m[38;5;43m<000c> 0: as-as1: Adding ASP asp1 to AS [0;m[38;5;43m<000c> 0: asp-asp1: Restarting ASP asp1, r=:0<->l=:2905 [0;m[38;5;23m<0002> [WAIT_RECONNECT] osmo_stream_cli_reconnect(): retrying in 5 seconds... [0;m[38;5;43m<000c> 0: asp-asp1: Unable to open stream client for ASP asp1, :2905 ==> :0 [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Allocated [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Received Event M-ASP_UP.req [0;m[38;5;43m<000c> 0: asp-asp1: Cannot transmit, asp->client not connected [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: Received Event ASPSM-ASP_UP_ACK [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_DOWN}: state_chg to ASP_INACTIVE [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: Received Event ASPAS-ASP_INACTIVE.ind [0;m[38;5;43m<000c> XUA_AS(as1){AS_DOWN}: state_chg to AS_INACTIVE [0;m[38;5;43m<000c> 0: asp-asp1: No Layer Manager, dropping M-ASP_UP.confirm [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: Received Event M-ASP_ACTIVE.req [0;m[38;5;43m<000c> 0: asp-asp1: Cannot transmit, asp->client not connected [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: Received Event ASPTM-ASP_AC_ACK [0;m[38;5;43m<000c> XUA_ASP(asp1){ASP_INACTIVE}: state_chg to ASP_ACTIVE [0;m[38;5;43m<000c> XUA_AS(as1){AS_INACTIVE}: Received Event ASPAS-ASP_ACTIVE.ind [0;m[38;5;43m<000c> XUA_AS(as1){AS_INACTIVE}: state_chg to AS_ACTIVE [0;m[38;5;43m<000c> 0: asp-asp1: No Layer Manager, dropping M-ASP_ACTIVE.confirm [0;m[38;5;43m<000c> 0: as-as1: Removing ASP asp1 from AS [0;m[38;5;43m<000c> 0: as-as1: Removing ASP asp1 from AS [0;m[38;5;43m<000c> 0: asp-asp1: Destroying ASP [0;mAddressSanitizer:DEADLYSIGNAL ================================================================= ==30691==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x7f4577b66076 bp 0x7ffc805ff628 sp 0x7ffc805ff628 T0) ==30691==The signal is caused by a WRITE memory access. ==30691==Hint: address points to the zero page. #0 0x7f4577b66076 in __llist_del (/build/deps/install/lib/libosmocore.so.20+0x2e076) #1 0x7f4577b660ad in llist_del (/build/deps/install/lib/libosmocore.so.20+0x2e0ad) #2 0x7f4577b66688 in osmo_fd_unregister (/build/deps/install/lib/libosmocore.so.20+0x2e688) #3 0x7f4577c54700 in osmo_stream_cli_close (/build/deps/install/lib/libosmonetif.so.11+0x13700) #4 0x7f4577c5584a in osmo_stream_cli_destroy (/build/deps/install/lib/libosmonetif.so.11+0x1484a) #5 0x55e65c406631 in osmo_ss7_asp_destroy (/build/tests/ss7/ss7_test+0x15b631) #6 0x55e65c3f1b22 in test_as (/build/tests/ss7/ss7_test+0x146b22) #7 0x55e65c3f218e in main (/build/tests/ss7/ss7_test+0x14718e) #8 0x7f4576fe5d09 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x23d09) #9 0x55e65c3efb49 in _start (/build/tests/ss7/ss7_test+0x144b49)
AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/build/deps/install/lib/libosmocore.so.20+0x2e076) in __llist_del ==30691==ABORTING --- expout 2023-06-14 16:06:59.569524362 +0000 +++ /build/tests/testsuite.dir/at-groups/5/stdout 2023-06-14 16:06:59.569524362 +0000 @@ -1,30 +0,0 @@ -Testing ITU-style point code format -test_pc_transcode(0) -> 0.0.0 -> 0 -test_pc_transcode(1) -> 0.0.1 -> 1 -test_pc_transcode(8) -> 0.1.0 -> 8 -test_pc_transcode(2048) -> 1.0.0 -> 2048 -test_pc_transcode(14336) -> 7.0.0 -> 14336 -test_pc_transcode(100) -> 0.12.4 -> 100 -test_pc_transcode(2342) -> 1.36.6 -> 2342 -test_pc_transcode(16383) -> 7.255.7 -> 16383 -mask /1 => 8192 (0x2000) 4.0.0 -mask 7.0.0 => 14336 (0x3800) 7.0.0 -mask /14 => 16383 (0x3fff) 7.255.7 -Testing ANSI-style point code format -test_pc_transcode(0) -> 0-0-0 -> 0 -test_pc_transcode(1) -> 0-0-1 -> 1 -test_pc_transcode(256) -> 0-1-0 -> 256 -test_pc_transcode(65536) -> 1-0-0 -> 65536 -test_pc_transcode(2048) -> 0-8-0 -> 2048 -test_pc_transcode(16777215) -> 255-255-255 -> 16777215 -test_pc_transcode(100) -> 0-0-100 -> 100 -test_pc_transcode(2342) -> 0-9-38 -> 2342 -mask /1 => 8388608 (0x800000) 128-0-0 -mask /16 => 16776960 (0xffff00) 255-255-0 -mask /24 => 16777215 (0xffffff) 255-255-255 -Testing SS7 user -Testing SS7 routing -route with full mask: 0.1.4/14 -route with partial mask: 0.1.0/11 -route with non-consecutive mask: 0.1.0/7.255.1 -Testing SS7 linkset/link ./testsuite.at:32: exit code was 1, expected 0 5. testsuite.at:29: 5. ss7 (testsuite.at:29): FAILED (testsuite.at:32) Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 3741251 killed; [ssh-agent] Stopped. Archiving artifacts
jenkins-notifications@lists.osmocom.org