RESOLVED FIXED 81544
Layout Test fast/text/international/font-fallback-to-common-script.html has flaky image results on all Chromium bots
https://bugs.webkit.org/show_bug.cgi?id=81544
Summary Layout Test fast/text/international/font-fallback-to-common-script.html has f...
Levi Weintraub
Reported 2012-03-19 13:05:30 PDT
fast/text/international/font-fallback-to-common-script.html is failing often on image results in all three major platforms on Chromium. It's possible that only the text results matter...
Attachments
Patch (4.30 KB, patch)
2012-04-03 20:53 PDT, Matt Falkenhagen
no flags
Patch (2.61 KB, patch)
2012-04-05 02:59 PDT, Matt Falkenhagen
no flags
Matt Falkenhagen
Comment 1 2012-03-19 21:17:05 PDT
I wonder if it's some race condition involving the lines: window.internals.settings.setStandardFontFamily("Times", "Hans"); window.internals.settings.setStandardFontFamily("", "Hans"); to test that removal of "Times" with "" works. Is there a way to ensure the test runs after the effects of the lines are done? The other reftests for font settings don't seem to be flaky (fast/text/international/content-language-font-selection.html, fast/text/international/content-language-with-subtags.html, fast/text/international/locale-sensitive-fonts.html). I can try removing the "Times" line and see if it helps.
Matt Falkenhagen
Comment 2 2012-03-29 00:53:59 PDT
Removing the "Times" setting doesn't seem to help. It still failed when I ran on try bots. It's a mystery why this test is flaky and similar tests aren't: http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Ftext%2Finternational%2Flang-sensitive-fonts.html&showExpectations=true http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Ftext%2Finternational%2Fcontent-language-font-selection.html&showExpectations=true It is odd that the image results are blank, with the "PASS, if no..." line showing. Maybe somehow the image is grabbed before it had a chance to finish rendering.
Matt Falkenhagen
Comment 3 2012-04-03 20:53:58 PDT
Matt Falkenhagen
Comment 4 2012-04-03 20:55:08 PDT
I don't know why, but renaming the test seems to allow it to pass consistently on the trybots. Uploaded a patch to do that.
Kent Tamura
Comment 5 2012-04-03 21:07:29 PDT
(In reply to comment #4) > I don't know why, but renaming the test seems to allow it to pass consistently on the trybots. Uploaded a patch to do that. So, I guess a test running before font-fallback-to-common-script.html leaves unexpected setting, and a test running after font-fallback-to-common-script.html before lang-sensitive-fonts-fallback.html fixes the setting.
Matt Falkenhagen
Comment 6 2012-04-05 02:39:13 PDT
It seems the "PASS, if no exception or crash in debug" in the image result comes from the previous test embed-bidi-style-in-isolate-crash.html. I've filed bug 83260.
Matt Falkenhagen
Comment 7 2012-04-05 02:59:51 PDT
Kent Tamura
Comment 8 2012-04-05 03:03:39 PDT
Comment on attachment 135791 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135791&action=review > LayoutTests/platform/chromium/test_expectations.txt:-3296 > -BUGWK73549 : fast/text/international/hebrew-vowels.html = IMAGE+TEXT IMAGE TEXT PASS We need to do rebaseline for this before landing this patch. http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&showLargeExpectations=true&tests=hebrew-vowels.html
Kent Tamura
Comment 9 2012-04-05 03:11:38 PDT
Comment on attachment 135791 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=135791&action=review >> LayoutTests/platform/chromium/test_expectations.txt:-3296 >> -BUGWK73549 : fast/text/international/hebrew-vowels.html = IMAGE+TEXT IMAGE TEXT PASS > > We need to do rebaseline for this before landing this patch. > http://test-results.appspot.com/dashboards/flakiness_dashboard.html#showExpectations=true&showLargeExpectations=true&tests=hebrew-vowels.html I fixed this by http://trac.webkit.org/changeset/113306. We can go ahead.
WebKit Review Bot
Comment 10 2012-04-05 03:41:24 PDT
Comment on attachment 135791 [details] Patch Clearing flags on attachment: 135791 Committed r113308: <http://trac.webkit.org/changeset/113308>
WebKit Review Bot
Comment 11 2012-04-05 03:41:30 PDT
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.