codecov_helper: Add logging for each codecov report produced
It seems that this stage takes a lot of time and has zero output,
literally, Jenkin job just hangs for hours. Have some logging to
have insight what's happening.
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Change-Id: I4a80c70c5e9b27ab5550d152dd1f5c9a787001cc
diff --git a/lava_helper/codecov_helper.py b/lava_helper/codecov_helper.py
index efc8be9..c4466e2 100644
--- a/lava_helper/codecov_helper.py
+++ b/lava_helper/codecov_helper.py
@@ -13,10 +13,14 @@
import os
import subprocess
+import logging
from lava_helper import test_lava_dispatch_credentials
+_log = logging.getLogger(__name__)
+
+
def run(cmd, cwd=None):
print("+ %s" % cmd, flush=True)
subprocess.check_call(cmd, shell=True, cwd=cwd)
@@ -51,6 +55,7 @@
os.path.join(job_dir, fname)
)
+ _log.info("Producing coverage report for job %d", job_id)
dl_artifact("bl2.axf")
dl_artifact("tfm_s.axf")
dl_artifact("tfm_ns.axf")