Bug 213054

Summary: [macOS] TestWebKitAPI.WKWebView.FindAPIForwardsNoWrap is a flaky failure
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: beidson, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryan Haddad 2020-06-10 15:19:06 PDT
TestWebKitAPI.WKWebView.FindAPIForwardsNoWrap is a flaky failure on macOS bots:

    TestWebKitAPI.WKWebView.FindAPIForwardsNoWrap
        _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
        
        /Volumes/Data/slave/mojave-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/FindInPageAPI.mm:125
        Value of: [webView selectionRangeHasStartOffset:0 endOffset:0]
          Actual: false
        Expected: true

https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WKWebView.FindAPIForwardsNoWrap
Comment 1 Ryan Haddad 2020-06-10 15:20:12 PDT
The first failure I see on the results dashboard is 5/22/2020 @ r262049
Comment 2 Radar WebKit Bug Importer 2020-06-10 15:20:29 PDT
<rdar://problem/64227126>
Comment 3 Ryan Haddad 2020-06-10 15:24:36 PDT
This isn't a frequent failure, it only seems to happen once every few days.

I don't see an obvious regression point.
Comment 4 Ryan Haddad 2020-06-10 15:29:13 PDT
Actually, looking back even farther in macOS results shows a failure back on 11/12/2019. The test was only added 4 days prior to that in https://trac.webkit.org/changeset/252303/webkit

https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.WKWebView.FindAPIForwardsNoWrap&platform=mac&recent=false&limit=50000