From 6af51d2f05839b8f3dfd7524c9069d596a7426e9 Mon Sep 17 00:00:00 2001 From: Helen Koike Date: Mon, 18 Nov 2024 16:33:46 -0300 Subject: [PATCH] src/send_kcidb: add node type information in logspec warning Print if it is a build or test node to make it easier to post process Signed-off-by: Helen Koike --- src/send_kcidb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/send_kcidb.py b/src/send_kcidb.py index 17495b159..e286c9f1f 100755 --- a/src/send_kcidb.py +++ b/src/send_kcidb.py @@ -546,7 +546,7 @@ def _run(self, context): self.log.debug(f"Generated issues/incidents: {issues_and_incidents}") else: self.log.warning("logspec: Could not generate any issues or " - f"incidents for {parsed_node['id']}") + f"incidents for build node {parsed_node['id']}") for parsed_node in parsed_test_node: if parsed_node.get('status') == 'FAIL' and parsed_node.get('log_url'): @@ -561,7 +561,7 @@ def _run(self, context): self.log.debug(f"Generated issues/incidents: {issues_and_incidents}") else: self.log.warning("logspec: Could not generate any issues or " - f"incidents for {parsed_node['id']}") + f"incidents for test node {parsed_node['id']}") revision = { 'checkouts': parsed_checkout_node,