Bug 1499053 [wpt PR 13520] - Use tbpl formatter for logging stability checks. , a=testonly
authorjgraham <james@hoppipolla.co.uk>
Tue, 16 Oct 2018 09:58:51 +0000
changeset 490002 d86ff2a812498676e62c43e439413eead4a15c2c
parent 490001 6fd480efffe2607a79668e405ffa4feda045dd9f
child 490003 9d5ffc2c0617c039aa45911628f020cb5cf191af
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewerstestonly
bugs1499053, 13520
milestone64.0a1
Bug 1499053 [wpt PR 13520] - Use tbpl formatter for logging stability checks. , a=testonly Automatic update from web-platform-testsUse tbpl formatter for logging stability checks. (#13520) Before we were using the default formatter, which was a problem after changing to the low-output GroupingFormatter since we were seeing no output and causing CI to believe the job had stopped. -- wpt-commits: 486e94e16f05cf435781ab8f55ad4347ce57dba1 wpt-pr: 13520
testing/web-platform/tests/tools/ci/check_stability.py
--- a/testing/web-platform/tests/tools/ci/check_stability.py
+++ b/testing/web-platform/tests/tools/ci/check_stability.py
@@ -114,16 +114,17 @@ def call(*args):
     try:
         return subprocess.check_output(args)
     except subprocess.CalledProcessError as e:
         logger.critical("%s exited with return code %i" %
                         (e.cmd, e.returncode))
         logger.critical(e.output)
         raise
 
+
 def fetch_wpt(user, *args):
     git = get_git_cmd(wpt_root)
     git("fetch", "https://github.com/%s/web-platform-tests.git" % user, *args)
 
 
 def get_sha1():
     """ Get and return sha1 of current git branch HEAD commit."""
     git = get_git_cmd(wpt_root)
@@ -269,16 +270,18 @@ def run(venv, wpt_args, **kwargs):
         wpt_kwargs["install_browser"] = wpt_kwargs["product"].split(":")[0] == "firefox"
 
         wpt_kwargs["pause_after_test"] = False
         wpt_kwargs["verify_log_full"] = False
         if wpt_kwargs["repeat"] == 1:
             wpt_kwargs["repeat"] = 10
         wpt_kwargs["headless"] = False
 
+        wpt_kwargs["log_tbpl"] = [sys.stdout]
+
         wpt_kwargs = setup_wptrunner(venv, **wpt_kwargs)
 
         logger.info("Using binary %s" % wpt_kwargs["binary"])
 
 
     with TravisFold("running_tests"):
         logger.info("Starting tests")