tp-libvirt
tp-libvirt copied to clipboard
PCIe Controller, pcie-root-port with index <= bus
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 , as we discussed a few days ago, please move this case to a new python file. Thanks
@dzhengfy Case moved to a new file.
Test results (last 2 results related to this PR):
This PR depends on https://github.com/autotest/tp-libvirt/pull/4573
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?
@vasekhodina please rebase.
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
Latest results from RHEL 8.8:
Test results on RHEL 9.2 to make sure the latest changes didn't break anything: