Project

General

Profile

Bug #4023

Missing coverage of PCU interface in osmo-bts

Added by laforge 7 months ago. Updated 18 days ago.

Status:
Stalled
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 7 months 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 7 months ago

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

#3 Updated by laforge 6 months 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 6 months 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 6 months 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 6 months 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 6 months 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 6 months ago

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

#9 Updated by laforge 6 months 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 6 months 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 6 months 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

#12 Updated by laforge 5 months ago

  • Assignee changed from laforge to Hoernchen

#13 Updated by laforge 3 months ago

  • Status changed from In Progress to Stalled
  • Assignee deleted (Hoernchen)

#14 Updated by fixeria 19 days 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.

#15 Updated by osmith 18 days 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).

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)