]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
windows: temporarily disable event log collection 2114/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 16 Feb 2023 08:02:43 +0000 (10:02 +0200)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 16 Feb 2023 08:04:48 +0000 (10:04 +0200)
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 <lpetrut@cloudbasesolutions.com>
scripts/ceph-windows/run_tests

index 3b147a5fe97cc383de0b9d81925dafaeb754cab5..96117660f1e741070a3fbc609d0f94801a551749 100644 (file)
@@ -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