See
<https://jenkins.osmocom.org/jenkins/job/master-osmo-hlr/a1=default,a2=default,a3=default,a4=default,label=osmocom-master-debian9/8588/display/redirect>
Changes:
------------------------------------------
[...truncated 206.82 KB...]
127.0.0.1 contains 10 bytes in 1 blocks (ref 0)
0x60b00011ec50
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0)
0x60c000000160
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0)
0x60c0000000a0
msgb contains 0 bytes in 1 blocks (ref 0)
0x608000000180
full talloc report on 'null_context' (total 24 bytes in 2 blocks)
struct lookup_helper contains 24 bytes in 1 blocks (ref 0)
0x60c000032da0
RESULTS:
pass: ./test_nodes.vty
pass: ./test_subscr_create_on_demand.vty
pass: ./test_subscriber.vty
rm -f hlr_vty_test.db hlr_vty_test.db-*
make[6]: Leaving directory '/build/tests'
make ctrl-test
make[6]: Entering directory '/build/tests'
rm -f hlr_ctrl_test.db
sqlite3 hlr_ctrl_test.db < ../sql/hlr.sql
sqlite3 hlr_ctrl_test.db < ./test_subscriber.sql
osmo_verify_transcript_ctrl.py -v \
-p 4259 \
-r "../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg -l hlr_ctrl_test.db" \
./*.ctrl
20221019160747269 [1;33mDMAIN[0;m [1;33mNOTICE[0;m hlr starting (hlr.c:791)
[1;31m20221019160747269 [1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m using database:
hlr_ctrl_test.db (db.c:558)
[0;mLaunching: cd '/build/tests'; ../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg
-l hlr_ctrl_test.db
Terminating took 0.897s
Traceback (most recent call last):
File
"/usr/local/lib/python3.7/dist-packages/osmopython-0.2.1-py3.7.egg/osmopy/osmo_interact/common.py",
line 356, in verify_application
interact.connect()
File
"/usr/local/lib/python3.7/dist-packages/osmopython-0.2.1-py3.7.egg/osmopy/osmo_interact/ctrl.py",
line 64, in connect
super().connect()
File
"/usr/local/lib/python3.7/dist-packages/osmopython-0.2.1-py3.7.egg/osmopy/osmo_interact/common.py",
line 88, in connect
self.socket.connect((self.host, int(self.port)))
ConnectionRefusedError: [Errno 111] Connection refused
20221019160751595 [1;33mDMAIN[0;m [1;33mNOTICE[0;m hlr starting (hlr.c:791)
[1;31m20221019160751595 [1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m using database:
hlr_ctrl_test.db (db.c:558)
[0;m[1;31m20221019160753423 [1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m Database
'hlr_ctrl_test.db' has HLR DB schema version 6 (db.c:636)
[0;m20221019160753425 [1;33mDLGLOBAL[0;m [1;33mNOTICE[0;m Available via telnet
127.0.0.1 4258 (telnet_interface.c:100)
[38;5;33m20221019160753425 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m CTRL
at 127.0.0.1 4259 (control_if.c:1013)
[0;mLaunching: cd '/build/tests'; ../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg
-l hlr_ctrl_test.db
GET 1 invalid
ERROR 1 Command not found
SET 2 invalid nonsense
ERROR 2 Command not found
GET 3 subscriber.by-imsi-nonsense.info
ERROR 3 Invalid value part of 'by-xxx-value' selector.
GET 4 subscriber.by-msisdn-nonsense.info
ERROR 4 Invalid value part of 'by-xxx-value' selector.
GET 5 subscriber.by-id-nonsense.info
ERROR 5 Invalid value part of 'by-xxx-value' selector.
GET 6 subscriber
ERROR 6 Command not present.
GET 7 subscriber.
ERROR 7 Command not present.
GET 8 subscriber.by-nonsense
ERROR 8 Command not present.
GET 9 subscriber.by-nonsense-
ERROR 9 Command not present.
GET 10 subscriber.by-nonsense-123456
ERROR 10 Command not present.
GET 11 subscriber.by-nonsense-123456.
ERROR 11 Command not present.
GET 12 subscriber.by-imsi-
ERROR 12 Command not present.
GET 13 subscriber.by-imsi-.
ERROR 13 Command not present.
GET 14 subscriber.by-imsi-901990000000003
ERROR 14 Command not present.
GET 15 subscriber.by-imsi-901990000000003.
ERROR 15 Command not present.
GET 16 subscriber.by-nonsense-123456.info
ERROR 16 Not a known subscriber 'by-xxx-' selector.
GET 17 subscriber.by-123456.info
ERROR 17 Not a known subscriber 'by-xxx-' selector.
GET 18 subscriber.by-imsi-.info
ERROR 18 Invalid value part of 'by-xxx-value' selector.
GET 19 subscriber.by-imsi--.info
ERROR 19 Invalid value part of 'by-xxx-value' selector.
GET 20 subscriber.by-imsi-12345678901234567.info
ERROR 20 Invalid value part of 'by-xxx-value' selector.
GET 21 subscriber.by-imsi-12345.info
ERROR 21 Invalid value part of 'by-xxx-value' selector.
GET 22 subscriber.by-imsi-1234567890123456.info
ERROR 22 Invalid value part of 'by-xxx-value' selector.
GET 23 subscriber.by-id-99999999999999999999999999.info
ERROR 23 Invalid value part of 'by-xxx-value' selector.
GET 24 subscriber.by-id-9223372036854775807.info
ERROR 24 No such subscriber.
GET 25 subscriber.by-id-9223372036854775808.info
ERROR 25 Invalid value part of 'by-xxx-value' selector.
GET 26 subscriber.by-id--1.info
ERROR 26 No such subscriber.
GET 27 subscriber.by-id--9223372036854775808.info
ERROR 27 No such subscriber.
GET 28 subscriber.by-id--9223372036854775809.info
ERROR 28 Invalid value part of 'by-xxx-value' selector.
GET 29 subscriber.by-id-1+1.info
[38;5;33m20221019160753489 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
variable contains invalid characters: "subscriber.by-id-1+1.info"
(control_cmd.c:405)
[0;mERROR 29 GET variable contains invalid characters
GET 30 subscriber.by-id--.info
ERROR 30 Invalid value part of 'by-xxx-value' selector.
GET 31 subscriber.by-id-+1.info
[38;5;33m20221019160753491 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
variable contains invalid characters: "subscriber.by-id-+1.info"
(control_cmd.c:405)
[0;mERROR 31 GET variable contains invalid characters
GET 32 subscriber.by-id-+-1.info
[38;5;33m20221019160753491 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
variable contains invalid characters: "subscriber.by-id-+-1.info"
(control_cmd.c:405)
[0;mERROR 32 GET variable contains invalid characters
GET 33 subscriber.by-id--+1.info
[38;5;33m20221019160753491 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
variable contains invalid characters: "subscriber.by-id--+1.info"
(control_cmd.c:405)
[0;mERROR 33 GET variable contains invalid characters
GET 34 subscriber.by-id-++1.info
ERROR 34 GET variable contains invalid characters
GET 35 subscriber.by-id---1.info
[38;5;33m20221019160753491 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
variable contains invalid characters: "subscriber.by-id-++1.info"
(control_cmd.c:405)
[0;mERROR 35 Invalid value part of 'by-xxx-value' selector.
GET 36 subscriber.by-id- 1.info
[38;5;33m20221019160753492 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
with trailing characters: "1.info" (control_cmd.c:414)
[0;mERROR 36 GET with trailing characters
GET 37 subscriber.by-id-+ 1.info
[38;5;33m20221019160753492 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
variable contains invalid characters: "subscriber.by-id-+" (control_cmd.c:405)
[0;mERROR 37 GET variable contains invalid characters
GET 38 subscriber.by-id-- 1.info
[38;5;33m20221019160753492 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
with trailing characters: "1.info" (control_cmd.c:414)
[0;mERROR 38 GET with trailing characters
SET 39 subscriber.by-imsi-901990000000001.info foo
ERROR 39 Read Only attribute
SET 40 subscriber.by-imsi-901990000000001.info-aud foo
ERROR 40 Read Only attribute
SET 41 subscriber.by-imsi-901990000000001.info-all foo
ERROR 41 Read Only attribute
SET 42 subscriber.by-imsi-901990000000001.ps-enabled nonsense
ERROR 42 Value failed verification.
SET 43 subscriber.by-imsi-901990000000001.cs-enabled nonsense
ERROR 43 Value failed verification.
SET 44 subscriber.by-imsi-901990000000001.ps-enabled
[38;5;33m20221019160753493 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m SET
Command incomplete (control_cmd.c:425)
[0;mERROR 44 SET incomplete
[38;5;33m20221019160753493 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m SET
Command incomplete (control_cmd.c:425)
[0;mSET 45 subscriber.by-imsi-901990000000001.cs-enabled
ERROR 45 SET incomplete
GET 46 subscriber.by-imsi-1234567890123456.ps-enabled
ERROR 46 Invalid value part of 'by-xxx-value' selector.
GET 47 subscriber.by-imsi-1234567890123456.cs-enabled
ERROR 47 Invalid value part of 'by-xxx-value' selector.
GET 48 subscriber.by-id-0x0123.info
ERROR 48 Invalid value part of 'by-xxx-value' selector.
SET 49 subscriber.create zzz
ERROR 49 Invalid IMSI value.
SET 50 subscriber.create 901990000000001
[1;31m20221019160753494 [1;31mDDB[0;m[1;31m [1;31mERROR[0;m[1;31m (2067) abort at
20 in [INSERT INTO subscriber (imsi, nam_cs, nam_ps) VALUES ($imsi, $nam_cs, $nam_ps)]:
UNIQUE constraint failed: subscriber.imsi (db.c:103)
[0;m[1;33m20221019160753494 [1;31mDAUC[0;m[1;33m [1;31mERROR[0;m[1;33m
IMSI='901990000000001': Cannot create subscriber: SQL error: (2067) UNIQUE
constraint failed: subscriber.imsi (db_hlr.c:76)
[0;mERROR 50 Subscriber already exists.
SET 51 subscriber.by-imsi-1234567890123456.msisdn hellobadmsisdn
ERROR 51 Value failed verification.
SET 52 subscriber.delete 100000
ERROR 52 Subscriber doesn't exist.
SET 53 subscriber.delete zzz
ERROR 53 Invalid IMSI value.
SET 54 subscriber.by-imsi-901990000000003.aud2g foobar
ERROR 54 Value failed verification.
SET 55 subscriber.by-imsi-901990000000003.aud2g foobar,2134
ERROR 55 Unknown auth algorithm.
SET 56 subscriber.by-imsi-901990000000003.aud2g xor,2134
ERROR 56 Invalid KI.
SET 57 subscriber.by-imsi-901990000000003.aud3g foobar
ERROR 57 Value failed verification.
SET 58 subscriber.by-imsi-901990000000003.aud3g foobar,2134
ERROR 58 Unknown auth algorithm.
SET 60 subscriber.by-imsi-901990000000003.aud3g milenage,2134
ERROR 60 Invalid KI.
SET 61 subscriber.by-imsi-901990000000003.aud3g
milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,AAA
ERROR 61 Invalid format.
SET 62 subscriber.by-imsi-901990000000003.aud3g
milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC
ERROR 62 Invalid format.
SET 63 subscriber.by-imsi-901990000000003.aud3g
milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC,zzz
ERROR 63 Invalid OP/OPC.
SET 64 subscriber.by-imsi-901990000000003.aud3g
milenage,c01ffedc1cadaeac1d1f1edacac1ab0a,OPC,fb2a3d1b360f599abab99db8669f8308,
ERROR 64 Invalid format.
20221019160753496 [1;33mDMAIN[0;m [1;33mNOTICE[0;m Terminating due to signal=15
(hlr.c:719)
full talloc report on 'OsmoHLR' (total 799 bytes in 17 blocks)
telnet_connection contains 1 bytes in 1 blocks (ref 0)
0x60b0001277e0
127.0.0.1 contains 10 bytes in 1 blocks (ref 0)
0x60b00011dde0
struct sched_vty_opts contains 72 bytes in 1 blocks (ref 0)
0x60f000001f90
dgsm contains 40 bytes in 2 blocks (ref 0)
0x608000000200
struct osmo_mslookup_client contains 40 bytes in 1 blocks (ref 0)
0x60d000025770
struct hlr contains 675 bytes in 10 blocks (ref 0)
0x6160000000e0
struct ctrl_handle contains 88 bytes in 1 blocks (ref 0)
0x610000001ea0
hlr_ctrl_test.db contains 17 bytes in 1 blocks (ref 0)
0x60c000030520
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0)
0x60d000022780
*#101# contains 7 bytes in 1 blocks (ref 0)
0x60b00011fcd0
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0)
0x60d0000226b0
*#100# contains 7 bytes in 1 blocks (ref 0)
0x60b00011f490
127.0.0.1 contains 10 bytes in 1 blocks (ref 0)
0x60b00011ec50
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0)
0x60c000000160
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0)
0x60c0000000a0
msgb contains 0 bytes in 1 blocks (ref 0)
0x608000000180
full talloc report on 'null_context' (total 24 bytes in 2 blocks)
struct lookup_helper contains 24 bytes in 1 blocks (ref 0)
0x60c000032f20
RESULTS:
FAIL: ./test_subscriber.ctrl
pass: ./test_subscriber_errors.ctrl
make[6]: *** [Makefile:726: ctrl-test] Error 1
make[6]: Leaving directory '/build/tests'
make[5]: *** [Makefile:697: python-tests] Error 2
make[5]: Leaving directory '/build/tests'
make[4]: Leaving directory '/build/tests'
make[4]: *** [Makefile:738: check-local] Error 2
make[3]: *** [Makefile:555: check-am] Error 2
make[3]: Leaving directory '/build/tests'
make[2]: Leaving directory '/build/tests'
make[2]: *** [Makefile:404: check-recursive] Error 1
make[1]: *** [Makefile:487: check-recursive] Error 1
make[1]: Leaving directory '/build'
make: *** [Makefile:781: check] Error 2
+ cat-testlogs.sh
Build step 'Execute shell' marked build as failure
Archiving artifacts