Skipping 581 KB..
Full Log127.0.0.1 - - [09/Nov/2025 12:08:16] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262423009150250" to be handled at TC_gsup_purge_ps(68)
[Database] [DEBUG] Get_Subscriber for imsi 262423009150250
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262423009150250', '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': '491610266073', '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-09T12:08:15Z'}
HLR_Test-GSUP(65)@0353691301cc: Found GsupExpect[0] for "262423009150250" handled at TC_gsup_purge_ps(68)
HLR_Test-GSUP(65)@0353691301cc: Added IMSI table entry 2TC_gsup_purge_ps(68)"262423009150250"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262423009150250 with new ID:
TC_gsup_purge_ps(68)@0353691301cc: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262423009150250 with new ID: None
[GSUP] [INFO] Subscriber 262423009150250 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(68)@0353691301cc: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(68)@0353691301cc: Final verdict of PTC: pass
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262423009150250"
[Database] [DEBUG] Get_Subscriber for imsi 262423009150250
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-09 12:08:16.070392 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262423009150250', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-09T12:08:16Z', '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': '491610266073', '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-09T12:08:15Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:16] "GET /subscriber/imsi/262423009150250 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 - - [09/Nov/2025 12:08:16] "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-09 12:08:16.070392 - Formatting to String
127.0.0.1 - - [09/Nov/2025 12:08:16] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262423009150250\nDELETE http://127.0.0.1:8080/auc/3\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262422504482081 --msisdn 491615872265 --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 - - [09/Nov/2025 12:08:16] "DELETE /auc/4 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262422504482081', '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': '262422504482081', 'algo': '4'}
127.0.0.1 - - [09/Nov/2025 12:08:16] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422504482081', 'msisdn': '491615872265'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422504482081', 'msisdn': '491615872265'}
127.0.0.1 - - [09/Nov/2025 12:08:16] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262422504482081" to be handled at TC_gsup_purge_ps(69)
[Database] [DEBUG] Get_Subscriber for imsi 262422504482081
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262422504482081', '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': '491615872265', '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-09T12:08:16Z'}
HLR_Test-GSUP(65)@0353691301cc: Found GsupExpect[0] for "262422504482081" handled at TC_gsup_purge_ps(69)
HLR_Test-GSUP(65)@0353691301cc: Added IMSI table entry 3TC_gsup_purge_ps(69)"262422504482081"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262422504482081 with new ID:
TC_gsup_purge_ps(69)@0353691301cc: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262422504482081 with new ID: None
[GSUP] [INFO] Subscriber 262422504482081 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(69)@0353691301cc: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(69)@0353691301cc: Final verdict of PTC: pass
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262422504482081"
[Database] [DEBUG] Get_Subscriber for imsi 262422504482081
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-09 12:08:16.445756 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262422504482081', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-09T12:08:16Z', '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': '491615872265', '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-09T12:08:16Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:16] "GET /subscriber/imsi/262422504482081 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 - - [09/Nov/2025 12:08:16] "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-09 12:08:16.445756 - Formatting to String
127.0.0.1 - - [09/Nov/2025 12:08:16] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262422504482081\nDELETE http://127.0.0.1:8080/auc/4\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262427067585161 --msisdn 491618760002 --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 - - [09/Nov/2025 12:08:16] "DELETE /auc/5 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262427067585161', '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': '262427067585161', 'algo': '4'}
127.0.0.1 - - [09/Nov/2025 12:08:16] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427067585161', 'msisdn': '491618760002'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427067585161', 'msisdn': '491618760002'}
127.0.0.1 - - [09/Nov/2025 12:08:16] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262427067585161" to be handled at TC_gsup_purge_ps(70)
[Database] [DEBUG] Get_Subscriber for imsi 262427067585161
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262427067585161', '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': '491618760002', '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-09T12:08:16Z'}
HLR_Test-GSUP(65)@0353691301cc: Found GsupExpect[0] for "262427067585161" handled at TC_gsup_purge_ps(70)
HLR_Test-GSUP(65)@0353691301cc: Added IMSI table entry 4TC_gsup_purge_ps(70)"262427067585161"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262427067585161 with new ID:
TC_gsup_purge_ps(70)@0353691301cc: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262427067585161 with new ID: None
[GSUP] [INFO] Subscriber 262427067585161 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(70)@0353691301cc: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(70)@0353691301cc: Final verdict of PTC: pass
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262427067585161"
[Database] [DEBUG] Get_Subscriber for imsi 262427067585161
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-09 12:08:16.800825 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262427067585161', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-09T12:08:16Z', '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': '491618760002', '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-09T12:08:16Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:16] "GET /subscriber/imsi/262427067585161 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 - - [09/Nov/2025 12:08:16] "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-09 12:08:16.800825 - Formatting to String
127.0.0.1 - - [09/Nov/2025 12:08:16] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262427067585161\nDELETE http://127.0.0.1:8080/auc/5\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262429608532479 --msisdn 491617543044 --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 - - [09/Nov/2025 12:08:17] "DELETE /auc/6 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262429608532479', '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': '262429608532479', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:17] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429608532479', 'msisdn': '491617543044'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429608532479', 'msisdn': '491617543044'}
127.0.0.1 - - [09/Nov/2025 12:08:17] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262429608532479" to be handled at TC_gsup_purge_ps(71)
[Database] [DEBUG] Get_Subscriber for imsi 262429608532479
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262429608532479', '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': '491617543044', '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-09T12:08:17Z'}
HLR_Test-GSUP(65)@0353691301cc: Found GsupExpect[0] for "262429608532479" handled at TC_gsup_purge_ps(71)
HLR_Test-GSUP(65)@0353691301cc: Added IMSI table entry 5TC_gsup_purge_ps(71)"262429608532479"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262429608532479 with new ID:
TC_gsup_purge_ps(71)@0353691301cc: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262429608532479 with new ID: None
[GSUP] [INFO] Subscriber 262429608532479 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(71)@0353691301cc: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(71)@0353691301cc: Final verdict of PTC: pass
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262429608532479"
[Database] [DEBUG] Get_Subscriber for imsi 262429608532479
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-09 12:08:17.148392 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262429608532479', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-09T12:08:17Z', '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': '491617543044', '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-09T12:08:17Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:17] "GET /subscriber/imsi/262429608532479 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 - - [09/Nov/2025 12:08:17] "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-09 12:08:17.148392 - Formatting to String
127.0.0.1 - - [09/Nov/2025 12:08:17] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262429608532479\nDELETE http://127.0.0.1:8080/auc/6\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262427386801228 --msisdn 491616548567 --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 - - [09/Nov/2025 12:08:17] "DELETE /auc/7 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262427386801228', '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': '262427386801228', 'algo': '2'}
127.0.0.1 - - [09/Nov/2025 12:08:17] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427386801228', 'msisdn': '491616548567'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427386801228', 'msisdn': '491616548567'}
127.0.0.1 - - [09/Nov/2025 12:08:17] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262427386801228" to be handled at TC_gsup_purge_ps(72)
[Database] [DEBUG] Get_Subscriber for imsi 262427386801228
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262427386801228', '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': '491616548567', '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-09T12:08:17Z'}
HLR_Test-GSUP(65)@0353691301cc: Found GsupExpect[0] for "262427386801228" handled at TC_gsup_purge_ps(72)
HLR_Test-GSUP(65)@0353691301cc: Added IMSI table entry 6TC_gsup_purge_ps(72)"262427386801228"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262427386801228 with new ID:
TC_gsup_purge_ps(72)@0353691301cc: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262427386801228 with new ID: None
[GSUP] [INFO] Subscriber 262427386801228 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(72)@0353691301cc: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(72)@0353691301cc: Final verdict of PTC: pass
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262427386801228"
[Database] [DEBUG] Get_Subscriber for imsi 262427386801228
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-09 12:08:17.518833 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262427386801228', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-09T12:08:17Z', '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': '491616548567', '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-09T12:08:17Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:17] "GET /subscriber/imsi/262427386801228 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 - - [09/Nov/2025 12:08:17] "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-09 12:08:17.518833 - Formatting to String
127.0.0.1 - - [09/Nov/2025 12:08:17] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262427386801228\nDELETE http://127.0.0.1:8080/auc/7\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262421548802045 --msisdn 491618866760 --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 - - [09/Nov/2025 12:08:17] "DELETE /auc/8 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262421548802045', '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': '262421548802045', 'algo': '3'}
127.0.0.1 - - [09/Nov/2025 12:08:17] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421548802045', 'msisdn': '491618866760'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421548802045', 'msisdn': '491618866760'}
127.0.0.1 - - [09/Nov/2025 12:08:17] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262421548802045" to be handled at TC_gsup_purge_ps(73)
[Database] [DEBUG] Get_Subscriber for imsi 262421548802045
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262421548802045', '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': '491618866760', '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-09T12:08:17Z'}
HLR_Test-GSUP(65)@0353691301cc: Found GsupExpect[0] for "262421548802045" handled at TC_gsup_purge_ps(73)
HLR_Test-GSUP(65)@0353691301cc: Added IMSI table entry 7TC_gsup_purge_ps(73)"262421548802045"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262421548802045 with new ID:
TC_gsup_purge_ps(73)@0353691301cc: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262421548802045 with new ID: None
[GSUP] [INFO] Subscriber 262421548802045 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(73)@0353691301cc: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(73)@0353691301cc: Final verdict of PTC: pass
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262421548802045"
[Database] [DEBUG] Get_Subscriber for imsi 262421548802045
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-09 12:08:17.892999 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262421548802045', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-09T12:08:17Z', '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': '491618866760', '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-09T12:08:17Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:18] "GET /subscriber/imsi/262421548802045 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 - - [09/Nov/2025 12:08:18] "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-09 12:08:17.892999 - Formatting to String
127.0.0.1 - - [09/Nov/2025 12:08:18] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262421548802045\nDELETE http://127.0.0.1:8080/auc/8\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@0353691301cc: setverdict(pass): none -> pass
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP(65)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP-IPA(64)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: pass
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(64): none (pass -> pass)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(65): none (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_purge_ps(66): pass (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_purge_ps(67): pass (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_purge_ps(68): pass (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_purge_ps(69): pass (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_purge_ps(70): pass (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_purge_ps(71): pass (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_purge_ps(72): pass (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_purge_ps(73): pass (pass -> pass)
MTC@0353691301cc: Test case TC_gsup_purge_ps finished. Verdict: pass
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_ps pass'.
Sun Nov 9 12:08:18 UTC 2025
====== HLR_Tests.TC_gsup_purge_ps pass ======
Waiting for packet dumper to finish... 0 (prev_count=-1, count=174664)
Waiting for packet dumper to finish... 1 (prev_count=174664, count=191168)
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_ps pass' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_purge_unknown'.
------ HLR_Tests.TC_gsup_purge_unknown ------
Sun Nov 9 12:08:20 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_gsup_purge_unknown.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_gsup_purge_unknown.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_purge_unknown' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_gsup_purge_unknown started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(74)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
HLR_Test-GSUP(75)@0353691301cc: 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)@0353691301cc: Found GsupExpect[0] for "2345743413463" handled at TC_gsup_purge_unknown(76)
HLR_Test-GSUP(75)@0353691301cc: Added IMSI table entry 0TC_gsup_purge_unknown(76)"2345743413463"
TC_gsup_purge_unknown(76)@0353691301cc: setverdict(pass): none -> pass
TC_gsup_purge_unknown(76)@0353691301cc: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_unknown(76)@0353691301cc: Final verdict of PTC: pass
MTC@0353691301cc: setverdict(pass): none -> pass
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP(75)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP-IPA(74)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: pass
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(74): none (pass -> pass)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(75): none (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_purge_unknown(76): pass (pass -> pass)
MTC@0353691301cc: Test case TC_gsup_purge_unknown finished. Verdict: pass
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_unknown pass'.
Sun Nov 9 12:08:21 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@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_unknown pass' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_unknown'.
------ HLR_Tests.TC_mo_ussd_unknown ------
Sun Nov 9 12:08:23 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_unknown.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_unknown.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_unknown' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_mo_ussd_unknown started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(77)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262422246899053 --msisdn 491618253838 --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 - - [09/Nov/2025 12:08:24] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262422246899053', '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': '262422246899053', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:24] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422246899053', 'msisdn': '491618253838'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422246899053', 'msisdn': '491618253838'}
127.0.0.1 - - [09/Nov/2025 12:08:24] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262422246899053" 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)@0353691301cc: IPA: Closed
HLR_Test-GSUP(78)@0353691301cc: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@0353691301cc: Test Component 78 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(77)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP(78)@0353691301cc: Final verdict of PTC: fail reason: "GSUP Connection Lost"
TC_mo_ussd_unknown(79)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: none
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(77): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(78): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@0353691301cc: Local verdict of PTC TC_mo_ussd_unknown(79): none (fail -> fail)
MTC@0353691301cc: Test case TC_mo_ussd_unknown finished. Verdict: fail reason: GSUP Connection Lost
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_unknown fail'.
Sun Nov 9 12:08:24 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@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_unknown fail' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_disc'.
------ HLR_Tests.TC_mo_ussd_euse_disc ------
Sun Nov 9 12:08:26 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_disc.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_disc.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_disc' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_mo_ussd_euse_disc started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(80)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262421769522941 --msisdn 491612313454 --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 - - [09/Nov/2025 12:08:27] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262421769522941', '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': '262421769522941', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:27] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421769522941', 'msisdn': '491612313454'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421769522941', 'msisdn': '491612313454'}
127.0.0.1 - - [09/Nov/2025 12:08:27] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262421769522941" 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)@0353691301cc: IPA: Closed
HLR_Test-GSUP(81)@0353691301cc: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@0353691301cc: Test Component 81 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP(81)@0353691301cc: Final verdict of PTC: fail reason: "GSUP Connection Lost"
TC_mo_ussd_euse_disc(82)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP-IPA(80)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: none
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(80): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(81): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@0353691301cc: Local verdict of PTC TC_mo_ussd_euse_disc(82): none (fail -> fail)
MTC@0353691301cc: Test case TC_mo_ussd_euse_disc finished. Verdict: fail reason: GSUP Connection Lost
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_disc fail'.
Sun Nov 9 12:08:27 UTC 2025
------ HLR_Tests.TC_mo_ussd_euse_disc 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@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_disc fail' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_imsi'.
------ HLR_Tests.TC_mo_ussd_iuse_imsi ------
Sun Nov 9 12:08:29 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_imsi.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_imsi.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_imsi' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_mo_ussd_iuse_imsi started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(83)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262425917201098 --msisdn 491616216624 --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 - - [09/Nov/2025 12:08:30] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262425917201098', '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': '262425917201098', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:30] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425917201098', 'msisdn': '491616216624'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425917201098', 'msisdn': '491616216624'}
127.0.0.1 - - [09/Nov/2025 12:08:30] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262425917201098" 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)@0353691301cc: IPA: Closed
HLR_Test-GSUP(84)@0353691301cc: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@0353691301cc: Test Component 84 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(83)@0353691301cc: Final verdict of PTC: none
TC_mo_ussd_iuse_imsi(85)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP(84)@0353691301cc: Final verdict of PTC: fail reason: "GSUP Connection Lost"
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: none
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(83): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(84): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@0353691301cc: Local verdict of PTC TC_mo_ussd_iuse_imsi(85): none (fail -> fail)
MTC@0353691301cc: Test case TC_mo_ussd_iuse_imsi finished. Verdict: fail reason: GSUP Connection Lost
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_imsi fail'.
Sun Nov 9 12:08:30 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@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_imsi fail' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_msisdn'.
------ HLR_Tests.TC_mo_ussd_iuse_msisdn ------
Sun Nov 9 12:08:32 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_msisdn.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_msisdn.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_msisdn' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_mo_ussd_iuse_msisdn started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(86)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262420632397932 --msisdn 491613056166 --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 - - [09/Nov/2025 12:08:34] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262420632397932', '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': '262420632397932', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:34] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420632397932', 'msisdn': '491613056166'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420632397932', 'msisdn': '491613056166'}
127.0.0.1 - - [09/Nov/2025 12:08:34] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262420632397932" 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)@0353691301cc: IPA: Closed
HLR_Test-GSUP(87)@0353691301cc: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@0353691301cc: Test Component 87 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(86)@0353691301cc: Final verdict of PTC: none
TC_mo_ussd_iuse_msisdn(88)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP(87)@0353691301cc: Final verdict of PTC: fail reason: "GSUP Connection Lost"
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: none
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(86): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(87): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@0353691301cc: Local verdict of PTC TC_mo_ussd_iuse_msisdn(88): none (fail -> fail)
MTC@0353691301cc: Test case TC_mo_ussd_iuse_msisdn finished. Verdict: fail reason: GSUP Connection Lost
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_msisdn fail'.
Sun Nov 9 12:08:34 UTC 2025
------ HLR_Tests.TC_mo_ussd_iuse_msisdn fail ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=14036)
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_msisdn fail' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse'.
------ HLR_Tests.TC_mo_ussd_euse ------
Sun Nov 9 12:08:36 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_euse.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_euse.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_mo_ussd_euse started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:39565.
IPA-EUSE-foobar(91)@0353691301cc: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:39565
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
IPA-EUSE-foobar(91)@0353691301cc: 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)@0353691301cc: 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 } } } }
HLR_Test-GSUP-IPA(90)@0353691301cc: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] 127.0.0.1:39565: Role not found in tags. 'sgsn' or 'msc' must appear in one of there tags: TYPE, UNIT, UNITNAME. Closing connection.
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
IPA-EUSE-foobar(91)@0353691301cc: IPA: Closed
HLR_Test-GSUP-IPA(90)@0353691301cc: 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)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP-IPA(90)@0353691301cc: 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)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262423911195779 --msisdn 491614820523 --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 - - [09/Nov/2025 12:08:37] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262423911195779', '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': '262423911195779', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:37] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423911195779', 'msisdn': '491614820523'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423911195779', 'msisdn': '491614820523'}
127.0.0.1 - - [09/Nov/2025 12:08:37] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262423911195779" 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)@0353691301cc: IPA: Closed
HLR_Test-GSUP(92)@0353691301cc: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@0353691301cc: Test Component 92 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(90)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP(92)@0353691301cc: Final verdict of PTC: fail reason: "GSUP Connection Lost"
EUSE-TC_mo_ussd_euse(89)@0353691301cc: Final verdict of PTC: none
TC_mo_ussd_euse(93)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: none
MTC@0353691301cc: Local verdict of PTC EUSE-TC_mo_ussd_euse(89): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(90): none (none -> none)
MTC@0353691301cc: Local verdict of PTC IPA-EUSE-foobar(91): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(92): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@0353691301cc: Local verdict of PTC TC_mo_ussd_euse(93): none (fail -> fail)
MTC@0353691301cc: Test case TC_mo_ussd_euse finished. Verdict: fail reason: GSUP Connection Lost
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse fail'.
Sun Nov 9 12:08:37 UTC 2025
------ HLR_Tests.TC_mo_ussd_euse fail ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=17216)
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse fail' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_continue'.
------ HLR_Tests.TC_mo_ussd_euse_continue ------
Sun Nov 9 12:08:39 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_continue.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_continue.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_continue' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_mo_ussd_euse_continue started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:43215.
IPA-EUSE-foobar(96)@0353691301cc: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:43215
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(95)@0353691301cc: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
IPA-EUSE-foobar(96)@0353691301cc: 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(96)@0353691301cc: 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:43215: 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)@0353691301cc: 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(96)@0353691301cc: IPA: Closed
HLR_Test-GSUP-IPA(95)@0353691301cc: 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)]
IPA-EUSE-foobar(96)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP-IPA(95)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262429056809842 --msisdn 491613151788 --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 - - [09/Nov/2025 12:08:40] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262429056809842', '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': '262429056809842', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:40] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429056809842', 'msisdn': '491613151788'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429056809842', 'msisdn': '491613151788'}
127.0.0.1 - - [09/Nov/2025 12:08:40] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262429056809842" 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)@0353691301cc: IPA: Closed
HLR_Test-GSUP(97)@0353691301cc: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@0353691301cc: Test Component 97 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP(97)@0353691301cc: Final verdict of PTC: fail reason: "GSUP Connection Lost"
EUSE-TC_mo_ussd_euse_continue(94)@0353691301cc: Final verdict of PTC: none
TC_mo_ussd_euse_continue(98)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP-IPA(95)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: none
MTC@0353691301cc: Local verdict of PTC EUSE-TC_mo_ussd_euse_continue(94): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(95): none (none -> none)
MTC@0353691301cc: Local verdict of PTC IPA-EUSE-foobar(96): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(97): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@0353691301cc: Local verdict of PTC TC_mo_ussd_euse_continue(98): none (fail -> fail)
MTC@0353691301cc: Test case TC_mo_ussd_euse_continue finished. Verdict: fail reason: GSUP Connection Lost
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_continue fail'.
Sun Nov 9 12:08:40 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@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_continue fail' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_defaultroute'.
------ HLR_Tests.TC_mo_ussd_euse_defaultroute ------
Sun Nov 9 12:08:42 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_defaultroute.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_defaultroute.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_defaultroute' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_mo_ussd_euse_defaultroute started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
[GSUP] [DEBUG] New connection from 127.0.0.1:42755.
MTC@0353691301cc: in not legacy case 2
IPA-EUSE-foobar(101)@0353691301cc: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:42755
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
IPA-EUSE-foobar(101)@0353691301cc: 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(100)@0353691301cc: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
IPA-EUSE-foobar(101)@0353691301cc: 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:42755: Role not found in tags. 'sgsn' or 'msc' must appear in one of there tags: TYPE, UNIT, UNITNAME. Closing connection.
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
MTC@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
MTC@0353691301cc: setverdict(error): none -> error
IPA-EUSE-foobar(101)@0353691301cc: IPA: Closed
HLR_Test-GSUP-IPA(100)@0353691301cc: 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(100)@0353691301cc: 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 } } } }
EUSE-TC_mo_ussd_euse_defaultroute(99)@0353691301cc: Final verdict of PTC: none
[GSUP] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP(102)@0353691301cc: Final verdict of PTC: none
IPA-EUSE-foobar(101)@0353691301cc: Final verdict of PTC: none
[GSUP] [DEBUG] Connection closed by peer
HLR_Test-GSUP-IPA(100)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: error
MTC@0353691301cc: Local verdict of PTC EUSE-TC_mo_ussd_euse_defaultroute(99): none (error -> error)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(100): none (error -> error)
MTC@0353691301cc: Local verdict of PTC IPA-EUSE-foobar(101): none (error -> error)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(102): none (error -> error)
MTC@0353691301cc: Test case TC_mo_ussd_euse_defaultroute finished. Verdict: error
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_defaultroute error'.
Sun Nov 9 12:08:43 UTC 2025
------ HLR_Tests.TC_mo_ussd_euse_defaultroute error ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=7120)
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_defaultroute error' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_sss_reject'.
------ HLR_Tests.TC_mo_sss_reject ------
Sun Nov 9 12:08:45 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_sss_reject.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_mo_sss_reject.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_sss_reject' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_mo_sss_reject started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(103)@0353691301cc: 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@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262425182875812 --msisdn 491616101703 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
HLR_Test-GSUP-IPA(103)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: 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 - - [09/Nov/2025 12:08:46] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262425182875812', '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': '262425182875812', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:46] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425182875812', 'msisdn': '491616101703'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425182875812', 'msisdn': '491616101703'}
127.0.0.1 - - [09/Nov/2025 12:08:46] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262425182875812" 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)@0353691301cc: IPA: Closed
HLR_Test-GSUP(104)@0353691301cc: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@0353691301cc: Test Component 104 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP(104)@0353691301cc: Final verdict of PTC: fail reason: "GSUP Connection Lost"
HLR_Test-GSUP-IPA(103)@0353691301cc: Final verdict of PTC: none
TC_mo_sss_reject(105)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: none
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(103): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(104): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@0353691301cc: Local verdict of PTC TC_mo_sss_reject(105): none (fail -> fail)
MTC@0353691301cc: Test case TC_mo_sss_reject finished. Verdict: fail reason: GSUP Connection Lost
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_sss_reject fail'.
Sun Nov 9 12:08:46 UTC 2025
------ HLR_Tests.TC_mo_sss_reject fail ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=420)
Waiting for packet dumper to finish... 1 (prev_count=420, count=14004)
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_sss_reject fail' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei'.
------ HLR_Tests.TC_gsup_check_imei ------
Sun Nov 9 12:08:48 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_gsup_check_imei.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_gsup_check_imei.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_gsup_check_imei started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(106)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262425596927813 --msisdn 491617727216 --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 - - [09/Nov/2025 12:08:50] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262425596927813', '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': '262425596927813', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:50] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425596927813', 'msisdn': '491617727216'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425596927813', 'msisdn': '491617727216'}
127.0.0.1 - - [09/Nov/2025 12:08:50] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262425596927813" to be handled at TC_gsup_check_imei(108)
TC_gsup_check_imei(108)@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(108)@0353691301cc: setverdict(error): none -> error
TC_gsup_check_imei(108)@0353691301cc: Final verdict of PTC: error
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262425596927813"
[Database] [DEBUG] Get_Subscriber for imsi 262425596927813
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262425596927813', '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': '491617727216', '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-09T12:08:50Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:50] "GET /subscriber/imsi/262425596927813 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 - - [09/Nov/2025 12:08:50] "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 - - [09/Nov/2025 12:08:50] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262425596927813\nDELETE http://127.0.0.1:8080/auc/1\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262423528099669 --msisdn 491616167484 --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 - - [09/Nov/2025 12:08:50] "DELETE /auc/2 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '2', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262423528099669', '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': '262423528099669', 'algo': '2'}
127.0.0.1 - - [09/Nov/2025 12:08:50] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '2', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423528099669', 'msisdn': '491616167484'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '2', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423528099669', 'msisdn': '491616167484'}
127.0.0.1 - - [09/Nov/2025 12:08:50] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[1] for "262423528099669" to be handled at TC_gsup_check_imei(109)
TC_gsup_check_imei(109)@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(109)@0353691301cc: setverdict(error): none -> error
TC_gsup_check_imei(109)@0353691301cc: Final verdict of PTC: error
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262423528099669"
[Database] [DEBUG] Get_Subscriber for imsi 262423528099669
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262423528099669', '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': '491616167484', '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-09T12:08:50Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:50] "GET /subscriber/imsi/262423528099669 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 - - [09/Nov/2025 12:08:50] "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 - - [09/Nov/2025 12:08:50] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262423528099669\nDELETE http://127.0.0.1:8080/auc/2\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262422709469735 --msisdn 491618713163 --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 - - [09/Nov/2025 12:08:50] "DELETE /auc/3 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '3', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262422709469735', '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': '262422709469735', 'algo': '3'}
127.0.0.1 - - [09/Nov/2025 12:08:50] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422709469735', 'msisdn': '491618713163'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422709469735', 'msisdn': '491618713163'}
127.0.0.1 - - [09/Nov/2025 12:08:50] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[2] for "262422709469735" to be handled at TC_gsup_check_imei(110)
TC_gsup_check_imei(110)@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(110)@0353691301cc: setverdict(error): none -> error
TC_gsup_check_imei(110)@0353691301cc: Final verdict of PTC: error
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262422709469735"
[Database] [DEBUG] Get_Subscriber for imsi 262422709469735
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262422709469735', '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': '491618713163', '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-09T12:08:50Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:50] "GET /subscriber/imsi/262422709469735 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 - - [09/Nov/2025 12:08:50] "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 - - [09/Nov/2025 12:08:50] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262422709469735\nDELETE http://127.0.0.1:8080/auc/3\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262426406476894 --msisdn 491611271633 --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 - - [09/Nov/2025 12:08:51] "DELETE /auc/4 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262426406476894', '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': '262426406476894', 'algo': '4'}
127.0.0.1 - - [09/Nov/2025 12:08:51] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426406476894', 'msisdn': '491611271633'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426406476894', 'msisdn': '491611271633'}
127.0.0.1 - - [09/Nov/2025 12:08:51] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[3] for "262426406476894" to be handled at TC_gsup_check_imei(111)
TC_gsup_check_imei(111)@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(111)@0353691301cc: setverdict(error): none -> error
TC_gsup_check_imei(111)@0353691301cc: Final verdict of PTC: error
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262426406476894"
[Database] [DEBUG] Get_Subscriber for imsi 262426406476894
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262426406476894', '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': '491611271633', '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-09T12:08:51Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:51] "GET /subscriber/imsi/262426406476894 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 - - [09/Nov/2025 12:08:51] "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 - - [09/Nov/2025 12:08:51] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262426406476894\nDELETE http://127.0.0.1:8080/auc/4\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262420365969474 --msisdn 491616128071 --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 - - [09/Nov/2025 12:08:51] "DELETE /auc/5 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262420365969474', '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': '262420365969474', 'algo': '4'}
127.0.0.1 - - [09/Nov/2025 12:08:51] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420365969474', 'msisdn': '491616128071'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420365969474', 'msisdn': '491616128071'}
127.0.0.1 - - [09/Nov/2025 12:08:51] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[4] for "262420365969474" to be handled at TC_gsup_check_imei(112)
TC_gsup_check_imei(112)@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(112)@0353691301cc: setverdict(error): none -> error
TC_gsup_check_imei(112)@0353691301cc: Final verdict of PTC: error
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262420365969474"
[Database] [DEBUG] Get_Subscriber for imsi 262420365969474
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262420365969474', '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': '491616128071', '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-09T12:08:51Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:51] "GET /subscriber/imsi/262420365969474 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 - - [09/Nov/2025 12:08:51] "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 - - [09/Nov/2025 12:08:51] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262420365969474\nDELETE http://127.0.0.1:8080/auc/5\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262420136172937 --msisdn 491611385077 --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 - - [09/Nov/2025 12:08:51] "DELETE /auc/6 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262420136172937', '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': '262420136172937', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:51] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420136172937', 'msisdn': '491611385077'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420136172937', 'msisdn': '491611385077'}
127.0.0.1 - - [09/Nov/2025 12:08:51] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[5] for "262420136172937" to be handled at TC_gsup_check_imei(113)
TC_gsup_check_imei(113)@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(113)@0353691301cc: setverdict(error): none -> error
TC_gsup_check_imei(113)@0353691301cc: Final verdict of PTC: error
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262420136172937"
[Database] [DEBUG] Get_Subscriber for imsi 262420136172937
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262420136172937', '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': '491611385077', '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-09T12:08:51Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:51] "GET /subscriber/imsi/262420136172937 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 - - [09/Nov/2025 12:08:51] "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 - - [09/Nov/2025 12:08:51] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262420136172937\nDELETE http://127.0.0.1:8080/auc/6\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262420137135395 --msisdn 491617100530 --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 - - [09/Nov/2025 12:08:51] "DELETE /auc/7 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262420137135395', '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': '262420137135395', 'algo': '2'}
127.0.0.1 - - [09/Nov/2025 12:08:51] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420137135395', 'msisdn': '491617100530'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420137135395', 'msisdn': '491617100530'}
127.0.0.1 - - [09/Nov/2025 12:08:51] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[6] for "262420137135395" to be handled at TC_gsup_check_imei(114)
TC_gsup_check_imei(114)@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(114)@0353691301cc: setverdict(error): none -> error
TC_gsup_check_imei(114)@0353691301cc: Final verdict of PTC: error
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262420137135395"
[Database] [DEBUG] Get_Subscriber for imsi 262420137135395
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262420137135395', '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': '491617100530', '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-09T12:08:51Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:52] "GET /subscriber/imsi/262420137135395 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 - - [09/Nov/2025 12:08:52] "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 - - [09/Nov/2025 12:08:52] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262420137135395\nDELETE http://127.0.0.1:8080/auc/7\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262428159436801 --msisdn 491610644814 --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 - - [09/Nov/2025 12:08:52] "DELETE /auc/8 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262428159436801', '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': '262428159436801', 'algo': '3'}
127.0.0.1 - - [09/Nov/2025 12:08:52] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262428159436801', 'msisdn': '491610644814'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262428159436801', 'msisdn': '491610644814'}
127.0.0.1 - - [09/Nov/2025 12:08:52] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[7] for "262428159436801" to be handled at TC_gsup_check_imei(115)
TC_gsup_check_imei(115)@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(115)@0353691301cc: setverdict(error): none -> error
TC_gsup_check_imei(115)@0353691301cc: Final verdict of PTC: error
MTC@0353691301cc: Executing: "pyhss_api_helper.py del_subscr --imsi 262428159436801"
[Database] [DEBUG] Get_Subscriber for imsi 262428159436801
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262428159436801', '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': '491610644814', '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-09T12:08:52Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [09/Nov/2025 12:08:52] "GET /subscriber/imsi/262428159436801 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 - - [09/Nov/2025 12:08:52] "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 - - [09/Nov/2025 12:08:52] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@0353691301cc: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262428159436801\nDELETE http://127.0.0.1:8080/auc/8\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@0353691301cc: setverdict(pass): none -> pass
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP-IPA(106)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP(107)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: pass
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(106): none (pass -> pass)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(107): none (pass -> pass)
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei(108): error (pass -> error)
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei(109): error (error -> error)
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei(110): error (error -> error)
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei(111): error (error -> error)
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei(112): error (error -> error)
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei(113): error (error -> error)
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei(114): error (error -> error)
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei(115): error (error -> error)
MTC@0353691301cc: Test case TC_gsup_check_imei finished. Verdict: error
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei error'.
Sun Nov 9 12:08:52 UTC 2025
------ HLR_Tests.TC_gsup_check_imei error ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=137780)
Waiting for packet dumper to finish... 1 (prev_count=137780, count=159044)
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei error' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_invalid_len'.
------ HLR_Tests.TC_gsup_check_imei_invalid_len ------
Sun Nov 9 12:08:54 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_gsup_check_imei_invalid_len.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_gsup_check_imei_invalid_len.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_invalid_len' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_gsup_check_imei_invalid_len started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(116)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@0353691301cc: Executing: "pyhss_api_helper.py add_subscr --imsi 262423319527880 --msisdn 491617761501 --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 - - [09/Nov/2025 12:08:55] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262423319527880', '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': '262423319527880', 'algo': '1'}
127.0.0.1 - - [09/Nov/2025 12:08:55] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423319527880', 'msisdn': '491617761501'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423319527880', 'msisdn': '491617761501'}
127.0.0.1 - - [09/Nov/2025 12:08:55] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@0353691301cc: 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)@0353691301cc: Created GsupExpect[0] for "262423319527880" 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)@0353691301cc: IPA: Closed
HLR_Test-GSUP(117)@0353691301cc: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@0353691301cc: Test Component 117 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(116)@0353691301cc: Final verdict of PTC: none
TC_gsup_check_imei_invalid_len(118)@0353691301cc: Final verdict of PTC: none
HLR_Test-GSUP(117)@0353691301cc: Final verdict of PTC: fail reason: "GSUP Connection Lost"
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: none
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(116): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(117): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei_invalid_len(118): none (fail -> fail)
MTC@0353691301cc: Test case TC_gsup_check_imei_invalid_len finished. Verdict: fail reason: GSUP Connection Lost
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_invalid_len fail'.
Sun Nov 9 12:08:55 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@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_invalid_len fail' was executed successfully (exit status: 0).
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi'.
------ HLR_Tests.TC_gsup_check_imei_unknown_imsi ------
Sun Nov 9 12:08:57 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_gsup_check_imei_unknown_imsi.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/logs/testsuite/HLR_Tests.TC_gsup_check_imei_unknown_imsi.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi' was executed successfully (exit status: 0).
MTC@0353691301cc: Test case TC_gsup_check_imei_unknown_imsi started.
MTC@0353691301cc: legacy= false
MTC@0353691301cc: in not legacy case 1
MTC@0353691301cc: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(119)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: 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)@0353691301cc: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
HLR_Test-GSUP(120)@0353691301cc: Created GsupExpect[0] for "262424756092881" to be handled at TC_gsup_check_imei_unknown_imsi(121)
TC_gsup_check_imei_unknown_imsi(121)@0353691301cc: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei_unknown_imsi(121)@0353691301cc: setverdict(error): none -> error
TC_gsup_check_imei_unknown_imsi(121)@0353691301cc: Final verdict of PTC: error
HLR_Test-GSUP(120)@0353691301cc: Final verdict of PTC: none
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP-IPA(119)@0353691301cc: Final verdict of PTC: none
MTC@0353691301cc: Setting final verdict of the test case.
MTC@0353691301cc: Local verdict of MTC: none
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP-IPA(119): none (none -> none)
MTC@0353691301cc: Local verdict of PTC HLR_Test-GSUP(120): none (none -> none)
MTC@0353691301cc: Local verdict of PTC TC_gsup_check_imei_unknown_imsi(121): error (none -> error)
MTC@0353691301cc: Test case TC_gsup_check_imei_unknown_imsi finished. Verdict: error
MTC@0353691301cc: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi error'.
Sun Nov 9 12:08:58 UTC 2025
------ HLR_Tests.TC_gsup_check_imei_unknown_imsi error ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=4324)
MTC@0353691301cc: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi error' was executed successfully (exit status: 0).
MC@0353691301cc: Test execution finished.
Execution of [EXECUTE] section finished.
emtc
MC@0353691301cc: Terminating MTC.
MC@0353691301cc: MTC terminated.
MC2> exit
MC@0353691301cc: Shutting down session.
MC@0353691301cc: Shutdown complete.
Comparing expected results '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/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 (1874091)
[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-latest/_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-latest/_testenv/data/scripts:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/_testenv/data/scripts/qemu:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/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-latest/_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-latest/logs/testsuite', 'testenv-hlr-pyhss-osmocom-latest-20251109-1207-2bf951ff-0', 'sh', '-c', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/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-latest/_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-latest/_testenv/data/scripts:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/_testenv/data/scripts/qemu:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/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-latest/_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-latest/logs/testsuite', 'testenv-hlr-pyhss-osmocom-latest-20251109-1207-2bf951ff-0', 'sh', '-c', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/_testenv/data/scripts/log_format.sh']
[testenv][pyhss] Stopping pyhss_gsup (1873827)
[testenv][pyhss] Stopping pyhss_api (1873953)
[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-latest/_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-latest/_testenv/data/scripts:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/_testenv/data/scripts/qemu:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/hlr:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', '-e', 'HOME=/home/osmocom-build', '-e', 'PYTHONUNBUFFERED=1', '-t', 'testenv-hlr-pyhss-osmocom-latest-20251109-1207-2bf951ff-0', 'sh', '-c', 'echo && source-highlight -f esc -s xml -i /home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss-latest/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='100.00'>
<testcase classname='HLR_Tests' name='TC_gsup_sai_err_invalid_imsi' time='0.099813'/>
<testcase classname='HLR_Tests' name='TC_gsup_sai' time='4.171782'/>
<testcase classname='HLR_Tests' name='TC_gsup_sai_num_auth_vectors' time='5.778107'/>
<testcase classname='HLR_Tests' name='TC_gsup_sai_eps' time='0.334483'>
<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.022938'/>
<testcase classname='HLR_Tests' name='TC_gsup_ul_unknown_imsi_roaming_not_allowed' time='0.033607'>
<error type='DTE'></error>
</testcase>
<testcase classname='HLR_Tests' name='TC_gsup_sai_err_unknown_imsi' time='0.086683'/>
<testcase classname='HLR_Tests' name='TC_gsup_ul' time='2.848900'/>
<testcase classname='HLR_Tests' name='TC_gsup_ul_subscriber_data' time='0.010238'>
<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.220353'>
<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.186635'>
<error type='DTE'></error>
</testcase>
<testcase classname='HLR_Tests' name='TC_gsup_purge_cs' time='3.153446'/>
<testcase classname='HLR_Tests' name='TC_gsup_purge_ps' time='2.990818'/>
<testcase classname='HLR_Tests' name='TC_gsup_purge_unknown' time='0.019903'/>
<testcase classname='HLR_Tests' name='TC_mo_ussd_unknown' time='0.181078'>
<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.225709'>
<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.243691'>
<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.217844'>
<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.207780'>
<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.196551'>
<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.032972'>
<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.205294'>
<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.526884'>
<error type='DTE'></error>
</testcase>
<testcase classname='HLR_Tests' name='TC_gsup_check_imei_invalid_len' time='0.183241'>
<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.064439'>
<error type='DTE'></error>
</testcase>
</testsuite>
[testenv] Stopping podman container
[testenv] + ['podman', 'kill', 'testenv-hlr-pyhss-osmocom-latest-20251109-1207-2bf951ff-0']
testenv-hlr-pyhss-osmocom-latest-20251109-1207-2bf951ff-0
[testenv] feed_watchdog_loop: podman container has stopped
[testenv] Logs saved to: https://jenkins.osmocom.org/jenkins/job/ttcn3-hlr-test-pyhss-latest/5/artifact/logs/
+ [ 0 = 0 ]
+ rm -rf _cache .linux
+ uptime
+ grep --color=always -o load.*
load average: 1.73, 0.86, 0.69
+ 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