Bug 212218

Summary: REGRESSION (r261277): [ Mac iOS ] webrtc/datachannel/gather-candidates-networkprocess-crash.html is a flaky timeout
Product: WebKit Reporter: Truitt Savell <tsavell>
Component: New BugsAssignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: eric.carlson, ews-watchlist, mjs, webkit-bot-watchers-bugzilla, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Truitt Savell
Reported 2020-05-21 09:31:14 PDT
webrtc/datachannel/gather-candidates-networkprocess-crash.html This test began timing out recently History: https://results.webkit.org/?suite=layout-tests&test=webrtc%2Fdatachannel%2Fgather-candidates-networkprocess-crash.html I am able to reproduce the timeout with command: run-webkit-tests --iterations 2000 --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --debug-rwt-logging --no-retry --force --no-build -f webrtc/datachannel/gather-candidates-networkprocess-crash.html I am working to bisect this now.
Attachments
Patch (2.45 KB, patch)
2020-05-25 05:16 PDT, youenn fablet
no flags
Radar WebKit Bug Importer
Comment 1 2020-05-21 09:31:31 PDT
Truitt Savell
Comment 2 2020-05-21 09:51:31 PDT
it looks like this was caused by the changes in https://trac.webkit.org/changeset/261277/webkit I am able to reproduce on 261277 but not 261276
Truitt Savell
Comment 3 2020-05-21 10:01:16 PDT
marking this test as a flaky timeout while it is investigated: https://trac.webkit.org/changeset/262010/webkit
youenn fablet
Comment 4 2020-05-25 02:45:46 PDT
There is a slight moment in time where the socket factory has no connection due to a crash in network process. In that case, the factory will ask for a new connection to network process and in the meantime will fail the socket creations. We do not want to do callOnMainThreadAndWait as this might deadlock the web process in that case. The current approach is fine as is as the socket could have been created a few seconds before and would have been closed by network process crash. I'll update the test to make it more robust.
youenn fablet
Comment 5 2020-05-25 05:16:39 PDT
Maciej Stachowiak
Comment 6 2020-05-25 15:37:59 PDT
Was the patch meant to be flagged for review?
EWS
Comment 7 2020-05-27 00:48:22 PDT
Committed r262183: <https://trac.webkit.org/changeset/262183> All reviewed patches have been landed. Closing bug and clearing flags on attachment 400195 [details].
Note You need to log in before you can comment on or make changes to this bug.