-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestPeerConnection_Renegotation_AddTrack failing sometimes #1039
Comments
It can be reproduced locally by running the test a lot of times. On success,
On failure,
|
There is a race condition that Lines 145 to 153 in be9fde1
is called before Lines 286 to 295 in be9fde1
t.conn = dtlsConn .
|
|
I think this block Lines 238 to 289 in be9fde1
should be continuously locked. And/or other APIs using DTLS/SRTP/SCTP should return error if pc.dtlsTransport.Start() is not completed.(related: https://github.com/pion/webrtc/wiki/PlanningV3/_compare/e2fe45a9d1a6b224dd9317667c2c3a687675a893) @Sean-Der Will you take this issue? |
@Sean-Der feel free to take this issue if you want! |
👍 really sorry for burning your time on this :( I will get this fixed tonight! I don't ever want to be a blocker on your work, so if you ever feel I am slowing down the project please drive it any way you see fit. I can get you access to anything you need, and happy to put my time into any projects you think are important :) |
Fixed by 825b5e4 The issue was that we would process |
This still happens.
|
This looks like a timeout in DTLS, possibly different? Also interesting thing is I see server frames (but no client ones) maybe reading the trace wrong! |
hmm, dtls handshaker routine must be always existing unless the connection is closed or handshake is errored, but client side handshaker seems not there. That's strange. |
The last 19 builds in master have passed, so I don't think we have anything actionable. @at-wat If you see it again re-open right away and happy to jump in on it. |
Your environment.
What did you do?
When creating PR #1038 a the test-suite on travis failed and it had seemingly nothing to do with my change (add a method for users that's never used by pion itself).
After a force push with no changes, to trigger a rebuild, the test suite was green.
What did you expect?
Test suite being green.
What happened?
The
TestPeerConnection_Renegotation_AddTrack
test seems to sometimes fail. I have no idea how to reproduce it. See link to the travis build above.The text was updated successfully, but these errors were encountered: