From b0034f5a22da637820cda956e353f6cbca1d9f38 Mon Sep 17 00:00:00 2001 From: Lucian Petrut Date: Thu, 16 Feb 2023 10:02:43 +0200 Subject: [PATCH] windows: temporarily disable event log collection We're attempting to collect Windows event logs at the end of the job. The issue is that some logs cannot be collected and the job terminates abruptly despite the error action being set to "ignore". We'll temporarily skip this step in order to unblock the Windows job. Signed-off-by: Lucian Petrut --- scripts/ceph-windows/run_tests | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/ceph-windows/run_tests b/scripts/ceph-windows/run_tests index 3b147a5f..96117660 100644 --- a/scripts/ceph-windows/run_tests +++ b/scripts/ceph-windows/run_tests @@ -76,9 +76,12 @@ function collect_artifacts() { scp_download /ProgramData/ceph/logs $WORKSPACE/artifacts/client/logs cp $CEPH_WINDOWS_CONF $WORKSPACE/artifacts/client ssh_exec /wnbd/wnbd-client.exe version - ssh_exec curl.exe --retry-max-time 30 --retry 10 -L -o /workspace/collect-event-logs.ps1 $COLLECT_EVENT_LOGS_SCRIPT_URL - ssh_exec powershell.exe /workspace/collect-event-logs.ps1 -LogDirectory /workspace/eventlogs - scp_download /workspace/eventlogs $WORKSPACE/artifacts/client/eventlogs + # Event log collection is temporarily disabled. The script terminates + # abruptly even if the error action is set to "ignore". + # + # ssh_exec curl.exe --retry-max-time 30 --retry 10 -L -o /workspace/collect-event-logs.ps1 $COLLECT_EVENT_LOGS_SCRIPT_URL + # ssh_exec powershell.exe /workspace/collect-event-logs.ps1 -LogDirectory /workspace/eventlogs + # scp_download /workspace/eventlogs $WORKSPACE/artifacts/client/eventlogs } trap collect_artifacts EXIT -- 2.39.5