[SYCL][CI] Add workflow to check network cards on UR_* runners#22360
Draft
opensource-krzysztof wants to merge 5 commits into
Draft
[SYCL][CI] Add workflow to check network cards on UR_* runners#22360opensource-krzysztof wants to merge 5 commits into
opensource-krzysztof wants to merge 5 commits into
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fixes zizmor unpinned-action-reference alerts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Comment on lines
+1
to
+68
| name: UR - Check Network Cards | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| paths: | ||
| - '.github/workflows/ur-check-network-cards.yml' | ||
|
|
||
| jobs: | ||
| check-network: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| runner: | ||
| - UR_CP_OPENCLNATIVE_01_01 | ||
| - UR_CP_OPENCLNATIVE_01_02 | ||
| - UR_DNP_06_PVC_03 | ||
| - UR_DNP_06_PVC_03_L0 | ||
| - UR_DNP_INTEL_05_01 | ||
| - UR_DNP_INTEL_05_01_PVC | ||
| - UR_DNP_INTEL_05_01_WinVM | ||
| - UR_exaperf-pvc34 | ||
| - UR_MOM_01 | ||
| - UR_MOM_03_WinVM | ||
| - UR_MOM_12 | ||
| - UR_MOM_56 | ||
| - UR_MOM_58_Build | ||
| - UR_MOM_58_PVC | ||
| - UR_MOM_59_PVC | ||
| - UR_MOM_59_WinVM | ||
| - UR_PC_AMD_23_01 | ||
| - UR_PC_AMD_34 | ||
| - UR_PC_BMG_46 | ||
| - UR_PC_BMG_47 | ||
| - UR_PC_BMG_JF_WO200 | ||
| - UR_PC_NVIDIA_35 | ||
| - UR_PRE_ESM_01 | ||
| runs-on: ${{ matrix.runner }} | ||
| steps: | ||
| - name: Check network card (Linux) | ||
| if: runner.os == 'Linux' | ||
| run: | | ||
| { | ||
| echo "=== Runner: ${{ matrix.runner }} ===" | ||
| echo "" | ||
| echo "=== lspci network devices ===" | ||
| lspci | grep -i -E 'network|ethernet' || true | ||
| echo "" | ||
| echo "=== Network interfaces ===" | ||
| ip link show | ||
| echo "" | ||
| echo "=== Interface details (ethtool) ===" | ||
| for iface in $(ls /sys/class/net/ | grep -v lo); do | ||
| echo "--- $iface ---" | ||
| ethtool -i "$iface" 2>/dev/null || true | ||
| done | ||
| } 2>&1 | tee network-info.txt | ||
|
|
||
| - name: Check network card (Windows) | ||
| if: runner.os == 'Windows' | ||
| shell: powershell | ||
| run: | | ||
| "=== Runner: ${{ matrix.runner }} ===" | Tee-Object -FilePath network-info.txt | ||
| "" | Tee-Object -FilePath network-info.txt -Append | ||
| "=== Network Adapters ===" | Tee-Object -FilePath network-info.txt -Append | ||
| Get-NetAdapter | Format-Table -AutoSize | Out-String | Tee-Object -FilePath network-info.txt -Append | ||
| "" | Tee-Object -FilePath network-info.txt -Append | ||
| "=== Adapter Details ===" | Tee-Object -FilePath network-info.txt -Append |
Comment on lines
+10
to
+75
| check-network: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| runner: | ||
| - UR_CP_OPENCLNATIVE_01_01 | ||
| - UR_CP_OPENCLNATIVE_01_02 | ||
| - UR_DNP_06_PVC_03 | ||
| - UR_DNP_06_PVC_03_L0 | ||
| - UR_DNP_INTEL_05_01 | ||
| - UR_DNP_INTEL_05_01_PVC | ||
| - UR_DNP_INTEL_05_01_WinVM | ||
| - UR_exaperf-pvc34 | ||
| - UR_MOM_01 | ||
| - UR_MOM_03_WinVM | ||
| - UR_MOM_12 | ||
| - UR_MOM_56 | ||
| - UR_MOM_58_Build | ||
| - UR_MOM_58_PVC | ||
| - UR_MOM_59_PVC | ||
| - UR_MOM_59_WinVM | ||
| - UR_PC_AMD_23_01 | ||
| - UR_PC_AMD_34 | ||
| - UR_PC_BMG_46 | ||
| - UR_PC_BMG_47 | ||
| - UR_PC_BMG_JF_WO200 | ||
| - UR_PC_NVIDIA_35 | ||
| - UR_PRE_ESM_01 | ||
| runs-on: ${{ matrix.runner }} | ||
| steps: | ||
| - name: Check network card (Linux) | ||
| if: runner.os == 'Linux' | ||
| run: | | ||
| { | ||
| echo "=== Runner: ${{ matrix.runner }} ===" | ||
| echo "" | ||
| echo "=== lspci network devices ===" | ||
| lspci | grep -i -E 'network|ethernet' || true | ||
| echo "" | ||
| echo "=== Network interfaces ===" | ||
| ip link show | ||
| echo "" | ||
| echo "=== Interface details (ethtool) ===" | ||
| for iface in $(ls /sys/class/net/ | grep -v lo); do | ||
| echo "--- $iface ---" | ||
| ethtool -i "$iface" 2>/dev/null || true | ||
| done | ||
| } 2>&1 | tee network-info.txt | ||
|
|
||
| - name: Check network card (Windows) | ||
| if: runner.os == 'Windows' | ||
| shell: powershell | ||
| run: | | ||
| "=== Runner: ${{ matrix.runner }} ===" | Tee-Object -FilePath network-info.txt | ||
| "" | Tee-Object -FilePath network-info.txt -Append | ||
| "=== Network Adapters ===" | Tee-Object -FilePath network-info.txt -Append | ||
| Get-NetAdapter | Format-Table -AutoSize | Out-String | Tee-Object -FilePath network-info.txt -Append | ||
| "" | Tee-Object -FilePath network-info.txt -Append | ||
| "=== Adapter Details ===" | Tee-Object -FilePath network-info.txt -Append | ||
| Get-NetAdapter | Get-NetAdapterHardwareInfo -ErrorAction SilentlyContinue | Format-List | Out-String | Tee-Object -FilePath network-info.txt -Append | ||
|
|
||
| - name: Upload partial artifact | ||
| uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 | ||
| with: | ||
| name: network-info-${{ matrix.runner }} | ||
| path: network-info.txt |
Comment on lines
+41
to
+68
| if: runner.os == 'Linux' | ||
| run: | | ||
| { | ||
| echo "=== Runner: ${{ matrix.runner }} ===" | ||
| echo "" | ||
| echo "=== lspci network devices ===" | ||
| lspci | grep -i -E 'network|ethernet' || true | ||
| echo "" | ||
| echo "=== Network interfaces ===" | ||
| ip link show | ||
| echo "" | ||
| echo "=== Interface details (ethtool) ===" | ||
| for iface in $(ls /sys/class/net/ | grep -v lo); do | ||
| echo "--- $iface ---" | ||
| ethtool -i "$iface" 2>/dev/null || true | ||
| done | ||
| } 2>&1 | tee network-info.txt | ||
|
|
||
| - name: Check network card (Windows) | ||
| if: runner.os == 'Windows' | ||
| shell: powershell | ||
| run: | | ||
| "=== Runner: ${{ matrix.runner }} ===" | Tee-Object -FilePath network-info.txt | ||
| "" | Tee-Object -FilePath network-info.txt -Append | ||
| "=== Network Adapters ===" | Tee-Object -FilePath network-info.txt -Append | ||
| Get-NetAdapter | Format-Table -AutoSize | Out-String | Tee-Object -FilePath network-info.txt -Append | ||
| "" | Tee-Object -FilePath network-info.txt -Append | ||
| "=== Adapter Details ===" | Tee-Object -FilePath network-info.txt -Append |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
do not merge, test only