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

EEH test for vnic interfaces #2771

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

vaishnavibhat
Copy link
Contributor

Adding test to trigger EEH for vnic interfaces from vios. The test does the following:

  • change the active logport to the original logport
  • login to the vios and find the respective backing device
  • trigger EEH from vios
  • check for the failover on the OS side to conclude if the eeh was successful ornot.

@vaishnavibhat
Copy link
Contributor Author

avocado run network_virtualization.py:NetworkVirtualization.test_vnic_eeh -m network_virtualization.yaml
JOB ID : 2d051d0a053822ae3020de908d25291ef8ebc04d
JOB LOG : /root/avocado-fvt-wrapper/results/job-2024-03-13T17.59-2d051d0/job.log
(1/1) network_virtualization.py:NetworkVirtualization.test_vnic_eeh;run-e720: STARTED
(1/1) network_virtualization.py:NetworkVirtualization.test_vnic_eeh;run-e720: PASS (74.70 s)
RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /root/avocado-fvt-wrapper/results/job-2024-03-13T17.59-2d051d0/results.html
JOB TIME : 92.03 s

debug.log

job.log

@abdhaleegit abdhaleegit self-assigned this Mar 14, 2024
@abdhaleegit abdhaleegit self-requested a review March 14, 2024 04:28
Copy link
Collaborator

@abdhaleegit abdhaleegit left a comment

Choose a reason for hiding this comment

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

take care of

  1. eeh tool
  2. non mellanox adapter set scroll false lnc2ent setacs lnc2ent hw pollq 0
  3. if no backing device

io/net/virt-net/network_virtualization.py Outdated Show resolved Hide resolved
io/net/virt-net/network_virtualization.py Show resolved Hide resolved
io/net/virt-net/network_virtualization.py Outdated Show resolved Hide resolved
@abdhaleegit
Copy link
Collaborator

abdhaleegit commented Mar 21, 2024

@vaishnavibhat also make sure the kernel debugger is enabled in VIOS.. else the KDB console will not work
$ bosdebug -L
Kernel debugger off

@vaishnavibhat vaishnavibhat force-pushed the eeh_vnic branch 3 times, most recently from 8303a2b to a282d1f Compare March 27, 2024 07:16
@abdhaleegit abdhaleegit self-requested a review March 28, 2024 05:17
Copy link
Collaborator

@abdhaleegit abdhaleegit left a comment

Choose a reason for hiding this comment

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

think of scp tool from lpar to vios .. but from inside vios

io/net/virt-net/network_virtualization.py Outdated Show resolved Hide resolved
io/net/virt-net/network_virtualization.py Outdated Show resolved Hide resolved
@vaishnavibhat vaishnavibhat force-pushed the eeh_vnic branch 3 times, most recently from b3e1e52 to ed7d1b3 Compare April 1, 2024 18:24
Adding test to trigger EEH for vnic interfaces from vios.
The test does the following:

- change the active logport to the original logport
- login to the vios and find the respective backing device
- trigger EEH from vios
- check for the failover on the OS side to conclude if the eeh was successful or not.

Signed-off-by: Vaishnavi Bhat <[email protected]>
Copy link
Collaborator

@abdhaleegit abdhaleegit left a comment

Choose a reason for hiding this comment

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

LGTM

@abdhaleegit abdhaleegit merged commit 6261637 into avocado-framework-tests:master Apr 19, 2024
3 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