Skip to content
Unstable

Console Output

Skipping 579 KB.. Full Log
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '3', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262427476516991', 'algo': '3'}
127.0.0.1 - - [17/Nov/2025 08:56:18] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427476516991', 'msisdn': '491618210612'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427476516991', 'msisdn': '491618210612'}
127.0.0.1 - - [17/Nov/2025 08:56:18] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/3\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(65)@537405e8106f: Created GsupExpect[0] for "262427476516991" to be handled at TC_gsup_purge_ps(68)
[Database] [DEBUG] Get_Subscriber for imsi 262427476516991
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262427476516991', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 3, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491618210612', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:18Z'}
HLR_Test-GSUP(65)@537405e8106f: Found GsupExpect[0] for "262427476516991" handled at TC_gsup_purge_ps(68)
HLR_Test-GSUP(65)@537405e8106f: Added IMSI table entry 2TC_gsup_purge_ps(68)"262427476516991"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262427476516991 with new ID: 
TC_gsup_purge_ps(68)@537405e8106f: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262427476516991 with new ID: None
[GSUP] [INFO] Subscriber 262427476516991 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(68)@537405e8106f: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(68)@537405e8106f: Final verdict of PTC: pass
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262427476516991"
[Database] [DEBUG] Get_Subscriber for imsi 262427476516991
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:19.046648 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262427476516991', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-17T08:56:19Z', 'last_seen_cell_id': None, 'auc_id': 3, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491618210612', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:18Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:19] "GET /subscriber/imsi/262427476516991 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 3
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:19] "DELETE /auc/3 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 4
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:19.046648 - Formatting to String
127.0.0.1 - - [17/Nov/2025 08:56:19] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262427476516991\nDELETE http://127.0.0.1:8080/auc/3\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262422291563663 --msisdn 491614686160 --auc-id 4 --algo 4 --ki 11111111111111111111111111111111 --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 4
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:19] "DELETE /auc/4 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262422291563663', 'algo': '4'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '4', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262422291563663', 'algo': '4'}
127.0.0.1 - - [17/Nov/2025 08:56:19] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422291563663', 'msisdn': '491614686160'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422291563663', 'msisdn': '491614686160'}
127.0.0.1 - - [17/Nov/2025 08:56:19] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/4\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(65)@537405e8106f: Created GsupExpect[0] for "262422291563663" to be handled at TC_gsup_purge_ps(69)
[Database] [DEBUG] Get_Subscriber for imsi 262422291563663
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262422291563663', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 4, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491614686160', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:19Z'}
HLR_Test-GSUP(65)@537405e8106f: Found GsupExpect[0] for "262422291563663" handled at TC_gsup_purge_ps(69)
HLR_Test-GSUP(65)@537405e8106f: Added IMSI table entry 3TC_gsup_purge_ps(69)"262422291563663"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262422291563663 with new ID: 
TC_gsup_purge_ps(69)@537405e8106f: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262422291563663 with new ID: None
[GSUP] [INFO] Subscriber 262422291563663 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(69)@537405e8106f: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(69)@537405e8106f: Final verdict of PTC: pass
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262422291563663"
[Database] [DEBUG] Get_Subscriber for imsi 262422291563663
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:19.432026 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262422291563663', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-17T08:56:19Z', 'last_seen_cell_id': None, 'auc_id': 4, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491614686160', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:19Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:19] "GET /subscriber/imsi/262422291563663 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 4
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:19] "DELETE /auc/4 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 4
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:19.432026 - Formatting to String
127.0.0.1 - - [17/Nov/2025 08:56:19] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262422291563663\nDELETE http://127.0.0.1:8080/auc/4\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262424603880899 --msisdn 491617043513 --auc-id 5 --algo 4 --ki 11111111111111111111111111111111 --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 5
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:19] "DELETE /auc/5 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262424603880899', 'algo': '4'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '5', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262424603880899', 'algo': '4'}
127.0.0.1 - - [17/Nov/2025 08:56:19] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424603880899', 'msisdn': '491617043513'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424603880899', 'msisdn': '491617043513'}
127.0.0.1 - - [17/Nov/2025 08:56:19] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/5\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(65)@537405e8106f: Created GsupExpect[0] for "262424603880899" to be handled at TC_gsup_purge_ps(70)
[Database] [DEBUG] Get_Subscriber for imsi 262424603880899
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262424603880899', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 5, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491617043513', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:19Z'}
HLR_Test-GSUP(65)@537405e8106f: Found GsupExpect[0] for "262424603880899" handled at TC_gsup_purge_ps(70)
HLR_Test-GSUP(65)@537405e8106f: Added IMSI table entry 4TC_gsup_purge_ps(70)"262424603880899"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262424603880899 with new ID: 
TC_gsup_purge_ps(70)@537405e8106f: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262424603880899 with new ID: None
[GSUP] [INFO] Subscriber 262424603880899 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(70)@537405e8106f: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(70)@537405e8106f: Final verdict of PTC: pass
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262424603880899"
[Database] [DEBUG] Get_Subscriber for imsi 262424603880899
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:19.809827 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262424603880899', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-17T08:56:19Z', 'last_seen_cell_id': None, 'auc_id': 5, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491617043513', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:19Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:19] "GET /subscriber/imsi/262424603880899 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 5
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:19] "DELETE /auc/5 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 4
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:19.809827 - Formatting to String
127.0.0.1 - - [17/Nov/2025 08:56:19] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262424603880899\nDELETE http://127.0.0.1:8080/auc/5\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262428412952856 --msisdn 491612616040 --auc-id 6 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 6
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:20] "DELETE /auc/6 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262428412952856', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '6', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262428412952856', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:20] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262428412952856', 'msisdn': '491612616040'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262428412952856', 'msisdn': '491612616040'}
127.0.0.1 - - [17/Nov/2025 08:56:20] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/6\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(65)@537405e8106f: Created GsupExpect[0] for "262428412952856" to be handled at TC_gsup_purge_ps(71)
[Database] [DEBUG] Get_Subscriber for imsi 262428412952856
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262428412952856', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 6, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491612616040', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:20Z'}
HLR_Test-GSUP(65)@537405e8106f: Found GsupExpect[0] for "262428412952856" handled at TC_gsup_purge_ps(71)
HLR_Test-GSUP(65)@537405e8106f: Added IMSI table entry 5TC_gsup_purge_ps(71)"262428412952856"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262428412952856 with new ID: 
TC_gsup_purge_ps(71)@537405e8106f: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262428412952856 with new ID: None
[GSUP] [INFO] Subscriber 262428412952856 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(71)@537405e8106f: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(71)@537405e8106f: Final verdict of PTC: pass
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262428412952856"
[Database] [DEBUG] Get_Subscriber for imsi 262428412952856
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:20.214916 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262428412952856', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-17T08:56:20Z', 'last_seen_cell_id': None, 'auc_id': 6, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491612616040', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:20Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:20] "GET /subscriber/imsi/262428412952856 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 6
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:20] "DELETE /auc/6 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 4
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:20.214916 - Formatting to String
127.0.0.1 - - [17/Nov/2025 08:56:20] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262428412952856\nDELETE http://127.0.0.1:8080/auc/6\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262424776610756 --msisdn 491611532403 --auc-id 7 --algo 2 --ki 000102030405060708090A0B0C0D0E0F --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 7
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:20] "DELETE /auc/7 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262424776610756', 'algo': '2'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '7', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262424776610756', 'algo': '2'}
127.0.0.1 - - [17/Nov/2025 08:56:20] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424776610756', 'msisdn': '491611532403'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424776610756', 'msisdn': '491611532403'}
127.0.0.1 - - [17/Nov/2025 08:56:20] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/7\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(65)@537405e8106f: Created GsupExpect[0] for "262424776610756" to be handled at TC_gsup_purge_ps(72)
[Database] [DEBUG] Get_Subscriber for imsi 262424776610756
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262424776610756', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 7, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491611532403', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:20Z'}
HLR_Test-GSUP(65)@537405e8106f: Found GsupExpect[0] for "262424776610756" handled at TC_gsup_purge_ps(72)
HLR_Test-GSUP(65)@537405e8106f: Added IMSI table entry 6TC_gsup_purge_ps(72)"262424776610756"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262424776610756 with new ID: 
TC_gsup_purge_ps(72)@537405e8106f: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262424776610756 with new ID: None
[GSUP] [INFO] Subscriber 262424776610756 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(72)@537405e8106f: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(72)@537405e8106f: Final verdict of PTC: pass
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262424776610756"
[Database] [DEBUG] Get_Subscriber for imsi 262424776610756
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:20.655796 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262424776610756', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-17T08:56:20Z', 'last_seen_cell_id': None, 'auc_id': 7, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491611532403', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:20Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:20] "GET /subscriber/imsi/262424776610756 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 7
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:20] "DELETE /auc/7 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 4
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:20.655796 - Formatting to String
127.0.0.1 - - [17/Nov/2025 08:56:20] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262424776610756\nDELETE http://127.0.0.1:8080/auc/7\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262421354009790 --msisdn 491610258681 --auc-id 8 --algo 3 --ki 000102030405060708090A0B0C0D0E0F --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 8
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:20] "DELETE /auc/8 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262421354009790', 'algo': '3'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '8', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262421354009790', 'algo': '3'}
127.0.0.1 - - [17/Nov/2025 08:56:20] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421354009790', 'msisdn': '491610258681'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421354009790', 'msisdn': '491610258681'}
127.0.0.1 - - [17/Nov/2025 08:56:21] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/8\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(65)@537405e8106f: Created GsupExpect[0] for "262421354009790" to be handled at TC_gsup_purge_ps(73)
[Database] [DEBUG] Get_Subscriber for imsi 262421354009790
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262421354009790', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 8, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491610258681', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:20Z'}
HLR_Test-GSUP(65)@537405e8106f: Found GsupExpect[0] for "262421354009790" handled at TC_gsup_purge_ps(73)
HLR_Test-GSUP(65)@537405e8106f: Added IMSI table entry 7TC_gsup_purge_ps(73)"262421354009790"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262421354009790 with new ID: 
TC_gsup_purge_ps(73)@537405e8106f: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262421354009790 with new ID: None
[GSUP] [INFO] Subscriber 262421354009790 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(73)@537405e8106f: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(73)@537405e8106f: Final verdict of PTC: pass
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262421354009790"
[Database] [DEBUG] Get_Subscriber for imsi 262421354009790
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:21.082787 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262421354009790', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-17T08:56:21Z', 'last_seen_cell_id': None, 'auc_id': 8, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491610258681', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:20Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:21] "GET /subscriber/imsi/262421354009790 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 8
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:21] "DELETE /auc/8 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 4
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-17 08:56:21.082787 - Formatting to String
127.0.0.1 - - [17/Nov/2025 08:56:21] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262421354009790\nDELETE http://127.0.0.1:8080/auc/8\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@537405e8106f: setverdict(pass): none -> pass
HLR_Test-GSUP(65)@537405e8106f: Final verdict of PTC: none
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP-IPA(64)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: pass
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(64): none (pass -> pass)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(65): none (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_purge_ps(66): pass (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_purge_ps(67): pass (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_purge_ps(68): pass (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_purge_ps(69): pass (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_purge_ps(70): pass (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_purge_ps(71): pass (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_purge_ps(72): pass (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_purge_ps(73): pass (pass -> pass)
MTC@537405e8106f: Test case TC_gsup_purge_ps finished. Verdict: pass
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_ps pass'.
Mon Nov 17 08:56:21 UTC 2025
====== HLR_Tests.TC_gsup_purge_ps pass ======

Waiting for packet dumper to finish... 0 (prev_count=-1, count=171644)
Waiting for packet dumper to finish... 1 (prev_count=171644, count=191168)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_ps pass' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_purge_unknown'.
------ HLR_Tests.TC_gsup_purge_unknown ------
Mon Nov 17 08:56:23 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_purge_unknown.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_purge_unknown.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_purge_unknown' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_gsup_purge_unknown started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(74)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
HLR_Test-GSUP-IPA(74)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(74)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(74)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
HLR_Test-GSUP(75)@537405e8106f: Created GsupExpect[0] for "2345743413463" to be handled at TC_gsup_purge_unknown(76)
[Database] [DEBUG] Get_Subscriber for imsi 2345743413463
[GSUP] [WARN] Subscriber not found: 2345743413463 Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/database.py", line 1366, in Get_Subscriber
    result = session.query(SUBSCRIBER).filter_by(imsi=str(kwargs['imsi'])).one()
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/sqlalchemy/orm/query.py", line 2808, in one
    return self._iter().one()  # type: ignore
           ~~~~~~~~~~~~~~~~^^
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/sqlalchemy/engine/result.py", line 1815, in one
    return self._only_one_row(
           ~~~~~~~~~~~~~~~~~~^
        raise_for_second_row=True, raise_for_none=True, scalar=False
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/sqlalchemy/engine/result.py", line 760, in _only_one_row
    raise exc.NoResultFound(
        "No row was found when one was required"
    )
sqlalchemy.exc.NoResultFound: No row was found when one was required

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/controller/ulr.py", line 161, in handle_message
    subscriber = self._database.Get_Subscriber(imsi=imsi)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/database.py", line 1369, in Get_Subscriber
    raise ValueError(E)
ValueError: No row was found when one was required

HLR_Test-GSUP(75)@537405e8106f: Found GsupExpect[0] for "2345743413463" handled at TC_gsup_purge_unknown(76)
HLR_Test-GSUP(75)@537405e8106f: Added IMSI table entry 0TC_gsup_purge_unknown(76)"2345743413463"
TC_gsup_purge_unknown(76)@537405e8106f: setverdict(pass): none -> pass
TC_gsup_purge_unknown(76)@537405e8106f: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_unknown(76)@537405e8106f: Final verdict of PTC: pass
MTC@537405e8106f: setverdict(pass): none -> pass
HLR_Test-GSUP(75)@537405e8106f: Final verdict of PTC: none
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP-IPA(74)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: pass
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(74): none (pass -> pass)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(75): none (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_purge_unknown(76): pass (pass -> pass)
MTC@537405e8106f: Test case TC_gsup_purge_unknown finished. Verdict: pass
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_unknown pass'.
Mon Nov 17 08:56:24 UTC 2025
====== HLR_Tests.TC_gsup_purge_unknown pass ======

Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=5388)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_unknown pass' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_unknown'.
------ HLR_Tests.TC_mo_ussd_unknown ------
Mon Nov 17 08:56:26 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_unknown.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_unknown.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_unknown' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_mo_ussd_unknown started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(77)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
HLR_Test-GSUP-IPA(77)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(77)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(77)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262425324799879 --msisdn 491610232271 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:27] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262425324799879', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262425324799879', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:27] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425324799879', 'msisdn': '491610232271'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425324799879', 'msisdn': '491610232271'}
127.0.0.1 - - [17/Nov/2025 08:56:27] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/1\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(78)@537405e8106f: Created GsupExpect[0] for "262425324799879" to be handled at TC_mo_ussd_unknown(79)
[GSUP] [WARN] Unhandled GSUP message 32 from [127.0.0.1:9999 (MSC)]. Responding with error.
[GSUP] [ERROR] Error handling connection: 'GsupMessageBuilder' object has no attribute 'to_bytes' trace: Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 107, in __handle_connection
    await self.__handle_gsup(peer, payload_length)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 218, in __handle_gsup
    await self.gsup_handler.dispatch(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 71, in dispatch
    await self.__handle_gsup_unhandled_request(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 98, in __handle_gsup_unhandled_request
    await self.__send_gsup_response(peer, builder)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 74, in __send_gsup_response
    data = response.to_bytes()
           ^^^^^^^^^^^^^^^^^
AttributeError: 'GsupMessageBuilder' object has no attribute 'to_bytes'

HLR_Test-GSUP-IPA(77)@537405e8106f: IPA: Closed
HLR_Test-GSUP(78)@537405e8106f: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@537405e8106f: Test Component 78 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP(78)@537405e8106f: Final verdict of PTC: fail reason: "GSUP Connection Lost"
HLR_Test-GSUP-IPA(77)@537405e8106f: Final verdict of PTC: none
TC_mo_ussd_unknown(79)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: none
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(77): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(78): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@537405e8106f: Local verdict of PTC TC_mo_ussd_unknown(79): none (fail -> fail)
MTC@537405e8106f: Test case TC_mo_ussd_unknown finished. Verdict: fail reason: GSUP Connection Lost
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_unknown fail'.
Mon Nov 17 08:56:27 UTC 2025
------ HLR_Tests.TC_mo_ussd_unknown fail ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=14436)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_unknown fail' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_disc'.
------ HLR_Tests.TC_mo_ussd_euse_disc ------
Mon Nov 17 08:56:29 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_disc.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_disc.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_disc' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_mo_ussd_euse_disc started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(80)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
HLR_Test-GSUP-IPA(80)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(80)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(80)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262426018008504 --msisdn 491615531837 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:30] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262426018008504', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262426018008504', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:30] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426018008504', 'msisdn': '491615531837'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426018008504', 'msisdn': '491615531837'}
127.0.0.1 - - [17/Nov/2025 08:56:30] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/1\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(81)@537405e8106f: Created GsupExpect[0] for "262426018008504" to be handled at TC_mo_ussd_euse_disc(82)
[GSUP] [WARN] Unhandled GSUP message 32 from [127.0.0.1:9999 (MSC)]. Responding with error.
[GSUP] [ERROR] Error handling connection: 'GsupMessageBuilder' object has no attribute 'to_bytes' trace: Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 107, in __handle_connection
    await self.__handle_gsup(peer, payload_length)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 218, in __handle_gsup
    await self.gsup_handler.dispatch(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 71, in dispatch
    await self.__handle_gsup_unhandled_request(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 98, in __handle_gsup_unhandled_request
    await self.__send_gsup_response(peer, builder)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 74, in __send_gsup_response
    data = response.to_bytes()
           ^^^^^^^^^^^^^^^^^
AttributeError: 'GsupMessageBuilder' object has no attribute 'to_bytes'

HLR_Test-GSUP-IPA(80)@537405e8106f: IPA: Closed
HLR_Test-GSUP(81)@537405e8106f: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@537405e8106f: Test Component 81 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(80)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP(81)@537405e8106f: Final verdict of PTC: fail reason: "GSUP Connection Lost"
TC_mo_ussd_euse_disc(82)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: none
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(80): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(81): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@537405e8106f: Local verdict of PTC TC_mo_ussd_euse_disc(82): none (fail -> fail)
MTC@537405e8106f: Test case TC_mo_ussd_euse_disc finished. Verdict: fail reason: GSUP Connection Lost
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_disc fail'.
Mon Nov 17 08:56:31 UTC 2025
------ HLR_Tests.TC_mo_ussd_euse_disc fail ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=424)
Waiting for packet dumper to finish... 1 (prev_count=424, count=14028)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_disc fail' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_imsi'.
------ HLR_Tests.TC_mo_ussd_iuse_imsi ------
Mon Nov 17 08:56:33 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_imsi.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_imsi.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_imsi' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_mo_ussd_iuse_imsi started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(83)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
HLR_Test-GSUP-IPA(83)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(83)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(83)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262424818559489 --msisdn 491616436142 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:34] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262424818559489', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262424818559489', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:34] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424818559489', 'msisdn': '491616436142'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424818559489', 'msisdn': '491616436142'}
127.0.0.1 - - [17/Nov/2025 08:56:34] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/1\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(84)@537405e8106f: Created GsupExpect[0] for "262424818559489" to be handled at TC_mo_ussd_iuse_imsi(85)
[GSUP] [WARN] Unhandled GSUP message 32 from [127.0.0.1:9999 (MSC)]. Responding with error.
[GSUP] [ERROR] Error handling connection: 'GsupMessageBuilder' object has no attribute 'to_bytes' trace: Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 107, in __handle_connection
    await self.__handle_gsup(peer, payload_length)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 218, in __handle_gsup
    await self.gsup_handler.dispatch(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 71, in dispatch
    await self.__handle_gsup_unhandled_request(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 98, in __handle_gsup_unhandled_request
    await self.__send_gsup_response(peer, builder)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 74, in __send_gsup_response
    data = response.to_bytes()
           ^^^^^^^^^^^^^^^^^
AttributeError: 'GsupMessageBuilder' object has no attribute 'to_bytes'

HLR_Test-GSUP-IPA(83)@537405e8106f: IPA: Closed
HLR_Test-GSUP(84)@537405e8106f: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@537405e8106f: Test Component 84 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(83)@537405e8106f: Final verdict of PTC: none
TC_mo_ussd_iuse_imsi(85)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP(84)@537405e8106f: Final verdict of PTC: fail reason: "GSUP Connection Lost"
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: none
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(83): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(84): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@537405e8106f: Local verdict of PTC TC_mo_ussd_iuse_imsi(85): none (fail -> fail)
MTC@537405e8106f: Test case TC_mo_ussd_iuse_imsi finished. Verdict: fail reason: GSUP Connection Lost
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_imsi fail'.
Mon Nov 17 08:56:34 UTC 2025
------ HLR_Tests.TC_mo_ussd_iuse_imsi fail ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=14028)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_imsi fail' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_msisdn'.
------ HLR_Tests.TC_mo_ussd_iuse_msisdn ------
Mon Nov 17 08:56:36 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_msisdn.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_msisdn.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_msisdn' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_mo_ussd_iuse_msisdn started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(86)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
HLR_Test-GSUP-IPA(86)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(86)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(86)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262424742597024 --msisdn 491617485141 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:37] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262424742597024', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262424742597024', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:37] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424742597024', 'msisdn': '491617485141'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424742597024', 'msisdn': '491617485141'}
127.0.0.1 - - [17/Nov/2025 08:56:37] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/1\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(87)@537405e8106f: Created GsupExpect[0] for "262424742597024" to be handled at TC_mo_ussd_iuse_msisdn(88)
[GSUP] [WARN] Unhandled GSUP message 32 from [127.0.0.1:9999 (MSC)]. Responding with error.
[GSUP] [ERROR] Error handling connection: 'GsupMessageBuilder' object has no attribute 'to_bytes' trace: Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 107, in __handle_connection
    await self.__handle_gsup(peer, payload_length)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 218, in __handle_gsup
    await self.gsup_handler.dispatch(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 71, in dispatch
    await self.__handle_gsup_unhandled_request(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 98, in __handle_gsup_unhandled_request
    await self.__send_gsup_response(peer, builder)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 74, in __send_gsup_response
    data = response.to_bytes()
           ^^^^^^^^^^^^^^^^^
AttributeError: 'GsupMessageBuilder' object has no attribute 'to_bytes'

HLR_Test-GSUP-IPA(86)@537405e8106f: IPA: Closed
HLR_Test-GSUP(87)@537405e8106f: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@537405e8106f: Test Component 87 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(86)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP(87)@537405e8106f: Final verdict of PTC: fail reason: "GSUP Connection Lost"
TC_mo_ussd_iuse_msisdn(88)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: none
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(86): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(87): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@537405e8106f: Local verdict of PTC TC_mo_ussd_iuse_msisdn(88): none (fail -> fail)
MTC@537405e8106f: Test case TC_mo_ussd_iuse_msisdn finished. Verdict: fail reason: GSUP Connection Lost
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_msisdn fail'.
Mon Nov 17 08:56:37 UTC 2025
------ HLR_Tests.TC_mo_ussd_iuse_msisdn fail ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=424)
Waiting for packet dumper to finish... 1 (prev_count=424, count=14036)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_msisdn fail' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse'.
------ HLR_Tests.TC_mo_ussd_euse ------
Mon Nov 17 08:56:39 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_mo_ussd_euse started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:34313.
IPA-EUSE-foobar(91)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:34313
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
IPA-EUSE-foobar(91)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
IPA-EUSE-foobar(91)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320455553452053696D756C61746F7200'O } } } }
[GSUP] [ERROR] 127.0.0.1:34313: Role not found in tags. 'sgsn' or 'msc' must appear in one of there tags: TYPE, UNIT, UNITNAME. Closing connection.
IPA-EUSE-foobar(91)@537405e8106f: IPA: Closed
IPA-EUSE-foobar(91)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP-IPA(90)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
HLR_Test-GSUP-IPA(90)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(90)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(90)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262427636672972 --msisdn 491614514000 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:40] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262427636672972', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262427636672972', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:40] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427636672972', 'msisdn': '491614514000'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427636672972', 'msisdn': '491614514000'}
127.0.0.1 - - [17/Nov/2025 08:56:41] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/1\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(92)@537405e8106f: Created GsupExpect[0] for "262427636672972" to be handled at TC_mo_ussd_euse(93)
[GSUP] [WARN] Unhandled GSUP message 32 from [127.0.0.1:9999 (MSC)]. Responding with error.
[GSUP] [ERROR] Error handling connection: 'GsupMessageBuilder' object has no attribute 'to_bytes' trace: Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 107, in __handle_connection
    await self.__handle_gsup(peer, payload_length)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 218, in __handle_gsup
    await self.gsup_handler.dispatch(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 71, in dispatch
    await self.__handle_gsup_unhandled_request(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 98, in __handle_gsup_unhandled_request
    await self.__send_gsup_response(peer, builder)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 74, in __send_gsup_response
    data = response.to_bytes()
           ^^^^^^^^^^^^^^^^^
AttributeError: 'GsupMessageBuilder' object has no attribute 'to_bytes'

HLR_Test-GSUP-IPA(90)@537405e8106f: IPA: Closed
HLR_Test-GSUP(92)@537405e8106f: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@537405e8106f: Test Component 92 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(90)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP(92)@537405e8106f: Final verdict of PTC: fail reason: "GSUP Connection Lost"
EUSE-TC_mo_ussd_euse(89)@537405e8106f: Final verdict of PTC: none
TC_mo_ussd_euse(93)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: none
MTC@537405e8106f: Local verdict of PTC EUSE-TC_mo_ussd_euse(89): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(90): none (none -> none)
MTC@537405e8106f: Local verdict of PTC IPA-EUSE-foobar(91): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(92): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@537405e8106f: Local verdict of PTC TC_mo_ussd_euse(93): none (fail -> fail)
MTC@537405e8106f: Test case TC_mo_ussd_euse finished. Verdict: fail reason: GSUP Connection Lost
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse fail'.
Mon Nov 17 08:56:41 UTC 2025
------ HLR_Tests.TC_mo_ussd_euse fail ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=1436)
Waiting for packet dumper to finish... 1 (prev_count=1436, count=17216)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse fail' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_continue'.
------ HLR_Tests.TC_mo_ussd_euse_continue ------
Mon Nov 17 08:56:43 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_continue.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_continue.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_continue' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_mo_ussd_euse_continue started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
[GSUP] [DEBUG] New connection from 127.0.0.1:36655.
MTC@537405e8106f: in not legacy case 2
IPA-EUSE-foobar(96)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:36655
IPA-EUSE-foobar(96)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
IPA-EUSE-foobar(96)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320455553452053696D756C61746F7200'O } } } }
[GSUP] [ERROR] 127.0.0.1:36655: Role not found in tags. 'sgsn' or 'msc' must appear in one of there tags: TYPE, UNIT, UNITNAME. Closing connection.
HLR_Test-GSUP-IPA(95)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
IPA-EUSE-foobar(96)@537405e8106f: IPA: Closed
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
IPA-EUSE-foobar(96)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP-IPA(95)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(95)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(95)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262427616227503 --msisdn 491614343502 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:44] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262427616227503', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262427616227503', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:44] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427616227503', 'msisdn': '491614343502'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427616227503', 'msisdn': '491614343502'}
127.0.0.1 - - [17/Nov/2025 08:56:44] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/1\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(97)@537405e8106f: Created GsupExpect[0] for "262427616227503" to be handled at TC_mo_ussd_euse_continue(98)
[GSUP] [WARN] Unhandled GSUP message 32 from [127.0.0.1:9999 (MSC)]. Responding with error.
[GSUP] [ERROR] Error handling connection: 'GsupMessageBuilder' object has no attribute 'to_bytes' trace: Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 107, in __handle_connection
    await self.__handle_gsup(peer, payload_length)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 218, in __handle_gsup
    await self.gsup_handler.dispatch(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 71, in dispatch
    await self.__handle_gsup_unhandled_request(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 98, in __handle_gsup_unhandled_request
    await self.__send_gsup_response(peer, builder)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 74, in __send_gsup_response
    data = response.to_bytes()
           ^^^^^^^^^^^^^^^^^
AttributeError: 'GsupMessageBuilder' object has no attribute 'to_bytes'

HLR_Test-GSUP-IPA(95)@537405e8106f: IPA: Closed
HLR_Test-GSUP(97)@537405e8106f: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@537405e8106f: Test Component 97 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(95)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP(97)@537405e8106f: Final verdict of PTC: fail reason: "GSUP Connection Lost"
EUSE-TC_mo_ussd_euse_continue(94)@537405e8106f: Final verdict of PTC: none
TC_mo_ussd_euse_continue(98)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: none
MTC@537405e8106f: Local verdict of PTC EUSE-TC_mo_ussd_euse_continue(94): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(95): none (none -> none)
MTC@537405e8106f: Local verdict of PTC IPA-EUSE-foobar(96): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(97): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@537405e8106f: Local verdict of PTC TC_mo_ussd_euse_continue(98): none (fail -> fail)
MTC@537405e8106f: Test case TC_mo_ussd_euse_continue finished. Verdict: fail reason: GSUP Connection Lost
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_continue fail'.
Mon Nov 17 08:56:44 UTC 2025
------ HLR_Tests.TC_mo_ussd_euse_continue fail ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=17276)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_continue fail' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_defaultroute'.
------ HLR_Tests.TC_mo_ussd_euse_defaultroute ------
Mon Nov 17 08:56:46 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_defaultroute.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_defaultroute.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_defaultroute' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_mo_ussd_euse_defaultroute started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:34787.
IPA-EUSE-foobar(101)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:34787
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(100)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
IPA-EUSE-foobar(101)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
IPA-EUSE-foobar(101)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320455553452053696D756C61746F7200'O } } } }
MTC@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
MTC@537405e8106f: setverdict(error): none -> error
[GSUP] [ERROR] 127.0.0.1:34787: Role not found in tags. 'sgsn' or 'msc' must appear in one of there tags: TYPE, UNIT, UNITNAME. Closing connection.
HLR_Test-GSUP(102)@537405e8106f: Final verdict of PTC: none
EUSE-TC_mo_ussd_euse_defaultroute(99)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP-IPA(100)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
IPA-EUSE-foobar(101)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP-IPA(100)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
[GSUP] [DEBUG] Connection closed by peer
HLR_Test-GSUP-IPA(100)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: error
MTC@537405e8106f: Local verdict of PTC EUSE-TC_mo_ussd_euse_defaultroute(99): none (error -> error)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(100): none (error -> error)
MTC@537405e8106f: Local verdict of PTC IPA-EUSE-foobar(101): none (error -> error)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(102): none (error -> error)
MTC@537405e8106f: Test case TC_mo_ussd_euse_defaultroute finished. Verdict: error
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_defaultroute error'.
Mon Nov 17 08:56:47 UTC 2025
------ HLR_Tests.TC_mo_ussd_euse_defaultroute error ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=436)
Waiting for packet dumper to finish... 1 (prev_count=436, count=7120)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_defaultroute error' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_sss_reject'.
------ HLR_Tests.TC_mo_sss_reject ------
Mon Nov 17 08:56:49 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_sss_reject.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_sss_reject.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_sss_reject' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_mo_sss_reject started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(103)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262423260687802 --msisdn 491612820875 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
HLR_Test-GSUP-IPA(103)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(103)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(103)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:50] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262423260687802', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262423260687802', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:50] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423260687802', 'msisdn': '491612820875'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423260687802', 'msisdn': '491612820875'}
127.0.0.1 - - [17/Nov/2025 08:56:50] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/1\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(104)@537405e8106f: Created GsupExpect[0] for "262423260687802" to be handled at TC_mo_sss_reject(105)
[GSUP] [WARN] Unhandled GSUP message 32 from [127.0.0.1:9999 (MSC)]. Responding with error.
[GSUP] [ERROR] Error handling connection: 'GsupMessageBuilder' object has no attribute 'to_bytes' trace: Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 107, in __handle_connection
    await self.__handle_gsup(peer, payload_length)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 218, in __handle_gsup
    await self.gsup_handler.dispatch(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 71, in dispatch
    await self.__handle_gsup_unhandled_request(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 98, in __handle_gsup_unhandled_request
    await self.__send_gsup_response(peer, builder)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 74, in __send_gsup_response
    data = response.to_bytes()
           ^^^^^^^^^^^^^^^^^
AttributeError: 'GsupMessageBuilder' object has no attribute 'to_bytes'

HLR_Test-GSUP-IPA(103)@537405e8106f: IPA: Closed
HLR_Test-GSUP(104)@537405e8106f: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@537405e8106f: Test Component 104 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(103)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP(104)@537405e8106f: Final verdict of PTC: fail reason: "GSUP Connection Lost"
TC_mo_sss_reject(105)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: none
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(103): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(104): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@537405e8106f: Local verdict of PTC TC_mo_sss_reject(105): none (fail -> fail)
MTC@537405e8106f: Test case TC_mo_sss_reject finished. Verdict: fail reason: GSUP Connection Lost
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_sss_reject fail'.
Mon Nov 17 08:56:50 UTC 2025
------ HLR_Tests.TC_mo_sss_reject fail ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=14004)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_sss_reject fail' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei'.
------ HLR_Tests.TC_gsup_check_imei ------
Mon Nov 17 08:56:52 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_gsup_check_imei started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(106)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
HLR_Test-GSUP-IPA(106)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(106)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(106)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262426391951892 --msisdn 491612223525 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:54] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262426391951892', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262426391951892', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:54] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426391951892', 'msisdn': '491612223525'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426391951892', 'msisdn': '491612223525'}
127.0.0.1 - - [17/Nov/2025 08:56:54] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/1\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(107)@537405e8106f: Created GsupExpect[0] for "262426391951892" to be handled at TC_gsup_check_imei(108)
TC_gsup_check_imei(108)@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(108)@537405e8106f: setverdict(error): none -> error
TC_gsup_check_imei(108)@537405e8106f: Final verdict of PTC: error
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262426391951892"
[Database] [DEBUG] Get_Subscriber for imsi 262426391951892
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262426391951892', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 1, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491612223525', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:54Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:54] "GET /subscriber/imsi/262426391951892 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:54] "DELETE /auc/1 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 11
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
127.0.0.1 - - [17/Nov/2025 08:56:54] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262426391951892\nDELETE http://127.0.0.1:8080/auc/1\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262426862255821 --msisdn 491614627163 --auc-id 2 --algo 2 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 2
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:54] "DELETE /auc/2 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '2', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262426862255821', 'algo': '2'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '2', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262426862255821', 'algo': '2'}
127.0.0.1 - - [17/Nov/2025 08:56:54] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '2', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426862255821', 'msisdn': '491614627163'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '2', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426862255821', 'msisdn': '491614627163'}
127.0.0.1 - - [17/Nov/2025 08:56:54] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/2\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(107)@537405e8106f: Created GsupExpect[1] for "262426862255821" to be handled at TC_gsup_check_imei(109)
TC_gsup_check_imei(109)@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(109)@537405e8106f: setverdict(error): none -> error
TC_gsup_check_imei(109)@537405e8106f: Final verdict of PTC: error
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262426862255821"
[Database] [DEBUG] Get_Subscriber for imsi 262426862255821
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262426862255821', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 2, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491614627163', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:54Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:54] "GET /subscriber/imsi/262426862255821 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 2
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:54] "DELETE /auc/2 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 11
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
127.0.0.1 - - [17/Nov/2025 08:56:54] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262426862255821\nDELETE http://127.0.0.1:8080/auc/2\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262421956750708 --msisdn 491617112486 --auc-id 3 --algo 3 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 3
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:54] "DELETE /auc/3 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '3', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262421956750708', 'algo': '3'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '3', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262421956750708', 'algo': '3'}
127.0.0.1 - - [17/Nov/2025 08:56:54] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421956750708', 'msisdn': '491617112486'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421956750708', 'msisdn': '491617112486'}
127.0.0.1 - - [17/Nov/2025 08:56:54] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/3\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(107)@537405e8106f: Created GsupExpect[2] for "262421956750708" to be handled at TC_gsup_check_imei(110)
TC_gsup_check_imei(110)@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(110)@537405e8106f: setverdict(error): none -> error
TC_gsup_check_imei(110)@537405e8106f: Final verdict of PTC: error
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262421956750708"
[Database] [DEBUG] Get_Subscriber for imsi 262421956750708
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262421956750708', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 3, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491617112486', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:54Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:54] "GET /subscriber/imsi/262421956750708 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 3
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:54] "DELETE /auc/3 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 11
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
127.0.0.1 - - [17/Nov/2025 08:56:54] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262421956750708\nDELETE http://127.0.0.1:8080/auc/3\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262429801419501 --msisdn 491616768824 --auc-id 4 --algo 4 --ki 11111111111111111111111111111111 --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 4
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /auc/4 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262429801419501', 'algo': '4'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '4', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262429801419501', 'algo': '4'}
127.0.0.1 - - [17/Nov/2025 08:56:55] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429801419501', 'msisdn': '491616768824'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429801419501', 'msisdn': '491616768824'}
127.0.0.1 - - [17/Nov/2025 08:56:55] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/4\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(107)@537405e8106f: Created GsupExpect[3] for "262429801419501" to be handled at TC_gsup_check_imei(111)
TC_gsup_check_imei(111)@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(111)@537405e8106f: setverdict(error): none -> error
TC_gsup_check_imei(111)@537405e8106f: Final verdict of PTC: error
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262429801419501"
[Database] [DEBUG] Get_Subscriber for imsi 262429801419501
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262429801419501', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 4, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491616768824', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:55Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:55] "GET /subscriber/imsi/262429801419501 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 4
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /auc/4 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 11
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262429801419501\nDELETE http://127.0.0.1:8080/auc/4\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262422519720210 --msisdn 491614802206 --auc-id 5 --algo 4 --ki 11111111111111111111111111111111 --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 5
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /auc/5 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262422519720210', 'algo': '4'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '5', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262422519720210', 'algo': '4'}
127.0.0.1 - - [17/Nov/2025 08:56:55] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422519720210', 'msisdn': '491614802206'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422519720210', 'msisdn': '491614802206'}
127.0.0.1 - - [17/Nov/2025 08:56:55] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/5\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(107)@537405e8106f: Created GsupExpect[4] for "262422519720210" to be handled at TC_gsup_check_imei(112)
TC_gsup_check_imei(112)@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(112)@537405e8106f: setverdict(error): none -> error
TC_gsup_check_imei(112)@537405e8106f: Final verdict of PTC: error
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262422519720210"
[Database] [DEBUG] Get_Subscriber for imsi 262422519720210
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262422519720210', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 5, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491614802206', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:55Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:55] "GET /subscriber/imsi/262422519720210 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 5
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /auc/5 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 11
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262422519720210\nDELETE http://127.0.0.1:8080/auc/5\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262428352955166 --msisdn 491615815880 --auc-id 6 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 6
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /auc/6 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262428352955166', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '6', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262428352955166', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:55] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262428352955166', 'msisdn': '491615815880'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262428352955166', 'msisdn': '491615815880'}
127.0.0.1 - - [17/Nov/2025 08:56:55] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/6\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(107)@537405e8106f: Created GsupExpect[5] for "262428352955166" to be handled at TC_gsup_check_imei(113)
TC_gsup_check_imei(113)@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(113)@537405e8106f: setverdict(error): none -> error
TC_gsup_check_imei(113)@537405e8106f: Final verdict of PTC: error
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262428352955166"
[Database] [DEBUG] Get_Subscriber for imsi 262428352955166
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262428352955166', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 6, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491615815880', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:55Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:55] "GET /subscriber/imsi/262428352955166 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 6
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /auc/6 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 11
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262428352955166\nDELETE http://127.0.0.1:8080/auc/6\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262420373485792 --msisdn 491616807610 --auc-id 7 --algo 2 --ki 000102030405060708090A0B0C0D0E0F --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 7
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:55] "DELETE /auc/7 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262420373485792', 'algo': '2'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '7', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262420373485792', 'algo': '2'}
127.0.0.1 - - [17/Nov/2025 08:56:55] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420373485792', 'msisdn': '491616807610'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420373485792', 'msisdn': '491616807610'}
127.0.0.1 - - [17/Nov/2025 08:56:55] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/7\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(107)@537405e8106f: Created GsupExpect[6] for "262420373485792" to be handled at TC_gsup_check_imei(114)
TC_gsup_check_imei(114)@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(114)@537405e8106f: setverdict(error): none -> error
TC_gsup_check_imei(114)@537405e8106f: Final verdict of PTC: error
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262420373485792"
[Database] [DEBUG] Get_Subscriber for imsi 262420373485792
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262420373485792', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 7, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491616807610', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:55Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:56] "GET /subscriber/imsi/262420373485792 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 7
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:56] "DELETE /auc/7 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 11
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
127.0.0.1 - - [17/Nov/2025 08:56:56] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262420373485792\nDELETE http://127.0.0.1:8080/auc/7\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262429135058300 --msisdn 491615425286 --auc-id 8 --algo 3 --ki 000102030405060708090A0B0C0D0E0F --opc 202122232425262728292A2B2C2D2E2F"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 8
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:56] "DELETE /auc/8 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262429135058300', 'algo': '3'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '8', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262429135058300', 'algo': '3'}
127.0.0.1 - - [17/Nov/2025 08:56:56] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429135058300', 'msisdn': '491615425286'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429135058300', 'msisdn': '491615425286'}
127.0.0.1 - - [17/Nov/2025 08:56:56] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/8\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(107)@537405e8106f: Created GsupExpect[7] for "262429135058300" to be handled at TC_gsup_check_imei(115)
TC_gsup_check_imei(115)@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(115)@537405e8106f: setverdict(error): none -> error
TC_gsup_check_imei(115)@537405e8106f: Final verdict of PTC: error
MTC@537405e8106f: Executing: "pyhss_api_helper.py del_subscr --imsi 262429135058300"
[Database] [DEBUG] Get_Subscriber for imsi 262429135058300
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262429135058300', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': None, 'last_seen_cell_id': None, 'auc_id': 8, 'roaming_rule_list': None, 'serving_vlr': None, 'last_seen_tac': None, 'default_apn': 'Internet', 'subscribed_rau_tau_timer': 300, 'serving_vlr_timestamp': None, 'last_seen_mcc': None, 'apn_list': '1', 'serving_mme': None, 'serving_sgsn': None, 'last_seen_mnc': None, 'msisdn': '491615425286', 'serving_mme_timestamp': None, 'serving_sgsn_timestamp': None, 'last_location_update_timestamp': None, 'ue_ambr_dl': 999999, 'serving_mme_realm': None, 'last_seen_eci': None, 'last_modified': '2025-11-17T08:56:56Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [17/Nov/2025 08:56:56] "GET /subscriber/imsi/262429135058300 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 8
[Database] [DEBUG] Called GetObj for type <class 'database.AUC'>
127.0.0.1 - - [17/Nov/2025 08:56:56] "DELETE /auc/8 HTTP/1.1" 200 -
[Database] [DEBUG] Called DeleteObj for type <class 'database.SUBSCRIBER'> with id 11
[Database] [DEBUG] Called GetObj for type <class 'database.SUBSCRIBER'>
127.0.0.1 - - [17/Nov/2025 08:56:56] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262429135058300\nDELETE http://127.0.0.1:8080/auc/8\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@537405e8106f: setverdict(pass): none -> pass
HLR_Test-GSUP(107)@537405e8106f: Final verdict of PTC: none
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP-IPA(106)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: pass
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(106): none (pass -> pass)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(107): none (pass -> pass)
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei(108): error (pass -> error)
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei(109): error (error -> error)
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei(110): error (error -> error)
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei(111): error (error -> error)
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei(112): error (error -> error)
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei(113): error (error -> error)
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei(114): error (error -> error)
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei(115): error (error -> error)
MTC@537405e8106f: Test case TC_gsup_check_imei finished. Verdict: error
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei error'.
Mon Nov 17 08:56:56 UTC 2025
------ HLR_Tests.TC_gsup_check_imei error ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=129252)
Waiting for packet dumper to finish... 1 (prev_count=129252, count=159044)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei error' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_invalid_len'.
------ HLR_Tests.TC_gsup_check_imei_invalid_len ------
Mon Nov 17 08:56:58 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei_invalid_len.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei_invalid_len.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_invalid_len' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_gsup_check_imei_invalid_len started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(116)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
HLR_Test-GSUP-IPA(116)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(116)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(116)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@537405e8106f: Executing: "pyhss_api_helper.py add_subscr --imsi 262427292556558 --msisdn 491617861537 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
[Database] [DEBUG] Called DeleteObj for type <class 'database.AUC'> with id 1
[Database] [ERROR] Exception in DeleteObj, error: The specified row does not exist
The specified row does not exist
[API] [ERROR] [API] An error occurred: The specified row does not exist
127.0.0.1 - - [17/Nov/2025 08:56:59] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262427292556558', 'algo': '1'}
[Database] [DEBUG] Called CreateObj to create <class 'database.AUC'> with value: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262427292556558', 'algo': '1'}
127.0.0.1 - - [17/Nov/2025 08:56:59] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427292556558', 'msisdn': '491617861537'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427292556558', 'msisdn': '491617861537'}
127.0.0.1 - - [17/Nov/2025 08:56:59] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@537405e8106f: Result: { stdout := "DELETE http://127.0.0.1:8080/auc/1\nPUT http://127.0.0.1:8080/auc/\nPUT http://127.0.0.1:8080/subscriber/", stderr := "", code := 0 }
HLR_Test-GSUP(117)@537405e8106f: Created GsupExpect[0] for "262427292556558" to be handled at TC_gsup_check_imei_invalid_len(118)
[GSUP] [WARN] Unhandled GSUP message 48 from [127.0.0.1:9999 (MSC)]. Responding with error.
[GSUP] [ERROR] Error handling connection: 'GsupMessageBuilder' object has no attribute 'to_bytes' trace: Traceback (most recent call last):
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 107, in __handle_connection
    await self.__handle_gsup(peer, payload_length)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/server.py", line 218, in __handle_gsup
    await self.gsup_handler.dispatch(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 71, in dispatch
    await self.__handle_gsup_unhandled_request(peer, request)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 98, in __handle_gsup_unhandled_request
    await self.__send_gsup_response(peer, builder)
  File "/opt/venvs/pyhss/lib/python3.13/site-packages/pyhss/lib/gsup/request_dispatcher.py", line 74, in __send_gsup_response
    data = response.to_bytes()
           ^^^^^^^^^^^^^^^^^
AttributeError: 'GsupMessageBuilder' object has no attribute 'to_bytes'

HLR_Test-GSUP-IPA(116)@537405e8106f: IPA: Closed
HLR_Test-GSUP(117)@537405e8106f: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@537405e8106f: Test Component 117 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(116)@537405e8106f: Final verdict of PTC: none
HLR_Test-GSUP(117)@537405e8106f: Final verdict of PTC: fail reason: "GSUP Connection Lost"
TC_gsup_check_imei_invalid_len(118)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: none
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(116): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(117): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei_invalid_len(118): none (fail -> fail)
MTC@537405e8106f: Test case TC_gsup_check_imei_invalid_len finished. Verdict: fail reason: GSUP Connection Lost
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_invalid_len fail'.
Mon Nov 17 08:56:59 UTC 2025
------ HLR_Tests.TC_gsup_check_imei_invalid_len fail ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=14464)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_invalid_len fail' was executed successfully (exit status: 0).
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi'.
------ HLR_Tests.TC_gsup_check_imei_unknown_imsi ------
Mon Nov 17 08:57:01 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei_unknown_imsi.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei_unknown_imsi.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi' was executed successfully (exit status: 0).
MTC@537405e8106f: Test case TC_gsup_check_imei_unknown_imsi started.
MTC@537405e8106f: legacy= false
MTC@537405e8106f: in not legacy case 1
MTC@537405e8106f: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(119)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
HLR_Test-GSUP-IPA(119)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(119)@537405e8106f: CCM Tx:{ msg_type := IPAC_MSGT_ID_RESP (5), u := { resp := { { len := 0, tag := IPAC_IDTAG_UNITID (8), data := '302F312F3200'O }, { len := 0, tag := IPAC_IDTAG_MACADDR (7), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION2 (3), data := '00'O }, { len := 0, tag := IPAC_IDTAG_SWVERSION (5), data := '00'O }, { len := 0, tag := IPAC_IDTAG_LOCATION1 (2), data := '00'O }, { len := 0, tag := IPAC_IDTAG_UNITNAME (1), data := '4F736D6F636F6D205454434E2D3320475355502053696D756C61746F7220284D53432900'O } } } }
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(119)@537405e8106f: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
HLR_Test-GSUP(120)@537405e8106f: Created GsupExpect[0] for "262426118277207" to be handled at TC_gsup_check_imei_unknown_imsi(121)
TC_gsup_check_imei_unknown_imsi(121)@537405e8106f: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei_unknown_imsi(121)@537405e8106f: setverdict(error): none -> error
TC_gsup_check_imei_unknown_imsi(121)@537405e8106f: Final verdict of PTC: error
HLR_Test-GSUP(120)@537405e8106f: Final verdict of PTC: none
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP-IPA(119)@537405e8106f: Final verdict of PTC: none
MTC@537405e8106f: Setting final verdict of the test case.
MTC@537405e8106f: Local verdict of MTC: none
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP-IPA(119): none (none -> none)
MTC@537405e8106f: Local verdict of PTC HLR_Test-GSUP(120): none (none -> none)
MTC@537405e8106f: Local verdict of PTC TC_gsup_check_imei_unknown_imsi(121): error (none -> error)
MTC@537405e8106f: Test case TC_gsup_check_imei_unknown_imsi finished. Verdict: error
MTC@537405e8106f: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi error'.
Mon Nov 17 08:57:02 UTC 2025
------ HLR_Tests.TC_gsup_check_imei_unknown_imsi error ------

