Bug 184918 - REGRESSION (r230919): API test WebKit.AutoLayoutIntegration is a flaky failure
Summary: REGRESSION (r230919): API test WebKit.AutoLayoutIntegration is a flaky failure
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-04-24 08:45 PDT by Ryan Haddad
Modified: 2018-05-01 13:40 PDT (History)
6 users (show)

See Also:


Attachments
Patch (5.06 KB, patch)
2018-04-27 14:30 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2018-04-24 08:45:26 PDT
API test WebKit.AutoLayoutIntegration is a flaky failure

FAIL WebKit.AutoLayoutIntegration

/Volumes/Data/slave/sierra-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/AutoLayoutIntegration.mm:98
Value of: intrinsicContentSize.height
  Actual: 8
Expected: _expectedIntrinsicContentSize.height
Which is: 10

https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK1%20(Tests)/builds/9693
https://build.webkit.org/builders/Apple%20High%20Sierra%20Debug%20WK1%20(Tests)/builds/3431
Comment 1 Radar WebKit Bug Importer 2018-04-24 17:42:45 PDT
<rdar://problem/39705516>
Comment 2 Ryan Haddad 2018-04-25 10:24:08 PDT
The earliest failures I can see from parsing logs on the bots is with https://trac.webkit.org/changeset/230919/webkit, which appears to be unrelated.

Looking at changes around that revision, this seems like it *could* be related: https://trac.webkit.org/changeset/230916/webkit
Comment 3 Wenson Hsieh 2018-04-25 10:27:24 PDT
(In reply to Ryan Haddad from comment #2)
> The earliest failures I can see from parsing logs on the bots is with
> https://trac.webkit.org/changeset/230919/webkit, which appears to be
> unrelated.
> 
> Looking at changes around that revision, this seems like it *could* be
> related: https://trac.webkit.org/changeset/230916/webkit

That change only has an effect when EXTRA_ZOOM_MODE is enabled, so I would not expect that to be related. (i.e., shouldIgnoreScalingConstraintsRegardlessOfContentSize() always returns false in non-extra-zoom-mode).
Comment 4 Ryan Haddad 2018-04-25 10:28:31 PDT
(In reply to Wenson Hsieh from comment #3)
> (In reply to Ryan Haddad from comment #2)
> > The earliest failures I can see from parsing logs on the bots is with
> > https://trac.webkit.org/changeset/230919/webkit, which appears to be
> > unrelated.
> > 
> > Looking at changes around that revision, this seems like it *could* be
> > related: https://trac.webkit.org/changeset/230916/webkit
> 
> That change only has an effect when EXTRA_ZOOM_MODE is enabled, so I would
> not expect that to be related. (i.e.,
> shouldIgnoreScalingConstraintsRegardlessOfContentSize() always returns false
> in non-extra-zoom-mode).
Ok, the search continues.
Comment 5 Ryan Haddad 2018-04-27 10:24:39 PDT
I can reproduce this locally, so I'll try to bisect.
Comment 6 Ryan Haddad 2018-04-27 13:59:17 PDT
This does indeed appear to have regressed with https://trac.webkit.org/changeset/230919/webkit

I cannot reproduce when running this test a few times with a build of r230918, but I can with r230919.

Chris, can you take a look?
Comment 7 Chris Dumez 2018-04-27 14:00:22 PDT
(In reply to Ryan Haddad from comment #6)
> This does indeed appear to have regressed with
> https://trac.webkit.org/changeset/230919/webkit
> 
> I cannot reproduce when running this test a few times with a build of
> r230918, but I can with r230919.
> 
> Chris, can you take a look?

Sure.
Comment 8 Chris Dumez 2018-04-27 14:30:23 PDT
Created attachment 339029 [details]
Patch
Comment 9 Chris Dumez 2018-05-01 13:12:25 PDT
Tim & Wenson: ping review?
Comment 10 WebKit Commit Bot 2018-05-01 13:40:27 PDT
Comment on attachment 339029 [details]
Patch

Clearing flags on attachment: 339029

Committed r231208: <https://trac.webkit.org/changeset/231208>
Comment 11 WebKit Commit Bot 2018-05-01 13:40:29 PDT
All reviewed patches have been landed.  Closing bug.