Bug 140649

Summary: fast/hidpi/image-srcset-change-dynamically-from-js-2x.html is flaky
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, dino, kling, rniwa, thorton, yoav
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed fix
thorton: review+, buildbot: commit-queue-
Archive of layout-test-results from ews105 for mac-mavericks-wk2
none
Archive of layout-test-results from ews103 for mac-mavericks
none
a more complete fix none

Alexey Proskuryakov
Reported 2015-01-19 16:51:34 PST
fast/hidpi/image-srcset-change-dynamically-from-js-2x.html sometimes fails on WK2 bots. It sometimes fails, other times has output showing that it reloaded more than once. The test uses a pretty complicated helper script that has multiple load event handlers that compete with testRunner.setBackingScaleFactor() completion.
Attachments
proposed fix (20.67 KB, patch)
2015-01-19 16:58 PST, Alexey Proskuryakov
thorton: review+
buildbot: commit-queue-
Archive of layout-test-results from ews105 for mac-mavericks-wk2 (1002.91 KB, application/zip)
2015-01-19 17:34 PST, Build Bot
no flags
Archive of layout-test-results from ews103 for mac-mavericks (597.53 KB, application/zip)
2015-01-19 19:40 PST, Build Bot
no flags
a more complete fix (33.22 KB, patch)
2015-01-19 23:07 PST, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2015-01-19 16:58:32 PST
Created attachment 244941 [details] proposed fix
Alexey Proskuryakov
Comment 2 2015-01-19 17:18:46 PST
Comment on attachment 244941 [details] proposed fix View in context: https://bugs.webkit.org/attachment.cgi?id=244941&action=review > LayoutTests/ChangeLog:8 > + Speculative fix, streamline resources/srcset-helper.js and remove races. I could actually reproduce the flakiness with run-webkit-tests fast/hidpi/image-srcset-change-dynamically-from-js-2x.html --no-retry -2 --repeat 1000 -f
Build Bot
Comment 3 2015-01-19 17:34:11 PST
Comment on attachment 244941 [details] proposed fix Attachment 244941 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4856970032971776 New failing tests: svg/css/svg-resource-fragment-identifier-img-src.html fast/dom/HTMLImageElement/sizes/image-sizes-2x.html
Build Bot
Comment 4 2015-01-19 17:34:15 PST
Created attachment 244943 [details] Archive of layout-test-results from ews105 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Build Bot
Comment 5 2015-01-19 19:40:29 PST
Comment on attachment 244941 [details] proposed fix Attachment 244941 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6596122952859648 New failing tests: svg/css/svg-resource-fragment-identifier-img-src.html fast/dom/HTMLImageElement/sizes/image-sizes-2x.html
Build Bot
Comment 6 2015-01-19 19:40:32 PST
Created attachment 244956 [details] Archive of layout-test-results from ews103 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Alexey Proskuryakov
Comment 7 2015-01-19 23:07:00 PST
Created attachment 244970 [details] a more complete fix Turns out that: 1. The script was used outside its directory, so more tests needed to be updated. 2. We had two copies of the script, and thus an opportunity to unify them. I think that this fixes another flaky test, which was wrongfully skipped before.
WebKit Commit Bot
Comment 8 2015-01-20 10:25:58 PST
Comment on attachment 244970 [details] a more complete fix Clearing flags on attachment: 244970 Committed r178721: <http://trac.webkit.org/changeset/178721>
WebKit Commit Bot
Comment 9 2015-01-20 10:26:05 PST
All reviewed patches have been landed. Closing bug.
Sam Sneddon [:gsnedders]
Comment 10 2022-02-01 03:01:09 PST
*** Bug 134923 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.