Project

General

Profile

Bug #4023

Missing coverage of PCU interface in osmo-bts

Added by laforge about 1 month ago. Updated 28 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
PCU Interface
Target version:
-
Start date:
05/24/2019
Due date:
% Done:

80%

Spec Reference:
Tags:

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

Related to OsmoBTS - Feature #3750: Extension of BTS_Tests.ttcn test coverageIn Progress01/08/2019

History

#1 Updated by laforge about 1 month 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

#2 Updated by laforge about 1 month ago

  • Related to Feature #3750: Extension of BTS_Tests.ttcn test coverage added

#3 Updated by laforge about 1 month ago

  • Checklist item BTS->PCU: TIME_IND set to Done
  • Status changed from New to In Progress
  • % Done changed from 0 to 10

#4 Updated by laforge about 1 month 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

#5 Updated by laforge about 1 month 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

#6 Updated by laforge about 1 month 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.

#7 Updated by laforge 29 days 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

#8 Updated by laforge 29 days ago

  • Checklist item PCU->BTS: DATA_REQ on PCH set to Done

#9 Updated by laforge 29 days ago

  • Checklist item BTS->PCU: RR SUSPEND -> PCU_IF_MSG_SUSP_REQ set to Done
  • % Done changed from 50 to 70

#10 Updated by laforge 28 days 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

#11 Updated by laforge 28 days 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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)