Waiting for packet dumper to finish... 0 (prev_count=-1, count=340)
Waiting for packet dumper to finish... 1 (prev_count=340, count=4588)
MTC@537405e8106f: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi error' was executed successfully (exit status: 0).
MC@537405e8106f: Test execution finished.
Execution of [EXECUTE] section finished.
emtc
MC@537405e8106f: Terminating MTC.
MC@537405e8106f: MTC terminated.
MC2> exit
MC@537405e8106f: Shutting down session.
MC@537405e8106f: Shutdown complete.

Comparing expected results '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/hlr/expected-results.xml' against results in 'junit-xml-8802.log'
--------------------
pass HLR_Tests.TC_gsup_sai_err_invalid_imsi
pass HLR_Tests.TC_gsup_sai
pass HLR_Tests.TC_gsup_sai_num_auth_vectors
pass->FAIL HLR_Tests.TC_gsup_sai_eps
pass HLR_Tests.TC_gsup_ul_unknown_imsi
pass->FAIL HLR_Tests.TC_gsup_ul_unknown_imsi_roaming_not_allowed
pass HLR_Tests.TC_gsup_sai_err_unknown_imsi
pass HLR_Tests.TC_gsup_ul
pass->FAIL HLR_Tests.TC_gsup_ul_subscriber_data
pass->FAIL HLR_Tests.TC_vty
pass->FAIL HLR_Tests.TC_vty_msisdn_isd
pass HLR_Tests.TC_gsup_purge_cs
pass HLR_Tests.TC_gsup_purge_ps
pass HLR_Tests.TC_gsup_purge_unknown
pass->FAIL HLR_Tests.TC_mo_ussd_unknown
pass->FAIL HLR_Tests.TC_mo_ussd_euse_disc
pass->FAIL HLR_Tests.TC_mo_ussd_iuse_imsi
pass->FAIL HLR_Tests.TC_mo_ussd_iuse_msisdn
pass->FAIL HLR_Tests.TC_mo_ussd_euse
pass->FAIL HLR_Tests.TC_mo_ussd_euse_continue
pass->FAIL HLR_Tests.TC_mo_ussd_euse_defaultroute
pass->FAIL HLR_Tests.TC_mo_sss_reject
pass->FAIL HLR_Tests.TC_gsup_check_imei
pass->FAIL HLR_Tests.TC_gsup_check_imei_invalid_len
pass->FAIL HLR_Tests.TC_gsup_check_imei_unknown_imsi

Summary:
  pass->FAIL: 16
  pass: 9
  skip: 13


[testenv][pyhss] Testsuite is done
[testenv][pyhss] Stopping testsuite (1076207)
[testenv][pyhss] Merging log files
[testenv][pyhss] + ['podman', 'exec', '-e', 'CCACHE_DIR=/home/osmocom-build/ccache/testenv', '-e', 'TESTENV_CACHE_DIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache', '-e', 'TESTENV_SRC_DIR=/home/osmocom-build/jenkins/workspace', '-e', 'TESTENV_INSTALL_DIR=/', '-e', 'TERM=dumb', '-e', 'PATH=/opt/eclipse-titan-11.1.0/bin:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts/qemu:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/hlr:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', '-e', 'HOME=/home/osmocom-build', '-e', 'PYTHONUNBUFFERED=1', '-e', 'BUILDDIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache/podman/titan-11.1.0-debian-trixie', '-e', 'TTCN3_DIR=/opt/eclipse-titan-11.1.0', '-t', '-w', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite', 'testenv-hlr-pyhss-osmocom-nightly-20251117-0855-df8980db-0', 'sh', '-c', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/log_merge.sh HLR_Tests --rm >/dev/null']
[testenv][pyhss] Formatting log files
[testenv][pyhss] + ['podman', 'exec', '-e', 'CCACHE_DIR=/home/osmocom-build/ccache/testenv', '-e', 'TESTENV_CACHE_DIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache', '-e', 'TESTENV_SRC_DIR=/home/osmocom-build/jenkins/workspace', '-e', 'TESTENV_INSTALL_DIR=/', '-e', 'TERM=dumb', '-e', 'PATH=/opt/eclipse-titan-11.1.0/bin:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts/qemu:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/hlr:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', '-e', 'HOME=/home/osmocom-build', '-e', 'PYTHONUNBUFFERED=1', '-e', 'BUILDDIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache/podman/titan-11.1.0-debian-trixie', '-e', 'TTCN3_DIR=/opt/eclipse-titan-11.1.0', '-t', '-w', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite', 'testenv-hlr-pyhss-osmocom-nightly-20251117-0855-df8980db-0', 'sh', '-c', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts/log_format.sh']
[testenv][pyhss] Stopping pyhss_api (1076016)
[testenv][pyhss] Stopping pyhss_gsup (1075896)
[testenv] Showing testsuite/junit-xml-8802.log
[testenv] + ['podman', 'exec', '-e', 'CCACHE_DIR=/home/osmocom-build/ccache/testenv', '-e', 'TESTENV_CACHE_DIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache', '-e', 'TESTENV_SRC_DIR=/home/osmocom-build/jenkins/workspace', '-e', 'TESTENV_INSTALL_DIR=/', '-e', 'TERM=dumb', '-e', 'PATH=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts/qemu:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/hlr:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', '-e', 'HOME=/home/osmocom-build', '-e', 'PYTHONUNBUFFERED=1', '-t', 'testenv-hlr-pyhss-osmocom-nightly-20251117-0855-df8980db-0', 'sh', '-c', 'echo && source-highlight -f esc -s xml -i /home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/junit-xml-8802.log && echo']

<?xml version="1.0"?>
<testsuite name='Titan' tests='25' failures='9' errors='7' skipped='0' inconc='0' time='104.00'>
  <testcase classname='HLR_Tests' name='TC_gsup_sai_err_invalid_imsi' time='0.040395'/>
  <testcase classname='HLR_Tests' name='TC_gsup_sai' time='4.447745'/>
  <testcase classname='HLR_Tests' name='TC_gsup_sai_num_auth_vectors' time='6.948174'/>
  <testcase classname='HLR_Tests' name='TC_gsup_sai_eps' time='0.376792'>
    <failure type='fail-verdict'>AMF bit 0 (separation bit) must be '1'B  but was not
      HLR_Tests.ttcn:2206 HLR_Tests control part
      HLR_Tests.ttcn:1080 TC_gsup_sai_eps testcase
    </failure>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_gsup_ul_unknown_imsi' time='0.069286'/>
  <testcase classname='HLR_Tests' name='TC_gsup_ul_unknown_imsi_roaming_not_allowed' time='0.060940'>
    <error type='DTE'></error>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_gsup_sai_err_unknown_imsi' time='0.071860'/>
  <testcase classname='HLR_Tests' name='TC_gsup_ul' time='3.025238'/>
  <testcase classname='HLR_Tests' name='TC_gsup_ul_subscriber_data' time='0.034483'>
    <error type='DTE'>Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.</error>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_vty' time='0.193361'>
    <error type='DTE'>Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.</error>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_vty_msisdn_isd' time='0.294633'>
    <error type='DTE'></error>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_gsup_purge_cs' time='3.326874'/>
  <testcase classname='HLR_Tests' name='TC_gsup_purge_ps' time='3.321087'/>
  <testcase classname='HLR_Tests' name='TC_gsup_purge_unknown' time='0.075572'/>
  <testcase classname='HLR_Tests' name='TC_mo_ussd_unknown' time='0.209362'>
    <failure type='fail-verdict'>GSUP Connection Lost
      HLR_Tests.ttcn:2218 HLR_Tests control part
      HLR_Tests.ttcn:1376 TC_mo_ussd_unknown testcase
    </failure>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_mo_ussd_euse_disc' time='0.241710'>
    <failure type='fail-verdict'>GSUP Connection Lost
      HLR_Tests.ttcn:2219 HLR_Tests control part
      HLR_Tests.ttcn:1403 TC_mo_ussd_euse_disc testcase
    </failure>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_mo_ussd_iuse_imsi' time='0.278158'>
    <failure type='fail-verdict'>GSUP Connection Lost
      HLR_Tests.ttcn:2220 HLR_Tests control part
      HLR_Tests.ttcn:1435 TC_mo_ussd_iuse_imsi testcase
    </failure>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_mo_ussd_iuse_msisdn' time='0.251824'>
    <failure type='fail-verdict'>GSUP Connection Lost
      HLR_Tests.ttcn:2221 HLR_Tests control part
      HLR_Tests.ttcn:1481 TC_mo_ussd_iuse_msisdn testcase
    </failure>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_mo_ussd_euse' time='0.278547'>
    <failure type='fail-verdict'>GSUP Connection Lost
      HLR_Tests.ttcn:2222 HLR_Tests control part
      HLR_Tests.ttcn:1528 TC_mo_ussd_euse testcase
    </failure>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_mo_ussd_euse_continue' time='0.265074'>
    <failure type='fail-verdict'>GSUP Connection Lost
      HLR_Tests.ttcn:2223 HLR_Tests control part
      HLR_Tests.ttcn:1575 TC_mo_ussd_euse_continue testcase
    </failure>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_mo_ussd_euse_defaultroute' time='0.038608'>
    <error type='DTE'>Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.</error>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_mo_sss_reject' time='0.241342'>
    <failure type='fail-verdict'>GSUP Connection Lost
      HLR_Tests.ttcn:2227 HLR_Tests control part
      HLR_Tests.ttcn:1662 TC_mo_sss_reject testcase
    </failure>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_gsup_check_imei' time='2.583453'>
    <error type='DTE'></error>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_gsup_check_imei_invalid_len' time='0.221909'>
    <failure type='fail-verdict'>GSUP Connection Lost
      HLR_Tests.ttcn:2230 HLR_Tests control part
      HLR_Tests.ttcn:1723 TC_gsup_check_imei_invalid_len testcase
    </failure>
  </testcase>
  <testcase classname='HLR_Tests' name='TC_gsup_check_imei_unknown_imsi' time='0.054117'>
    <error type='DTE'></error>
  </testcase>
</testsuite>

[testenv] Stopping podman container
[testenv] + ['podman', 'kill', 'testenv-hlr-pyhss-osmocom-nightly-20251117-0855-df8980db-0']
testenv-hlr-pyhss-osmocom-nightly-20251117-0855-df8980db-0
[testenv] feed_watchdog_loop: podman container has stopped
[testenv] Logs saved to: https://jenkins.osmocom.org/jenkins/job/ttcn3-hlr-test-pyhss/12/artifact/logs/ 
+ [ 0 = 0 ]
+ rm -rf _cache .linux
+ uptime
+ grep --color=always -o load.*
load average: 1.90, 1.56, 1.29
+ exit 0
Recording test results
[Checks API] No suitable checks publisher found.
Build step 'Publish JUnit test result report' changed build result to UNSTABLE
Archiving artifacts
Finished: UNSTABLE