← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254943] Re: nova-2013.2; failures=1150 (+1150), skips=10

 

You dont have the dependencies that are needed to run the tests, please
install the dependencies or run tox -epy27.

** Changed in: nova
       Status: New => Invalid

-- 
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/1254943

Title:
  nova-2013.2;  failures=1150 (+1150), skips=10

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Call me perplexed.

  /path/to/nova-2013.2. # testr run

  yields

  Ran 18852 (+18610) tests in 330.945s (+325.799s)
  FAILED (id=6, failures=1150 (+1150), skips=10)

  Eeeer, hmm.  Somethings are awry.  Let's edit .testr.conf to run testr
  of nova/tests/api.

  /path/to/nova-2013.2. # testr run --parallel

  Ran 6004 tests in 66.374s
  FAILED (id=0, failures=380)

  Traceback (most recent call last):
    File "/usr/lib64/python2.7/site-packages/stevedore/extension.py", line 89, in _load_plugins
  .......
      raise VersionConflict(dist,req) # XXX put more info here
  VersionConflict: (jsonschema 0.7 (/usr/lib64/python2.7/site-packages), Requirement.parse('jsonschema>=1.3.0,!=1.4.0'))
  Could not load 'shelve': (jsonschema 0.7 (/usr/lib64/python2.7/site-packages), Requirement.parse('jsonschema>=1.3.0,!=1.4.0'))
  (jsonschema 0.7 (/usr/lib64/python2.7/site-packages), Requirement.parse('jsonschema>=1.3.0,!=1.4.0'))

  Shall flesh this out later, firstly let's pin the failing sub-folders
  to nova/tests

  Edit to ./nova/tests/image

  /path/to/nova-2013.2. # testr run --parallel

  FAIL: process-returncode
  tags: worker-1
  ----------------------------------------------------------------------
  Binary content:
    traceback (test/plain; charset="utf8")
  Ran 115 (-2889) tests in 4.257s (-62.066s)
  FAILED (id=1, failures=7 (-373))

  More of the Requirement.parse('jsonschema>=1.3.0,!=1.4.0')) 'stuff',
  PLUS

  test_download_module_filesystem_match,
  test_download_module_mountpoints, 
  test_download_module_no_filesystem_match

  yield
  =============================
    File "/usr/lib64/python2.7/site-packages/oslo/config/cfg.py", line 2068, in _get_group
      raise NoSuchGroupError(group_name)
  NoSuchGroupError: no such group: image_file_url

  ............................................

  Edit to ./nova/tests/integrated, and GASP

    traceback (test/plain; charset="utf8")
  Ran 1694 (+1635) tests in 41.188s (+36.932s)
  FAILED (id=2, failures=849 (+842))

  and I believe 849 instances of

  Traceback (most recent call last):
    File "/mnt/gen2/TmpDir/portage/sys-cluster/nova-2013.2-r1/work/nova-2013.2/nova/tests/integrated/v3/test_simple_tenant_*.py", line 29, in setUp
      super(SimpleTenantUsageSampleJsonTest, self).setUp()
    File "/mnt/gen2/TmpDir/portage/sys-cluster/nova-2013.2-r1/work/nova-2013.2/nova/tests/integrated/v3/api_sample_base.py", line 52, in setUp
      super(ApiSampleTestBaseV3, self).setUp()
    File "/mnt/gen2/TmpDir/portage/sys-cluster/nova-2013.2-r1/work/nova-2013.2/nova/tests/integrated/integrated_helpers.py", line 87, in setUp
      self.consoleauth = self.start_service('consoleauth')
    File "/mnt/gen2/TmpDir/portage/sys-cluster/nova-2013.2-r1/work/nova-2013.2/nova/test.py", line 292, in start_service
      svc = self.useFixture(ServiceFixture(name, host, **kwargs))
    File "/usr/lib64/python2.7/site-packages/testtools/testcase.py", line 591, in useFixture
      fixture.setUp()
    File "/mnt/gen2/TmpDir/portage/sys-cluster/nova-2013.2-r1/work/nova-2013.2/nova/test.py", line 175, in setUp
      self.service = service.Service.create(**self.kwargs)
    File "/mnt/gen2/TmpDir/portage/sys-cluster/nova-2013.2-r1/work/nova-2013.2/nova/service.py", line 245, in create
      manager = CONF.get(manager_cls, None)
    File "/usr/lib64/python2.7/_abcoll.py", line 363, in get
      return self[key]
    File "/usr/lib64/python2.7/site-packages/oslo/config/cfg.py", line 1645, in __getitem__
      return self.__getattr__(key)
    File "/usr/lib64/python2.7/site-packages/oslo/config/cfg.py", line 1641, in __getattr__
      raise NoSuchOptError(name)
  NoSuchOptError: no such option: consoleauth_manager

  ouch

  Edit to ./nova/tests/pci

  =============================

    traceback (test/plain; charset="utf8")
  Ran 130 (-294) tests in 3.365s (-5.777s)
  FAILED (id=4, failures=15 (+15))

  with a series of tests culminating in

  Traceback (most recent call last):
    File "/mnt/gen2/TmpDir/portage/sys-cluster/nova-2013.2-r1/work/nova-2013.2/nova/test/pci/test_pci_whitelist.py", line 59, in test_whitelist
      parsed = pci_whitelist.PciHostDevicesWhiteList([white_list])
    File "/mnt/gen2/TmpDir/portage/sys-cluster/nova-2013.2-r1/work/nova-2013.2/nova/pci/pci_whitelist.py", line 100, in __init__
      self.spec = self._parse_white_list_from_config(whitelist_spec)
    File "/mnt/gen2/TmpDir/portage/sys-cluster/nova-2013.2-r1/work/nova-2013.2/nova/pci/pci_whitelist.py", line 82, in _parse_white_list_from_config
      raise exception.PciConfigInvalidWhitelist(reason=str(e))
  PciConfigInvalidWhitelist: Invalid PCI devices Whitelist config {'additionalProperties': False, 'required': ['product_id', 'vendor_id'], 'type': 'object', 'properties': {'vendor_id': {'pattern': '^([\\da-fA-F]{4})$', 'type': 'string'}, 'product_id': {'pattern': '^([\\da-fA-F]{4})$', 'type': 'string'}}} is not of type {u'$ref': u'#'}, u'array'

  the test files were test_pci_whitelist.py & pci/test_pci_request.py.

  All other subfolders of nova/tests come up ok.

  PYTHONPATH=../nova-2013.2-python2_7/lib/ nosetests nova/tests/test_*.py
  comes up ok.

  Ran 492 tests in 20.234s \ \ OK

  which leaves only the other 1150!.!  !!

  Now, observe;

  $ eix dev-python/jsonschema -> Installed versions:  0.7

  which is gentoo speak for the system has jsonschema-0.7 installed

  $ PYTHONPATH=../nova-2013.2-python2_7/lib/ nosetests nova/tests/image/ ->
   Could not load 'file': (jsonschema 0.7 (/usr/lib64/python2.7/site-packages), Requirement.parse('jsonschema>=1.3.0,!=1.4.0'))

  Install 1.3.0, so

  $ eix dev-python/jsonschema -> Installed versions:  1.3.0

  AND

  Could not load 'file': (jsonschema 1.3.0 (/usr/lib64/python2.7/site-
  packages), Requirement.parse('jsonschema>=0.7,<1'))

  doh!.  What a w.... of a test; give it one and it insists it wants the other.
  Please fix them

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