Project

General

Profile

Actions

Support #1922

closed

comprehensive test of MSC subscriber connection and request handling

Added by neels about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
01/18/2017
Due date:
% Done:

100%

Spec Reference:

Description

Create a regression test suite in openbsc that does end-to-end testing of libmsc and libvlr.
Simulate BSC and HLR with binary packages, verifying that MSC and VLR work correctly.


Related issues

Related to OsmoNITB - Feature #1592: VLR in libmsc, to connect to HLR asynchronouslyClosedneels02/23/2016

Actions
Related to OsmoMSC - Feature #1976: VLR / 3G: periodic LU expiry by T3212Resolvedstsp03/09/2017

Actions
Actions #1

Updated by neels about 7 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 40

In the course of #1592, a quite comprehensive test suite is being developed.
This will be part of the code that is merged to master when #1592 is done.

So far test verifies expected behavior for successful cases,
pending are more tests for rejection at various stages,
as well as timeout behavior.

Actions #2

Updated by neels about 7 years ago

  • Related to Feature #1592: VLR in libmsc, to connect to HLR asynchronously added
Actions #3

Updated by neels about 7 years ago

  • % Done changed from 40 to 50

Development of this MSC+VLR end-to-end test is ongoing on the neels/vlr branch of openbsc.git.
Recently added/adding testing of UMTS milenage authentication.
(Failure/timeout tests are still to-be-done.)

Actions #4

Updated by neels about 7 years ago

The tests have been split up, from one monolithic test program (subscr_conn_tests.c)
to now several tests sharing common code (msc_vlr/msc_vlr_test_*.c)

UMTS authentication testing is complete on the VLR branch in msc_vlr_test_umts_authen.c,
as well as testing of UMTS authentication over pre-R99 (gsm_milenage()) in msc_vlr_test_gsm_authen.c.

Actions #5

Updated by neels about 7 years ago

Started failure testing: msc_vlr_test_hlr_reject.c tests scenarios where the HLR rejects
authentication info and LU. Insert Data failure still to be done.

Actions #6

Updated by neels about 7 years ago

(still on vlr branch)

Added first couple of rejection as well as timeout tests,
at first for HLR rejecting requests / not sending any replies,
and started MS timeout tests (when MS sends no replies).

Actions #7

Updated by neels about 7 years ago

tests development is ongoing, various timeout / rejection tests are still to be added.
Resulting from the timeout tests is the VLR timeout handling "discussion" at https://osmocom.org/issues/1592#note-67

Actions #8

Updated by neels about 7 years ago

  • % Done changed from 50 to 60

added timeout tests where the MS fails to send messages once authenticity is established (in msc_vlr_test_ms_timeout.c). This went along with implementation of the conn_fsm COMMUNICATING state.

Actions #9

Updated by neels about 7 years ago

  • Related to Feature #1976: VLR / 3G: periodic LU expiry by T3212 added
Actions #10

Updated by neels about 7 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 60 to 100

tests will always be an ongoing development. Let's close this issue and open more specific issues like #1976.

Actions #11

Updated by laforge almost 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)