Skip to content

VIRTWINKVM-2071: Automate Hardware-enforced Stack Protection Compatibility Test#924

Merged
kostyanf14 merged 2 commits into
HCK-CI:masterfrom
elizashurov:VIRTWINKVM-2071
Apr 21, 2026
Merged

VIRTWINKVM-2071: Automate Hardware-enforced Stack Protection Compatibility Test#924
kostyanf14 merged 2 commits into
HCK-CI:masterfrom
elizashurov:VIRTWINKVM-2071

Conversation

@elizashurov
Copy link
Copy Markdown
Contributor

@elizashurov elizashurov commented Apr 20, 2026

Use an AutoIt watcher script to automate the HSP test across all
drivers that previously rejected it. An HKLM Run key launches the
watcher in the interactive session, with a reboot to activate it.

  • Add HSP tests_config to hcktest.json with pre/post commands to
    upload, register, and clean up the AutoIt watcher
  • Add guest_reboot support to pre_test_commands in tests.rb
  • Add autoit to HLK2022.json extra_software

Depends on:

@elizashurov elizashurov requested a review from kostyanf14 April 20, 2026 14:59
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enables the EDID, HPD, and HSP tests for the viogpu driver by automating manual UI interactions using new AutoIt scripts. The driver configuration was updated to include AutoIt as a dependency and specify the necessary pre-test and post-test commands. Review feedback highlights that escaped parentheses in the test name strings within the JSON configuration will cause matching failures in the test engine. Furthermore, the HSP watcher script requires improvements to handle multiple command prompt windows correctly and to verify window activation before sending input to avoid side effects.

Comment thread lib/engines/hcktest/drivers/viogpu.json Outdated
Comment thread lib/engines/hcktest/drivers/viogpu.json Outdated
Comment thread lib/engines/hcktest/scripts/autoit/hsp_watcher.au3
@elizashurov elizashurov force-pushed the VIRTWINKVM-2071 branch 2 times, most recently from 716c112 to e23584e Compare April 21, 2026 06:43
@kostyanf14 kostyanf14 changed the title VIRTWINKVM-2071: Automate viogpu manual HLK tests with AutoIt watchers VIRTWINKVM-2071: Automate Hardware-enforced Stack Protection Compatibility Test Apr 21, 2026
@elizashurov
Copy link
Copy Markdown
Contributor Author

image

@kostyanf14 @YanVugenfirer Test passed

Enable guest_reboot for pre_test_commands and post_test_commands

Signed-off-by: Elizabeth Ashurov <eashurov@redhat.com>
…ility Test

Use an AutoIt watcher script to automate the HSP test across all
drivers that previously rejected it. An HKLM Run key registers the
watcher to start on user logon, and a guest_reboot activates it
before the test begins.

- Add HSP tests_config to hcktest.json with pre/post commands to
  upload, register, and clean up the AutoIt watcher
- Add autoit to HLK2022.json kit-level extra_software

Signed-off-by: Elizabeth Ashurov <eashurov@redhat.com>
@kostyanf14 kostyanf14 merged commit 253aa37 into HCK-CI:master Apr 21, 2026
9 checks passed
@kostyanf14
Copy link
Copy Markdown
Contributor

@zjmletang You may be interested in this change

@zjmletang
Copy link
Copy Markdown
Contributor

@kostyanf14 @elizashurov Thanks a lot, this is really great. We used to skip this test and rely on an errata for WHQL, so it’s nice that I’ll be able to run it now.

@kostyanf14
Copy link
Copy Markdown
Contributor

@zjmletang but errata = manual review = additional time, that's why we try to automate everything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants