WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203373
[ iOS Release ]: Layout Test http/tests/navigation/page-cache-domcache-pending-promise.html is a Flaky Timeout
https://bugs.webkit.org/show_bug.cgi?id=203373
Summary
[ iOS Release ]: Layout Test http/tests/navigation/page-cache-domcache-pendin...
Russell Epstein
Reported
2019-10-24 10:50:49 PDT
The following layout test is a flaky timeout on iOS Release: http/tests/navigation/page-cache-domcache-pending-promise.html Steps to Reproduce: run-webkit-tests --ios-simulator --no-retry --no-sample-on-timeout --child-processes 1 -g --iter 100 http/tests/navigation/page-cache-domcache-pending-promise.html Test History:
https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fnavigation%2Fpage-cache-domcache-pending-promise.html&platform=ios
Diff: --- /Volumes/Data/slave/ios-simulator-13-release-tests-wk2/build/layout-test-results/http/tests/navigation/page-cache-domcache-pending-promise-expected.txt +++ /Volumes/Data/slave/ios-simulator-13-release-tests-wk2/build/layout-test-results/http/tests/navigation/page-cache-domcache-pending-promise-actual.txt @@ -1,15 +1,5 @@ -Tests that a page with pending DOMCache activity goes into the page cache. +#PID UNRESPONSIVE - WebKitTestRunnerApp (pid 92071) +FAIL: Timed out waiting for notifyDone to be called -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -pageshow - not from cache -pagehide - entering cache -pageshow - from cache -PASS Page was restored from Page Cache -PASS Cache.add() succeeded -PASS !!restoredFromPageCache is true -PASS successfullyParsed is true - -TEST COMPLETE - +#EOF +#EOF
Attachments
Patch
(3.96 KB, patch)
2019-11-15 14:40 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(4.00 KB, patch)
2019-11-18 08:15 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(4.22 KB, patch)
2019-11-18 16:24 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(15.71 KB, patch)
2019-11-19 10:16 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-10-24 12:40:09 PDT
<
rdar://problem/56590038
>
Chris Dumez
Comment 2
2019-10-24 13:37:14 PDT
Looking into this now.
Chris Dumez
Comment 3
2019-10-24 13:56:27 PDT
Unfortunately, run-webkit-tests --ios-simulator --no-retry --no-sample-on-timeout --child-processes 1 -g --iter 100 http/tests/navigation/page-cache-domcache-pending-promise.htm does NOT reproduce it for me :/
Alexey Proskuryakov
Comment 4
2019-10-24 15:17:50 PDT
This test's run time is all over the place - 1 second, 6 seconds, 26 seconds, timeout...
Chris Dumez
Comment 5
2019-10-25 16:46:00 PDT
(In reply to Chris Dumez from
comment #3
)
> Unfortunately, run-webkit-tests --ios-simulator --no-retry > --no-sample-on-timeout --child-processes 1 -g --iter 100 > http/tests/navigation/page-cache-domcache-pending-promise.htm > > does NOT reproduce it for me :/
No luck reproducing this on my second machine either.
Chris Dumez
Comment 6
2019-11-15 14:17:17 PST
Still not able to reproduce this.
Chris Dumez
Comment 7
2019-11-15 14:20:08 PST
I see this logging in stderr on the bots: CONSOLE MESSAGE: line 23: Fetch API cannot load
http://127.0.0.1:8000/navigation/resources/blank.txt
due to access control checks. But I think that's expected.
Chris Dumez
Comment 8
2019-11-15 14:40:26 PST
Created
attachment 383652
[details]
Patch
Chris Dumez
Comment 9
2019-11-18 08:15:48 PST
Created
attachment 383748
[details]
Patch
Alexey Proskuryakov
Comment 10
2019-11-18 09:46:14 PST
Comment on
attachment 383748
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=383748&action=review
> LayoutTests/ChangeLog:12 > + Speculative fixes:
This is failing EWS
Chris Dumez
Comment 11
2019-11-18 11:22:04 PST
Comment on
attachment 383748
[details]
Patch Will investigate.
Chris Dumez
Comment 12
2019-11-18 14:49:01 PST
(In reply to Chris Dumez from
comment #11
)
> Comment on
attachment 383748
[details]
> Patch > > Will investigate.
Very odd, this test is passing for me locally on Mac-wk2.
Chris Dumez
Comment 13
2019-11-18 16:24:55 PST
Created
attachment 383804
[details]
Patch
Chris Dumez
Comment 14
2019-11-19 09:37:19 PST
I cannot reproduce it locally but it looks like caches.open() flakily times out on the iOS wk2 and macOS wk2 bots for some reason.
Chris Dumez
Comment 15
2019-11-19 10:16:17 PST
Created
attachment 383878
[details]
Patch
Chris Dumez
Comment 16
2019-11-21 12:27:40 PST
Ping review? EWS was able to reproduce the flakiness previously so it looks like this did the trick.
Aakash Jain
Comment 17
2019-11-22 04:28:08 PST
This is slowing down EWS sometimes. e.g.: In
https://ews-build.webkit.org/#/builders/24/builds/5353
this test failed while running layout-tests, and EWS had to re-run layout-tests in which it passed. If the test wasn't flaky, the re-run wouldn't have been required.
WebKit Commit Bot
Comment 18
2019-11-22 05:29:04 PST
Comment on
attachment 383878
[details]
Patch Clearing flags on attachment: 383878 Committed
r252769
: <
https://trac.webkit.org/changeset/252769
>
WebKit Commit Bot
Comment 19
2019-11-22 05:29:06 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug