tp-libvirt icon indicating copy to clipboard operation
tp-libvirt copied to clipboard

PCIe Controller, pcie-root-port with index <= bus

Open vasekhodina opened this issue 2 years ago • 6 comments

This commit adds 2 checks that check a situation where pcie-root-port controller index number should be over the bus number it is attached to.

Automation of VIRT-54001

[root@dell-per740xd-25 ~]# avocado run --vt-type libvirt pcie_controllers.negative_tests.index_equal_to_bus.hotplug_off pcie_controllers.negative_tests.index_less_than_bus.hotplug_off
No python imaging library installed. Screendump and Windows guest BSOD detection are disabled. In order to enable it, please install python-imaging or the equivalent for your distro.
No python imaging library installed. PPM image conversion to JPEG disabled. In order to enable it, please install python-imaging or the equivalent for your distro.
JOB ID     : c0e309a258c30ac8c3e14f2487d050a4ec4b5323
JOB LOG    : /var/lib/avocado/job-results/job-2022-10-20T09.25-c0e309a/job.log
 (1/2) type_specific.io-github-autotest-libvirt.pcie_controllers.negative_tests.index_equal_to_bus.hotplug_off: STARTED
 (1/2) type_specific.io-github-autotest-libvirt.pcie_controllers.negative_tests.index_equal_to_bus.hotplug_off: PASS (37.56 s)
 (2/2) type_specific.io-github-autotest-libvirt.pcie_controllers.negative_tests.index_less_than_bus.hotplug_off: STARTED
 (2/2) type_specific.io-github-autotest-libvirt.pcie_controllers.negative_tests.index_less_than_bus.hotplug_off: PASS (38.73 s)
RESULTS    : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /var/lib/avocado/job-results/job-2022-10-20T09.25-c0e309a/results.html
JOB TIME   : 79.39 s

vasekhodina avatar Oct 20 '22 14:10 vasekhodina

@vasekhodina , as we discussed a few days ago, please move this case to a new python file. Thanks

dzhengfy avatar Oct 25 '22 08:10 dzhengfy

@dzhengfy Case moved to a new file.

vasekhodina avatar Oct 31 '22 11:10 vasekhodina

Test results (last 2 results related to this PR): image

vasekhodina avatar Oct 31 '22 12:10 vasekhodina

This PR depends on https://github.com/autotest/tp-libvirt/pull/4573

vasekhodina avatar Oct 31 '22 12:10 vasekhodina

Please hold on this pr before the https://github.com/autotest/tp-libvirt/pull/4573 is merged because there is a critical update required. See https://github.com/autotest/tp-libvirt/pull/4573#discussion_r1016406856. @vasekhodina if you do not mind, could we change it to draft for now?

dzhengfy avatar Nov 21 '22 07:11 dzhengfy

@vasekhodina please rebase.

dzhengfy avatar Dec 07 '22 01:12 dzhengfy

Test results on RHEL 9.2:

[root@cloud-qe-10 ~]# avocado run --vt-type libvirt pcie_root_port_controller
No python imaging library installed. Screendump and Windows guest BSOD detection are disabled. In order to enable it, please install python-imaging or the equivalent for your distro.
No python imaging library installed. PPM image conversion to JPEG disabled. In order to enable it, please install python-imaging or the equivalent for your distro.
JOB ID     : bbc3a90976218d1ea73527413dd086ea026015b3
JOB LOG    : /var/lib/avocado/job-results/job-2022-12-13T06.34-bbc3a90/job.log
 (1/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.positive_test.controllers_different_chassis_same_port: STARTED
 (1/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.positive_test.controllers_different_chassis_same_port: PASS (55.31 s)
 (2/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.negative_test.controllers_same_chassis_same_port: STARTED
 (2/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.negative_test.controllers_same_chassis_same_port: PASS (9.31 s)
 (3/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.negative_test.controllers_same_chassis_different_port: STARTED
 (3/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.negative_test.controllers_same_chassis_different_port: PASS (21.50 s)
 (4/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.negative_test.index_equals_address_bus: STARTED
 (4/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.negative_test.index_equals_address_bus: PASS (7.63 s)
 (5/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.negative_test.index_less_than_address_bus: STARTED
 (5/5) type_specific.io-github-autotest-libvirt.pcie_root_port_controller.negative_test.index_less_than_address_bus: PASS (28.50 s)
RESULTS    : PASS 5 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /var/lib/avocado/job-results/job-2022-12-13T06.34-bbc3a90/results.html
JOB TIME   : 127.40 s

vasekhodina avatar Dec 13 '22 13:12 vasekhodina

Latest results from RHEL 8.8: image

vasekhodina avatar Dec 13 '22 15:12 vasekhodina

Test results on RHEL 9.2 to make sure the latest changes didn't break anything: image

vasekhodina avatar Jan 05 '23 11:01 vasekhodina