See
<https://jenkins.osmocom.org/jenkins/job/master-osmo-hlr/a1=default,a2=default,a3=default,a4=default,label=osmocom-master-debian9/7155/display/redirect>
Changes:
------------------------------------------
[...truncated 202.17 KB...]
OsmoHLR# subscriber imsi 123456789023000 update network-access-mode none
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
CS disabled
PS disabled
OsmoHLR# subscriber imsi 123456789023000 update network-access-mode cs
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
PS disabled
OsmoHLR# subscriber imsi 123456789023000 update network-access-mode ps
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
CS disabled
OsmoHLR# subscriber imsi 123456789023000 update network-access-mode cs+ps
OsmoHLR# subscriber imsi 123456789023000 show
ID: 101
IMSI: 123456789023000
MSISDN: none
OsmoHLR# subscriber imsi 123456789023000 delete
% Deleted subscriber for IMSI '123456789023000'
20211211160752021 [1;33mDMAIN[0;m [1;33mNOTICE[0;m Terminating due to signal=15
(hlr.c:719)
full talloc report on 'OsmoHLR' (total 798 bytes in 17 blocks)
telnet_connection contains 1 bytes in 1 blocks (ref 0)
0x60b00012d770
127.0.0.1 contains 10 bytes in 1 blocks (ref 0)
0x60b000116640
struct sched_vty_opts contains 72 bytes in 1 blocks (ref 0)
0x60f00000d2a0
dgsm contains 40 bytes in 2 blocks (ref 0)
0x60800000be80
struct osmo_mslookup_client contains 40 bytes in 1 blocks (ref 0)
0x60d00002a570
struct hlr contains 674 bytes in 10 blocks (ref 0)
0x61600000fce0
struct ctrl_handle contains 88 bytes in 1 blocks (ref 0)
0x6100000063a0
hlr_vty_test.db contains 16 bytes in 1 blocks (ref 0)
0x60b0001146a0
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0)
0x60d00002c450
*#101# contains 7 bytes in 1 blocks (ref 0)
0x60b000114750
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0)
0x60d00002c520
*#100# contains 7 bytes in 1 blocks (ref 0)
0x60b000114f90
127.0.0.1 contains 10 bytes in 1 blocks (ref 0)
0x60b0001157d0
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0)
0x60c00000bf20
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0)
0x60c00000bfe0
msgb contains 0 bytes in 1 blocks (ref 0)
0x60800000bf00
full talloc report on 'null_context' (total 24 bytes in 2 blocks)
struct lookup_helper contains 24 bytes in 1 blocks (ref 0)
0x60c0000332e0
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
20211211160753067 [1;33mDMAIN[0;m [1;33mNOTICE[0;m hlr starting (hlr.c:791)
[1;31m20211211160753067 [1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m using database:
hlr_ctrl_test.db (db.c:558)
[0;m Traceback (most recent call last):
File
"/usr/local/lib/python3.5/dist-packages/osmopython-0.2.0-py3.5.egg/osmopy/osmo_interact/common.py",
line 356, in verify_application
interact.connect()
File
"/usr/local/lib/python3.5/dist-packages/osmopython-0.2.0-py3.5.egg/osmopy/osmo_interact/ctrl.py",
line 64, in connect
super().connect()
File
"/usr/local/lib/python3.5/dist-packages/osmopython-0.2.0-py3.5.egg/osmopy/osmo_interact/common.py",
line 88, in connect
self.socket.connect((self.host, int(self.port)))
ConnectionRefusedError: [Errno 111] Connection refused
Launching: cd '/build/tests'; ../src/osmo-hlr -c ../doc/examples/osmo-hlr.cfg -l
hlr_ctrl_test.db
Terminating took 1.415s
20211211160757999 [1;33mDMAIN[0;m [1;33mNOTICE[0;m hlr starting (hlr.c:791)
[1;31m20211211160757999 [1;33mDDB[0;m[1;31m [1;33mNOTICE[0;m[1;31m using database:
hlr_ctrl_test.db (db.c:558)
[0;m [1;31m20211211160758322 [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;m 20211211160758325 [1;33mDLGLOBAL[0;m [1;33mNOTICE[0;m Available via telnet
127.0.0.1 4258 (telnet_interface.c:104)
[38;5;33m20211211160758325 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m
CTRL at 127.0.0.1 4259 (control_if.c:1017)
[0;m Launching: 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;33m20211211160758384 [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:409)
[0;m ERROR 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;33m20211211160758384 [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:409)
[0;m ERROR 31 GET variable contains invalid characters
GET 32 subscriber.by-id-+-1.info
[38;5;33m20211211160758385 [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:409)
[0;m ERROR 32 GET variable contains invalid characters
GET 33 subscriber.by-id--+1.info
[38;5;33m20211211160758385 [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:409)
[0;m ERROR 33 GET variable contains invalid characters
GET 34 subscriber.by-id-++1.info
[38;5;33m20211211160758385 [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:409)
[0;m ERROR 34 GET variable contains invalid characters
GET 35 subscriber.by-id---1.info
ERROR 35 Invalid value part of 'by-xxx-value' selector.
GET 36 subscriber.by-id- 1.info
[38;5;33m20211211160758385 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
with trailing characters: "1.info" (control_cmd.c:418)
[0;m ERROR 36 GET with trailing characters
GET 37 subscriber.by-id-+ 1.info
[38;5;33m20211211160758385 [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:409)
[0;m ERROR 37 GET variable contains invalid characters
GET 38 subscriber.by-id-- 1.info
[38;5;33m20211211160758386 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m GET
with trailing characters: "1.info" (control_cmd.c:418)
[0;m ERROR 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;33m20211211160758387 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m SET
Command incomplete (control_cmd.c:429)
[0;m ERROR 44 SET incomplete
SET 45 subscriber.by-imsi-901990000000001.cs-enabled
[38;5;33m20211211160758387 [1;33mDLCTRL[0;m[38;5;33m [1;33mNOTICE[0;m[38;5;33m SET
Command incomplete (control_cmd.c:429)
[0;m 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.
20211211160758387 [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)
0x60b00012d8d0
127.0.0.1 contains 10 bytes in 1 blocks (ref 0)
0x60b000116640
struct sched_vty_opts contains 72 bytes in 1 blocks (ref 0)
0x60f00000d2a0
dgsm contains 40 bytes in 2 blocks (ref 0)
0x60800000be80
struct osmo_mslookup_client contains 40 bytes in 1 blocks (ref 0)
0x60d00002a570
struct hlr contains 675 bytes in 10 blocks (ref 0)
0x61600000fce0
struct ctrl_handle contains 88 bytes in 1 blocks (ref 0)
0x6100000063a0
hlr_ctrl_test.db contains 17 bytes in 1 blocks (ref 0)
0x60c000036a60
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0)
0x60d00002c450
*#101# contains 7 bytes in 1 blocks (ref 0)
0x60b000114750
struct hlr_ussd_route contains 47 bytes in 2 blocks (ref 0)
0x60d00002c520
*#100# contains 7 bytes in 1 blocks (ref 0)
0x60b000114f90
127.0.0.1 contains 10 bytes in 1 blocks (ref 0)
0x60b0001157d0
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0)
0x60c00000bf20
mdns.osmocom.org contains 17 bytes in 1 blocks (ref 0)
0x60c00000bfe0
msgb contains 0 bytes in 1 blocks (ref 0)
0x60800000bf00
full talloc report on 'null_context' (total 24 bytes in 2 blocks)
struct lookup_helper contains 24 bytes in 1 blocks (ref 0)
0x60c000033160
RESULTS:
FAIL: ./test_subscriber.ctrl
pass: ./test_subscriber_errors.ctrl
make[6]: *** [ctrl-test] Error 1
Makefile:717: recipe for target 'ctrl-test' failed
make[6]: Leaving directory '/build/tests'
Makefile:693: recipe for target 'python-tests' failed
make[5]: Leaving directory '/build/tests'
make[5]: *** [python-tests] Error 2
Makefile:731: recipe for target 'check-local' failed
make[4]: *** [check-local] Error 2
make[4]: Leaving directory '/build/tests'
make[3]: *** [check-am] Error 2
Makefile:552: recipe for target 'check-am' failed
make[3]: Leaving directory '/build/tests'
Makefile:404: recipe for target 'check-recursive' failed
make[2]: Leaving directory '/build/tests'
make[2]: *** [check-recursive] Error 1
Makefile:487: recipe for target 'check-recursive' failed
make[1]: Leaving directory '/build'
make[1]: *** [check-recursive] Error 1
Makefile:778: recipe for target 'check' failed
make: *** [check] Error 2
+ cat-testlogs.sh
Build step 'Execute shell' marked build as failure