Bug 232158 - New test: [ iOS15 EWS ] TestWebKitAPI.CSSViewportUnits.SameUnobscuredSizeOverrides flaky fails on EWS
Summary: New test: [ iOS15 EWS ] TestWebKitAPI.CSSViewportUnits.SameUnobscuredSizeOver...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on: 219287
Blocks:
  Show dependency treegraph
 
Reported: 2021-10-22 10:42 PDT by Eric Hutchison
Modified: 2021-11-01 12:23 PDT (History)
7 users (show)

See Also:


Attachments
Patch (7.46 KB, patch)
2021-10-22 16:27 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Hutchison 2021-10-22 10:42:49 PDT
TestWebKitAPI.CSSViewportUnits.SameUnobscuredSizeOverrides

is a flaky failure on iOS15 EWS>

History: https://results.webkit.org/?suite=api-tests&test=TestWebKitAPI.CSSViewportUnits.SameUnobscuredSizeOverrides

Build: https://ews-build.webkit.org/#/builders/9/builds/57170

Results: STDIO: https://ews-build.webkit.org/api/v2/logs/15243827/raw

Failed
    TestWebKitAPI.CSSViewportUnits.SameUnobscuredSizeOverrides
        2021-10-22 04:57:37.702 TestWebKitAPI[25368:305875] Writing analzed variants.
        
        /Volumes/Data/worker/iOS-15-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm:128
        Expected equality of these values:
          innerHeight
            Which is: 426
          getElementHeight(webView.get(), @"dvh")
            Which is: 500
        
        
        /Volumes/Data/worker/iOS-15-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm:130
        Expected equality of these values:
          innerHeight
            Which is: 426
          getElementHeight(webView.get(), @"dvmax")
            Which is: 500
        
At this point, there are no failures on dashboard.

Will attempt reproduction locally.
Comment 1 Radar WebKit Bug Importer 2021-10-22 10:43:21 PDT
<rdar://problem/84555218>
Comment 2 Ryan Haddad 2021-10-22 15:25:31 PDT
The test was added with https://commits.webkit.org/243349@main, Devin is investigating.

It reproduces trivially when run locally with a few iterations.
Comment 3 Devin Rousso 2021-10-22 16:27:56 PDT
Created attachment 442217 [details]
Patch
Comment 4 Eric Hutchison 2021-10-26 09:44:11 PDT
TestWebKitAPI.CSSViewportUnits.DifferentUnobscuredSizeOverrides

has failed twice on iOS15 EWS API queue: 

https://ews-build.webkit.org/#/builders/9/builds/57383
https://ews-build.webkit.org/#/builders/9/builds/57266

STDIO: https://ews-build.webkit.org/api/v2/logs/15331160/raw

Failed
    TestWebKitAPI.CSSViewportUnits.DifferentUnobscuredSizeOverrides
        2021-10-26 00:18:37.292 TestWebKitAPI[25825:302080] Writing analzed variants.
        
        /Volumes/Data/worker/iOS-15-Simulator-Build-EWS/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/CSSViewportUnits.mm:160
        Expected equality of these values:
          innerHeight
            Which is: 280
          getElementHeight(webVie
Comment 5 EWS 2021-11-01 12:23:00 PDT
Committed r285120 (243761@main): <https://commits.webkit.org/243761@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 442217 [details].