Project

General

Profile

Actions

Bug #4023

open

Missing coverage of PCU interface in osmo-bts

Added by laforge over 3 years ago. Updated about 3 years 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 coverageResolved01/08/2019

Actions
Actions #1

Updated by laforge over 3 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
Actions #2

Updated by laforge over 3 years ago

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

Updated by laforge over 3 years ago

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

Updated by laforge over 3 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

Actions #5

Updated by laforge over 3 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

Actions #6

Updated by laforge over 3 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.

Actions #7

Updated by laforge over 3 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
Actions #8

Updated by laforge over 3 years ago

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

Updated by laforge over 3 years ago

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

Updated by laforge over 3 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
Actions #11

Updated by laforge over 3 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

Actions #12

Updated by laforge over 3 years ago

  • Assignee changed from laforge to Hoernchen
Actions #13

Updated by laforge about 3 years ago

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

Updated by fixeria about 3 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.

Actions #15

Updated by osmith about 3 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).

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)