Skip to content

[VIRTWINKVM-2679] Fix clean_boot not re-uploading test_binaries to guest - #1090

Merged
kostyanf14 merged 1 commit into
HCK-CI:masterfrom
rachael-george:clean_boot_fix
Aug 6, 2026
Merged

[VIRTWINKVM-2679] Fix clean_boot not re-uploading test_binaries to guest#1090
kostyanf14 merged 1 commit into
HCK-CI:masterfrom
rachael-george:clean_boot_fix

Conversation

@rachael-george

Copy link
Copy Markdown
Contributor

When a test case uses clean_boot: true, reboot_clean creates a fresh qcow2 overlay from the base image, which wipes C:\AutoHCK\test_binaries from the guest. Tests that reference @test_binaries_dir@ after a clean boot fail with "file not found".

This fix calls copy_test_binaries after reconnect in reboot_clean, matching what prepare_machine already does during initial setup.

@kostyanf14

Copy link
Copy Markdown
Contributor

ok to test

Comment thread lib/setupmanagers/functest_client.rb Outdated
When clean_boot creates a fresh qcow2 overlay from the base image,
previously uploaded test_binaries are lost. Call copy_test_binaries
after reconnect in reboot_clean to restore them.

Signed-off-by: rachael-george <rgeorge@redhat.com>
@kostyanf14
kostyanf14 merged commit 73fbd08 into HCK-CI:master Aug 6, 2026
11 checks passed
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.

3 participants