Skip to content
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

CSS test fonts #8374

Closed
wants to merge 5 commits into from
Closed

CSS test fonts #8374

wants to merge 5 commits into from

Conversation

@gsnedders
Copy link
Contributor

gsnedders commented Nov 6, 2015

This adds an up-to-date set of CSS tests fonts, specifically the subset that can be installed for all tests.

Review on Reviewable

@highfive
Copy link

highfive commented Nov 6, 2015

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @Manishearth (or someone else) soon.

@larsbergstrom
Copy link
Contributor

larsbergstrom commented Nov 6, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Nov 6, 2015

Trying commit 26886a2 with merge 23f741d...

bors-servo added a commit that referenced this pull request Nov 6, 2015
CSS test fonts

This adds an up-to-date set of CSS tests fonts, specifically the subset that can be installed for all tests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8374)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 6, 2015

💔 Test failed - mac-rel-css

@eefriedman
Copy link
Contributor

eefriedman commented Nov 6, 2015

Running 6848 tests in web-platform-tests

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-001.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-002.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-005.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-007.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-008.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-009.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-010.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-011.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-014.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-017.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-family-applies-to-015.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-001.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-002.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-004.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-005.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-012.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-013.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-015.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-016.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-023.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-024.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-026.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-027.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-034.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-035.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-037.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-045.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-038.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-046.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-048.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-049.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-056.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-057.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-059.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-067.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-060.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-070.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-068.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-071.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-078.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-079.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-082.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-089.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-081.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-090.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-092.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-100.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-093.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-101.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-102.htm

  ▶ PASS [expected FAIL] /css-fonts-3_dev/html/font-size-122.htm

  ▶ PASS [expected FAIL] /css21_dev/html4/block-in-inline-remove-000.htm

  ▶ PASS [expected FAIL] /css21_dev/html4/block-in-inline-remove-002.htm

  ▶ FAIL [expected PASS] /css21_dev/html4/c62-percent-000.htm
  └   → /css21_dev/html4/c62-percent-000.htm 5d2ab33ac55934ac77c2d2598ec5ff38b5715be1
/css21_dev/html4/reference/c62-percent-000-ref.htm f1fcf1064b8a73db5de471e0f9b921cfb84b9dc5
Testing 5d2ab33ac55934ac77c2d2598ec5ff38b5715be1 == f1fcf1064b8a73db5de471e0f9b921cfb84b9dc5

  ▶ PASS [expected FAIL] /css21_dev/html4/floats-wrap-bfc-002-right-table.htm

Ran 6848 tests finished in 1093.0 seconds.
  • 6793 ran as expected. 10 tests skipped.
  • 1 tests failed unexpectedly
  • 54 tests passed unexpectedly
@jdm
Copy link
Member

jdm commented Nov 6, 2015

The only failure is #7791.

@gsnedders
Copy link
Contributor Author

gsnedders commented Nov 6, 2015

Hmm. All of /css-fonts-3_dev/html/font-size-* reproducibly fail here…Will look into it. Probably more just intermittent failures.

@gsnedders
Copy link
Contributor Author

gsnedders commented Nov 9, 2015

These seem to all pass reliably on OS X, and fail on Linux.

@highfive highfive removed the S-tests-failed label Nov 9, 2015
@gsnedders
Copy link
Contributor Author

gsnedders commented Nov 9, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Nov 9, 2015

Trying commit d317a03 with merge 4c08a92...

bors-servo added a commit that referenced this pull request Nov 9, 2015
CSS test fonts

This adds an up-to-date set of CSS tests fonts, specifically the subset that can be installed for all tests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8374)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 9, 2015

💔 Test failed - linux-rel

@gsnedders
Copy link
Contributor Author

gsnedders commented Nov 9, 2015

