Project

General

Profile

Bug #2450

Test sgsn failing locally in latest openbsc

Added by pespin about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
08/16/2017
Due date:
% Done:

100%

Resolution:
Spec Reference:

Description

Running latest master from all osmocom dependencies, openbsc e6222ef1acc9947dba82898a2371f48e4f3848e1.

 16: sgsn                                            FAILED (testsuite.at:111)

I attach the content of testsuite.log, which contains the whole log + assert failed + backtrace.

<0002> /home/pespin/dev/sysmocom/bin/../git/openbsc/openbsc/src/gprs/gprs_subscriber.c:893 MM(123456789012345/e326f5d3) Requesting subscriber authentication info
Assert failed (auts != NULL) == (auts_rand != NULL) /home/pespin/dev/sysmocom/bin/../git/openbsc/openbsc/src/gprs/gprs_subscriber.c:791

+backtrace() returned 16 addresses
+/home/pespin/dev/sysmocom/bin/../build/2g/out/lib/libosmocore.so.8(osmo_generate_backtrace+0x18) [0x7faf9408774e]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x32c29) [0x9087f13c29]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x33217) [0x9087f14217]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0xeca3) [0x9087eefca3]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x2ef07) [0x9087f0ff07]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x1fb9f) [0x9087f00b9f]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x206d1) [0x9087f016d1]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x22ace) [0x9087f03ace]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x25dce) [0x9087f06dce]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0xef74) [0x9087eeff74]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x120a6) [0x9087ef30a6]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x12f7a) [0x9087ef3f7a]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0x170c6) [0x9087ef80c6]
+/usr/lib/libc.so.6(__libc_start_main+0xea) [0x7faf933b94ca]
+/home/pespin/dev/sysmocom/build/2g/tmpdir/openbsc/openbsc/tests/sgsn/sgsn_test(+0xe7da) [0x9087eef7da]
/home/pespin/dev/sysmocom/bin/../git/openbsc/openbsc/tests/testsuite.at:111: exit code was 134, expected 0
16. testsuite.at:107: 16. sgsn (testsuite.at:107): FAILED (testsuite.at:111)

I tried going to an old rev 11acfad02a833999c37ee267864d082241a90afb, and still fails.

testsuite.log Magnifier (58.8 KB) pespin, 08/16/2017 09:02 AM

History

#1 Updated by pespin about 1 month ago

  • Subject changed from Tests failing locally in latest openbsc to Test sgsn failing locally in latest openbsc

#2 Updated by pespin about 1 month ago

auts parameter in gprs_subscr_request_auth_info is NULL.

Commit 058cd573d8 in openbsc seems to have changed gprs_subscr_request_auth_info to add those 2 pointers as parameters, but sgsn_test.c was not updated accordingly.

#3 Updated by pespin about 1 month ago

  • Status changed from New to In Progress
  • Assignee set to pespin

#4 Updated by pespin about 1 month ago

  • Status changed from In Progress to Feedback

Patch fixing the issue available in https://gerrit.osmocom.org/#/c/3536/

#5 Updated by pespin about 1 month ago

  • Status changed from Feedback to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF