Auto merge of #22442 - servo:wpt-logs, r=jdm

Taskcluster: make WPT logs more readable

Fixes #22438

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22442)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-12-13 23:48:51 -05:00 committed by GitHub
commit f7fd128881
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 7 deletions

View file

@ -338,17 +338,22 @@ def wpt_chunk(release_build_task, total_chunks, this_chunk):
task.name += " + extra"
task.extra["treeherder"]["symbol"] += "+"
task.with_script("""
time ./mach test-wpt-failure
time ./mach test-wpt --release --binary-arg=--multiprocess --processes 24 \
./mach test-wpt-failure
./mach test-wpt --release --binary-arg=--multiprocess --processes 24 \
--log-raw test-wpt-mp.log \
--log-errorsummary wpt-mp-errorsummary.log \
eventsource
eventsource \
| cat
time ./mach test-wpt --release --product=servodriver --headless \
tests/wpt/mozilla/tests/mozilla/DOMParser.html \
tests/wpt/mozilla/tests/css/per_glyph_font_fallback_a.html \
tests/wpt/mozilla/tests/css/img_simple.html \
tests/wpt/mozilla/tests/mozilla/secure.https.html
tests/wpt/mozilla/tests/mozilla/secure.https.html \
| cat
""")
# `test-wpt` is piped into `cat` so that stdout is not a TTY
# and wptrunner does not use "interactive mode" formatting:
# https://github.com/servo/servo/issues/22438
task.with_script("""
./mach test-wpt \
--release \
@ -357,7 +362,8 @@ def wpt_chunk(release_build_task, total_chunks, this_chunk):
--this-chunk "$THIS_CHUNK" \
--log-raw test-wpt.log \
--log-errorsummary wpt-errorsummary.log \
--always-succeed
--always-succeed \
| cat
./mach filter-intermittents\
wpt-errorsummary.log \
--log-intermittents intermittents.log \