Bug #4023
openMissing coverage of PCU interface in osmo-bts
80%
Description
let's use this as a separate ticket from #3750 to provide a more verbose list of the tests related to the PCU interface
Checklist
- BTS->PCU: TIME_IND
- BTS->PCU: DATA_IND (PDTCH / PTCCH)
- verification of PCU-originated DATA_REQ arrival on Um/MS side
- existing tests: "FIXME: how to check this wasn't actually sent and didn't crash BTS?"
- verification of INFO_IND data like timers, CS-mask, mcc/mnc/lac/cid/rac/nsei/bvci
- verify that second connect to socket gets discarded while first survives
- PCU->BTS: PCU_IF_MSG_TXT_IND -> OML ALERT
- PCU->BTS: DATA_REQ on PCH
- BTS->PCU: RTS.req, for all lchan on all ts on all TRX
- BTS->PCU: RR SUSPEND -> PCU_IF_MSG_SUSP_REQ
- Ensure that GPRS capability is no longer advertised in SI3 after socket disconnect
- Ensure that PCU can disconnect + re-connect on PCUIF socket
Related issues
Updated by laforge over 4 years ago
- Checklist item BTS->PCU: TIME_IND added
- Checklist item BTS->PCU: DATA_IND (PDTCH / PTCCH) added
- Checklist item verification of PCU-originated DATA_REQ arrival on Um/MS side added
- Checklist item existing tests: "FIXME: how to check this wasn't actually sent and didn't crash BTS?" added
- Checklist item verification of INFO_IND data like timers, CS-mask, mcc/mnc/lac/cid/rac/nsei/bvci added
- Checklist item verify that second connect to socket gets discarded while first survives added
- Checklist item PCU->BTS: PCU_IF_MSG_TXT_IND -> OML ALERT added
- Checklist item PCU->BTS: DATA_REQ on PCH added
- Checklist item BTS->PCU: RTS.req, for all lchan on all ts on all TRX added
- Checklist item BTS->PCU: RR SUSPEND -> PCU_IF_MSG_SUSP_REQ added
Updated by laforge over 4 years ago
- Related to Feature #3750: Extension of BTS_Tests.ttcn test coverage added
Updated by laforge over 4 years ago
- Checklist item BTS->PCU: TIME_IND set to Done
- Status changed from New to In Progress
- % Done changed from 0 to 10
TIME_IND test in https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14172
Updated by laforge over 4 years ago
- Checklist item PCU->BTS: PCU_IF_MSG_TXT_IND -> OML ALERT set to Done
- % Done changed from 10 to 20
The PCU-originated OML alert generation is tested in https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14178
Updated by laforge over 4 years ago
- Checklist item BTS->PCU: RTS.req, for all lchan on all ts on all TRX set to Done
- % Done changed from 20 to 30
The test for verifying RTS_REQ is in https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14182
Updated by laforge over 4 years ago
- Checklist item verification of PCU-originated DATA_REQ arrival on Um/MS side set to Done
- % Done changed from 30 to 40
Patch https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14183 introdcues the use of virtphy to verify the Um side while performing PCU Socket testing of the BTS. It currently verifies PDTCH + PTCCH only, and only the valid/successful scenarios.
Updated by laforge over 4 years ago
- Checklist item existing tests: "FIXME: how to check this wasn't actually sent and didn't crash BTS?" set to Done
- % Done changed from 40 to 50
existing test "FIXME" addressed in https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14190
Updated by laforge over 4 years ago
- Checklist item PCU->BTS: DATA_REQ on PCH set to Done
PCH is tested in https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14191
Updated by laforge over 4 years ago
- Checklist item BTS->PCU: RR SUSPEND -> PCU_IF_MSG_SUSP_REQ set to Done
- % Done changed from 50 to 70
RR suspend test is in https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14192
Updated by laforge over 4 years ago
- Checklist item Ensure that GPRS capability is no longer advertised after socket disconnect added
- Checklist item Ensure that PCU can disconnect + re-connect on PCUIF socket added
- Checklist item verify that second connect to socket gets discarded while first survives set to Done
second PCUIF connect attempt: https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/1420
8
PCUIF reconnect: https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14209
Updated by laforge over 4 years ago
- Checklist item changed from Ensure that GPRS capability is no longer advertised after socket disconnect to Ensure that GPRS capability is no longer advertised in SI3 after socket disconnect
- Checklist item Ensure that GPRS capability is no longer advertised in SI3 after socket disconnect set to Done
- % Done changed from 70 to 80
the SI3 GPRS capability advertisement related tests are in https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14215
Updated by laforge about 4 years ago
- Status changed from In Progress to Stalled
- Assignee deleted (
Hoernchen)
Updated by fixeria about 4 years ago
[ ] verification of INFO_IND data like timers, CS-mask, mcc/mnc/lac/cid/rac/nsei/bvci
AFAIR, osmith recently implemented some related test cases.
Updated by osmith about 4 years ago
fixeria wrote:
[ ] verification of INFO_IND data like timers, CS-mask, mcc/mnc/lac/cid/rac/nsei/bvci
AFAIR, osmith recently implemented some related test cases.
Right, this test checks the cid and lac and it could be extended to test more: https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15328
Note that it is currently failing, because OsmoBTS sends empty INFO_ind to PCU socket, if not all SI arrived from BSC via RSL (#4179).