@samitouri / QOSAMI-WSL / commits / 680fe654

cloudtest: skip WSLC test suite on Windows Server images (#40559)

* cloudtest: skip WSLC test suite on Windows Server images The WSLC TAEF job consistently times out on Windows Server images because of a VMBus PowerOff hang during VM teardown on Server SKUs. Skip the wslc TAEF group on Server images until the host issue is resolved. The wsl1 and wsl2 groups continue to run on Server. Client images (rs_prerelease, win11-23h2, win10-22h2) are unchanged and still run all three groups. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address review feedback: dereference loop variable in IN_LIST check Use "${image}" instead of bare image in the IN_LIST condition for clarity and to avoid relying on if() implicit variable lookup. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * .pipelines: skip WSLC test job on Server images Companion change to the cloudtest/CMakeLists.txt skip: tag the fe_release image as `server: true` and gate the WSLC test job on `image.server` so the pipeline does not try to load a TestMap.xml that is no longer generated for the WS22+wslc combination. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Ben Hillis <benhill@ntdev.microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Ben Hillis committed May 18, 2026 at 10:23 UTC 680fe6545ef5025eb9e78e31b2f64458483f9891
2 files changed +15 -3
.pipelines/test-stage.yml
+4 -1
@@ -27,6 +27,7 @@ parameters:
27 image: win11-23h2-ent-2024-11-18
28 - name: fe_release
29 image: 2022-datacenter-g2-2024-09-10
30 + server: true
31 - name: vb_release
32 image: win10-22h2-ent-g2-2024-09-10
33
@@ -46,5 +47,7 @@ stages:
47 branch: "${{ image.name }}"
48 version: ${{ version }}
49 image: "${{ image.image }}"
49 - run: ${{ or(not(parameters.rs_prerelease_only), eq(image.name, 'rs_prerelease')) }}
50 + # Skip the WSLC suite on Server images: it triggers a Hyper-V VMBus
51 + # PowerOff hang during VM teardown that times out the job.
52 + run: ${{ and(or(not(parameters.rs_prerelease_only), eq(image.name, 'rs_prerelease')), or(ne(version, 'wslc'), ne(image.server, true))) }}
53 pool: "${{ parameters.pool }}"
\ No newline at end of file
cloudtest/CMakeLists.txt
+11 -2
@@ -7,12 +7,19 @@ if (${TARGET_PLATFORM} STREQUAL x64)
7 "wsl-test-image-win11-23h2-ent-2024-11-18"
8 "wsl-test-image-2022-datacenter-g2-2024-09-10"
9 "wsl-test-image-win10-22h2-ent-g2-2024-09-10")
10 -
10 +
11 + # WSLC tests trigger a Hyper-V VMBus PowerOff hang during VM teardown
12 + # on Windows Server SKUs, which causes the WSLC TAEF job to time out.
13 + # Skip the WSLC test suite on Server images until the host issue is
14 + # resolved.
15 + set(CLOUDTEST_SERVER_IMAGES
16 + "wsl-test-image-2022-datacenter-g2-2024-09-10")
17
18 set(CLOUDTEST_TEST_PACKAGES "Test_Packages_2025_07_28")
19 set(DUMPTOOL_DROP "DumpTool_X64_2025-01-27")
20 elseif (${TARGET_PLATFORM} STREQUAL arm64)
21 set(CLOUDTEST_IMAGES)
22 + set(CLOUDTEST_SERVER_IMAGES)
23 else()
24 message(FATAL_ERROR "Unsupported target platform: ${TARGET_PLATFORM}")
25 endif()
@@ -47,5 +54,7 @@ endfunction()
54 foreach(image ${CLOUDTEST_IMAGES})
55 add_test_group("${image}" "1" "wsl1" "not (@TestCategory='WSLC')")
56 add_test_group("${image}" "2" "wsl2" "not (@TestCategory='WSLC')")
50 - add_test_group("${image}" "2" "wslc" "@TestCategory='WSLC'")
57 + if (NOT "${image}" IN_LIST CLOUDTEST_SERVER_IMAGES)
58 + add_test_group("${image}" "2" "wslc" "@TestCategory='WSLC'")
59 + endif()
60 endforeach()