Project

General

Profile

Actions

Feature #3750

closed

Extension of BTS_Tests.ttcn test coverage

Added by laforge about 5 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/08/2019
Due date:
% Done:

100%

Spec Reference:

Description

Extension of the BTS Tests.ttcn test suite as well as its dependencies to extend the test coverage to cover the following scenarios, for which currently no automatic test coverage exists


Checklist

  • RSL channel activation with timing advance from initial activation onwards.
  • RSL MODE MODIFY with encryption parameter IE and/or multirate configuration IE.
  • RSL DEACTIVATE slow associated control channel (“SACCH”)
  • Handover Detection
  • Mobile station (“MS”) Power Control
  • Base station (“BS”) Power Control
  • Common control channel (“CCCH”) LOAD INDICATION for random access channel (“RACH”)
  • Cell broadcast channel (“CBCH”) LOAD INDICATION
  • RF RESOURCE INDICATION
  • Error handling, such as discriminator error, type error, sequence error, duplicated IE
  • Packet control unit (“PCU”) interface
  • SACCH INFO as part of RSL CHAN ACT
  • SACCH transmission rules in the context of special CHAN ACT (HO)

Related issues

Related to OsmoBTS - Bug #4008: Channel Activation starts SACCH too early in Asynchronous HandoverFeedback05/19/2019

Actions
Related to OsmoBTS - Bug #4009: Channel Activation starts SACCH too early in Synchronous HandoverNew05/19/2019

Actions
Related to OsmoBTS - Bug #4011: BTS_Tests.ttcn coverage for SMSCB/CBCHResolvedlaforge05/19/2019

Actions
Related to OsmoBTS - Bug #1622: OsmoBTS power control incompliant to TS 05.08 and TS 08.58Resolvedpespin02/23/2016

Actions
Related to OsmoBTS - Bug #4023: Missing coverage of PCU interface in osmo-btsStalled05/24/2019

Actions
Related to OsmoBTS - Bug #4031: OML part of BTS has no TTCN-3 testsNew05/29/2019

Actions
Related to libosmocore - Bug #4035: LAPDm implementation truncates L3 messages at 200 bytesResolvedlaforge06/01/2019

Actions
Related to OsmoBTS - Feature #1569: Report RF interference levels as part of RF RESOURCE INDICATIONResolvedfixeria02/23/2016

Actions
Actions #1

Updated by laforge about 5 years ago

  • Assignee set to 4368
Actions #2

Updated by laforge almost 5 years ago

  • Priority changed from Normal to Urgent
Actions #3

Updated by laforge almost 5 years ago

  • Checklist item Error handling, such as discriminator error, type error, sequence error, duplicated IE set to Done
Actions #4

Updated by laforge almost 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10
Actions #5

Updated by laforge almost 5 years ago

  • Checklist item SACCH INFO as part of RSL CHAN ACT added

https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14089/ for SACH INFO as part of RSL CHAN ACT. Testcase immediately found an error in osmo-bts which is fixed in https://gerrit.osmocom.org/#/c/osmo-bts/+/14087/

Actions #6

Updated by laforge almost 5 years ago

  • Related to Bug #4008: Channel Activation starts SACCH too early in Asynchronous Handover added
Actions #7

Updated by laforge almost 5 years ago

  • Related to Bug #4009: Channel Activation starts SACCH too early in Synchronous Handover added
Actions #8

Updated by laforge almost 5 years ago

  • Checklist item SACCH transmission rules in the context of special CHAN ACT (HO) added

Issues #4008 + #4009 were just uncovered by adding tests for the SACCH transmission rules in case of HO related CHAN ACT.

Actions #9

Updated by laforge almost 5 years ago

  • Related to Bug #4011: BTS_Tests.ttcn coverage for SMSCB/CBCH added
Actions #10

Updated by laforge almost 5 years ago

  • Checklist item SACCH transmission rules in the context of special CHAN ACT (HO) set to Done
  • % Done changed from 10 to 20

tests for SACCH related transmission rules on hand-over related channel activation in https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14094

Actions #11

Updated by laforge almost 5 years ago

  • Checklist item Cell broadcast channel (“CBCH”) LOAD INDICATION set to Done
Actions #12

Updated by laforge almost 5 years ago

  • Related to Bug #1622: OsmoBTS power control incompliant to TS 05.08 and TS 08.58 added
Actions #13

Updated by Hoernchen almost 5 years ago

  • Checklist item RSL channel activation with timing advance from initial activation onwards. set to Done
Actions #14

