Bug 1499053 [wpt PR 13520] - Use tbpl formatter for logging stability checks. , a=testonly
☠☠ backed out by 09dd66ffc95a ☠ ☠
authorjgraham <james@hoppipolla.co.uk>
Tue, 16 Oct 2018 09:58:51 +0000
changeset 489925 a1300c678745555752245d652c1581093eb13c82
parent 489924 f922c600deac5e24e9cb4eddf83187be53aa76c7
child 489926 7afa638dc547738571aa17ee1e8377eb9982501a
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")