Project

General

Profile

Bug #2890

OsmoPCU TTCN-3 test suite not executed by jenkins

Added by laforge over 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
01/27/2018
Due date:
% Done:

100%

Spec Reference:
Tags:

Description

We do have a very limited/initial testsuite for OsmoPCU in the 'gprs_gb' subdirectory. It uses a virt_phy based approach and L1CTL emulation to simulate the radio/MS side of things. It uses a custom TTCN-3 implementation for NS/BSSGP/LLC on the Gb side.


Related issues

Related to OsmoPCU - Bug #1742: Regression in egprs patch seriesClosed06/02/2016

Related to Cellular Network Infrastructure - Bug #3268: execute TTCN3 test suites against "latest" feedsResolved05/15/2018

Related to OsmoPCU - Bug #2388: OsmoPCU sends BVC-RESET over NS-VC which is still in state BLOCKEDResolved07/23/2017

Associated revisions

Revision 797558ea (diff)
Added by Stefan Sperling over 2 years ago

send NS_POUT_UNBLOCK_ACK before signalling S_NS_UNBLOCK

In gprs_ns_process_msg(), we were dispatching the S_NS_UNBLOCK
signal before sending out the NS_POUT_UNBLOCK_ACK message.

Signal handlers might send messages to the other side, assuming
that NS is now unblocked. However, since such messages will arrive
before the UNBLOCK_ACK message the receiver might discard them.
This problem has been observed with our TTCN3 BSSGP_Emulation
as a peer to osmo-pcu.

This patch makes TTCN3 PCU TC_paging() test pass regardless of
whether the test or osmo-pcu is started first. Before this patch,
this test would only pass if the test was started before osmo-pcu.
A remaining problem is that the test does not yet keep passing
reliably unless osmo-pcu is restarted between test runs.

Change-Id: I3af54a14bb6bcfa167c9a9d9f67835e7f5b9f1bb
Related: OS#2890
Related: OS#2388

Revision eedbb565 (diff)
Added by laforge about 2 years ago

PCU: Add osmo-pcu-* + ttcn3-pcu-test containers

This will enable us to run the PCU testsuite automatically by
jenkins, just like for other Osmocom projects.

Change-Id: Ia8e2ed2e7d03b8afdc7b1e068f94b0544a8112c7
Related: OS#2890

History

#1 Updated by laforge about 3 years ago

  • Priority changed from Normal to High

#2 Updated by laforge almost 3 years ago

  • Tags set to TTCN3

#3 Updated by laforge over 2 years ago

#5 Updated by laforge over 2 years ago

  • Assignee changed from laforge to msuraev

#6 Updated by msuraev over 2 years ago

  • Status changed from New to In Progress

This will require changes to docker-playground, not sure about osmo-ci - will have to check how jenkins jobs for other ttcn3 tests are created.

#7 Updated by msuraev over 2 years ago

  • Related to Bug #1742: Regression in egprs patch series added

#8 Updated by msuraev over 2 years ago

  • Status changed from In Progress to Stalled

Depends on gerrit 11370 and 11600.

#9 Updated by msuraev over 2 years ago

  • Related to Bug #3268: execute TTCN3 test suites against "latest" feeds added

#10 Updated by msuraev over 2 years ago

Seems like the tests were migrated to pcu/ directory in a meantime.

#11 Updated by msuraev over 2 years ago

The trivial patch to enable this is available in https://gerrit.osmocom.org/#/c/osmo-ci/+/11603/
However this requires making proper infrastructure at docker-playground first.
Would it make sense to assign this to stsp - he was working on this recently and got at least some tests working locally?

#12 Updated by msuraev over 2 years ago

  • Related to Bug #2388: OsmoPCU sends BVC-RESET over NS-VC which is still in state BLOCKED added

#13 Updated by stsp over 2 years ago

One problem is that PCU tests don't pass reliably unless components are started in a particular sequence.
This patch addresses one such known issue: https://gerrit.osmocom.org/c/libosmocore/+/11833

#14 Updated by laforge about 2 years ago

  • Status changed from Stalled to In Progress
  • Assignee changed from msuraev to laforge
  • % Done changed from 0 to 10

#15 Updated by laforge about 2 years ago

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

PCU tests (more speifically PCU_Tests_RAW) now executing against master + latest of osmo-pcu

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)