New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 3720 link

Starred by 7 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

libjingle_p2p_unittest:TurnPortTest is flaky

Project Member Reported by henrik.lundin@webrtc.org, Aug 20 2014

Issue description

What steps will reproduce the problem?

1. Compile WebRTC standalone release on linux
$ ninja -C out/Release

2. Run unit tests repeatedly until failure.
$ out/Release/libjingle_p2p_unittest --gtest_filter=TurnPortTest.TestTurnTcpOnAddressResolveFailure --gtest_repeat=10000 --gtest_break_on_failure

$ out/Release/libjingle_p2p_unittest --gtest_filter=TurnPortTest.TestTurnUdpOnAdressResolveFailure --gtest_repeat=10000 --gtest_break_on_failure


What is the expected result?
Passing tests.

What do you see instead?
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TurnPortTest
[ RUN      ] TurnPortTest.TestTurnTcpOnAddressResolveFailure
../../talk/p2p/base/turnport_unittest.cc:387: Failure
Value of: turn_error_
  Actual: false
Expected: true
Segmentation fault (core dumped)

[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TurnPortTest
[ RUN      ] TurnPortTest.TestTurnUdpOnAdressResolveFailure
../../talk/p2p/base/turnport_unittest.cc:401: Failure
Value of: turn_error_
  Actual: false
Expected: true
Segmentation fault (core dumped)

(Also note the typo in the test name "TestTurnUdpOnAdressResolveFailure"; a 'd' is missing in "Address".)

 
Project Member

Comment 1 by bugdroid1@chromium.org, Aug 20 2014

The following revision refers to this bug:
  http://code.google.com/p/webrtc/source/detail?r=6934

------------------------------------------------------------------
r6934 | henrik.lundin@webrtc.org | 2014-08-20T09:47:58.151031Z

Changed paths:
   M http://code.google.com/p/webrtc/source/diff?path=/trunk/talk/p2p/base/turnport_unittest.cc&spec=svn6934&r_previous=6933&r=6934&format=side

Disable two tests in TurnPortTest

The tests are flaky.

BUG=3720
TBR=jiayl@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/17159004
-----------------------------------------------------------------
Project Member

Comment 2 by juberti@webrtc.org, Aug 21 2014

Weird. Any idea what is going on here? The resolver should be stubbed out here and return immediately.

Comment 3 by vrk@webrtc.org, Oct 14 2014

Labels: Area-Network

Comment 4 by vrk@webrtc.org, Nov 3 2014

Labels: EngTriaged Mstone-41
Project Member

Comment 5 by pthatcher@webrtc.org, Jan 7 2015

Labels: -Mstone-41 Mstone-42
Project Member

Comment 6 by pthatcher@webrtc.org, Feb 19 2015

Labels: -Mstone-42 Mstone-44
This looks like it's not hitting m42.  Update it if I'm wrong.
Project Member

Comment 7 by juberti@webrtc.org, Feb 1 2016

Cc: -mflodman@webrtc.org pthatcher@webrtc.org
Labels: -Mstone-44 Hotlist-Testing
Owner: honghaiz@webrtc.org
Project Member

Comment 8 by pthatcher@webrtc.org, Nov 8 2016

Labels: Pri-3
Project Member

Comment 9 by deadbeef@chromium.org, Mar 30 2018

Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment