← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1912608] [NEW] LibvirtNVMEVolumeDriverTestCase and LibvirtScaleIOVolumeDriverTestCase unit tests fail on ppc64

 

Public bug reported:

These tests don't appear to be mocking out their interactions with os-
brick correctly leading to it attempting to build unsupported connectors
on ppc64el.

https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/periodic
/openstack-tox-py39/2021-01-19-0058-38c70ae/job-output.txt

2021-01-19 00:57:49.258887 | devstack-focal-test | nova.tests.unit.virt.libvirt.volume.test_nvme.LibvirtNVMEVolumeDriverTestCase.test_libvirt_nvme_driver_disconnect
2021-01-19 00:57:49.258898 | devstack-focal-test | -----------------------------------------------------------------------------------------------------------------
2021-01-19 00:57:49.258909 | devstack-focal-test |
2021-01-19 00:57:49.258919 | devstack-focal-test | Captured traceback:
2021-01-19 00:57:49.258930 | devstack-focal-test | ~~~~~~~~~~~~~~~~~~~
2021-01-19 00:57:49.258942 | devstack-focal-test |     Traceback (most recent call last):
2021-01-19 00:57:49.258952 | devstack-focal-test |
2021-01-19 00:57:49.258963 | devstack-focal-test |       File "/home/zuul/src/review.openstack.org/openstack/nova/nova/tests/unit/virt/libvirt/volume/test_nvme.py", line 51, in test_libvirt_nvme_driver_disconnect
2021-01-19 00:57:49.258974 | devstack-focal-test |     nvme_con = nvme.LibvirtNVMEVolumeDriver(self.connr)
2021-01-19 00:57:49.258985 | devstack-focal-test |
2021-01-19 00:57:49.258995 | devstack-focal-test |       File "/home/zuul/src/review.openstack.org/openstack/nova/nova/virt/libvirt/volume/nvme.py", line 34, in __init__
2021-01-19 00:57:49.259006 | devstack-focal-test |     self.connector = connector.InitiatorConnector.factory(
2021-01-19 00:57:49.259017 | devstack-focal-test |
2021-01-19 00:57:49.259027 | devstack-focal-test |       File "/home/zuul/src/review.openstack.org/openstack/nova/.tox/py39/lib/python3.9/site-packages/os_brick/initiator/connector.py", line 303, in factory
2021-01-19 00:57:49.259039 | devstack-focal-test |     raise exception.InvalidConnectorProtocol(msg)
2021-01-19 00:57:49.259050 | devstack-focal-test |
2021-01-19 00:57:49.259060 | devstack-focal-test |     os_brick.exception.InvalidConnectorProtocol: Invalid InitiatorConnector protocol specified NVME

** Affects: nova
     Importance: Undecided
     Assignee: Lee Yarwood (lyarwood)
         Status: New


** Tags: testing

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1912608

Title:
  LibvirtNVMEVolumeDriverTestCase and LibvirtScaleIOVolumeDriverTestCase
  unit tests fail on ppc64

Status in OpenStack Compute (nova):
  New

Bug description:
  These tests don't appear to be mocking out their interactions with os-
  brick correctly leading to it attempting to build unsupported
  connectors on ppc64el.

  https://oplab9.parqtec.unicamp.br/pub/ppc64el/openstack/nova/periodic
  /openstack-tox-py39/2021-01-19-0058-38c70ae/job-output.txt

  2021-01-19 00:57:49.258887 | devstack-focal-test | nova.tests.unit.virt.libvirt.volume.test_nvme.LibvirtNVMEVolumeDriverTestCase.test_libvirt_nvme_driver_disconnect
  2021-01-19 00:57:49.258898 | devstack-focal-test | -----------------------------------------------------------------------------------------------------------------
  2021-01-19 00:57:49.258909 | devstack-focal-test |
  2021-01-19 00:57:49.258919 | devstack-focal-test | Captured traceback:
  2021-01-19 00:57:49.258930 | devstack-focal-test | ~~~~~~~~~~~~~~~~~~~
  2021-01-19 00:57:49.258942 | devstack-focal-test |     Traceback (most recent call last):
  2021-01-19 00:57:49.258952 | devstack-focal-test |
  2021-01-19 00:57:49.258963 | devstack-focal-test |       File "/home/zuul/src/review.openstack.org/openstack/nova/nova/tests/unit/virt/libvirt/volume/test_nvme.py", line 51, in test_libvirt_nvme_driver_disconnect
  2021-01-19 00:57:49.258974 | devstack-focal-test |     nvme_con = nvme.LibvirtNVMEVolumeDriver(self.connr)
  2021-01-19 00:57:49.258985 | devstack-focal-test |
  2021-01-19 00:57:49.258995 | devstack-focal-test |       File "/home/zuul/src/review.openstack.org/openstack/nova/nova/virt/libvirt/volume/nvme.py", line 34, in __init__
  2021-01-19 00:57:49.259006 | devstack-focal-test |     self.connector = connector.InitiatorConnector.factory(
  2021-01-19 00:57:49.259017 | devstack-focal-test |
  2021-01-19 00:57:49.259027 | devstack-focal-test |       File "/home/zuul/src/review.openstack.org/openstack/nova/.tox/py39/lib/python3.9/site-packages/os_brick/initiator/connector.py", line 303, in factory
  2021-01-19 00:57:49.259039 | devstack-focal-test |     raise exception.InvalidConnectorProtocol(msg)
  2021-01-19 00:57:49.259050 | devstack-focal-test |
  2021-01-19 00:57:49.259060 | devstack-focal-test |     os_brick.exception.InvalidConnectorProtocol: Invalid InitiatorConnector protocol specified NVME

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1912608/+subscriptions