Added EEH test cases for PCI PT NIC devices#6
Open
TasmiyaNalatwad wants to merge 1 commit intolop-devops:KVMCIfrom
Open
Added EEH test cases for PCI PT NIC devices#6TasmiyaNalatwad wants to merge 1 commit intolop-devops:KVMCIfrom
TasmiyaNalatwad wants to merge 1 commit intolop-devops:KVMCIfrom
Conversation
Added EEH test cases where Inject EEH from host console for pci pt device The file has below things covered 1. Added a new variant in the cfg file to enable eeh test 2. The function is added to identify the controller index. what the code does is fetches existing controllers, calculates the next available index, creates a new controller object with type, index, and model. 3. Added a function to get network interface list inside guest. Before attaching/hotplug of any device i am trying to get the network interfaces list present inside guest. So that after hotplug of a NIC pci device one more interface gets added and i will be able to compare list of network interfaces before and after and verify the new interface. 4. EEH injection is performed from host console for the passthrough device. The EEH logs will be seen in dmesg logs of the guest. a) EEH can be triggered till max freeze count matches b) I am setting max freeze value as 5 c) Hence i can trigger EEH errors for 5 times, and 6th time the device should fail permanently and give this above msg saying "PERMANENT FAILURE". d) This is as per the EEH Feature Design e) And permanent failure must be seen after max freeze count, if it is not failing even then it is an issue which is taken care in the code. 5. To track the dmesg logs for every EEH injections i am maintaining a pointer to the last line of dmesg logs "last_dmesg_line". 6. I am not clearing the dmesg logs bcz i want to print all the logs at the end of test case. This will be easy to debug for any kind of failures. As the EEH is triggered for multiple times, It is very important to keep all the dmesg logs to debug in case of any failures. Signed-off-by: Tasmiya Nalatwad <tasmiya@linux.vnet.ibm.com>
Author
|
Ref : autotest#6098 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added EEH test cases where Inject EEH from host console for pci pt device
The file has below things covered
a) EEH can be triggered till max freeze count matches b) I am setting max freeze value as 5
c) Hence i can trigger EEH errors for 5 times, and 6th time the device should fail permanently and give this above msg saying "PERMANENT FAILURE". d) This is as per the EEH Feature Design
e) And permanent failure must be seen after max freeze count, if it is not failing even then it is an issue which is taken care in the code.