Conversation
…verify_kvp Installing KvpClient on arm64 triggers gcc installation via apt-get, which can update the hyperv-daemons package and stop the KVP daemon. The test then fails when checking /proc/<pid>/fd because the daemon PID no longer exists. Added a service check and restart after tool installation to ensure the daemon is running before PID verification.
Contributor
There was a problem hiding this comment.
Pull request overview
Ensures the Hyper-V KVP daemon is running after KvpClient installation (which may update hyperv-daemons on arm64 and stop the daemon), preventing verify_kvp from failing later when validating the daemon PID.
Changes:
- Import
Servicetool in the KVP test suite. - After
KvpClientacquisition/installation, detect the KVP daemon service and restart it if it’s not running.
LiliDeng
approved these changes
Mar 26, 2026
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.
Summary
Installing KvpClient on arm64 triggers gcc installation via apt-get, which can update the hyperv-daemons package and stop the KVP daemon. The test then fails at step 3 (verify daemon running) because the daemon PID no longer exists.
Added a service check after KvpClient tool installation that detects if the KVP daemon was stopped and restarts it before PID verification.
Validation Results