From b08210a0754a473e52c4f6e505b50a7d6b3c8dc0 Mon Sep 17 00:00:00 2001 From: Kostiantyn Kostiuk Date: Thu, 29 Jan 2026 21:02:55 +0200 Subject: [PATCH] Implement the GlitchFreeDevice workaround extension HLK test NDISTest 6.5 - [2 Machine] - GlitchFreeDevice for NetKVM is incompatible with NDIS Poll Mode, while Windows 11/Windows Server 2025 requires NDIS Poll Mode to be implemented and enabled by default. We can't just add the test to the reject list because it really works on other systems, and AutoHCK does not have an API to reject the test per HLK version. Let's use a new extension mechanism to allow AutoHCK users enable a workaround manually when running tests for Windows 11/Windows Server 2025. Previously, the GlitchFreeDevice test was filtered with MSFT HCK filters, but not now. This workaround will be removed when HLK for Windows 11/Windows Server 2025 starts support for Poll Mode, or MSFT releases new filters. Signed-off-by: Kostiantyn Kostiuk --- ...tchFreeDevice_NdisPollMode_workaround.json | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lib/engines/hcktest/extensions/GlitchFreeDevice_NdisPollMode_workaround.json diff --git a/lib/engines/hcktest/extensions/GlitchFreeDevice_NdisPollMode_workaround.json b/lib/engines/hcktest/extensions/GlitchFreeDevice_NdisPollMode_workaround.json new file mode 100644 index 00000000..6c77da79 --- /dev/null +++ b/lib/engines/hcktest/extensions/GlitchFreeDevice_NdisPollMode_workaround.json @@ -0,0 +1,24 @@ +{ + "comments": [ + "Workaround for NDISTest 6.5 GlitchFreeDevice test incompatibility with NDIS Poll Mode" + ], + "tests_config": [ + { + "tests": [ + "NDISTest 6.5 - \\[2 Machine\\] - GlitchFreeDevice" + ], + "pre_test_commands": [ + { + "desc": "Disable Poll Mode for NetKVM driver to work around GlitchFreeDevice test issues", + "guest_run": "Set-NetAdapterAdvancedProperty -Name SupportDevice0 -DisplayName 'Ndis Poll Mode' -RegistryValue 0" + } + ], + "post_test_commands": [ + { + "desc": "Re-enable Poll Mode for NetKVM driver after test completion", + "guest_run": "Set-NetAdapterAdvancedProperty -Name SupportDevice0 -DisplayName 'Ndis Poll Mode' -RegistryValue 1" + } + ] + } + ] +}