From: Lucian Petrut Date: Thu, 16 Feb 2023 08:02:43 +0000 (+0200) Subject: windows: temporarily disable event log collection X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2114%2Fhead;p=ceph-build.git 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 --- 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