Can anyone give any insight into that failure? Or what I should do? (It looks wholly unrelated to anything I've touched!)

@Manishearth
Copy link
Member

Manishearth commented Nov 9, 2015

@bors-servo
Copy link
Contributor

bors-servo commented Nov 9, 2015

Trying commit d317a03 with merge c5819a6...

bors-servo added a commit that referenced this pull request Nov 9, 2015
CSS test fonts

This adds an up-to-date set of CSS tests fonts, specifically the subset that can be installed for all tests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8374)
<!-- Reviewable:end -->
@Manishearth
Copy link
Member

Manishearth commented Nov 9, 2015

It's an intermittent, don't worry.

@jdm
Copy link
Member

jdm commented Nov 9, 2015

I don't see the point of retrying on try for known intermittents.

@bors-servo
Copy link
Contributor

bors-servo commented Nov 9, 2015

💔 Test failed - android

@larsbergstrom
Copy link
Contributor

larsbergstrom commented Nov 9, 2015

hrm, I may have to switch the android builder to something with more RAM

@KiChjang
Copy link
Member

KiChjang commented Jan 14, 2016

@DeleGate+

I'm just gonna give you some privileges here; hopefully it'll help you in working on this PR.

@KiChjang
Copy link
Member

KiChjang commented Jan 14, 2016

@bors-servo delegate+

I messed up big time :)

@bors-servo
Copy link
Contributor

bors-servo commented Jan 14, 2016

✌️ @gsnedders can now approve this pull request

@gsnedders
Copy link
Contributor Author

gsnedders commented Jan 14, 2016

Looks like the font cache panic is gone, at least.

@bors-servo
Copy link
Contributor

bors-servo commented Jan 14, 2016

💔 Test failed - linux-rel

@gsnedders
Copy link
Contributor Author

gsnedders commented Jan 14, 2016

Bah, back to the font cache failures :(

@jdm
Copy link
Member

jdm commented Feb 26, 2016

@gsnedders Are you still working on this? I'm just triaging PRs and don't see any activity for the past month.

@gsnedders
Copy link
Contributor Author

gsnedders commented Feb 26, 2016

@jdm Not actively. With the font cache panic still happening occasionally (despite my previous comment), we can't land it. So it's blocked on fixing that.

@jdm jdm mentioned this pull request Feb 26, 2016
@jdm
Copy link
Member

jdm commented Feb 26, 2016

@bors-servo: try
We need a new log for #9770.

@nox
Copy link
Member

nox commented Mar 2, 2016

@nox nox removed the S-needs-rebase label Mar 2, 2016
@nox
Copy link
Member

nox commented Mar 2, 2016

@bors-servo retry

@bors-servo
Copy link
Contributor

bors-servo commented Mar 2, 2016

Trying commit 03c7bc2 with merge 33985ec...

bors-servo added a commit that referenced this pull request Mar 2, 2016
CSS test fonts

This adds an up-to-date set of CSS tests fonts, specifically the subset that can be installed for all tests.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8374)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 2, 2016

💔 Test failed - linux-rel

@jdm
Copy link
Member

jdm commented Mar 2, 2016

@jdm
Copy link
Member

jdm commented Mar 2, 2016

I think the best course of action here is to log into a builder and try to catch one of the failures in a debugger (or rr?).

@jdm
Copy link
Member

jdm commented Mar 2, 2016

Huh, these are all tests that contain a bunch of iframes. I guess we're creating a bunch of new threads with each font loaded, and that gets multiplied per iframe...

@jdm
Copy link
Member

jdm commented Mar 2, 2016

I propose seeing what happens if https://github.com/gsnedders/servo/blob/03c7bc267bdcad1f073a5600433e435db22f8ce0/components/layout/layout_thread.rs#L341 is moved outside of the loop so it can be reused. My understanding is that IPC channels consume file descriptors, so this would be a significant reduction given how many fonts are requested by the CSS file.

@nox
Copy link
Member

nox commented May 21, 2016

Superseded by #11311.

@nox nox closed this May 21, 2016
@mbrubeck mbrubeck mentioned this pull request May 31, 2016
4 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

You can’t perform that action at this time.