New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Permanent failure in /css21_dev/html4/font-family-013.htm and /css21_dev/html4/fonts-013.htm #7625
Comments
It's unclear to me why this would intermittently fail unless we haven't made Ahem available on all machines. |
Or maybe this is testing glyph fallback behaviour, since presumably Ahem doesn't include those characters... |
Oh, are we missing the msttcore fonts on some linux machines? @larsbergstrom @metajack @edunham |
This was first seen on linux2, by by the way. |
|
Seen on linux1, too. Did we make a change to saltfs and not actually update it until I did so earlier today? |
So I added msttcorefonts to our salt configs a week or so ago. I tested it a few times and it seemed ok, but perhaps that is busted somehow. See servo/saltfs#111 and servo/saltfs#112 |
@bors-servo retry
|
These tests assume that Ahem is installed, but rely on the next family in If they fail again now, the most likely explanation is that msttcorefonts is missing. |
They are missing. The build automation is failing to install these correctly, and I'm still debugging. |
This is now fixed. |
This started happening again. |
I manually installed the fonts on linux2. |
I think that #8053 is a better long-term solution. |
Even without the MS fonts installed shouldn't they still pass? The final stage of font matching algorithm is:
That means the essentially the test becomes equivalent to:
Both should render using the UA default 'font-family', no? |
Yes, it sounds like we have a bug in font selection/fallback and installing MS fonts just avoids triggering it. Long term, we should investigate that bug and fix it. In the mean time, installing MS fonts on CI servers is troublesome so maybe we can simply disable these tests. |
@metajack This is happening again after the move to the new EC2 builders. I think we worked around it before by having people just log in and install the fonts manually. Should we do that again, or disable the tests? |
Hrm, it says installed on both machines:
|
Also, are we sure we can't use the |
You can try to force a re-install to see if the eula was accidentally not accepted or not completed by doing:
I suspect what's happening with the rules is sometimes the eula is not agreed to, and then the package is marked as installed without having actually installed any files. |
I’m in favor of disabling these tests until we fix the underlying font selector issues so that Microsoft fonts are not required. |
This is happening again |
@larsbergstrom Manually reinstalling the font on a running buildslave will squash this issue for an indeterminate period of time -- unless we save the changes to a new AMI then configure Buildbot to use it, we'll hit a regression every time the slave gets terminated then restarted from the old (broken) AMI. Is there a reason we can't perform this test successfully with free fonts? If so, we can make a new AMI with the fonts installed and EULA accepted and tell Buildbot to use it instead, though copying in that way may not even technically be permitted by the fonts' licenses. |
This is a bug, font fallback should be more flexible than this. #7625
|
Disable tests that fail unless non-free Microsoft fonts are installed. This is a bug, font fallback should be more flexible than this. #7625 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9235) <!-- Reviewable:end -->
@edunham I don't understand why we can't make the automation work when the manual interaction does work. I really don't want to be using custom AMIs, since that makes everything more difficult, and harder for community members to reproduce easily. |
This is used as a fallback for any characters that don't have glyphs in the specified font. Fixes servo#7625.
This is used as a fallback for any characters that don't have glyphs in the specified font. Fixes servo#7625.
This is used as a fallback for any characters that don't have glyphs in the specified font. Fixes servo#7625.
This shouldn't affect us any longer. |
These tests are both using unicode characters, and the run which contained a failure showed the characters appearing as boxes.
The test itself is interesting:
It looks like it's assuming that Ahem should not be present??
The text was updated successfully, but these errors were encountered: