paint/invalidation/background-resize-height.html is flaky |
|||
Issue descriptionFlakiness dashboard: https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=paint%2Finvalidation%2Fbackground-resize-height.html Sample failing run: https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Trusty/builds/18959 Most of the time this test requires many retries to pass; sometimes it fails entirely. Looking at various bots' output, it seems that the expectations file has lines like: { "name": "LayoutBlockFlow (positioned) DIV class='test image'", "position": [8, 8], "bounds": [60, 44], "drawsContent": true, "backfaceVisibility": "hidden", "paintInvalidations": [ { "object": "LayoutBlockFlow (positioned) DIV class='test image'", "rect": [0, 40, 60, 4], "reason": "incremental" } ] }, But the actual output adds "contentsOpaque": true, Just below the bounds (and something similar happens many other places in the file). It seems like the fix is: * Force these objects to always or never be opaque, and make the expectations match that; * Or, don't dump the opaque status in the output.
,
Oct 31 2016
I assume the test is flakey due to an image load race condition, which is what ultimately drives the opaque/non-opaque assessment. Assigning to wangxianzhu@ as they are best placed to decide on a test change. If the problem is an underlying bug (i.e. not timing related) then send it back to me.
,
Nov 3 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/586f1b550af51392707deba2b9a1c9aaeeeb8bc9 commit 586f1b550af51392707deba2b9a1c9aaeeeb8bc9 Author: wangxianzhu <wangxianzhu@chromium.org> Date: Thu Nov 03 01:46:41 2016 Fix flaky test paint/invalidation/background-resize-height.html Add capturePixelsThenAsync() to ensure image decoding is finished before running the test, to avoid flakiness of "contentsOpaque" in the dumped layer tree. Also disabled the fixed height gradient case because it produces invisible pixel difference. BUG= 658479 Review-Url: https://codereview.chromium.org/2464253002 Cr-Commit-Position: refs/heads/master@{#429506} [modify] https://crrev.com/586f1b550af51392707deba2b9a1c9aaeeeb8bc9/third_party/WebKit/LayoutTests/TestExpectations [modify] https://crrev.com/586f1b550af51392707deba2b9a1c9aaeeeb8bc9/third_party/WebKit/LayoutTests/paint/invalidation/background-resize-height-expected.html [modify] https://crrev.com/586f1b550af51392707deba2b9a1c9aaeeeb8bc9/third_party/WebKit/LayoutTests/paint/invalidation/background-resize-height-expected.txt [modify] https://crrev.com/586f1b550af51392707deba2b9a1c9aaeeeb8bc9/third_party/WebKit/LayoutTests/paint/invalidation/background-resize-height.html [delete] https://crrev.com/4801e0b7872b2f36dd285e02b8fb7bbc804add6c/third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/background-resize-height-expected.txt [delete] https://crrev.com/4801e0b7872b2f36dd285e02b8fb7bbc804add6c/third_party/WebKit/LayoutTests/platform/win/paint/invalidation/background-resize-height-expected.txt [delete] https://crrev.com/4801e0b7872b2f36dd285e02b8fb7bbc804add6c/third_party/WebKit/LayoutTests/platform/win7/paint/invalidation/background-resize-height-expected.txt
,
Nov 3 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Oct 22 2016