From fa7bca41797a9e9c71adfc6624c54cafaed65895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Fri, 22 Nov 2024 09:22:14 +0100 Subject: [PATCH] ci.gatekeeper: Print the older job id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit let's print the also the existing result's id when printing the information about ignoring older result id to simplify debugging. Signed-off-by: Lukáš Doktor --- tools/testing/gatekeeper/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/gatekeeper/jobs.py b/tools/testing/gatekeeper/jobs.py index cbf2b5a8f4..400a5d272f 100644 --- a/tools/testing/gatekeeper/jobs.py +++ b/tools/testing/gatekeeper/jobs.py @@ -83,7 +83,7 @@ class Checker: elif job['run_id'] < self.results[job_name]['run_id']: # Newer results already stored print(f"older {job_name} - {job['status']} {job['conclusion']} " - f"{job['id']}", file=sys.stderr) + f"{job['id']} (newer_id={self.results[job_name]['id']})", file=sys.stderr) return print(f"{job_name} - {job['status']} {job['conclusion']} {job['id']}", file=sys.stderr)