Functest: Add ability to controll Client Power managment from test case - #1092
Merged
kostyanf14 merged 2 commits intoAug 12, 2026
Merged
Conversation
kostyanf14
force-pushed
the
engine_setup_manager_action
branch
from
August 10, 2026 17:00
24662f3 to
b855f6d
Compare
There was a problem hiding this comment.
Pull request overview
Adds functional-test actions for controlling and validating client VM power state.
Changes:
- Adds power-management actions to command execution.
- Exposes QEMU and functest client lifecycle controls.
- Adds a dummy integration test covering power and snapshot behavior.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
lib/setupmanagers/qemuhck/qemu_machine.rb |
Exposes runner liveness. |
lib/setupmanagers/functest_client.rb |
Adds client start, stop, and status methods. |
lib/models/command_info.rb |
Defines power-management action values. |
lib/engines/functest/functest.rb |
Dispatches power actions through the engine. |
lib/auxiliary/command_execution_manager.rb |
Executes setup-manager action steps. |
lib/engines/functest/tests/suites/dummy.json |
Registers the new dummy test. |
lib/engines/functest/tests/cases/dummy_ci/engine_setup_manager_action.json |
Tests power and snapshot workflows. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
elizashurov
approved these changes
Aug 11, 2026
You can trigger shutdown/reboot or check that the client is up or down. Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Kostiantyn Kostiuk <kkostiuk@redhat.com>
kostyanf14
force-pushed
the
engine_setup_manager_action
branch
from
August 11, 2026 10:47
b855f6d to
f028fd4
Compare
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.
No description provided.