Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1 | ===== test_reject_2nd_conn |
| 2 | - Location Update Request on one connection |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 3 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 4 | new conn |
| 5 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 6 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 7 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 8 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 9 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 10 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 11 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 12 | DMM LU/new-LAC: 1/0 |
| 13 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 14 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 15 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 16 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 17 | DREF VLR subscr unknown usage increases to: 1 |
| 18 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 19 | DVLR New subscr, IMSI: 901700000004620 |
| 20 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 21 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 22 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 23 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 24 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 25 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 26 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 27 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 28 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 29 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 30 | DVLR GSUP tx: 04010809710000004026f0 |
| 31 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 32 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 33 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 34 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 35 | lu_result_sent == 0 |
| 36 | llist_count(&net->subscr_conns) == 1 |
| 37 | - Another Location Update Request from the same subscriber on another connection is rejected |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 38 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 39 | new conn |
| 40 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 41 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 42 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 43 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 44 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 45 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 46 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 47 | DMM LU/new-LAC: 1/0 |
| 48 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 49 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 50 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 51 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 52 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 53 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: A Location Updating process is already pending for this subscriber. Aborting. |
| 54 | - sending LU Reject for unknown, cause 22 |
| 55 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 56 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_CN_CLOSE |
| 57 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 58 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Close event, cause 1 |
| 59 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_RELEASED |
| 60 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 61 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 62 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 63 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 64 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 65 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 66 | DMM msc_subscr_conn_close(vsub=unknown, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 67 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 68 | DREF unknown: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 69 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 70 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 71 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
| 72 | DRR 901700000004620: internal error during Location Updating attempt |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 73 | DREF unknown: MSC conn use - 1 == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 74 | DRLL Freeing subscriber connection with NULL subscriber |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 75 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 76 | lu_result_sent == 2 |
| 77 | llist_count(&net->subscr_conns) == 1 |
| 78 | --- |
| 79 | - The first connection can still complete its LU |
| 80 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 81 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 82 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 83 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 84 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 85 | DVLR GSUP tx: 12010809710000004026f0 |
| 86 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 87 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 88 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 89 | lu_result_sent == 0 |
| 90 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 91 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 92 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 93 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 94 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 95 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 96 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 97 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 98 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 99 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 100 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 101 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 102 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 103 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 104 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 105 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 106 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 107 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 108 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 109 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 110 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 111 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 112 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 113 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 114 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 115 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 116 | - sending LU Accept for MSISDN:46071 |
| 117 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 118 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 119 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 120 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 121 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 122 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 123 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 124 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 125 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 126 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 127 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 128 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 129 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 130 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 131 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 132 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 133 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 134 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 135 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 136 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 137 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 138 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 139 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 140 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 141 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 142 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 143 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 144 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 145 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 146 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 147 | - LU was successful, and the conn has already been closed |
| 148 | lu_result_sent == 1 |
| 149 | llist_count(&net->subscr_conns) == 0 |
| 150 | DREF freeing VLR subscr MSISDN:46071 |
| 151 | ===== test_reject_2nd_conn: SUCCESS |
| 152 | |
| 153 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 154 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 155 | |
| 156 | ===== test_reject_lu_during_lu |
| 157 | - Location Update Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 158 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 159 | new conn |
| 160 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 161 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 162 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 163 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 164 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 165 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 166 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 167 | DMM LU/new-LAC: 1/0 |
| 168 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 169 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 170 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 171 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 172 | DREF VLR subscr unknown usage increases to: 1 |
| 173 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 174 | DVLR New subscr, IMSI: 901700000004620 |
| 175 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 176 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 177 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 178 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 179 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 180 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 181 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 182 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 183 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 184 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 185 | DVLR GSUP tx: 04010809710000004026f0 |
| 186 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 187 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 188 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 189 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 190 | lu_result_sent == 0 |
| 191 | llist_count(&net->subscr_conns) == 1 |
| 192 | --- |
| 193 | - Another Location Update Request from the same subscriber on the same conn is dropped silently |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 194 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 195 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 196 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 197 | DMM 901700000004620: Error: connection already in use |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 198 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 199 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 200 | lu_result_sent == 0 |
| 201 | llist_count(&net->subscr_conns) == 1 |
| 202 | --- |
| 203 | - The first LU can still complete |
| 204 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 205 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 206 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 207 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 208 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 209 | DVLR GSUP tx: 12010809710000004026f0 |
| 210 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 211 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 212 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 213 | lu_result_sent == 0 |
| 214 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 215 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 216 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 217 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 218 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 219 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 220 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 221 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 222 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 223 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 224 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 225 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 226 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 227 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 228 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 229 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 230 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 231 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 232 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 233 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 234 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 235 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 236 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 237 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 238 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 239 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 240 | - sending LU Accept for MSISDN:46071 |
| 241 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 242 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 243 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 244 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 245 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 246 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 247 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 248 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 249 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 250 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 251 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 252 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 253 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 254 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 255 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 256 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 257 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 258 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 259 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 260 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 261 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 262 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 263 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 264 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 265 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 266 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 267 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 268 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 269 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 270 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 271 | - LU was successful, and the conn has already been closed |
| 272 | lu_result_sent == 1 |
| 273 | llist_count(&net->subscr_conns) == 0 |
| 274 | DREF freeing VLR subscr MSISDN:46071 |
| 275 | ===== test_reject_lu_during_lu: SUCCESS |
| 276 | |
| 277 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 278 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 279 | |
| 280 | ===== test_reject_cm_during_lu |
| 281 | - Location Update Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 282 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 283 | new conn |
| 284 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 285 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 286 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 287 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 288 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 289 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 290 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 291 | DMM LU/new-LAC: 1/0 |
| 292 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 293 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 294 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 295 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 296 | DREF VLR subscr unknown usage increases to: 1 |
| 297 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 298 | DVLR New subscr, IMSI: 901700000004620 |
| 299 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 300 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 301 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 302 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 303 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 304 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 305 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 306 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 307 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 308 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 309 | DVLR GSUP tx: 04010809710000004026f0 |
| 310 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 311 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 312 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 313 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 314 | lu_result_sent == 0 |
| 315 | llist_count(&net->subscr_conns) == 1 |
| 316 | --- |
| 317 | - A CM Service Request in the middle of a LU is rejected |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 318 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 319 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 320 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 321 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
| 322 | DMM IMSI:901700000004620: connection already in use |
| 323 | DMM -> CM SERVICE Reject cause: 17 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 324 | DMSC msc_tx 3 bytes to IMSI:901700000004620 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 325 | - DTAP --RAN_GERAN_A--> MS: GSM48_MT_MM_CM_SERV_REJ: 052211 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 326 | - DTAP matches expected message |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 327 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 328 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 329 | lu_result_sent == 0 |
| 330 | cm_service_result_sent == 0 |
| 331 | llist_count(&net->subscr_conns) == 1 |
| 332 | --- |
| 333 | - The first LU can still complete |
| 334 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 335 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 336 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 337 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 338 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 339 | DVLR GSUP tx: 12010809710000004026f0 |
| 340 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 341 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 342 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 343 | lu_result_sent == 0 |
| 344 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 345 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 346 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 347 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 348 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 349 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 350 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 351 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 352 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 353 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 354 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 355 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 356 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 357 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 358 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 359 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 360 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 361 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 362 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 363 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 364 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 365 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 366 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 367 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 368 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 369 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 370 | - sending LU Accept for MSISDN:46071 |
| 371 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 372 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 373 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 374 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 375 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 376 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 377 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 378 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 379 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 380 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 381 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 382 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 383 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 384 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 385 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 386 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 387 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 388 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 389 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 390 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 391 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 392 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 393 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 394 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 395 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 396 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 397 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 398 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 399 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 400 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 401 | - LU was successful, and the conn has already been closed |
| 402 | lu_result_sent == 1 |
| 403 | llist_count(&net->subscr_conns) == 0 |
| 404 | DREF freeing VLR subscr MSISDN:46071 |
| 405 | ===== test_reject_cm_during_lu: SUCCESS |
| 406 | |
| 407 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 408 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 409 | |
| 410 | ===== test_reject_paging_resp_during_lu |
| 411 | - Location Update Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 412 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 413 | new conn |
| 414 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 415 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 416 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 417 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 418 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 419 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 420 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 421 | DMM LU/new-LAC: 1/0 |
| 422 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 423 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 424 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 425 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 426 | DREF VLR subscr unknown usage increases to: 1 |
| 427 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 428 | DVLR New subscr, IMSI: 901700000004620 |
| 429 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 430 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 431 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 432 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 433 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 434 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 435 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 436 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 437 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 438 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 439 | DVLR GSUP tx: 04010809710000004026f0 |
| 440 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 441 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 442 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 443 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 444 | lu_result_sent == 0 |
| 445 | llist_count(&net->subscr_conns) == 1 |
| 446 | --- |
| 447 | - An erratic Paging Response is dropped silently |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 448 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 449 | DREF IMSI:901700000004620: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 450 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 451 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
| 452 | DMM 901700000004620: Error: connection already in use |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 453 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 454 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 455 | lu_result_sent == 0 |
| 456 | llist_count(&net->subscr_conns) == 1 |
| 457 | --- |
| 458 | - The first LU can still complete |
| 459 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 460 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 461 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 462 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 463 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 464 | DVLR GSUP tx: 12010809710000004026f0 |
| 465 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 466 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 467 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 468 | lu_result_sent == 0 |
| 469 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 470 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 471 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 472 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 473 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 474 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 475 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 476 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 477 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 478 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 479 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 480 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 481 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 482 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 483 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 484 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 485 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 486 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 487 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 488 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 489 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 490 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 491 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 492 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 493 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 494 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 495 | - sending LU Accept for MSISDN:46071 |
| 496 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 497 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 498 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 499 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 500 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 501 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 502 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 503 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 504 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 505 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 506 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 507 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 508 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 509 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 510 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 511 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 512 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 513 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 514 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 515 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 516 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 517 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 518 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 519 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 520 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 521 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 522 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 523 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 524 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 525 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 526 | - LU was successful, and the conn has already been closed |
| 527 | lu_result_sent == 1 |
| 528 | llist_count(&net->subscr_conns) == 0 |
| 529 | DREF freeing VLR subscr MSISDN:46071 |
| 530 | ===== test_reject_paging_resp_during_lu: SUCCESS |
| 531 | |
| 532 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 533 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 534 | |
| 535 | ===== test_reject_lu_during_cm |
| 536 | --- |
| 537 | - Subscriber does a normal LU |
| 538 | - Location Update Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 539 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 540 | new conn |
| 541 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 542 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 543 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 544 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 545 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 546 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 547 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 548 | DMM LU/new-LAC: 1/0 |
| 549 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 550 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 551 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 552 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 553 | DREF VLR subscr unknown usage increases to: 1 |
| 554 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 555 | DVLR New subscr, IMSI: 901700000004620 |
| 556 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 557 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 558 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 559 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 560 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 561 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 562 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 563 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 564 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 565 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 566 | DVLR GSUP tx: 04010809710000004026f0 |
| 567 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 568 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 569 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 570 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 571 | lu_result_sent == 0 |
| 572 | llist_count(&net->subscr_conns) == 1 |
| 573 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 574 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 575 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 576 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 577 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 578 | DVLR GSUP tx: 12010809710000004026f0 |
| 579 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 580 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 581 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 582 | lu_result_sent == 0 |
| 583 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 584 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 585 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 586 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 587 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 588 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 589 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 590 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 591 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 592 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 593 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 594 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 595 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 596 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 597 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 598 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 599 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 600 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 601 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 602 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 603 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 604 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 605 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 606 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 607 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 608 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 609 | - sending LU Accept for MSISDN:46071 |
| 610 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 611 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 612 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 613 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 614 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 615 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 616 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 617 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 618 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 619 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 620 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 621 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 622 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 623 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 624 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 625 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 626 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 627 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 628 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 629 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 630 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 631 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 632 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 633 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 634 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 635 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 636 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 637 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 638 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 639 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 640 | - LU was successful, and the conn has already been closed |
| 641 | lu_result_sent == 1 |
| 642 | llist_count(&net->subscr_conns) == 0 |
| 643 | --- |
| 644 | - Subscriber does a normal CM Service Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 645 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 646 | new conn |
| 647 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 648 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 649 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
| 650 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 651 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 652 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 653 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 654 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 655 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 656 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 657 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 658 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 659 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 660 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 661 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 662 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 663 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 664 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 665 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 666 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 667 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 668 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 669 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
| 670 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 671 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 672 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 673 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 674 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 675 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 676 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 677 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 678 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 679 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 680 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 681 | cm_service_result_sent == 1 |
| 682 | msc_subscr_conn_is_accepted() == true |
| 683 | - A LU request on an open conn is dropped silently |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 684 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 685 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 686 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 687 | DMM 901700000004620: Error: connection already in use |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 688 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 689 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 690 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 691 | lu_result_sent == 0 |
| 692 | llist_count(&net->subscr_conns) == 1 |
| 693 | --- |
| 694 | - subscriber detaches |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 695 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 696 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 697 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 698 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 699 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 700 | DMM IMSI DETACH for MSISDN:46071 |
| 701 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_ERROR) |
| 702 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 703 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 704 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 705 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_CN_CLOSE |
| 706 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 707 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 708 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 709 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 710 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 711 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 712 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 713 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 714 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 715 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=0): already dispatching release, ignore. |
| 716 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 717 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 718 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 719 | DREF freeing VLR subscr MSISDN:46071 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 720 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 721 | llist_count(&net->subscr_conns) == 0 |
| 722 | ===== test_reject_lu_during_cm: SUCCESS |
| 723 | |
| 724 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 725 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 726 | |
| 727 | ===== test_reject_cm_during_cm |
| 728 | --- |
| 729 | - Subscriber does a normal LU |
| 730 | - Location Update Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 731 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 732 | new conn |
| 733 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 734 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 735 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 736 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 737 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 738 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 739 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 740 | DMM LU/new-LAC: 1/0 |
| 741 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 742 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 743 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 744 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 745 | DREF VLR subscr unknown usage increases to: 1 |
| 746 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 747 | DVLR New subscr, IMSI: 901700000004620 |
| 748 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 749 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 750 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 751 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 752 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 753 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 754 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 755 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 756 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 757 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 758 | DVLR GSUP tx: 04010809710000004026f0 |
| 759 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 760 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 761 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 762 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 763 | lu_result_sent == 0 |
| 764 | llist_count(&net->subscr_conns) == 1 |
| 765 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 766 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 767 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 768 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 769 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 770 | DVLR GSUP tx: 12010809710000004026f0 |
| 771 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 772 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 773 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 774 | lu_result_sent == 0 |
| 775 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 776 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 777 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 778 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 779 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 780 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 781 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 782 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 783 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 784 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 785 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 786 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 787 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 788 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 789 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 790 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 791 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 792 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 793 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 794 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 795 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 796 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 797 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 798 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 799 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 800 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 801 | - sending LU Accept for MSISDN:46071 |
| 802 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 803 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 804 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 805 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 806 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 807 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 808 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 809 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 810 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 811 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 812 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 813 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 814 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 815 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 816 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 817 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 818 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 819 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 820 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 821 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 822 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 823 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 824 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 825 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 826 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 827 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 828 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 829 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 830 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 831 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 832 | - LU was successful, and the conn has already been closed |
| 833 | lu_result_sent == 1 |
| 834 | llist_count(&net->subscr_conns) == 0 |
| 835 | --- |
| 836 | - Subscriber does a normal CM Service Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 837 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 838 | new conn |
| 839 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 840 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 841 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
| 842 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 843 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 844 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 845 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 846 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 847 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 848 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 849 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 850 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 851 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 852 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 853 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 854 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 855 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 856 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 857 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 858 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 859 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 860 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 861 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
| 862 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 863 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 864 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 865 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 866 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 867 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 868 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 869 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 870 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 871 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 872 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 873 | cm_service_result_sent == 1 |
| 874 | msc_subscr_conn_is_accepted() == true |
| 875 | - A second CM Service Request on the same conn is accepted without another auth dance |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 876 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 877 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 878 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 879 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
| 880 | DMM MSISDN:46071: re-using already accepted connection |
| 881 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 882 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 883 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 884 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 885 | cm_service_result_sent == 1 |
| 886 | llist_count(&net->subscr_conns) == 1 |
| 887 | --- |
| 888 | - subscriber detaches |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 889 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 890 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 891 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 892 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 893 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 894 | DMM IMSI DETACH for MSISDN:46071 |
| 895 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_ERROR) |
| 896 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 897 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 898 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 899 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_CN_CLOSE |
| 900 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 901 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 902 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 903 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 904 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 905 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 906 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 907 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 908 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 909 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=0): already dispatching release, ignore. |
| 910 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 911 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 912 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 913 | DREF freeing VLR subscr MSISDN:46071 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 914 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 915 | llist_count(&net->subscr_conns) == 0 |
| 916 | ===== test_reject_cm_during_cm: SUCCESS |
| 917 | |
| 918 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 919 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 920 | |
| 921 | ===== test_reject_paging_resp_during_cm |
| 922 | --- |
| 923 | - Subscriber does a normal LU |
| 924 | - Location Update Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 925 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 926 | new conn |
| 927 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 928 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 929 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 930 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 931 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 932 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 933 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 934 | DMM LU/new-LAC: 1/0 |
| 935 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 936 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 937 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 938 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 939 | DREF VLR subscr unknown usage increases to: 1 |
| 940 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 941 | DVLR New subscr, IMSI: 901700000004620 |
| 942 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 943 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 944 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 945 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 946 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 947 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 948 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 949 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 950 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 951 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 952 | DVLR GSUP tx: 04010809710000004026f0 |
| 953 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 954 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 955 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 956 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 957 | lu_result_sent == 0 |
| 958 | llist_count(&net->subscr_conns) == 1 |
| 959 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 960 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 961 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 962 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 963 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 964 | DVLR GSUP tx: 12010809710000004026f0 |
| 965 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 966 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 967 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 968 | lu_result_sent == 0 |
| 969 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 970 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 971 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 972 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 973 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 974 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 975 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 976 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 977 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 978 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 979 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 980 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 981 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 982 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 983 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 984 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 985 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 986 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 987 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 988 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 989 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 990 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 991 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 992 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 993 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 994 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 995 | - sending LU Accept for MSISDN:46071 |
| 996 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 997 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 998 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 999 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1000 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1001 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1002 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1003 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1004 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1005 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1006 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1007 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1008 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1009 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1010 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1011 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1012 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1013 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1014 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1015 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1016 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1017 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1018 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1019 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1020 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1021 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1022 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1023 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1024 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1025 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1026 | - LU was successful, and the conn has already been closed |
| 1027 | lu_result_sent == 1 |
| 1028 | llist_count(&net->subscr_conns) == 0 |
| 1029 | --- |
| 1030 | - Subscriber does a normal CM Service Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1031 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1032 | new conn |
| 1033 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1034 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1035 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
| 1036 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1037 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1038 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1039 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1040 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 1041 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 1042 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 1043 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 1044 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1045 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1046 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1047 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 1048 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 1049 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 1050 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 1051 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 1052 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 1053 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 1054 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 1055 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
| 1056 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1057 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1058 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_CM_SERVICE_REQ |
| 1059 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1060 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: received_cm_service_request = true |
| 1061 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1062 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1063 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1064 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1065 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1066 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 1067 | cm_service_result_sent == 1 |
| 1068 | msc_subscr_conn_is_accepted() == true |
| 1069 | --- |
| 1070 | - An erratic Paging Response on the same conn is dropped silently |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1071 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1072 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1073 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1074 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
| 1075 | DMM 901700000004620: Error: connection already in use |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1076 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1077 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1078 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 1079 | llist_count(&net->subscr_conns) == 1 |
| 1080 | --- |
| 1081 | - The original CM Service Request can conclude |
| 1082 | - a USSD request is serviced |
| 1083 | expecting USSD: |
| 1084 | Your extension is 46071
|
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1085 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_NC_SS:0x3b |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1086 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1087 | DRLL Dispatching 04.08 message GSM48_PDISC_NC_SS:0x3b (0xb:0x3b) |
| 1088 | DMM MSISDN:46071: rx msg GSM48_PDISC_NC_SS:0x3b: received_cm_service_request changes to false |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1089 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1090 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1091 | DMM USSD: Own number requested |
| 1092 | DMM MSISDN:46071: MSISDN = 46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1093 | DMSC msc_tx 43 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1094 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_NC_SS:0x2a: 8b2a1c27a225020100302002013b301b04010f0416d9775d0e2ae3e965f73cfd7683d27310cd06bbc51a0d |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1095 | - DTAP matches expected message |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1096 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1097 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 1098 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1099 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1100 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1101 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1102 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 1103 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
| 1104 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1105 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1106 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1107 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1108 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1109 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1110 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1111 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1112 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1113 | - all requests serviced, conn has been released |
| 1114 | llist_count(&net->subscr_conns) == 0 |
| 1115 | DREF freeing VLR subscr MSISDN:46071 |
| 1116 | ===== test_reject_paging_resp_during_cm: SUCCESS |
| 1117 | |
| 1118 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1119 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1120 | |
| 1121 | ===== test_reject_lu_during_paging_resp |
| 1122 | --- |
| 1123 | - Subscriber does a normal LU |
| 1124 | - Location Update Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1125 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1126 | new conn |
| 1127 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1128 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1129 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1130 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1131 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1132 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1133 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 1134 | DMM LU/new-LAC: 1/0 |
| 1135 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1136 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 1137 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 1138 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1139 | DREF VLR subscr unknown usage increases to: 1 |
| 1140 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1141 | DVLR New subscr, IMSI: 901700000004620 |
| 1142 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1143 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1144 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1145 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 1146 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 1147 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 1148 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1149 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1150 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1151 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1152 | DVLR GSUP tx: 04010809710000004026f0 |
| 1153 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 1154 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1155 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1156 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1157 | lu_result_sent == 0 |
| 1158 | llist_count(&net->subscr_conns) == 1 |
| 1159 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1160 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1161 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1162 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1163 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 1164 | DVLR GSUP tx: 12010809710000004026f0 |
| 1165 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1166 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1167 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1168 | lu_result_sent == 0 |
| 1169 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1170 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1171 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1172 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1173 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1174 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1175 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1176 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1177 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1178 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1179 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1180 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1181 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1182 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1183 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1184 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1185 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1186 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1187 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 1188 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1189 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1190 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1191 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 1192 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1193 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1194 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1195 | - sending LU Accept for MSISDN:46071 |
| 1196 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1197 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 1198 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1199 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1200 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1201 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1202 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1203 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1204 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1205 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1206 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1207 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1208 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1209 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1210 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1211 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1212 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1213 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1214 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1215 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1216 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1217 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1218 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1219 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1220 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1221 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1222 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1223 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1224 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1225 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1226 | - LU was successful, and the conn has already been closed |
| 1227 | lu_result_sent == 1 |
| 1228 | llist_count(&net->subscr_conns) == 0 |
| 1229 | --- |
| 1230 | - an SMS is sent, MS is paged |
| 1231 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1232 | llist_count(&vsub->cs.requests) == 0 |
| 1233 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1234 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 1235 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 0 |
| 1236 | strcmp(paging_expecting_imsi, imsi) == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1237 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 1238 | llist_count(&vsub->cs.requests) == 1 |
| 1239 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 1240 | paging_sent == 1 |
| 1241 | paging_stopped == 0 |
| 1242 | - MS replies with Paging Response, we deliver the SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1243 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1244 | new conn |
| 1245 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1246 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1247 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
| 1248 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1249 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1250 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1251 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1252 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 1253 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 1254 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 1255 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 1256 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 1257 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 1258 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1259 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 1260 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 1261 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 1262 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 1263 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 1264 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 1265 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 1266 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 1267 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1268 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1269 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 1270 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1271 | DPAG Paging success for MSISDN:46071 (event=0) |
| 1272 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1273 | DREF VLR subscr MSISDN:46071 usage increases to: 6 |
| 1274 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1275 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1276 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1277 | - DTAP matches expected message |
| 1278 | DREF VLR subscr MSISDN:46071 usage decreases to: 5 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1279 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1280 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1281 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1282 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1283 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1284 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 1285 | dtap_tx_confirmed == 1 |
| 1286 | paging_stopped == 1 |
| 1287 | - conn is still open to wait for SMS ack dance |
| 1288 | llist_count(&net->subscr_conns) == 1 |
| 1289 | --- |
| 1290 | - MS sends erratic LU Request, which is dropped silently |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1291 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1292 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1293 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1294 | DMM 901700000004620: Error: connection already in use |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1295 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1296 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1297 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 1298 | lu_result_sent == 0 |
| 1299 | llist_count(&net->subscr_conns) == 1 |
| 1300 | - MS replies with CP-ACK for received SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1301 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x04 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1302 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1303 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x04 (0x9:0x4) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1304 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1305 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 1306 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1307 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1308 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 1309 | llist_count(&net->subscr_conns) == 1 |
| 1310 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1311 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1312 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1313 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1314 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1315 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1316 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x04: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1317 | - DTAP matches expected message |
| 1318 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 1319 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1320 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1321 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1322 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 1323 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1324 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1325 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1326 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1327 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 1328 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
| 1329 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1330 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1331 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1332 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1333 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1334 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1335 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1336 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1337 | dtap_tx_confirmed == 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1338 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1339 | - SMS is done |
| 1340 | llist_count(&net->subscr_conns) == 0 |
| 1341 | DREF freeing VLR subscr MSISDN:46071 |
| 1342 | ===== test_reject_lu_during_paging_resp: SUCCESS |
| 1343 | |
| 1344 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1345 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1346 | |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1347 | ===== test_accept_cm_during_paging_resp |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1348 | --- |
| 1349 | - Subscriber does a normal LU |
| 1350 | - Location Update Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1351 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1352 | new conn |
| 1353 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1354 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1355 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1356 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1357 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1358 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1359 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 1360 | DMM LU/new-LAC: 1/0 |
| 1361 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1362 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 1363 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 1364 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1365 | DREF VLR subscr unknown usage increases to: 1 |
| 1366 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1367 | DVLR New subscr, IMSI: 901700000004620 |
| 1368 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1369 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1370 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1371 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 1372 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 1373 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 1374 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1375 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1376 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1377 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1378 | DVLR GSUP tx: 04010809710000004026f0 |
| 1379 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 1380 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1381 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1382 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1383 | lu_result_sent == 0 |
| 1384 | llist_count(&net->subscr_conns) == 1 |
| 1385 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1386 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1387 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1388 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1389 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 1390 | DVLR GSUP tx: 12010809710000004026f0 |
| 1391 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1392 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1393 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1394 | lu_result_sent == 0 |
| 1395 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1396 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1397 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1398 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1399 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1400 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1401 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1402 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1403 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1404 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1405 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1406 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1407 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1408 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1409 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1410 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1411 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1412 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1413 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 1414 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1415 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1416 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1417 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 1418 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1419 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1420 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1421 | - sending LU Accept for MSISDN:46071 |
| 1422 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1423 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 1424 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1425 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1426 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1427 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1428 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1429 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1430 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1431 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1432 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1433 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1434 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1435 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1436 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1437 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1438 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1439 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1440 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1441 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1442 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1443 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1444 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1445 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1446 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1447 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1448 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1449 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1450 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1451 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1452 | - LU was successful, and the conn has already been closed |
| 1453 | lu_result_sent == 1 |
| 1454 | llist_count(&net->subscr_conns) == 0 |
| 1455 | --- |
| 1456 | - an SMS is sent, MS is paged |
| 1457 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1458 | llist_count(&vsub->cs.requests) == 0 |
| 1459 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1460 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 1461 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 0 |
| 1462 | strcmp(paging_expecting_imsi, imsi) == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1463 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 1464 | llist_count(&vsub->cs.requests) == 1 |
| 1465 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 1466 | paging_sent == 1 |
| 1467 | paging_stopped == 0 |
| 1468 | - MS replies with Paging Response, we deliver the SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1469 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1470 | new conn |
| 1471 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1472 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1473 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
| 1474 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1475 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1476 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1477 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1478 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 1479 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 1480 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 1481 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 1482 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 1483 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 1484 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1485 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 1486 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 1487 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 1488 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 1489 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 1490 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 1491 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 1492 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 1493 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1494 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1495 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 1496 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1497 | DPAG Paging success for MSISDN:46071 (event=0) |
| 1498 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1499 | DREF VLR subscr MSISDN:46071 usage increases to: 6 |
| 1500 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1501 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1502 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1503 | - DTAP matches expected message |
| 1504 | DREF VLR subscr MSISDN:46071 usage decreases to: 5 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1505 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1506 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1507 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1508 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1509 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1510 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 1511 | dtap_tx_confirmed == 1 |
| 1512 | paging_stopped == 1 |
| 1513 | - conn is still open to wait for SMS ack dance |
| 1514 | llist_count(&net->subscr_conns) == 1 |
| 1515 | --- |
| 1516 | - CM Service Request during open connection is accepted |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1517 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_CM_SERV_REQ |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1518 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1519 | DRLL Dispatching 04.08 message GSM48_MT_MM_CM_SERV_REQ (0x5:0x24) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1520 | DMM <- CM SERVICE REQUEST serv_type=0x08 MI(IMSI)=901700000004620 |
| 1521 | DMM MSISDN:46071: re-using already accepted connection |
| 1522 | - sending CM Service Accept for MSISDN:46071 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1523 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1524 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1525 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 1526 | cm_service_result_sent == 1 |
| 1527 | llist_count(&net->subscr_conns) == 1 |
| 1528 | g_conn->received_cm_service_request == 1 |
| 1529 | - MS replies with CP-ACK for received SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1530 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x04 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1531 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1532 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x04 (0x9:0x4) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1533 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1534 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 1535 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1536 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1537 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 1538 | llist_count(&net->subscr_conns) == 1 |
| 1539 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1540 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1541 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1542 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1543 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1544 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1545 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x04: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1546 | - DTAP matches expected message |
| 1547 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 1548 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1549 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1550 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1551 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: still awaiting first request after a CM Service Request |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1552 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
| 1553 | dtap_tx_confirmed == 1 |
| 1554 | - SMS is done |
| 1555 | llist_count(&net->subscr_conns) == 1 |
| 1556 | --- |
| 1557 | - subscriber detaches |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1558 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_IMSI_DETACH_IND |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1559 | DREF MSISDN:46071: MSC conn use + 1 == 2 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1560 | DRLL Dispatching 04.08 message GSM48_MT_MM_IMSI_DETACH_IND (0x5:0x1) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1561 | DMM IMSI DETACH INDICATION: MI(IMSI)=901700000004620 |
| 1562 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1563 | DMM IMSI DETACH for MSISDN:46071 |
| 1564 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_ERROR) |
| 1565 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1566 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 1567 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1568 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_CN_CLOSE |
| 1569 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1570 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1571 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1572 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1573 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1574 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1575 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1576 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1577 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1578 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=0): already dispatching release, ignore. |
| 1579 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1580 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1581 | DREF VLR subscr MSISDN:46071 usage decreases to: 0 |
| 1582 | DREF freeing VLR subscr MSISDN:46071 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1583 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1584 | llist_count(&net->subscr_conns) == 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1585 | ===== test_accept_cm_during_paging_resp: SUCCESS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1586 | |
| 1587 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1588 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1589 | |
| 1590 | ===== test_reject_paging_resp_during_paging_resp |
| 1591 | --- |
| 1592 | - Subscriber does a normal LU |
| 1593 | - Location Update Request |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1594 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_MM_LOC_UPD_REQUEST |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1595 | new conn |
| 1596 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1597 | DRLL Dispatching 04.08 message GSM48_MT_MM_LOC_UPD_REQUEST (0x5:0x8) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1598 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1599 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1600 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1601 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1602 | DMM LOCATION UPDATING REQUEST: MI(IMSI)=901700000004620 type=IMSI ATTACH |
| 1603 | DMM LU/new-LAC: 1/0 |
| 1604 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Allocated |
| 1605 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: is child of Subscr_Conn(901700000004620) |
| 1606 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: rev=GSM net=GERAN (no Auth) |
| 1607 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: Received Event VLR_ULA_E_UPDATE_LA |
| 1608 | DREF VLR subscr unknown usage increases to: 1 |
| 1609 | DVLR set IMSI on subscriber; IMSI=901700000004620 id=901700000004620 |
| 1610 | DVLR New subscr, IMSI: 901700000004620 |
| 1611 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
Neels Hofmeyr | fa68ccd | 2017-07-18 15:39:27 +0200 | [diff] [blame] | 1612 | DREF VLR subscr IMSI:901700000004620 usage decreases to: 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1613 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node1() |
| 1614 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_auth() |
| 1615 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_post_ciph() |
| 1616 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: vlr_loc_upd_node_4() |
| 1617 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_IDLE}: state_chg to VLR_ULA_S_WAIT_HLR_UPD |
| 1618 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Allocated |
| 1619 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1620 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: Received Event UPD_HLR_VLR_E_START |
| 1621 | DVLR GSUP tx: 04010809710000004026f0 |
| 1622 | GSUP --> HLR: OSMO_GSUP_MSGT_UPDATE_LOCATION_REQUEST: 04010809710000004026f0 |
| 1623 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_INIT}: state_chg to UPD_HLR_VLR_S_WAIT_FOR_DATA |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1624 | DMM IMSI:901700000004620: bump: conn still being established (SUBSCR_CONN_S_NEW) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1625 | DREF IMSI:901700000004620: MSC conn use - 1 == 1 |
| 1626 | lu_result_sent == 0 |
| 1627 | llist_count(&net->subscr_conns) == 1 |
| 1628 | - HLR sends _INSERT_DATA_REQUEST, VLR responds with _INSERT_DATA_RESULT |
| 1629 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: 10010809710000004026f00804036470f1 |
| 1630 | DVLR GSUP rx 17: 10010809710000004026f00804036470f1 |
| 1631 | DREF VLR subscr IMSI:901700000004620 usage increases to: 2 |
| 1632 | DVLR IMSI:901700000004620 has MSISDN:46071 |
| 1633 | DVLR GSUP tx: 12010809710000004026f0 |
| 1634 | GSUP --> HLR: OSMO_GSUP_MSGT_INSERT_DATA_RESULT: 12010809710000004026f0 |
| 1635 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1636 | <-- GSUP rx OSMO_GSUP_MSGT_INSERT_DATA_REQUEST: vlr_gsupc_read_cb() returns 0 |
| 1637 | lu_result_sent == 0 |
| 1638 | - HLR also sends GSUP _UPDATE_LOCATION_RESULT |
| 1639 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: 06010809710000004026f0 |
| 1640 | DVLR GSUP rx 11: 06010809710000004026f0 |
| 1641 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1642 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_HLR_LU_RES |
| 1643 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: Received Event UPD_HLR_VLR_E_UPD_LOC_ACK |
| 1644 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_WAIT_FOR_DATA}: state_chg to UPD_HLR_VLR_S_DONE |
| 1645 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1646 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1647 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Freeing instance |
| 1648 | DVLR upd_hlr_vlr_fsm(901700000004620){UPD_HLR_VLR_S_DONE}: Deallocated |
| 1649 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: Received Event VLR_ULA_E_UPD_HLR_COMPL |
| 1650 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_HLR_UPD}: state_chg to VLR_ULA_S_WAIT_LU_COMPL |
| 1651 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Allocated |
| 1652 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: is child of vlr_lu_fsm(901700000004620) |
| 1653 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: Received Event LU_COMPL_VLR_E_START |
| 1654 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_INIT}: state_chg to LU_COMPL_VLR_S_WAIT_SUB_PRES |
| 1655 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Allocated |
| 1656 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: is child of lu_compl_vlr_fsm(901700000004620) |
| 1657 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: Received Event SUB_PRES_VLR_E_START |
| 1658 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_INIT}: state_chg to SUB_PRES_VLR_S_DONE |
| 1659 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
| 1660 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Removing from parent lu_compl_vlr_fsm(901700000004620) |
| 1661 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Freeing instance |
| 1662 | DVLR sub_pres_vlr_fsm(901700000004620){SUB_PRES_VLR_S_DONE}: Deallocated |
| 1663 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: Received Event LU_COMPL_VLR_E_SUB_PRES_COMPL |
| 1664 | - sending LU Accept for MSISDN:46071 |
| 1665 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
| 1666 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_WAIT_SUB_PRES}: state_chg to LU_COMPL_VLR_S_DONE |
| 1667 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: Received Event VLR_ULA_E_LU_COMPL_SUCCESS |
| 1668 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1669 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Removing from parent vlr_lu_fsm(901700000004620) |
| 1670 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Freeing instance |
| 1671 | DVLR lu_compl_vlr_fsm(901700000004620){LU_COMPL_VLR_S_DONE}: Deallocated |
| 1672 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_WAIT_LU_COMPL}: state_chg to VLR_ULA_S_DONE |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1673 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1674 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_LU |
| 1675 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1676 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1677 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: releasing conn |
| 1678 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1679 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1680 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1681 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1682 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: fsm_lu_cleanup called with cause OSMO_FSM_TERM_PARENT |
| 1683 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Freeing instance |
| 1684 | DVLR vlr_lu_fsm(901700000004620){VLR_ULA_S_DONE}: Deallocated |
| 1685 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1686 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1687 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1688 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1689 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1690 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1691 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1692 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1693 | <-- GSUP rx OSMO_GSUP_MSGT_UPDATE_LOCATION_RESULT: vlr_gsupc_read_cb() returns 0 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1694 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1695 | - LU was successful, and the conn has already been closed |
| 1696 | lu_result_sent == 1 |
| 1697 | llist_count(&net->subscr_conns) == 0 |
| 1698 | --- |
| 1699 | - an SMS is sent, MS is paged |
| 1700 | DREF VLR subscr MSISDN:46071 usage increases to: 2 |
| 1701 | llist_count(&vsub->cs.requests) == 0 |
| 1702 | DREF VLR subscr MSISDN:46071 usage increases to: 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1703 | DMM Subscriber MSISDN:46071 not paged yet, start paging. |
| 1704 | RAN_GERAN_A sends out paging request to IMSI 901700000004620, TMSI 0xffffffff, LAC 0 |
| 1705 | strcmp(paging_expecting_imsi, imsi) == 0 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1706 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 1707 | llist_count(&vsub->cs.requests) == 1 |
| 1708 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 1709 | paging_sent == 1 |
| 1710 | paging_stopped == 0 |
| 1711 | - MS replies with Paging Response, we deliver the SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1712 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1713 | new conn |
| 1714 | DREF unknown: MSC conn use + 1 == 1 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1715 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1716 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
| 1717 | DREF unknown: MSC conn use + 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1718 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Allocated |
| 1719 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: Received Event SUBSCR_CONN_E_START |
| 1720 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_INIT}: state_chg to SUBSCR_CONN_S_NEW |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1721 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Allocated |
| 1722 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: is child of Subscr_Conn(901700000004620) |
| 1723 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: rev=GSM net=GERAN (no Auth) |
| 1724 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: Received Event PR_ARQ_E_START |
| 1725 | DREF VLR subscr MSISDN:46071 usage increases to: 4 |
| 1726 | DREF VLR subscr MSISDN:46071 usage increases to: 5 |
| 1727 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_vlr_fn_post_imsi() |
| 1728 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2() |
| 1729 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_ciph() |
| 1730 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_node2_post_vlr() |
| 1731 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_pres() |
| 1732 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_trace() |
| 1733 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: _proc_arq_vlr_post_imei() |
| 1734 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: proc_arq_fsm_done(VLR_PR_ARQ_RES_PASSED) |
| 1735 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_INIT}: state_chg to PR_ARQ_S_DONE |
| 1736 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Process Access Request result: VLR_PR_ARQ_RES_PASSED |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1737 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: Received Event SUBSCR_CONN_E_ACCEPTED |
| 1738 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: SUBSCR_CONN_FROM_PAGING_RESP |
| 1739 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_NEW}: state_chg to SUBSCR_CONN_S_ACCEPTED |
| 1740 | DPAG Paging success for MSISDN:46071 (event=0) |
| 1741 | DPAG Calling paging cbfn. |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1742 | DREF VLR subscr MSISDN:46071 usage increases to: 6 |
| 1743 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1744 | DMSC msc_tx 91 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1745 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x01: 09015801000791447758100650004c0005806470f1000007101000000000445079da1e1ee7416937485e9ea7c965373d1d6683c270383b3d0ed3d36ff71c949e83c22072799e9687c5ec32a81d96afcbf4b4fb0c7ac3e9e9b7db05 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1746 | - DTAP matches expected message |
| 1747 | DREF VLR subscr MSISDN:46071 usage decreases to: 5 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1748 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1749 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1750 | DREF VLR subscr MSISDN:46071 usage decreases to: 4 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1751 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1752 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1753 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 1754 | dtap_tx_confirmed == 1 |
| 1755 | paging_stopped == 1 |
| 1756 | - conn is still open to wait for SMS ack dance |
| 1757 | llist_count(&net->subscr_conns) == 1 |
| 1758 | --- |
| 1759 | - MS sends another erratic Paging Response which is dropped silently |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1760 | MSC <--RAN_GERAN_A-- MS: GSM48_MT_RR_PAG_RESP |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1761 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1762 | DRLL Dispatching 04.08 message GSM48_MT_RR_PAG_RESP (0x6:0x27) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1763 | DRR PAGING RESPONSE: MI(IMSI)=901700000004620 |
| 1764 | DMM 901700000004620: Error: connection already in use |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1765 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_BUMP |
| 1766 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1767 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 1768 | - MS replies with CP-ACK for received SMS |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1769 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x04 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1770 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1771 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x04 (0x9:0x4) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1772 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1773 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_ACCEPTED}: state_chg to SUBSCR_CONN_S_COMMUNICATING |
| 1774 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1775 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: connection still has active transaction: GSM48_PDISC_SMS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1776 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
| 1777 | llist_count(&net->subscr_conns) == 1 |
| 1778 | - MS also sends RP-ACK, MSC in turn sends CP-ACK for that |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1779 | MSC <--RAN_GERAN_A-- MS: GSM48_PDISC_SMS:0x01 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1780 | DREF MSISDN:46071: MSC conn use + 1 == 3 |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1781 | DRLL Dispatching 04.08 message GSM48_PDISC_SMS:0x01 (0x9:0x1) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1782 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_COMMUNICATING |
| 1783 | DMSC msc_tx 2 bytes to MSISDN:46071 via RAN_GERAN_A |
Neels Hofmeyr | dff0ec1 | 2017-03-10 02:15:20 +0100 | [diff] [blame] | 1784 | - DTAP --RAN_GERAN_A--> MS: GSM48_PDISC_SMS:0x04: 0904 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1785 | - DTAP matches expected message |
| 1786 | DREF VLR subscr MSISDN:46071 usage decreases to: 3 |
| 1787 | DREF VLR subscr MSISDN:46071 usage decreases to: 2 |
| 1788 | DREF MSISDN:46071: MSC conn use - 1 == 2 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1789 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: Received Event SUBSCR_CONN_E_BUMP |
| 1790 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: bump: releasing conn |
| 1791 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_COMMUNICATING}: state_chg to SUBSCR_CONN_S_RELEASED |
| 1792 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Terminating (cause = OSMO_FSM_TERM_REGULAR) |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1793 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Terminating (cause = OSMO_FSM_TERM_PARENT) |
| 1794 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Removing from parent Subscr_Conn(901700000004620) |
| 1795 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Freeing instance |
| 1796 | DVLR Process_Access_Request_VLR(901700000004620){PR_ARQ_S_DONE}: Deallocated |
| 1797 | DMM msc_subscr_conn_close(vsub=MSISDN:46071, cause=2): no conn fsm, releasing directly without release event. |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1798 | - BSSAP Clear --RAN_GERAN_A--> MS |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1799 | DREF MSISDN:46071: MSC conn use - 1 == 1 |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1800 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Freeing instance |
| 1801 | DMM Subscr_Conn(901700000004620){SUBSCR_CONN_S_RELEASED}: Deallocated |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1802 | DREF MSISDN:46071: MSC conn use - 1 == 0 |
| 1803 | DRLL subscr MSISDN:46071: Freeing subscriber connection |
| 1804 | DREF VLR subscr MSISDN:46071 usage decreases to: 1 |
| 1805 | dtap_tx_confirmed == 1 |
Philipp Maier | efe85d3 | 2017-04-09 12:32:51 +0200 | [diff] [blame^] | 1806 | bssap_clear_sent == 1 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1807 | - SMS is done |
| 1808 | llist_count(&net->subscr_conns) == 0 |
| 1809 | DREF freeing VLR subscr MSISDN:46071 |
| 1810 | ===== test_reject_paging_resp_during_paging_resp: SUCCESS |
| 1811 | |
| 1812 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
Neels Hofmeyr | 2188a77 | 2016-05-20 21:59:55 +0200 | [diff] [blame] | 1813 | talloc_total_blocks(tall_bsc_ctx) == 9 |
Neels Hofmeyr | 6bd5447 | 2017-01-25 15:04:16 +0100 | [diff] [blame] | 1814 | |
| 1815 | full talloc report on 'msgb' (total 0 bytes in 1 blocks) |
| 1816 | talloc_total_blocks(tall_bsc_ctx) == 9 |
| 1817 | |