Skip to content

Permanent failure in /css21_dev/html4/font-family-013.htm and /css21_dev/html4/fonts-013.htm #7625

Closed

Description

@jdm

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:

   .a span.test { font: 4em "Ahem", "Times New Roman"; }
   .a span.control { font: 4em "Times New Roman"; }
   .b span.test { font: 4em "Ahem", "Arial"; }
   .b span.control { font: 4em "Arial"; }
   .c span.test { font: 4em "Ahem", "Courier New"; }
   .c span.control { font: 4em "Courier New"; }

It looks like it's assuming that Ahem should not be present??

Activity

  1. jdm commented on Sep 14, 2015

    @jdm
    MemberAuthor

    It's unclear to me why this would intermittently fail unless we haven't made Ahem available on all machines.

  2. added
    I-intermittent
    P-linux
    on Sep 14, 2015
  3. jdm commented on Sep 14, 2015

    @jdm
    MemberAuthor

    Or maybe this is testing glyph fallback behaviour, since presumably Ahem doesn't include those characters...

  4. jdm commented on Sep 14, 2015

    @jdm
    MemberAuthor

    Oh, are we missing the msttcore fonts on some linux machines? @larsbergstrom @metajack @edunham

  5. jdm commented on Sep 14, 2015

    @jdm
    MemberAuthor

    This was first seen on linux2, by by the way.

  6. jdm commented on Sep 14, 2015

    @jdm
    MemberAuthor
    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
    
  7. jdm commented on Sep 14, 2015

    @jdm
    MemberAuthor

    Seen on linux1, too. Did we make a change to saltfs and not actually update it until I did so earlier today?

  8. metajack commented on Sep 14, 2015

    @metajack
    Collaborator

    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

  9. 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
  10. removed
    I-intermittent
    on Sep 14, 2015
  11. metajack commented on Sep 14, 2015

    @metajack
    Collaborator

    @bors-servo retry

    • spinning up builders to test possible fix
  12. SimonSapin commented on Sep 16, 2015

    @SimonSapin
    Member

    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.

  13. metajack commented on Sep 16, 2015

    @metajack
    Collaborator

    They are missing. The build automation is failing to install these correctly, and I'm still debugging.

  14. 9 remaining items

  15. larsbergstrom commented on Dec 31, 2015

    @larsbergstrom
    Contributor

    Hrm, it says installed on both machines:

    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:~# 
    
  16. larsbergstrom commented on Dec 31, 2015

    @larsbergstrom
    Contributor

    Also, are we sure we can't use the fonts-liberation package instead to avoid this, at least for CI/testing purposes?

  17. larsbergstrom commented on Dec 31, 2015

    @larsbergstrom
    Contributor

    You can try to force a re-install to see if the eula was accidentally not accepted or not completed by doing:

    sudo apt-get --purge --reinstall install ttf-mscorefonts-installer
    

    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.

  18. SimonSapin commented on Dec 31, 2015

    @SimonSapin
    Member

    I’m in favor of disabling these tests until we fix the underlying font selector issues so that Microsoft fonts are not required.

  19. frewsxcv commented on Jan 10, 2016

    @frewsxcv
    Contributor

    This is happening again

    #9214 (comment)

    #9209 (comment)

  20. edunham commented on Jan 10, 2016

    @edunham
    Contributor

    @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.

  21. SimonSapin commented on Jan 10, 2016

    @SimonSapin
    Member

    I’m in favor of disabling these tests until we fix the underlying font selector issues so that Microsoft fonts are not required.

    #9235

  22. added a commit that references this issue on Jan 10, 2016
  23. metajack commented on Jan 11, 2016

    @metajack
    Collaborator

    @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.

  24. added 3 commits that reference this issue on May 20, 2016
    85fe4b2
    63c91c9
    cfb4b53
  25. jdm commented on Jan 8, 2020

    @jdm
    MemberAuthor

    This shouldn't affect us any longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testingP-linux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions