Project

General

Profile

Feature #2818

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

Added by laforge 9 months ago. Updated 7 months ago.

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

100%

Estimated time:
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.

History

#1 Updated by laforge 9 months ago

  • Status changed from New to In Progress

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

#2 Updated by laforge 8 months 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.

#3 Updated by laforge 8 months 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.

#4 Updated by laforge 8 months ago

  • Priority changed from High to Urgent

#5 Updated by laforge 8 months 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?

#6 Updated by dexter 8 months 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/).

#7 Updated by laforge 8 months ago

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

#8 Updated by dexter 7 months 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.

#9 Updated by dexter 7 months ago

  • Status changed from In Progress to Feedback
  • Assignee changed from dexter to laforge

#10 Updated by laforge 7 months ago

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

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)