osmo-hlr/tests
Neels Hofmeyr 0d82a87c0d drop error log for when a subscriber does not exist
Checking for existence of a subscriber and seeing that there is none is not
inherently an error. However, osmo-hlr currently logs on all occasions:

  DAUC ERROR Cannot read subscriber from db: MSISDN='1001': No such subscriber

This spams the ERROR log level. Particularly when a D-GSM setup does subscriber
existence checks for every incoming mslookup request, that potentially creates
constant ERROR logging.

The "No such subscriber" part comes from db_sel(), which might also return an
sqlite3_errmsg(). We still want those sqlite3_errmsg()es in the ERROR log.

Hence print an ERROR log only if db_sel() returns an rc != -ENOENT.

Change-Id: I5044e9b4519b948edc4e451cef0f7830d315619b
2020-04-30 19:22:24 +02:00
..
auc tests/auc: change back to python3 2019-12-10 14:37:25 +01:00
db drop error log for when a subscriber does not exist 2020-04-30 19:22:24 +02:00
db_upgrade db v5: prep for D-GSM: add vlr_via_proxy and sgsn_via_proxy 2020-04-30 19:22:24 +02:00
gsup 1/2: refactor: add and use lu_fsm, osmo_gsup_req, osmo_ipa_name 2020-04-30 19:16:09 +02:00
gsup_server D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
mslookup mslookup_client_mdns_test: no automatic skip 2020-02-14 11:16:47 +00:00
Makefile.am 1/2: refactor: add and use lu_fsm, osmo_gsup_req, osmo_ipa_name 2020-04-30 19:16:09 +02:00
test_nodes.vty D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
test_subscr_create_on_demand.vty Create subscribers on demand 2019-05-19 14:42:46 +07:00
test_subscriber.ctrl test_subscriber.ctrl: test against octal/hex interpretation of id 2017-10-27 02:37:20 +02:00
test_subscriber.sql test_subscriber.ctrl: test against octal/hex interpretation of id 2017-10-27 02:37:20 +02:00
test_subscriber.vty D-GSM 2/n: implement mDNS method of mslookup server 2020-04-30 19:22:24 +02:00
test_subscriber.vty.sql VTY: integrate IMEI 2019-01-24 15:29:08 +00:00
test_subscriber_errors.ctrl ctrl test: fix: adjust expectations after stricter ctrl parsing 2018-01-07 22:27:08 +01:00
testsuite.at 1/2: refactor: add and use lu_fsm, osmo_gsup_req, osmo_ipa_name 2020-04-30 19:16:09 +02:00