Skip to content

Functest: Add ability to controll Client Power managment from test case - #1092

Merged
kostyanf14 merged 2 commits into
HCK-CI:masterfrom
kostyanf14:engine_setup_manager_action
Aug 12, 2026
Merged

Functest: Add ability to controll Client Power managment from test case#1092
kostyanf14 merged 2 commits into
HCK-CI:masterfrom
kostyanf14:engine_setup_manager_action

Conversation

@kostyanf14

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread lib/engines/functest/functest.rb Fixed
@kostyanf14
kostyanf14 force-pushed the engine_setup_manager_action branch from 24662f3 to b855f6d Compare August 10, 2026 17:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Comment thread lib/engines/functest/functest.rb Outdated
Comment thread lib/auxiliary/command_execution_manager.rb
Comment thread lib/engines/functest/functest.rb Outdated
@kostyanf14
kostyanf14 requested a review from elizashurov August 10, 2026 17:23
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
kostyanf14 force-pushed the engine_setup_manager_action branch from b855f6d to f028fd4 Compare August 11, 2026 10:47
@kostyanf14
kostyanf14 merged commit 64e6085 into HCK-CI:master Aug 12, 2026
11 checks passed
@kostyanf14
kostyanf14 deleted the engine_setup_manager_action branch August 12, 2026 12:50
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