From a997e282becc7cb51fb6f868819843407853d5cb Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Tue, 26 Mar 2024 20:03:54 +0000 Subject: [PATCH] gha: Update journal log names for nerdctl artifacts This PR updates the journal log name for nerdctl artifacts to make sure that we have different names in case we add a parallel GHA job. Fixes #9357 Signed-off-by: Gabriela Cervantes --- tests/integration/nerdctl/gha-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/nerdctl/gha-run.sh b/tests/integration/nerdctl/gha-run.sh index 7b3c42a361..4de3cf00db 100644 --- a/tests/integration/nerdctl/gha-run.sh +++ b/tests/integration/nerdctl/gha-run.sh @@ -70,7 +70,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}" }