WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
172518
[iOS Simulator] http/tests/preload/viewport/meta-viewport-link-headers.php is a flaky failure.
https://bugs.webkit.org/show_bug.cgi?id=172518
Summary
[iOS Simulator] http/tests/preload/viewport/meta-viewport-link-headers.php is...
Matt Lewis
Reported
2017-05-23 11:45:55 PDT
The test http/tests/preload/viewport/meta-viewport-link-headers.php is a flaky failure on iOS Simulator WK2 and consistently fails on iOS Simulator WK1. The test was implemented in
https://trac.webkit.org/changeset/217247/webkit
It has been flaky since the addition.
https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=http%2Ftests%2Fpreload%2Fviewport%2Fmeta-viewport-link-headers.php
https://build.webkit.org/results/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/r217280%20(1698)/results.html
https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20(Tests)/builds/1698
Attachments
Patch
(4.72 KB, patch)
2017-08-28 06:41 PDT
,
Yoav Weiss
no flags
Details
Formatted Diff
Diff
Patch
(5.19 KB, patch)
2017-09-04 07:45 PDT
,
Yoav Weiss
no flags
Details
Formatted Diff
Diff
Patch
(5.32 KB, patch)
2017-09-04 07:51 PDT
,
Yoav Weiss
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Matt Lewis
Comment 1
2017-05-23 11:46:52 PDT
diff: --- /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/http/tests/preload/viewport/meta-viewport-link-headers-expected.txt +++ /Volumes/Data/slave/ios-simulator-10-release-tests-wk2/build/layout-test-results/http/tests/preload/viewport/meta-viewport-link-headers-actual.txt @@ -1,3 +1,3 @@ -PASS Makes sure that Link headers support the media attribute and respond to <meta content=viewport> +FAIL Makes sure that Link headers support the media attribute and respond to <meta content=viewport> assert_true: expected true got false
Yoav Weiss
Comment 2
2017-05-24 00:09:21 PDT
I'll look into that. Is it also flaky on ios?
Alexey Proskuryakov
Comment 3
2017-05-25 13:29:47 PDT
We only run the tests on simulator, so if you are asking about device, then I don't have an answer.
Matt Lewis
Comment 4
2017-05-31 11:22:38 PDT
Marked test as flaky.
https://trac.webkit.org/changeset/217612/webkit/
Jonathan Bedard
Comment 5
2017-08-24 09:54:28 PDT
Yoav, we have recently gotten layout tests running on iOS devices internally. This test is behaving the same way on devices as it is in the simulator. Moved the test expectation in <
https://trac.webkit.org/changeset/221142/webkit/
>
Yoav Weiss
Comment 6
2017-08-25 04:23:48 PDT
Apologies. This has fallen off my radar. I'll take a look
Yoav Weiss
Comment 7
2017-08-28 06:41:52 PDT
Created
attachment 319177
[details]
Patch
Yoav Weiss
Comment 8
2017-09-01 00:14:08 PDT
Hey Youenn :) Care to take a look at this new and improved test patch?
youenn fablet
Comment 9
2017-09-01 15:57:11 PDT
Comment on
attachment 319177
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=319177&action=review
> LayoutTests/http/tests/preload/viewport/meta-viewport-link-headers.php:32 > + }, 200);
200 might not be large enough. One approach would be to check for controlLoaded/smallLoaded every 50 ms or so. If both are not true after 10 or 20 tries, test would fail. Once both are true, a last check that largeLoaded is false could be done.
Yoav Weiss
Comment 10
2017-09-04 07:45:44 PDT
Created
attachment 319851
[details]
Patch
Yoav Weiss
Comment 11
2017-09-04 07:46:25 PDT
(In reply to youenn fablet from
comment #9
)
> Comment on
attachment 319177
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=319177&action=review
> > > LayoutTests/http/tests/preload/viewport/meta-viewport-link-headers.php:32 > > + }, 200); > > 200 might not be large enough. > One approach would be to check for controlLoaded/smallLoaded every 50 ms or > so. > If both are not true after 10 or 20 tries, test would fail. > Once both are true, a last check that largeLoaded is false could be done.
Changed to iterate over 50 ms intervals. PTAL :)
Yoav Weiss
Comment 12
2017-09-04 07:51:27 PDT
Created
attachment 319853
[details]
Patch
Yoav Weiss
Comment 13
2017-09-04 20:01:16 PDT
Comment on
attachment 319853
[details]
Patch Thanks for reviewing! :)
WebKit Commit Bot
Comment 14
2017-09-04 20:31:24 PDT
Comment on
attachment 319853
[details]
Patch Clearing flags on attachment: 319853 Committed
r221604
: <
http://trac.webkit.org/changeset/221604
>
WebKit Commit Bot
Comment 15
2017-09-04 20:31:25 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 16
2017-09-27 12:51:02 PDT
<
rdar://problem/34694137
>
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