Project

General

Profile

Actions

Feature #2818

closed

Ad MGW / MGCP Emulation to TTCN-3 testsuite for BSC

Added by laforge over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
01/04/2018
Due date:
% Done:

100%

Spec Reference:

Description

Right now, the BSC tests in TTCN-3 test a combination of BSC+MGW, which means that the MGCP protocol is not exposed to the tester. This means we cannot validate MGCP and e.g. cause CRCX / MDCX to fail in a controlled way to test error paths in OsmoBSC.

Let's implement a MGCP_Emulation that exists on the same level as the RSL_Emulation and BSSAP_Emulation, so that from a single test case we can speak to all relevant interfaces.

Actions #1

Updated by laforge over 6 years ago

  • Status changed from New to In Progress

Daniel started to work on this yesterday, I am just late with creating the ticket.

Actions #2

Updated by laforge about 6 years ago

  • % Done changed from 20 to 40

I've forward-ported Daniels' latest code on top of current master (including my OsmoMSC MGCP related work). It's in the laforge/bsc branch, but currently untested.

Actions #3

Updated by laforge about 6 years ago

  • Assignee changed from daniel to laforge
  • % Done changed from 40 to 80

I've integrated the MGCP handling now into the 'bsc' test suite and it seems to be working in general so far. I'm seeing the two connections, one with CRCX+MDCX, the other just with CRCX.

Problems still seem to exist regarding SDP parsing/interoperability. The libosmo-mgcp-client generated MGCP does not parse at all using the Ericsson TITAN SDP parser. I was under the impression that ralated fixes had already been merged? Let's discuss this today at the sysmocom office.

Actions #4

Updated by laforge about 6 years ago

  • Priority changed from High to Urgent
Actions #5

Updated by laforge about 6 years ago

  • Assignee changed from laforge to dexter

Assigning this to dexter, who has been implementing some SDP related fixes in libosmo-mgcp-client recently. Does this resolve the problem? Can we remove the "HACK HACK HACK" part from MGCP_Emulation.ttcn now?

Actions #6

Updated by dexter about 6 years ago

As far as I can see now we could try to remove the hacks. The related test for osmo-mgw now also passes since I fixed the parameter ordering (https://gerrit.osmocom.org/#/c/6217/).

Actions #7

Updated by laforge about 6 years ago

please test if it works with "hacks" removed locally and then push a related change to osmo-ttcn3-hacks.

Actions #8

Updated by dexter about 6 years ago

I have removed the one hack I was aware of: https://gerrit.osmocom.org/6323

I also checked back with Daniel, he says the other stuff were just template modifications which he did not push.

Actions #9

Updated by dexter about 6 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from dexter to laforge
Actions #10

Updated by laforge about 6 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)