Project

General

Profile

Bug #3849

race condition problem in rtp flow tests of the ttcn3 testsuite

Added by dexter about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/18/2019
Due date:
% Done:

0%


Description

The TTCN3 tests that test actual RTP flow behavior through the MGW are prone to fail due to a race condition. The problem occurs when the RTP receiver in the test suite is switched off while at least one packet is still in the loop. When the packet eventually arrives the follwing error is generated:

RTP packets received while RX was disabled
      MGCP_Test.ttcn:1424 MGCP_Test control part
      MGCP_Test.ttcn:1364 TC_ts101318_rfc5993_rtp_conversion testcase

The problem is presumably more likely to occur when the test slave is under high load. Since all RTP tests are using the same API and work by the same principle all of those tests are prone to fail from time to time:

TC_one_crcx_loopback_rtp
TC_one_crcx_receive_only_rtp
TC_rtpem_selftest
TC_ts101318_rfc5993_rtp_conversion
TC_two_crcx_and_one_mdcx_rtp_ho
TC_two_crcx_and_rtp
TC_two_crcx_and_rtp_bidir
TC_two_crcx_and_unsolicited_rtp
TC_two_crcx_diff_pt_and_rtp
TC_two_crcx_diff_pt_and_rtp_bidir
TC_two_crcx_mdcx_and_rtp

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)