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
--- 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")