Project

General

Profile

Actions

Bug #5245

closed

Race condition during CHANnel ACTivation on dynamic timeslots

Added by fixeria over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dynamic PDCH
Target version:
-
Start date:
10/01/2021
Due date:
% Done:

100%

Spec Reference:

Description

While investigating a sporadic test case failure [1] in ttcn3-bts-test, I found a serious problem.

[1] https://jenkins.osmocom.org/jenkins/view/TTCN3/job/ttcn3-bts-test/1422/testReport/junit/(root)/BTS_Tests_VAMOS/TC_vamos_chan_act_dyn_osmo_vhh/

Stacktrace

"BTS_Tests.ttcn:755 : Timeout expecting RSL CHAN ACT" 
      BTS_Tests_VAMOS.ttcn:318 BTS_Tests_VAMOS control part
      BTS_Tests_VAMOS.ttcn:225 TC_vamos_chan_act_dyn_osmo_vhh testcase

The test case spawns several concurrent components, each of which is activating a logical channel of type TCH/H on TS4. The TS4 is an Osmocom style dynamic timeslot (TCH/F+TCH/H+SDCCH+PDCH) and can serve up to 4 active subscribers in VAMOS mode - this is what TC_vamos_chan_act_dyn_osmo_vhh is aimed to verify. Therefore on the A-bis/RSL we expect to see 4 CHANnel ACTivation messages and 4 CHANnel RELease messages, as well as the associated ACKs. However, as can be seen in the capture file (see attached), one CHANnel ACTivation ACK is missing. This is why the test case fails.

I've analyzed the PCAP file, and figured out why this happens. More details follow soon.


Files

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)