From c2e95910f6ef8e9f03674f98784b31ac81524fa7 Mon Sep 17 00:00:00 2001 From: Andrey Babushkin Date: Tue, 30 Jan 2024 19:11:39 +0000 Subject: [PATCH] [GHA] Add debug info to Windows workflow (#22547) We have several occurring errors in Windows and Windows Conditional Compilation workflow, this info should help us to debug them --- .github/workflows/windows.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c063329a7f11c9..d422214cb7b855 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -159,6 +159,19 @@ jobs: - name: Clean sccache stats run: '& "$Env:SCCACHE_PATH" --zero-stats' + # to get more information on the issue + # described in the next step + - name: Show which network ports are used + run: netstat -ban + + # the case is the following: + # sccache: error: An attempt was made to access a socket in a way forbidden by its access permissions. (os error 10013) + # This looks like the attempt to use + # a port below 1024 or a port + # which is occupied by another app + - name: Stop sccache server just in case + run: '& "$Env:SCCACHE_PATH" --stop-server' + - name: Cmake build - OpenVINO run: cmake --build ${{ env.BUILD_DIR }} --parallel --config ${{ env.CMAKE_BUILD_TYPE }} --verbose