New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 4 users
Status: Assigned
Last visit > 30 days ago
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Sign in to add a comment
libjingle_peerconnection_unittest fails Linux Memcheck
Project Member Reported by, Jun 25 2014 Back to list
What steps will reproduce the problem?
1. Sync WebRTC r6517 in a Linux workspace with Valgrind setup (see
2. GYP_DEFINES=build_for_tool=memcheck webrtc/build/gyp_webrtc
3. Compile 
4. Run tools/valgrind-webrtc/ --test libjingle_peerconnection_unittest --tool memcheck --target Release --build-dir out

What is the expected result?
I expect the tests to pass and no memory warnings to be created.

What do you see instead?
Test fails sometimes, like this:

The PeerConnectionEndToEndTest.DataChannelIdAssignment test fails
flakily like this:
[----------] 1 test from PeerConnectionEndToEndTest
[ RUN ] PeerConnectionEndToEndTest.DataChannelIdAssignment
WARNING: no real random source present!
../../talk/app/webrtc/test/ Failure
Value of: CheckForConnection()
Actual: false
Expected: true
[ FAILED ] PeerConnectionEndToEndTest.DataChannelIdAssignment (13215 ms)
[----------] 1 test from PeerConnectionEndToEndTest (13223 ms total)

It's probably timing related.

Please use labels and text to provide additional information.

I should have referred to this when I committed r6518.
Comment 1 by, Oct 14 2014
Labels: Area-Network
Comment 2 by, Nov 3 2014
Labels: EngTriaged Mstone-42
Project Member Comment 3 by, 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 4 by, Feb 1 2016
Labels: -Mstone-44 Hotlist-Testing
Project Member Comment 5 by, Nov 8 2016
Labels: Pri-3
Sign in to add a comment