Updated by laforge almost 5 years ago

  • Checklist item Common control channel (“CCCH”) LOAD INDICATION for random access channel (“RACH”) set to Done
  • % Done changed from 20 to 50

https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14169 contains tests for RACH load indications. There were several fixes required in osmo-bts in order to make it pass: https://gerrit.osmocom.org/14158, https://gerrit.osmocom.org/#/c/osmo-bts/+/14159/ and https://gerrit.osmocom.org/#/c/osmo-bts/+/14160/

The initial TA from RSL CHAN ACT has been implemented by Hoernchen in https://gerrit.osmocom.org/#/c/osmo-ttcn3-hacks/+/14151/

Actions #15

Updated by laforge almost 5 years ago

  • Related to Bug #4023: Missing coverage of PCU interface in osmo-bts added
Actions #16

Updated by laforge almost 5 years ago

  • Checklist item deleted (TIME_IND from BTS → PCU)
  • Checklist item deleted (DATA_IND from BTS → PCU)
  • Checklist item deleted (PCU-originated DATA_REQ arrival on Um/MS side)

moving PCU related checlist items to #4023

Actions #17

Updated by Hoernchen almost 5 years ago

  • Checklist item RSL MODE MODIFY with encryption parameter IE and/or multirate configuration IE. set to Done
  • Checklist item RSL DEACTIVATE slow associated control channel (“SACCH”) set to Done
Actions #18

Updated by laforge almost 5 years ago

  • Related to Bug #4031: OML part of BTS has no TTCN-3 tests added
Actions #19

Updated by laforge almost 5 years ago

  • Related to Bug #4035: LAPDm implementation truncates L3 messages at 200 bytes added
Actions #20

Updated by laforge almost 5 years ago

  • Checklist item Handover Detection set to Done
  • % Done changed from 50 to 70
Actions #21

Updated by Hoernchen almost 5 years ago

  • Checklist item Mobile station (“MS”) Power Control set to Done
  • % Done changed from 70 to 60
Actions #22

Updated by laforge almost 5 years ago

  • Assignee changed from 4368 to Hoernchen
  • Priority changed from Urgent to Normal
Actions #23

Updated by Hoernchen over 4 years ago

  • Checklist item Base station (“BS”) Power Control set to Done
Actions #24

Updated by Hoernchen over 4 years ago

There is currently no reasonable way to test the RF RESOURCE INDICATION, osmo-bts does currently not use the parameters from TS 100 623 (9.4.24 Intave 9.4.25 Interference level Boundaries), and while osmo-trx can be polled for noise measurements those measurements are currently done by averaging 20 idle bursts, while intave is specified as average of # sacch frames (480ms), and even if all that was not the case it would still not be possible to test all of that without creating artificial noise to trigger a interference level change which in turn would trigger the sending of a RF RESOURCE INDICATION message.

Actions #25

Updated by Hoernchen over 4 years ago

  • Related to Feature #1569: Report RF interference levels as part of RF RESOURCE INDICATION added
Actions #26

Updated by fixeria over 4 years ago

There is currently no reasonable way to test the RF RESOURCE INDICATION [...]

Please see https://gerrit.osmocom.org/c/osmo-bts/+/15989. I believe this change would facilitate getting the actual (not averaged) interference levels. Since TRXDv1, OsmoTRX sends us IDLE indications (basically measurements during IDLE frames) and NOPE indications (when a burst was expected, but has not been received / detected).

[...] and even if all that was not the case it would still not be possible to test all of that without creating artificial noise to trigger a interference level change [...]

We can simulate pretty much everything with a virtual Um-interface - FakeTRX. The problem is that sending of IDLE / NOPE indications is still missing there :/ If I had time, I would implement this in a few days.

Actions #27

Updated by laforge about 4 years ago

  • Status changed from In Progress to New
  • Assignee deleted (Hoernchen)
Actions #28

Updated by laforge over 3 years ago

  • Checklist item Packet control unit (“PCU”) interface set to Done
  • % Done changed from 60 to 90

PCU socket is tested for most parts (and has a separate issue #4023).

So RF RESOURCE IND is the only untested message.

Actions #29

Updated by laforge over 3 years ago

  • Status changed from New to Resolved

marking as resolved; RF_RES_IND tests should be implemented in #1569

Actions #30

Updated by fixeria almost 3 years ago

  • Checklist item RF RESOURCE INDICATION set to Done
  • % Done changed from 90 to 100

For the sake of completeness:

https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/24567 BTS: add a test case for RF RESource INDication [WIP]

The progress can be tracked in #1569.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)