Closed Bug 1396411 Opened 7 years ago Closed 7 years ago

stylo: 1394311.htm is permafailing on OSX reftest-stylo runs

Categories

(Core :: CSS Parsing and Computation, defect, P3)

All
macOS
defect

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- fixed

People

(Reporter: RyanVM, Unassigned)

References

(Blocks 1 open bug)

Details

Tier 2 job, so not requesting tracking status at this point. However, it would be good to understand why this job is failing consistently in a Beta build configuration, and only OSX.

The screenshots show differences in sizing of the top row between the test and the reference.
https://treeherder.mozilla.org/logviewer.html#?job_id=128066445&repo=try

REFTEST TEST-UNEXPECTED-FAIL | file:///Users/cltbld/tasks/task_1504399869/build/tests/reftest/tests/layout/reftests/font-matching/1394311.htm == file:///Users/cltbld/tasks/task_1504399869/build/tests/reftest/tests/layout/reftests/font-matching/1394311.htm | image comparison, max difference: 255, number of differing pixels: 8828
REFTEST TEST-UNEXPECTED-FAIL | file:///Users/cltbld/tasks/task_1504399869/build/tests/reftest/tests/layout/reftests/font-matching/1394311.htm == file:///Users/cltbld/tasks/task_1504399869/build/tests/reftest/tests/layout/reftests/font-matching/1394311.htm | image comparison, max difference: 255, number of differing pixels: 9018

The patch below should be sufficient for reproducing the specific build configuration on Try.
https://hg.mozilla.org/try/rev/c565af5d87b45f4b67d7a5f0b6b21d9ebe01908b
Flags: needinfo?(kevin.hsieh)
Seems related to Bug 1391341, but this is not quite the same because it doesn't reproduce on 57. I'll run mozregression.
You won't be able to mozregression this because it requires builds in a custom configuration (57 built as if it were merged to Beta where we have different build options)
I re-applied the patches and pushed to Try but I don't seem to be able to reproduce this
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5f6faec85178486290083eebba9247745cd8df4c&selectedJob=128146854
Flags: needinfo?(kevin.hsieh)
You're not running reftest-stylo - tc-R-e10s(Rs5). I've gone ahead and added them to your push.
*sigh* or not because Taskcluster hates me. Re-push with "-u reftest-stylo" in your Try syntax and things should work.
Nevermind. I looked at the original test again and realized that it's a Gecko vs. Stylo failure that happens specifically on the zh lines, and I'm able to reproduce it on currently Nightly. So it is Bug 1391341 after all.
In Bug 1394762, I used a bogus font-family in 1394311.htm to avoid Bug 1367860 so that we would be able to uplift the testcase to beta without uplifting the patch from Bug 1367860. In this case, we could do something similar and modify the testcase to avoid Bug 1391341...or we could fix the bug.
Depends on: 1391341
Kevin, are you looking into this bug? Or should a Stylo engineer take a look?
Flags: needinfo?(kevin.hsieh)
Priority: -- → P1
Summary: 1394311.htm is going to permafail on OSX Stylo runs when Gecko 57 merges to Beta on 2017-09-20 → stylo: 1394311.htm is going to permafail on OSX Stylo runs when Gecko 57 merges to Beta on 2017-09-20
Depends on: 1396731
The conclusion in Bug 1391341 was to leave stylo's inheritance behavior as-is. I've filed a separate bug for an alternate solution in this basic case where font-size isn't specified.
Flags: needinfo?(kevin.hsieh)
(In reply to Kevin Hsieh from comment #10)
> The conclusion in Bug 1391341 was to leave stylo's inheritance behavior
> as-is.

If we're not going to change Stylo's behavior, do we need to annotate the layout/reftests/font-matching/1394311.htm test so it won't fail on Beta?
If Bug 1396731 is resolved, then the test should no longer fail (i.e., it should render the same on Gecko and Stylo), even though Stylo's internal inheritance behavior remains different. Or do you mean we should be concerned about what happens in the current beta (56)?
(In reply to Kevin Hsieh from comment #12)
> If Bug 1396731 is resolved, then the test should no longer fail (i.e., it
> should render the same on Gecko and Stylo), even though Stylo's internal
> inheritance behavior remains different. Or do you mean we should be
> concerned about what happens in the current beta (56)?

I just meant in the future Beta 57. :)
Priority: P1 → P3
This isn't actually a merge day permafail, this is just an issue we're only seeing on Try as it's the only place this suite is currently running (I've verified that regular m-c tip with no special config changes hits the same failures).
Summary: stylo: 1394311.htm is going to permafail on OSX Stylo runs when Gecko 57 merges to Beta on 2017-09-20 → stylo: 1394311.htm is permafailing on OSX reftest-stylo runs
Now that Bug 1396731 has landed, this issue should be resolved. Are you able to verify this?
No longer depends on: 1391341
Flags: needinfo?(ryanvm)
Actually, no, it doesn't look like I can. Those jobs are no longer available on Try for anything other than Linux64 :(
Flags: needinfo?(ryanvm)
Should we consider reviving reftest-stylo for other platforms for some time frame, given this macOS specific issue?  Or should we just hope there aren't any others and call this done?
Flags: needinfo?(bobbyholley)
I think we can just call it done at this point. We should have bugs on file for any issues that appeared in styloVsGecko, and we can prioritize them appropriately.
Flags: needinfo?(bobbyholley)
Let's call this "probably fixed" then, since we had a believed fix and the relevant test combo is no longer running.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.