From a855ecf21b75f0654962a53b2310508c2a0f2340 Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Tue, 19 Mar 2024 16:44:11 +0000 Subject: [PATCH] gha: Update journal log names for kubernetes artifacts This PR updates the journal log names for kubernetes artifacts in order to make sure that we have different names when we are running parallel GHA jobs. Fixes #9308 Signed-off-by: Gabriela Cervantes --- tests/integration/kubernetes/gha-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/kubernetes/gha-run.sh b/tests/integration/kubernetes/gha-run.sh index 4c9ad2a70c..254aac13ae 100755 --- a/tests/integration/kubernetes/gha-run.sh +++ b/tests/integration/kubernetes/gha-run.sh @@ -291,7 +291,7 @@ function collect_artifacts() { fi mkdir -p "${artifacts_dir}" info "Collecting artifacts using ${KATA_HYPERVISOR} hypervisor" - local journalctl_log_filename="journalctl.log" + local journalctl_log_filename="journalctl-$RANDOM.log" local journalctl_log_path="${artifacts_dir}/${journalctl_log_filename}" sudo journalctl --since="$start_time" > "${journalctl_log_path}"