You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Permanent failure in /css21_dev/html4/font-family-013.htm and /css21_dev/html4/fonts-013.htm #7625
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:
.aspan.test{font:4em"Ahem","Times New Roman";}.aspan.control{font:4em"Times New Roman";}.bspan.test{font:4em"Ahem","Arial";}.bspan.control{font:4em"Arial";}.cspan.test{font:4em"Ahem","Courier New";}.cspan.control{font:4em"Courier New";}
It looks like it's assuming that Ahem should not be present??
11:17 <jdm> jack: actually wait, my theory doesn't hold up because the output is <box><box><box><box> - test
11:17 <jdm> jack: with the ones on the left being "Ahem", [something else], and the ones on the right being [something else]
11:18 <jdm> so if the font was missing we should see <box><box><box><box>
11:18 <jdm> on both sides
11:18 <jack> ah
11:18 <jdm> so perhaps this is an actual problem in our glyph selection code or something
changed the title [-]Intermittent reftest failure in /css21_dev/html4/font-family-013.htm and /css21_dev/html4/fonts-013.htm[/-][+]Permanent failure in /css21_dev/html4/font-family-013.htm and /css21_dev/html4/fonts-013.htm[/+]on Sep 14, 2015
These tests assume that Ahem is installed, but rely on the next family in font-family being selected when Ahem has no glyph for a given character. For a while they passed because Ahem was not available. #7013 added Ahem, and these tests started failing because the fallback did not occur correctly. They started passing again when we installed msttcorefonts on the builders at some point.
If they fail again now, the most likely explanation is that msttcorefonts is missing.
root@ip-172-31-37-44:~# sudo apt-get install msttcorefonts
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'ttf-mscorefonts-installer' instead of 'msttcorefonts'
ttf-mscorefonts-installer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 86 not upgraded.
root@ip-172-31-37-44:~#
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.
@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.
@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.
Activity
jdm commentedon Sep 14, 2015
It's unclear to me why this would intermittently fail unless we haven't made Ahem available on all machines.
jdm commentedon Sep 14, 2015
Or maybe this is testing glyph fallback behaviour, since presumably Ahem doesn't include those characters...
jdm commentedon Sep 14, 2015
Oh, are we missing the msttcore fonts on some linux machines? @larsbergstrom @metajack @edunham
jdm commentedon Sep 14, 2015
This was first seen on linux2, by by the way.
jdm commentedon Sep 14, 2015
jdm commentedon Sep 14, 2015
Seen on linux1, too. Did we make a change to saltfs and not actually update it until I did so earlier today?
metajack commentedon Sep 14, 2015
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
[-]Intermittent reftest failure in /css21_dev/html4/font-family-013.htm and /css21_dev/html4/fonts-013.htm[/-][+]Permanent failure in /css21_dev/html4/font-family-013.htm and /css21_dev/html4/fonts-013.htm[/+]metajack commentedon Sep 14, 2015
@bors-servo retry
SimonSapin commentedon Sep 16, 2015
These tests assume that Ahem is installed, but rely on the next family in
font-familybeing selected when Ahem has no glyph for a given character. For a while they passed because Ahem was not available. #7013 added Ahem, and these tests started failing because the fallback did not occur correctly. They started passing again when we installed msttcorefonts on the builders at some point.If they fail again now, the most likely explanation is that msttcorefonts is missing.
metajack commentedon Sep 16, 2015
They are missing. The build automation is failing to install these correctly, and I'm still debugging.
9 remaining items
larsbergstrom commentedon Dec 31, 2015
Hrm, it says installed on both machines:
larsbergstrom commentedon Dec 31, 2015
Also, are we sure we can't use the
fonts-liberationpackage instead to avoid this, at least for CI/testing purposes?larsbergstrom commentedon Dec 31, 2015
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.
SimonSapin commentedon Dec 31, 2015
I’m in favor of disabling these tests until we fix the underlying font selector issues so that Microsoft fonts are not required.
frewsxcv commentedon Jan 10, 2016
This is happening again
#9214 (comment)
#9209 (comment)
edunham commentedon Jan 10, 2016
@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.
Disable tests that fail unless non-free Microsoft fonts are installed.
SimonSapin commentedon Jan 10, 2016
#9235
Auto merge of #9235 - servo:no-ms-fonts, r=KiChjang
metajack commentedon Jan 11, 2016
@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.
Always include the last-resort font
Always include the last-resort font
Always include the last-resort font
jdm commentedon Jan 8, 2020
This shouldn't affect us any longer.