Skipping 596 KB..
Full Log127.0.0.1 - - [12/Nov/2025 08:56:23] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423278095227', 'msisdn': '491617118400'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423278095227', 'msisdn': '491617118400'}
127.0.0.1 - - [12/Nov/2025 08:56:23] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262423278095227" to be handled at TC_gsup_purge_ps(68)
[Database] [DEBUG] Get_Subscriber for imsi 262423278095227
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262423278095227', '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': '491617118400', '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-12T08:56:23Z'}
HLR_Test-GSUP(65)@848821877c42: Found GsupExpect[0] for "262423278095227" handled at TC_gsup_purge_ps(68)
HLR_Test-GSUP(65)@848821877c42: Added IMSI table entry 2TC_gsup_purge_ps(68)"262423278095227"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262423278095227 with new ID:
TC_gsup_purge_ps(68)@848821877c42: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262423278095227 with new ID: None
[GSUP] [INFO] Subscriber 262423278095227 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(68)@848821877c42: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(68)@848821877c42: Final verdict of PTC: pass
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262423278095227"
[Database] [DEBUG] Get_Subscriber for imsi 262423278095227
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-12 08:56:23.980419 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262423278095227', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-12T08:56:23Z', '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': '491617118400', '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-12T08:56:23Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:24] "GET /subscriber/imsi/262423278095227 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 - - [12/Nov/2025 08:56:24] "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-12 08:56:23.980419 - Formatting to String
127.0.0.1 - - [12/Nov/2025 08:56:24] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262423278095227\nDELETE http://127.0.0.1:8080/auc/3\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262420649175178 --msisdn 491612135210 --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 - - [12/Nov/2025 08:56:24] "DELETE /auc/4 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262420649175178', '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': '262420649175178', 'algo': '4'}
127.0.0.1 - - [12/Nov/2025 08:56:24] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420649175178', 'msisdn': '491612135210'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420649175178', 'msisdn': '491612135210'}
127.0.0.1 - - [12/Nov/2025 08:56:24] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262420649175178" to be handled at TC_gsup_purge_ps(69)
[Database] [DEBUG] Get_Subscriber for imsi 262420649175178
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262420649175178', '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': '491612135210', '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-12T08:56:24Z'}
HLR_Test-GSUP(65)@848821877c42: Found GsupExpect[0] for "262420649175178" handled at TC_gsup_purge_ps(69)
HLR_Test-GSUP(65)@848821877c42: Added IMSI table entry 3TC_gsup_purge_ps(69)"262420649175178"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262420649175178 with new ID:
TC_gsup_purge_ps(69)@848821877c42: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262420649175178 with new ID: None
[GSUP] [INFO] Subscriber 262420649175178 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(69)@848821877c42: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(69)@848821877c42: Final verdict of PTC: pass
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262420649175178"
[Database] [DEBUG] Get_Subscriber for imsi 262420649175178
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-12 08:56:24.356717 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262420649175178', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-12T08:56:24Z', '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': '491612135210', '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-12T08:56:24Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:24] "GET /subscriber/imsi/262420649175178 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 - - [12/Nov/2025 08:56:24] "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-12 08:56:24.356717 - Formatting to String
127.0.0.1 - - [12/Nov/2025 08:56:24] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262420649175178\nDELETE http://127.0.0.1:8080/auc/4\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262424236470753 --msisdn 491612324111 --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 - - [12/Nov/2025 08:56:24] "DELETE /auc/5 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262424236470753', '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': '262424236470753', 'algo': '4'}
127.0.0.1 - - [12/Nov/2025 08:56:24] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424236470753', 'msisdn': '491612324111'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424236470753', 'msisdn': '491612324111'}
127.0.0.1 - - [12/Nov/2025 08:56:24] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262424236470753" to be handled at TC_gsup_purge_ps(70)
[Database] [DEBUG] Get_Subscriber for imsi 262424236470753
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262424236470753', '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': '491612324111', '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-12T08:56:24Z'}
HLR_Test-GSUP(65)@848821877c42: Found GsupExpect[0] for "262424236470753" handled at TC_gsup_purge_ps(70)
HLR_Test-GSUP(65)@848821877c42: Added IMSI table entry 4TC_gsup_purge_ps(70)"262424236470753"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262424236470753 with new ID:
TC_gsup_purge_ps(70)@848821877c42: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262424236470753 with new ID: None
[GSUP] [INFO] Subscriber 262424236470753 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(70)@848821877c42: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(70)@848821877c42: Final verdict of PTC: pass
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262424236470753"
[Database] [DEBUG] Get_Subscriber for imsi 262424236470753
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-12 08:56:24.708848 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262424236470753', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-12T08:56:24Z', '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': '491612324111', '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-12T08:56:24Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:24] "GET /subscriber/imsi/262424236470753 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 - - [12/Nov/2025 08:56:24] "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-12 08:56:24.708848 - Formatting to String
127.0.0.1 - - [12/Nov/2025 08:56:24] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262424236470753\nDELETE http://127.0.0.1:8080/auc/5\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262424356290534 --msisdn 491615848125 --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 - - [12/Nov/2025 08:56:25] "DELETE /auc/6 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262424356290534', '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': '262424356290534', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:56:25] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424356290534', 'msisdn': '491615848125'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424356290534', 'msisdn': '491615848125'}
127.0.0.1 - - [12/Nov/2025 08:56:25] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262424356290534" to be handled at TC_gsup_purge_ps(71)
[Database] [DEBUG] Get_Subscriber for imsi 262424356290534
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262424356290534', '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': '491615848125', '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-12T08:56:25Z'}
HLR_Test-GSUP(65)@848821877c42: Found GsupExpect[0] for "262424356290534" handled at TC_gsup_purge_ps(71)
HLR_Test-GSUP(65)@848821877c42: Added IMSI table entry 5TC_gsup_purge_ps(71)"262424356290534"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262424356290534 with new ID:
TC_gsup_purge_ps(71)@848821877c42: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262424356290534 with new ID: None
[GSUP] [INFO] Subscriber 262424356290534 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(71)@848821877c42: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(71)@848821877c42: Final verdict of PTC: pass
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262424356290534"
[Database] [DEBUG] Get_Subscriber for imsi 262424356290534
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-12 08:56:25.097215 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262424356290534', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-12T08:56:25Z', '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': '491615848125', '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-12T08:56:25Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:25] "GET /subscriber/imsi/262424356290534 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 - - [12/Nov/2025 08:56:25] "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-12 08:56:25.097215 - Formatting to String
127.0.0.1 - - [12/Nov/2025 08:56:25] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262424356290534\nDELETE http://127.0.0.1:8080/auc/6\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262427138256560 --msisdn 491610750315 --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 - - [12/Nov/2025 08:56:25] "DELETE /auc/7 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262427138256560', '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': '262427138256560', 'algo': '2'}
127.0.0.1 - - [12/Nov/2025 08:56:25] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427138256560', 'msisdn': '491610750315'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427138256560', 'msisdn': '491610750315'}
127.0.0.1 - - [12/Nov/2025 08:56:25] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262427138256560" to be handled at TC_gsup_purge_ps(72)
[Database] [DEBUG] Get_Subscriber for imsi 262427138256560
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262427138256560', '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': '491610750315', '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-12T08:56:25Z'}
HLR_Test-GSUP(65)@848821877c42: Found GsupExpect[0] for "262427138256560" handled at TC_gsup_purge_ps(72)
HLR_Test-GSUP(65)@848821877c42: Added IMSI table entry 6TC_gsup_purge_ps(72)"262427138256560"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262427138256560 with new ID:
TC_gsup_purge_ps(72)@848821877c42: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262427138256560 with new ID: None
[GSUP] [INFO] Subscriber 262427138256560 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(72)@848821877c42: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(72)@848821877c42: Final verdict of PTC: pass
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262427138256560"
[Database] [DEBUG] Get_Subscriber for imsi 262427138256560
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-12 08:56:25.497021 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262427138256560', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-12T08:56:25Z', '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': '491610750315', '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-12T08:56:25Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:25] "GET /subscriber/imsi/262427138256560 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 - - [12/Nov/2025 08:56:25] "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-12 08:56:25.497021 - Formatting to String
127.0.0.1 - - [12/Nov/2025 08:56:25] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262427138256560\nDELETE http://127.0.0.1:8080/auc/7\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262426285784142 --msisdn 491613324465 --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 - - [12/Nov/2025 08:56:25] "DELETE /auc/8 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262426285784142', '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': '262426285784142', 'algo': '3'}
127.0.0.1 - - [12/Nov/2025 08:56:25] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426285784142', 'msisdn': '491613324465'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426285784142', 'msisdn': '491613324465'}
127.0.0.1 - - [12/Nov/2025 08:56:25] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262426285784142" to be handled at TC_gsup_purge_ps(73)
[Database] [DEBUG] Get_Subscriber for imsi 262426285784142
[Database] [DEBUG] Got back result: {'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'imsi': '262426285784142', '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': '491613324465', '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-12T08:56:25Z'}
HLR_Test-GSUP(65)@848821877c42: Found GsupExpect[0] for "262426285784142" handled at TC_gsup_purge_ps(73)
HLR_Test-GSUP(65)@848821877c42: Added IMSI table entry 7TC_gsup_purge_ps(73)"262426285784142"
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262426285784142 with new ID:
TC_gsup_purge_ps(73)@848821877c42: setverdict(pass): none -> pass
[Database] [DEBUG] Updating GSUP record 1 for IMSI: 262426285784142 with new ID: None
[GSUP] [INFO] Subscriber 262426285784142 purged from [127.0.0.1:9999 (MSC)]
TC_gsup_purge_ps(73)@848821877c42: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_ps(73)@848821877c42: Final verdict of PTC: pass
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262426285784142"
[Database] [DEBUG] Get_Subscriber for imsi 262426285784142
[Database] [DEBUG] Key serving_msc_timestamp is type DateTime with value: 2025-11-12 08:56:25.921497 - Formatting to String
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 4
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262426285784142', 'nam': 0, 'serving_msc': None, 'enabled': True, 'roaming_enabled': True, 'serving_msc_timestamp': '2025-11-12T08:56:25Z', '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': '491613324465', '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-12T08:56:25Z', 'subscriber_id': 4, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:26] "GET /subscriber/imsi/262426285784142 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 - - [12/Nov/2025 08:56:26] "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-12 08:56:25.921497 - Formatting to String
127.0.0.1 - - [12/Nov/2025 08:56:26] "DELETE /subscriber/4 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262426285784142\nDELETE http://127.0.0.1:8080/auc/8\nDELETE http://127.0.0.1:8080/subscriber/4", stderr := "", code := 0 }
MTC@848821877c42: setverdict(pass): none -> pass
HLR_Test-GSUP(65)@848821877c42: Final verdict of PTC: none
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP-IPA(64)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: pass
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(64): none (pass -> pass)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(65): none (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_purge_ps(66): pass (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_purge_ps(67): pass (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_purge_ps(68): pass (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_purge_ps(69): pass (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_purge_ps(70): pass (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_purge_ps(71): pass (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_purge_ps(72): pass (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_purge_ps(73): pass (pass -> pass)
MTC@848821877c42: Test case TC_gsup_purge_ps finished. Verdict: pass
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_ps pass'.
Wed Nov 12 08:56:26 UTC 2025
====== HLR_Tests.TC_gsup_purge_ps pass ======
Waiting for packet dumper to finish... 0 (prev_count=-1, count=167048)
Waiting for packet dumper to finish... 1 (prev_count=167048, count=191168)
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_ps pass' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_purge_unknown'.
------ HLR_Tests.TC_gsup_purge_unknown ------
Wed Nov 12 08:56:28 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_purge_unknown.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_purge_unknown.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_purge_unknown' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_gsup_purge_unknown started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(74)@848821877c42: 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)@848821877c42: 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)@848821877c42: 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)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
HLR_Test-GSUP(75)@848821877c42: 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)@848821877c42: Found GsupExpect[0] for "2345743413463" handled at TC_gsup_purge_unknown(76)
HLR_Test-GSUP(75)@848821877c42: Added IMSI table entry 0TC_gsup_purge_unknown(76)"2345743413463"
TC_gsup_purge_unknown(76)@848821877c42: setverdict(pass): none -> pass
TC_gsup_purge_unknown(76)@848821877c42: setverdict(pass): pass -> pass, component reason not changed
TC_gsup_purge_unknown(76)@848821877c42: Final verdict of PTC: pass
MTC@848821877c42: setverdict(pass): none -> pass
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP(75)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP-IPA(74)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: pass
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(74): none (pass -> pass)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(75): none (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_purge_unknown(76): pass (pass -> pass)
MTC@848821877c42: Test case TC_gsup_purge_unknown finished. Verdict: pass
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_unknown pass'.
Wed Nov 12 08:56:29 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@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_purge_unknown pass' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_unknown'.
------ HLR_Tests.TC_mo_ussd_unknown ------
Wed Nov 12 08:56:31 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_unknown.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_unknown.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_unknown' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_mo_ussd_unknown started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(77)@848821877c42: 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)@848821877c42: 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)@848821877c42: 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)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262425882229565 --msisdn 491610617374 --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 - - [12/Nov/2025 08:56:32] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262425882229565', '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': '262425882229565', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:56:32] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425882229565', 'msisdn': '491610617374'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262425882229565', 'msisdn': '491610617374'}
127.0.0.1 - - [12/Nov/2025 08:56:32] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262425882229565" 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)@848821877c42: IPA: Closed
HLR_Test-GSUP(78)@848821877c42: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@848821877c42: Test Component 78 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(77)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP(78)@848821877c42: Final verdict of PTC: fail reason: "GSUP Connection Lost"
TC_mo_ussd_unknown(79)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: none
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(77): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(78): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@848821877c42: Local verdict of PTC TC_mo_ussd_unknown(79): none (fail -> fail)
MTC@848821877c42: Test case TC_mo_ussd_unknown finished. Verdict: fail reason: GSUP Connection Lost
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_unknown fail'.
Wed Nov 12 08:56:32 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@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_unknown fail' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_disc'.
------ HLR_Tests.TC_mo_ussd_euse_disc ------
Wed Nov 12 08:56:34 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_disc.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_disc.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_disc' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_mo_ussd_euse_disc started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(80)@848821877c42: 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)@848821877c42: 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)@848821877c42: 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)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262427786635196 --msisdn 491615886805 --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 - - [12/Nov/2025 08:56:35] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262427786635196', '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': '262427786635196', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:56:35] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427786635196', 'msisdn': '491615886805'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427786635196', 'msisdn': '491615886805'}
127.0.0.1 - - [12/Nov/2025 08:56:35] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262427786635196" 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)@848821877c42: IPA: Closed
HLR_Test-GSUP(81)@848821877c42: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@848821877c42: Test Component 81 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP(81)@848821877c42: Final verdict of PTC: fail reason: "GSUP Connection Lost"
HLR_Test-GSUP-IPA(80)@848821877c42: Final verdict of PTC: none
TC_mo_ussd_euse_disc(82)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: none
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(80): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(81): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@848821877c42: Local verdict of PTC TC_mo_ussd_euse_disc(82): none (fail -> fail)
MTC@848821877c42: Test case TC_mo_ussd_euse_disc finished. Verdict: fail reason: GSUP Connection Lost
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_disc fail'.
Wed Nov 12 08:56:35 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@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_disc fail' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_imsi'.
------ HLR_Tests.TC_mo_ussd_iuse_imsi ------
Wed Nov 12 08:56:37 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_imsi.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_imsi.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_imsi' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_mo_ussd_iuse_imsi started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(83)@848821877c42: 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)@848821877c42: 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] [INFO] New peer connected: [127.0.0.1:9999 (MSC)]
HLR_Test-GSUP-IPA(83)@848821877c42: 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 } } } }
HLR_Test-GSUP-IPA(83)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262420872709026 --msisdn 491618240181 --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 - - [12/Nov/2025 08:56:39] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262420872709026', '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': '262420872709026', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:56:39] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420872709026', 'msisdn': '491618240181'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420872709026', 'msisdn': '491618240181'}
127.0.0.1 - - [12/Nov/2025 08:56:39] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262420872709026" 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)@848821877c42: IPA: Closed
HLR_Test-GSUP(84)@848821877c42: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@848821877c42: Test Component 84 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP(84)@848821877c42: Final verdict of PTC: fail reason: "GSUP Connection Lost"
TC_mo_ussd_iuse_imsi(85)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP-IPA(83)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: none
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(83): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(84): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@848821877c42: Local verdict of PTC TC_mo_ussd_iuse_imsi(85): none (fail -> fail)
MTC@848821877c42: Test case TC_mo_ussd_iuse_imsi finished. Verdict: fail reason: GSUP Connection Lost
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_imsi fail'.
Wed Nov 12 08:56:39 UTC 2025
------ HLR_Tests.TC_mo_ussd_iuse_imsi fail ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=1152)
Waiting for packet dumper to finish... 1 (prev_count=1152, count=14028)
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_imsi fail' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_msisdn'.
------ HLR_Tests.TC_mo_ussd_iuse_msisdn ------
Wed Nov 12 08:56:41 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_msisdn.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_iuse_msisdn.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_iuse_msisdn' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_mo_ussd_iuse_msisdn started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(86)@848821877c42: 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)@848821877c42: 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)@848821877c42: 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)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262429322562718 --msisdn 491618051413 --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 - - [12/Nov/2025 08:56:42] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262429322562718', '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': '262429322562718', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:56:42] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429322562718', 'msisdn': '491618051413'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429322562718', 'msisdn': '491618051413'}
127.0.0.1 - - [12/Nov/2025 08:56:42] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262429322562718" 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)@848821877c42: IPA: Closed
HLR_Test-GSUP(87)@848821877c42: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@848821877c42: Test Component 87 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(86)@848821877c42: Final verdict of PTC: none
TC_mo_ussd_iuse_msisdn(88)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP(87)@848821877c42: Final verdict of PTC: fail reason: "GSUP Connection Lost"
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: none
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(86): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(87): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@848821877c42: Local verdict of PTC TC_mo_ussd_iuse_msisdn(88): none (fail -> fail)
MTC@848821877c42: Test case TC_mo_ussd_iuse_msisdn finished. Verdict: fail reason: GSUP Connection Lost
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_msisdn fail'.
Wed Nov 12 08:56:42 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@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_iuse_msisdn fail' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse'.
------ HLR_Tests.TC_mo_ussd_euse ------
Wed Nov 12 08:56:44 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_mo_ussd_euse started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
[GSUP] [DEBUG] New connection from 127.0.0.1:35015.
MTC@848821877c42: in not legacy case 2
IPA-EUSE-foobar(91)@848821877c42: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:35015
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
IPA-EUSE-foobar(91)@848821877c42: 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] 127.0.0.1:35015: Role not found in tags. 'sgsn' or 'msc' must appear in one of there tags: TYPE, UNIT, UNITNAME. Closing connection.
IPA-EUSE-foobar(91)@848821877c42: 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)@848821877c42: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:9999
IPA-EUSE-foobar(91)@848821877c42: IPA: Closed
IPA-EUSE-foobar(91)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP-IPA(90)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(90)@848821877c42: 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)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262423209261546 --msisdn 491610273670 --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 - - [12/Nov/2025 08:56:45] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262423209261546', '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': '262423209261546', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:56:45] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423209261546', 'msisdn': '491610273670'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423209261546', 'msisdn': '491610273670'}
127.0.0.1 - - [12/Nov/2025 08:56:45] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262423209261546" 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)@848821877c42: IPA: Closed
HLR_Test-GSUP(92)@848821877c42: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@848821877c42: Test Component 92 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(90)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP(92)@848821877c42: Final verdict of PTC: fail reason: "GSUP Connection Lost"
EUSE-TC_mo_ussd_euse(89)@848821877c42: Final verdict of PTC: none
TC_mo_ussd_euse(93)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: none
MTC@848821877c42: Local verdict of PTC EUSE-TC_mo_ussd_euse(89): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(90): none (none -> none)
MTC@848821877c42: Local verdict of PTC IPA-EUSE-foobar(91): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(92): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@848821877c42: Local verdict of PTC TC_mo_ussd_euse(93): none (fail -> fail)
MTC@848821877c42: Test case TC_mo_ussd_euse finished. Verdict: fail reason: GSUP Connection Lost
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse fail'.
Wed Nov 12 08:56:45 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@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse fail' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_continue'.
------ HLR_Tests.TC_mo_ussd_euse_continue ------
Wed Nov 12 08:56:47 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_continue.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_continue.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_continue' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_mo_ussd_euse_continue started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:37545.
IPA-EUSE-foobar(96)@848821877c42: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:37545
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
IPA-EUSE-foobar(96)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(95)@848821877c42: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
IPA-EUSE-foobar(96)@848821877c42: 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:37545: 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(96)@848821877c42: IPA: Closed
HLR_Test-GSUP-IPA(95)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
HLR_Test-GSUP-IPA(95)@848821877c42: 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)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP-IPA(95)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262422369579829 --msisdn 491611635844 --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 - - [12/Nov/2025 08:56:49] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262422369579829', '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': '262422369579829', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:56:49] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422369579829', 'msisdn': '491611635844'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422369579829', 'msisdn': '491611635844'}
127.0.0.1 - - [12/Nov/2025 08:56:49] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262422369579829" 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)@848821877c42: IPA: Closed
HLR_Test-GSUP(97)@848821877c42: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@848821877c42: Test Component 97 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP-IPA(95)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP(97)@848821877c42: Final verdict of PTC: fail reason: "GSUP Connection Lost"
EUSE-TC_mo_ussd_euse_continue(94)@848821877c42: Final verdict of PTC: none
TC_mo_ussd_euse_continue(98)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: none
MTC@848821877c42: Local verdict of PTC EUSE-TC_mo_ussd_euse_continue(94): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(95): none (none -> none)
MTC@848821877c42: Local verdict of PTC IPA-EUSE-foobar(96): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(97): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@848821877c42: Local verdict of PTC TC_mo_ussd_euse_continue(98): none (fail -> fail)
MTC@848821877c42: Test case TC_mo_ussd_euse_continue finished. Verdict: fail reason: GSUP Connection Lost
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_continue fail'.
Wed Nov 12 08:56:49 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@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_continue fail' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_defaultroute'.
------ HLR_Tests.TC_mo_ussd_euse_defaultroute ------
Wed Nov 12 08:56:51 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_defaultroute.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_ussd_euse_defaultroute.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_ussd_euse_defaultroute' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_mo_ussd_euse_defaultroute started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:36307.
IPA-EUSE-foobar(101)@848821877c42: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
[GSUP] [ERROR] Client message received without known identity 127.0.0.1:36307
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
IPA-EUSE-foobar(101)@848821877c42: 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)@848821877c42: CCM Tx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
IPA-EUSE-foobar(101)@848821877c42: 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:36307: 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@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
MTC@848821877c42: setverdict(error): none -> error
EUSE-TC_mo_ussd_euse_defaultroute(99)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP(102)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP-IPA(100)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_GET (4), u := { get := { { len := 1, tag := IPAC_IDTAG_UNITID (8) }, { len := 1, tag := IPAC_IDTAG_MACADDR (7) }, { len := 1, tag := IPAC_IDTAG_LOCATION2 (3) }, { len := 1, tag := IPAC_IDTAG_SWVERSION (5) }, { len := 1, tag := IPAC_IDTAG_LOCATION1 (2) }, { len := 1, tag := IPAC_IDTAG_UNITNAME (1) } } } }
IPA-EUSE-foobar(101)@848821877c42: IPA: Closed
IPA-EUSE-foobar(101)@848821877c42: Dynamic test case error: Sending data on the connection of port IPA_GSUP_PORT to 99:EUSE failed. (Broken pipe)
IPA-EUSE-foobar(101)@848821877c42: setverdict(error): none -> error
HLR_Test-GSUP-IPA(100)@848821877c42: 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(101)@848821877c42: Final verdict of PTC: error
[GSUP] [DEBUG] Connection closed by peer
HLR_Test-GSUP-IPA(100)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: error
MTC@848821877c42: Local verdict of PTC EUSE-TC_mo_ussd_euse_defaultroute(99): none (error -> error)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(100): none (error -> error)
MTC@848821877c42: Local verdict of PTC IPA-EUSE-foobar(101): error (error -> error)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(102): none (error -> error)
MTC@848821877c42: Test case TC_mo_ussd_euse_defaultroute finished. Verdict: error
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_defaultroute error'.
Wed Nov 12 08:56:52 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@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_ussd_euse_defaultroute error' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_sss_reject'.
------ HLR_Tests.TC_mo_sss_reject ------
Wed Nov 12 08:56:54 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_sss_reject.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_mo_sss_reject.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_mo_sss_reject' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_mo_sss_reject started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(103)@848821877c42: 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@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262423714240266 --msisdn 491618340546 --auc-id 1 --algo 1 --ki 000102030405060708090A0B0C0D0E0F --opc 22222222222222222222222222222222"
HLR_Test-GSUP-IPA(103)@848821877c42: 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)@848821877c42: 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)@848821877c42: 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 - - [12/Nov/2025 08:56:55] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262423714240266', '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': '262423714240266', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:56:55] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423714240266', 'msisdn': '491618340546'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423714240266', 'msisdn': '491618340546'}
127.0.0.1 - - [12/Nov/2025 08:56:55] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262423714240266" 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)@848821877c42: IPA: Closed
HLR_Test-GSUP(104)@848821877c42: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@848821877c42: Test Component 104 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP(104)@848821877c42: Final verdict of PTC: fail reason: "GSUP Connection Lost"
HLR_Test-GSUP-IPA(103)@848821877c42: Final verdict of PTC: none
TC_mo_sss_reject(105)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: none
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(103): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(104): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@848821877c42: Local verdict of PTC TC_mo_sss_reject(105): none (fail -> fail)
MTC@848821877c42: Test case TC_mo_sss_reject finished. Verdict: fail reason: GSUP Connection Lost
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_sss_reject fail'.
Wed Nov 12 08:56:55 UTC 2025
------ HLR_Tests.TC_mo_sss_reject fail ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=208)
Waiting for packet dumper to finish... 1 (prev_count=208, count=14004)
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_mo_sss_reject fail' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei'.
------ HLR_Tests.TC_gsup_check_imei ------
Wed Nov 12 08:56:57 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_gsup_check_imei started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(106)@848821877c42: 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)@848821877c42: 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)@848821877c42: 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)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262424870800488 --msisdn 491616821734 --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 - - [12/Nov/2025 08:56:58] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262424870800488', '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': '262424870800488', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:56:58] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424870800488', 'msisdn': '491616821734'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262424870800488', 'msisdn': '491616821734'}
127.0.0.1 - - [12/Nov/2025 08:56:58] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262424870800488" to be handled at TC_gsup_check_imei(108)
TC_gsup_check_imei(108)@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(108)@848821877c42: setverdict(error): none -> error
TC_gsup_check_imei(108)@848821877c42: Final verdict of PTC: error
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262424870800488"
[Database] [DEBUG] Get_Subscriber for imsi 262424870800488
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262424870800488', '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': '491616821734', '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-12T08:56:58Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:58] "GET /subscriber/imsi/262424870800488 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 - - [12/Nov/2025 08:56:59] "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 - - [12/Nov/2025 08:56:59] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262424870800488\nDELETE http://127.0.0.1:8080/auc/1\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262429824852200 --msisdn 491618485252 --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 - - [12/Nov/2025 08:56:59] "DELETE /auc/2 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '2', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262429824852200', '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': '262429824852200', 'algo': '2'}
127.0.0.1 - - [12/Nov/2025 08:56:59] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '2', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429824852200', 'msisdn': '491618485252'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '2', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262429824852200', 'msisdn': '491618485252'}
127.0.0.1 - - [12/Nov/2025 08:56:59] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[1] for "262429824852200" to be handled at TC_gsup_check_imei(109)
TC_gsup_check_imei(109)@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(109)@848821877c42: setverdict(error): none -> error
TC_gsup_check_imei(109)@848821877c42: Final verdict of PTC: error
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262429824852200"
[Database] [DEBUG] Get_Subscriber for imsi 262429824852200
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262429824852200', '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': '491618485252', '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-12T08:56:59Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:59] "GET /subscriber/imsi/262429824852200 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 - - [12/Nov/2025 08:56:59] "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 - - [12/Nov/2025 08:56:59] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262429824852200\nDELETE http://127.0.0.1:8080/auc/2\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262423652133217 --msisdn 491611865678 --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 - - [12/Nov/2025 08:56:59] "DELETE /auc/3 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '3', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262423652133217', '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': '262423652133217', 'algo': '3'}
127.0.0.1 - - [12/Nov/2025 08:56:59] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423652133217', 'msisdn': '491611865678'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '3', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262423652133217', 'msisdn': '491611865678'}
127.0.0.1 - - [12/Nov/2025 08:56:59] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[2] for "262423652133217" to be handled at TC_gsup_check_imei(110)
TC_gsup_check_imei(110)@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(110)@848821877c42: setverdict(error): none -> error
TC_gsup_check_imei(110)@848821877c42: Final verdict of PTC: error
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262423652133217"
[Database] [DEBUG] Get_Subscriber for imsi 262423652133217
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262423652133217', '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': '491611865678', '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-12T08:56:59Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:59] "GET /subscriber/imsi/262423652133217 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 - - [12/Nov/2025 08:56:59] "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 - - [12/Nov/2025 08:56:59] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262423652133217\nDELETE http://127.0.0.1:8080/auc/3\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262420684360669 --msisdn 491611088082 --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 - - [12/Nov/2025 08:56:59] "DELETE /auc/4 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262420684360669', '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': '262420684360669', 'algo': '4'}
127.0.0.1 - - [12/Nov/2025 08:56:59] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420684360669', 'msisdn': '491611088082'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '4', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262420684360669', 'msisdn': '491611088082'}
127.0.0.1 - - [12/Nov/2025 08:56:59] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[3] for "262420684360669" to be handled at TC_gsup_check_imei(111)
TC_gsup_check_imei(111)@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(111)@848821877c42: setverdict(error): none -> error
TC_gsup_check_imei(111)@848821877c42: Final verdict of PTC: error
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262420684360669"
[Database] [DEBUG] Get_Subscriber for imsi 262420684360669
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262420684360669', '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': '491611088082', '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-12T08:56:59Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:56:59] "GET /subscriber/imsi/262420684360669 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 - - [12/Nov/2025 08:57:00] "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 - - [12/Nov/2025 08:57:00] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262420684360669\nDELETE http://127.0.0.1:8080/auc/4\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262427591045597 --msisdn 491616207534 --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 - - [12/Nov/2025 08:57:00] "DELETE /auc/5 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'ki': '11111111111111111111111111111111', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262427591045597', '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': '262427591045597', 'algo': '4'}
127.0.0.1 - - [12/Nov/2025 08:57:00] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427591045597', 'msisdn': '491616207534'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '5', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262427591045597', 'msisdn': '491616207534'}
127.0.0.1 - - [12/Nov/2025 08:57:00] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[4] for "262427591045597" to be handled at TC_gsup_check_imei(112)
TC_gsup_check_imei(112)@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(112)@848821877c42: setverdict(error): none -> error
TC_gsup_check_imei(112)@848821877c42: Final verdict of PTC: error
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262427591045597"
[Database] [DEBUG] Get_Subscriber for imsi 262427591045597
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262427591045597', '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': '491616207534', '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-12T08:57:00Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:57:00] "GET /subscriber/imsi/262427591045597 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 - - [12/Nov/2025 08:57:00] "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 - - [12/Nov/2025 08:57:00] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262427591045597\nDELETE http://127.0.0.1:8080/auc/5\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262426022667568 --msisdn 491615200624 --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 - - [12/Nov/2025 08:57:00] "DELETE /auc/6 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262426022667568', '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': '262426022667568', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:57:00] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426022667568', 'msisdn': '491615200624'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '6', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262426022667568', 'msisdn': '491615200624'}
127.0.0.1 - - [12/Nov/2025 08:57:00] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[5] for "262426022667568" to be handled at TC_gsup_check_imei(113)
TC_gsup_check_imei(113)@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(113)@848821877c42: setverdict(error): none -> error
TC_gsup_check_imei(113)@848821877c42: Final verdict of PTC: error
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262426022667568"
[Database] [DEBUG] Get_Subscriber for imsi 262426022667568
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262426022667568', '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': '491615200624', '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-12T08:57:00Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:57:00] "GET /subscriber/imsi/262426022667568 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 - - [12/Nov/2025 08:57:00] "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 - - [12/Nov/2025 08:57:00] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262426022667568\nDELETE http://127.0.0.1:8080/auc/6\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262422210918303 --msisdn 491611060128 --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 - - [12/Nov/2025 08:57:00] "DELETE /auc/7 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262422210918303', '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': '262422210918303', 'algo': '2'}
127.0.0.1 - - [12/Nov/2025 08:57:00] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422210918303', 'msisdn': '491611060128'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '7', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422210918303', 'msisdn': '491611060128'}
127.0.0.1 - - [12/Nov/2025 08:57:00] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[6] for "262422210918303" to be handled at TC_gsup_check_imei(114)
TC_gsup_check_imei(114)@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(114)@848821877c42: setverdict(error): none -> error
TC_gsup_check_imei(114)@848821877c42: Final verdict of PTC: error
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262422210918303"
[Database] [DEBUG] Get_Subscriber for imsi 262422210918303
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262422210918303', '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': '491611060128', '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-12T08:57:00Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:57:00] "GET /subscriber/imsi/262422210918303 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 - - [12/Nov/2025 08:57:01] "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 - - [12/Nov/2025 08:57:01] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262422210918303\nDELETE http://127.0.0.1:8080/auc/7\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262422860447074 --msisdn 491613542240 --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 - - [12/Nov/2025 08:57:01] "DELETE /auc/8 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '202122232425262728292A2B2C2D2E2F', 'amf': '8000', 'sqn': '0', 'imsi': '262422860447074', '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': '262422860447074', 'algo': '3'}
127.0.0.1 - - [12/Nov/2025 08:57:01] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422860447074', 'msisdn': '491613542240'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '8', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262422860447074', 'msisdn': '491613542240'}
127.0.0.1 - - [12/Nov/2025 08:57:01] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[7] for "262422860447074" to be handled at TC_gsup_check_imei(115)
TC_gsup_check_imei(115)@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei(115)@848821877c42: setverdict(error): none -> error
TC_gsup_check_imei(115)@848821877c42: Final verdict of PTC: error
MTC@848821877c42: Executing: "pyhss_api_helper.py del_subscr --imsi 262422860447074"
[Database] [DEBUG] Get_Subscriber for imsi 262422860447074
[Database] [DEBUG] Get_Subscriber_Attributes for subscriber_id 11
[Database] [DEBUG] Got back result: []
[Database] [DEBUG] Got back result: {'imsi': '262422860447074', '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': '491613542240', '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-12T08:57:01Z', 'subscriber_id': 11, 'ue_ambr_ul': 999999, 'serving_mme_peer': None, 'last_seen_enodeb_id': None, 'attributes': []}
127.0.0.1 - - [12/Nov/2025 08:57:01] "GET /subscriber/imsi/262422860447074 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 - - [12/Nov/2025 08:57:01] "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 - - [12/Nov/2025 08:57:01] "DELETE /subscriber/11 HTTP/1.1" 200 -
MTC@848821877c42: Result: { stdout := "GET http://127.0.0.1:8080/subscriber/imsi/262422860447074\nDELETE http://127.0.0.1:8080/auc/8\nDELETE http://127.0.0.1:8080/subscriber/11", stderr := "", code := 0 }
MTC@848821877c42: setverdict(pass): none -> pass
HLR_Test-GSUP(107)@848821877c42: Final verdict of PTC: none
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP-IPA(106)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: pass
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(106): none (pass -> pass)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(107): none (pass -> pass)
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei(108): error (pass -> error)
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei(109): error (error -> error)
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei(110): error (error -> error)
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei(111): error (error -> error)
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei(112): error (error -> error)
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei(113): error (error -> error)
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei(114): error (error -> error)
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei(115): error (error -> error)
MTC@848821877c42: Test case TC_gsup_check_imei finished. Verdict: error
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei error'.
Wed Nov 12 08:57:01 UTC 2025
------ HLR_Tests.TC_gsup_check_imei error ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=129252)
Waiting for packet dumper to finish... 1 (prev_count=129252, count=159044)
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei error' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_invalid_len'.
------ HLR_Tests.TC_gsup_check_imei_invalid_len ------
Wed Nov 12 08:57:03 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei_invalid_len.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei_invalid_len.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_invalid_len' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_gsup_check_imei_invalid_len started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(116)@848821877c42: 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)@848821877c42: 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)@848821877c42: 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)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
MTC@848821877c42: Executing: "pyhss_api_helper.py add_subscr --imsi 262421549514012 --msisdn 491610114888 --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 - - [12/Nov/2025 08:57:04] "DELETE /auc/1 HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'ki': '000102030405060708090A0B0C0D0E0F', 'opc': '22222222222222222222222222222222', 'amf': '8000', 'sqn': '0', 'imsi': '262421549514012', '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': '262421549514012', 'algo': '1'}
127.0.0.1 - - [12/Nov/2025 08:57:04] "PUT /auc/ HTTP/1.1" 200 -
JSON Data sent: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421549514012', 'msisdn': '491610114888'}
[Database] [DEBUG] Called CreateObj to create <class 'database.SUBSCRIBER'> with value: {'auc_id': '1', 'default_apn': 'Internet', 'apn_list': '1', 'imsi': '262421549514012', 'msisdn': '491610114888'}
127.0.0.1 - - [12/Nov/2025 08:57:04] "PUT /subscriber/ HTTP/1.1" 200 -
MTC@848821877c42: 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)@848821877c42: Created GsupExpect[0] for "262421549514012" 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)@848821877c42: IPA: Closed
HLR_Test-GSUP(117)@848821877c42: setverdict(fail): none -> fail reason: "GSUP Connection Lost", new component reason: "GSUP Connection Lost"
MC@848821877c42: Test Component 117 has requested to stop MTC. Terminating current testcase execution.
HLR_Test-GSUP(117)@848821877c42: Final verdict of PTC: fail reason: "GSUP Connection Lost"
TC_gsup_check_imei_invalid_len(118)@848821877c42: Final verdict of PTC: none
HLR_Test-GSUP-IPA(116)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: none
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(116): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(117): fail (none -> fail) reason: "GSUP Connection Lost"
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei_invalid_len(118): none (fail -> fail)
MTC@848821877c42: Test case TC_gsup_check_imei_invalid_len finished. Verdict: fail reason: GSUP Connection Lost
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_invalid_len fail'.
Wed Nov 12 08:57:04 UTC 2025
------ HLR_Tests.TC_gsup_check_imei_invalid_len fail ------
Waiting for packet dumper to finish... 0 (prev_count=-1, count=432)
Waiting for packet dumper to finish... 1 (prev_count=432, count=14464)
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_invalid_len fail' was executed successfully (exit status: 0).
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi'.
------ HLR_Tests.TC_gsup_check_imei_unknown_imsi ------
Wed Nov 12 08:57:06 UTC 2025
/usr/bin/dumpcap -q -s 1520 -n -i any -w "/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei_unknown_imsi.pcap" >/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/HLR_Tests.TC_gsup_check_imei_unknown_imsi.pcap.stdout 2>/tmp/cmderr &
Waiting for packet dumper to start... 0
MTC@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-start.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi' was executed successfully (exit status: 0).
MTC@848821877c42: Test case TC_gsup_check_imei_unknown_imsi started.
MTC@848821877c42: legacy= false
MTC@848821877c42: in not legacy case 1
MTC@848821877c42: in not legacy case 2
[GSUP] [DEBUG] New connection from 127.0.0.1:9999.
HLR_Test-GSUP-IPA(119)@848821877c42: 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)@848821877c42: 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)@848821877c42: 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)@848821877c42: CCM Rx:{ msg_type := IPAC_MSGT_ID_ACK (6), u := omit }
HLR_Test-GSUP(120)@848821877c42: Created GsupExpect[0] for "262428879765523" to be handled at TC_gsup_check_imei_unknown_imsi(121)
TC_gsup_check_imei_unknown_imsi(121)@848821877c42: Dynamic test case error: Port VTY has neither connections nor mappings. Message cannot be sent on it.
TC_gsup_check_imei_unknown_imsi(121)@848821877c42: setverdict(error): none -> error
TC_gsup_check_imei_unknown_imsi(121)@848821877c42: Final verdict of PTC: error
HLR_Test-GSUP(120)@848821877c42: Final verdict of PTC: none
[GSUP] [INFO] GSUP Client disconnected: 127.0.0.1:9999
HLR_Test-GSUP-IPA(119)@848821877c42: Final verdict of PTC: none
MTC@848821877c42: Setting final verdict of the test case.
MTC@848821877c42: Local verdict of MTC: none
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP-IPA(119): none (none -> none)
MTC@848821877c42: Local verdict of PTC HLR_Test-GSUP(120): none (none -> none)
MTC@848821877c42: Local verdict of PTC TC_gsup_check_imei_unknown_imsi(121): error (none -> error)
MTC@848821877c42: Test case TC_gsup_check_imei_unknown_imsi finished. Verdict: error
MTC@848821877c42: Starting external command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi error'.
Wed Nov 12 08:57:07 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@848821877c42: External command `/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/ttcn3-tcpdump-stop.sh HLR_Tests.TC_gsup_check_imei_unknown_imsi error' was executed successfully (exit status: 0).
MC@848821877c42: Test execution finished.
Execution of [EXECUTE] section finished.
emtc
MC@848821877c42: Terminating MTC.
MC@848821877c42: MTC terminated.
MC2> exit
MC@848821877c42: Shutting down session.
MC@848821877c42: Shutdown complete.
Comparing expected results '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/hlr/expected-results.xml' against results in 'junit-xml-10747.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 (1432296)
[testenv][pyhss] Merging log files
[testenv][pyhss] + ['podman', 'exec', '-e', 'CCACHE_DIR=/home/osmocom-build/ccache/testenv', '-e', 'TESTENV_CACHE_DIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache', '-e', 'TESTENV_SRC_DIR=/home/osmocom-build/jenkins/workspace', '-e', 'TESTENV_INSTALL_DIR=/', '-e', 'TERM=dumb', '-e', 'PATH=/opt/eclipse-titan-11.1.0/bin:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts/qemu:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/hlr:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', '-e', 'HOME=/home/osmocom-build', '-e', 'PYTHONUNBUFFERED=1', '-e', 'BUILDDIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache/podman/titan-11.1.0-debian-trixie', '-e', 'TTCN3_DIR=/opt/eclipse-titan-11.1.0', '-t', '-w', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite', 'testenv-hlr-pyhss-osmocom-nightly-20251112-0855-dea69d79-0', 'sh', '-c', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/log_merge.sh HLR_Tests --rm >/dev/null']
[testenv][pyhss] Formatting log files
[testenv][pyhss] + ['podman', 'exec', '-e', 'CCACHE_DIR=/home/osmocom-build/ccache/testenv', '-e', 'TESTENV_CACHE_DIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache', '-e', 'TESTENV_SRC_DIR=/home/osmocom-build/jenkins/workspace', '-e', 'TESTENV_INSTALL_DIR=/', '-e', 'TERM=dumb', '-e', 'PATH=/opt/eclipse-titan-11.1.0/bin:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts/qemu:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/hlr:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', '-e', 'HOME=/home/osmocom-build', '-e', 'PYTHONUNBUFFERED=1', '-e', 'BUILDDIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache/podman/titan-11.1.0-debian-trixie', '-e', 'TTCN3_DIR=/opt/eclipse-titan-11.1.0', '-t', '-w', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite', 'testenv-hlr-pyhss-osmocom-nightly-20251112-0855-dea69d79-0', 'sh', '-c', '/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts/log_format.sh']
[testenv][pyhss] Stopping pyhss_gsup (1431902)
[testenv][pyhss] Stopping pyhss_api (1432039)
[testenv] Showing testsuite/junit-xml-10747.log
[testenv] + ['podman', 'exec', '-e', 'CCACHE_DIR=/home/osmocom-build/ccache/testenv', '-e', 'TESTENV_CACHE_DIR=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_cache', '-e', 'TESTENV_SRC_DIR=/home/osmocom-build/jenkins/workspace', '-e', 'TESTENV_INSTALL_DIR=/', '-e', 'TERM=dumb', '-e', 'PATH=/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/_testenv/data/scripts/qemu:/home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/hlr:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', '-e', 'HOME=/home/osmocom-build', '-e', 'PYTHONUNBUFFERED=1', '-t', 'testenv-hlr-pyhss-osmocom-nightly-20251112-0855-dea69d79-0', 'sh', '-c', 'echo && source-highlight -f esc -s xml -i /home/osmocom-build/jenkins/workspace/ttcn3-hlr-test-pyhss/logs/testsuite/junit-xml-10747.log && echo']
<?xml version="1.0"?>
<testsuite name='Titan' tests='25' failures='9' errors='7' skipped='0' inconc='0' time='103.00'>
<testcase classname='HLR_Tests' name='TC_gsup_sai_err_invalid_imsi' time='0.064822'/>
<testcase classname='HLR_Tests' name='TC_gsup_sai' time='3.924005'/>
<testcase classname='HLR_Tests' name='TC_gsup_sai_num_auth_vectors' time='7.552791'/>
<testcase classname='HLR_Tests' name='TC_gsup_sai_eps' time='0.399485'>
<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.073648'/>
<testcase classname='HLR_Tests' name='TC_gsup_ul_unknown_imsi_roaming_not_allowed' time='0.056360'>
<error type='DTE'></error>
</testcase>
<testcase classname='HLR_Tests' name='TC_gsup_sai_err_unknown_imsi' time='0.056361'/>
<testcase classname='HLR_Tests' name='TC_gsup_ul' time='2.926910'/>
<testcase classname='HLR_Tests' name='TC_gsup_ul_subscriber_data' time='0.037047'>
<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.201554'>
<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.299578'>
<error type='DTE'></error>
</testcase>
<testcase classname='HLR_Tests' name='TC_gsup_purge_cs' time='3.193539'/>
<testcase classname='HLR_Tests' name='TC_gsup_purge_ps' time='3.144445'/>
<testcase classname='HLR_Tests' name='TC_gsup_purge_unknown' time='0.041935'/>
<testcase classname='HLR_Tests' name='TC_mo_ussd_unknown' time='0.225825'>
<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.278785'>
<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.277468'>
<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.275603'>
<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.207557'>
<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.286735'>
<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.032368'>
<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.221023'>
<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.705479'>
<error type='DTE'></error>
</testcase>
<testcase classname='HLR_Tests' name='TC_gsup_check_imei_invalid_len' time='0.185062'>
<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.027364'>
<error type='DTE'></error>
</testcase>
</testsuite>
[testenv] Stopping podman container
[testenv] + ['podman', 'kill', 'testenv-hlr-pyhss-osmocom-nightly-20251112-0855-dea69d79-0']
testenv-hlr-pyhss-osmocom-nightly-20251112-0855-dea69d79-0
[testenv] feed_watchdog_loop: podman container has stopped
[testenv] Logs saved to: https://jenkins.osmocom.org/jenkins/job/ttcn3-hlr-test-pyhss/7/artifact/logs/
+ [ 0 = 0 ]
+ rm -rf _cache .linux
+ + uptime
grep --color=always -o load.*
load average: 1.32, 1.49, 1.43
+ 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