From 30d429ec6a2d7a0165a5358fdafec0091f068e01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Thu, 18 Jul 2024 13:44:10 +0200 Subject: [PATCH] ci: Add extra gatekeeper debug output to stderr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit which might be useful to assess the amount of querries. Signed-off-by: Lukáš Doktor --- tools/testing/gatekeeper/jobs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/testing/gatekeeper/jobs.py b/tools/testing/gatekeeper/jobs.py index f62b43c13e..9fcaa85dbb 100644 --- a/tools/testing/gatekeeper/jobs.py +++ b/tools/testing/gatekeeper/jobs.py @@ -79,6 +79,8 @@ class Checker: else: # Not a required job return + print(f"{job_name} - {job['status']} {job['conclusion']} {job['id']}", + file=sys.stderr) if job["status"] != "completed": self.results[job_name] = RUNNING return @@ -156,6 +158,7 @@ class Checker: :returns: 0 - all passing; 1 - any failure; 127 some jobs running """ # TODO: Check if we need pagination here as well + print(_GH_RUNS_URL, file=sys.stderr) response = requests.get( _GH_RUNS_URL, params={"head_sha": self.latest_commit_sha},