WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@PrakashMuddana
Copy link
Contributor

validating whether console logs contains expected string or not and failing the testcase based on results

@PrakashMuddana PrakashMuddana force-pushed the podvm-console-validation branch 2 times, most recently from 1796c1d to e4662a8 Compare October 28, 2025 04:53
@stevenhorsman stevenhorsman added the test_e2e_libvirt Run Libvirt e2e tests label Oct 28, 2025
@PrakashMuddana PrakashMuddana force-pushed the podvm-console-validation branch from e4662a8 to ccbb321 Compare October 28, 2025 09:15
@stevenhorsman
Copy link
Member

We need a go mod tidy on the cloud-api-adaptor here (for reasons not clear to me!)

@PrakashMuddana PrakashMuddana force-pushed the podvm-console-validation branch 2 times, most recently from 293aaf1 to 4e7608a Compare October 28, 2025 12:11
@stevenhorsman
Copy link
Member

There is some issue with the code as the tests are all timing out with a stack trace of:

github.com/confidential-containers/cloud-api-adaptor/src/cloud-api-adaptor/test/e2e.LibvirtAssert.VerifyPodvmConsole({{0x7faa140047f0}}, 0xc000cb28c0, {0xc000c09500, 0x1e}, {0x357e025, 0x5})
	/home/runner/work/cloud-api-adaptor/cloud-api-adaptor/src/cloud-api-adaptor/test/e2e/libvirt_common.go:132 +0x3a5 fp=0xc000fcb310 sp=0xc000fcb1d8 pc=0x2db7145
github.com/confidential-containers/cloud-api-adaptor/src/cloud-api-adaptor/test/e2e.(*LibvirtAssert).VerifyPodvmConsole(0x399b328?, 0xc00107e120?, {0xc000c09500?, 0xc0003fef70?}, {0x357e025?, 0xa7374707665643a?})
	<autogenerated>:1 +0x2e fp=0xc000fcb350 sp=0xc000fcb310 pc=0x2dbccee
github.com/confidential-containers/cloud-api-adaptor/src/cloud-api-adaptor/test/e2e.(*TestCase).Run.func2({0x399b328, 0xc00107e120}, 0xc000cb28c0, 0x0?)
	/home/runner/work/cloud-api-adaptor/cloud-api-adaptor/src/cloud-api-adaptor/test/e2e/assessment_runner.go:322 +0x4eb fp=0xc000fcbeb0 sp=0xc000fcb350 pc=0x2da60eb

@PrakashMuddana PrakashMuddana force-pushed the podvm-console-validation branch from 4e7608a to 24b5d56 Compare November 3, 2025 18:37
validating whether console logs contains expected string or not and failing the testcase based on results

Signed-off-by: Jyoti-Prakash-Muddanna <[email protected]>
@PrakashMuddana PrakashMuddana force-pushed the podvm-console-validation branch from 24b5d56 to 86c2313 Compare November 4, 2025 00:16
@PrakashMuddana PrakashMuddana force-pushed the podvm-console-validation branch from bafe096 to 0997e4c Compare December 3, 2025 08:48
testing with simple pod

Signed-off-by: Jyoti-Prakash-Muddanna <[email protected]>
@PrakashMuddana PrakashMuddana force-pushed the podvm-console-validation branch from 0997e4c to 62e9b0f Compare December 3, 2025 09:39
print if couldn't find expected string

Signed-off-by: Jyoti-Prakash-Muddanna <[email protected]>
logs added to check the flow

Signed-off-by: Jyoti-Prakash-Muddanna <[email protected]>
@PrakashMuddana PrakashMuddana force-pushed the podvm-console-validation branch 2 times, most recently from 0901266 to b521d26 Compare December 4, 2025 10:41
code

Signed-off-by: Jyoti-Prakash-Muddanna <[email protected]>
@PrakashMuddana PrakashMuddana force-pushed the podvm-console-validation branch from b521d26 to a2e8b96 Compare December 5, 2025 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test_e2e_libvirt Run Libvirt e2e tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants