RESOLVED FIXED 124312
Occasionally, hundreds of tests fail with small text diffs on Mavericks
https://bugs.webkit.org/show_bug.cgi?id=124312
Summary Occasionally, hundreds of tests fail with small text diffs on Mavericks
Tim Horton
Reported 2013-11-13 14:28:37 PST
Like http://build.webkit.org/results/Apple%20Mavericks%20Debug%20WK2%20(Tests)/r159226%20(433)/results.html. This has affected multiple bots today and yesterday, Mavericks and Mountain Lion, WK1 and WK2. Don’t know what’s going on. Maybe Antti can take a look, since he’s been working in this area?
Attachments
expected (24.41 KB, image/png)
2013-11-14 19:48 PST, Tim Horton
no flags
actual (24.45 KB, image/png)
2013-11-14 19:49 PST, Tim Horton
no flags
experiment (2.14 KB, patch)
2013-11-15 15:36 PST, Tim Horton
ap: review+
restore defaults deletion (3.58 KB, patch)
2013-11-18 13:02 PST, Tim Horton
no flags
got some extra change log in there (3.09 KB, patch)
2013-11-18 13:02 PST, Tim Horton
no flags
Antti Koivisto
Comment 1 2013-11-13 14:49:09 PST
It is not likely to be simple line layout related as there are failing tests on both paths. I don't have great ideas. Uninitialized variable somewhere? Do we have know around which revisions this started?
Antti Koivisto
Comment 2 2013-11-14 02:55:14 PST
The only instances I could find were on Mavericks debug bots. First one was Nov 5th http://build.webkit.org/builders/Apple%20Mavericks%20Debug%20WK2%20%28Tests%29/builds/254 (the logs don't go much further than that).
Tim Horton
Comment 3 2013-11-14 12:29:13 PST
Looking at the WKTR debug logs, it’s not like one worker gets stuck in a bad state. *Two* workers are producing the bad results, and have passes sprinkled in between fails (I suppose it is feasible that the passes either don’t have text or are DumpAsText or something).
Tim Horton
Comment 4 2013-11-14 12:30:40 PST
I’m specifically looking at http://build.webkit.org/builders/Apple%20Mavericks%20Debug%20WK2%20%28Tests%29/builds/448/steps/layout-test/logs/stdio worker 2 and 3 produce most of the failures, though 1 joins in at some point. So I think it’s unlikely that it’s state left behind by a bad test.
Tim Horton
Comment 5 2013-11-14 12:38:20 PST
(In reply to comment #2) > The only instances I could find were on Mavericks debug bots. First one was Nov 5th http://build.webkit.org/builders/Apple%20Mavericks%20Debug%20WK2%20%28Tests%29/builds/254 > (the logs don't go much further than that). You’re right, I don’t see why I thought it was happening on Mountain Lion.
Tim Horton
Comment 6 2013-11-14 19:48:12 PST
Huh, the ref-test-image-diffs that coincide with the 500+ failures are interesting. The most interesting one I found is http://build.webkit.org/results/Apple%20Mavericks%20Debug%20WK1%20(Tests)/r159327%20(573)/fast/regions/auto-size/autoheight-maxheight-region-diffs.html
Tim Horton
Comment 7 2013-11-14 19:48:55 PST
Created attachment 217007 [details] expected
Tim Horton
Comment 8 2013-11-14 19:49:05 PST
Tim Horton
Comment 9 2013-11-14 19:49:31 PST
Uploaded that one here in case it can shed some light and so that it doesn’t get disappeared.
Antti Koivisto
Comment 10 2013-11-15 02:47:42 PST
Weird. Looks like some sort of antialiasing or subpixel positioning kicking in.
Tim Horton
Comment 11 2013-11-15 14:10:04 PST
Being Mavericks only calls into question the code that disables screen-font-substitution (but enables it in the tests).
Tim Horton
Comment 12 2013-11-15 14:50:37 PST
(In reply to comment #11) > Being Mavericks only calls into question the code that disables screen-font-substitution (but enables it in the tests). I can reproduce the same 3px change in http://build.webkit.org/results/Apple%20Mavericks%20Debug%20WK2%20(Tests)/r158682%20(254)/compositing/geometry/abs-position-inside-opacity-diff.txt by toggling screen-font-substitution in Safari.
Tim Horton
Comment 13 2013-11-15 15:36:45 PST
Created attachment 217091 [details] experiment
Alexey Proskuryakov
Comment 14 2013-11-15 15:38:19 PST
Comment on attachment 217091 [details] experiment I think it might be better to simply delete the code. As one of the options we have is to move the behavior to the script, having a FIXME in C++ code may be misleading.
Tim Horton
Comment 15 2013-11-15 15:40:54 PST
Experiment landed in http://trac.webkit.org/changeset/159364. Antti, let's keep an eye out and see if we see it happen any more.
Tim Horton
Comment 16 2013-11-18 13:02:14 PST
Created attachment 217225 [details] restore defaults deletion ap and mitz may have more to discuss about the general strategy of r158652, but in the meantime we can restore this functionality in a place where it will not cause a race between processes.
Tim Horton
Comment 17 2013-11-18 13:02:53 PST
Created attachment 217226 [details] got some extra change log in there
WebKit Commit Bot
Comment 18 2013-11-18 13:45:59 PST
Comment on attachment 217226 [details] got some extra change log in there Clearing flags on attachment: 217226 Committed r159453: <http://trac.webkit.org/changeset/159453>
Note You need to log in before you can comment on or make changes to this bug.