Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iterations to Connect keyword #238

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

leivos-unikie
Copy link
Collaborator

@leivos-unikie leivos-unikie commented Feb 11, 2025

After ethernet interface was passed through to net-vm on lenovo-x1 iterative check of login to net-vm was first added to boot tests of lenovo-x1. Failures after gui reboot tests showed that iterations have to be added to the Connect keyword instead of using them only in the boot test.

The default number of iterations in Connect is 1 (as previous) but in boot tests and gui reboot 10 iterations are given.

Also Orin-NX needs to have iterative Connect keyword at boot and the output target has to be net-vm as with lenovo-x1. Both lenovo-x1 and orin-nx expose ghaf-host for about 10 sec time window at boot. During that time window ssh login attempts end up to ghaf-host.

  • Modified also Connect to ghaf host to connect via net-vm on Orin-NX (as with lenovo-x1).

  • Removed orin-nx tag from those test cases which include stopping net-vm.

  • Connect to ghaf host in optee suite setup instead of plain Connect

  • Switching between connections didn't work anymore in Verify NetVM PCI device passthrough. Fixed that.

Copy link
Collaborator

@msaarine msaarine left a comment

Choose a reason for hiding this comment

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

No other comments but is '${iterations}=5' enough?

@leivos-unikie leivos-unikie force-pushed the interate_x1_connection branch 2 times, most recently from e9e79e2 to c090604 Compare February 11, 2025 13:03
@leivos-unikie
Copy link
Collaborator Author

leivos-unikie commented Feb 11, 2025

No other comments but is '${iterations}=5' enough?

Since Connect keyword is used in so many places I lower the default to 1 iterations but give 10 iterations in those cases when Connect is used after boot or reboot on lenovo-x1.

@leivos-unikie leivos-unikie force-pushed the interate_x1_connection branch 7 times, most recently from 7d96bb6 to 7f5e66f Compare February 13, 2025 10:08
@leivos-unikie leivos-unikie force-pushed the interate_x1_connection branch 4 times, most recently from 98779fe to a66f561 Compare February 13, 2025 10:37
After ethernet interface was passed through to net-vm on
lenovo-x1 iterative check of login to net-vm was first
added to boot tests of lenovo-x1. Fails after gui reboot
tests showed that connection iterations need be added
also after gui reboot, namely every time the device boots
or reboots.

Decided to put the default number of iterations in Connect
keyword to 1 (as before) and give more iterations only
when it is used after boot or reboot.

Signed-off-by: Samuli Leivo <[email protected]>
@leivos-unikie leivos-unikie merged commit 46b6768 into tiiuae:main Feb 13, 2025
1 check 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