LAVA: Update LAVA test log and job name format
To make CI logs more user-friendly, show test device type of each test
job and align the test job name with build configs.
Remove the redundant job result logs. It is good enough to print the
test result once for each jobs.
Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I33dad21e5642f7d2b1a735a177ef4489ba80eed6
diff --git a/tfm_ci_pylib/lava_rpc_connector.py b/tfm_ci_pylib/lava_rpc_connector.py
index de940bd..81c5af9 100644
--- a/tfm_ci_pylib/lava_rpc_connector.py
+++ b/tfm_ci_pylib/lava_rpc_connector.py
@@ -9,7 +9,7 @@
__copyright__ = """
/*
- * Copyright (c) 2018-2021, Arm Limited. All rights reserved.
+ * Copyright (c) 2018-2022, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
@@ -95,7 +95,7 @@
with open(yaml_out_file, "w") as F:
F.write(str(job_def))
def_o = yaml.safe_load(job_def)
- return job_def, def_o.get('metadata', [])
+ return def_o
def get_job_log(self, job_id, target_out_file):
auth_headers = {"Authorization": "Token %s" % self.token}