Bug #3849
openrace condition problem in rtp flow tests of the ttcn3 testsuite
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