[Bug 1174630] [NEW] Unable to run Tempest against Grizzly due to out-of-date python-testtools.

vlowther 1174630 at bugs.launchpad.net
Tue Apr 30 06:55:52 UTC 2013


Public bug reported:

http://ubuntu-cloud.archive.canonical.com/ubuntu precise-updates/grizzly
packages version 0.9.24 of python-testtools, but Tempest for Grizzly (at
https://github.com/openstack/tempest/tarball/stable/grizzly.tar.gz)
requires at least version 0.9.29.  As a result, all of the Tempest test
runs fail with the following stack trace from Python:

 ======================================================================
ERROR: Failure: AttributeError ('module' object has no attribute 'WithAttributes')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/opt/tempest/tempest/tests/volume/admin/test_volume_types_negative.py", line 22, in <module>
    from tempest.tests.volume import base
  File "/opt/tempest/tempest/tests/volume/base.py", line 24, in <module>
    import tempest.test
  File "/opt/tempest/tempest/test.py", line 52, in <module>
    testtools.testcase.WithAttributes,
AttributeError: 'module' object has no attribute 'WithAttributes'

** Affects: python-testtools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-testtools in Ubuntu.
https://bugs.launchpad.net/bugs/1174630

Title:
  Unable to run Tempest against Grizzly due to out-of-date python-
  testtools.

Status in “python-testtools” package in Ubuntu:
  New

Bug description:
  http://ubuntu-cloud.archive.canonical.com/ubuntu precise-
  updates/grizzly packages version 0.9.24 of python-testtools, but
  Tempest for Grizzly (at
  https://github.com/openstack/tempest/tarball/stable/grizzly.tar.gz)
  requires at least version 0.9.29.  As a result, all of the Tempest
  test runs fail with the following stack trace from Python:

   ======================================================================
  ERROR: Failure: AttributeError ('module' object has no attribute 'WithAttributes')
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/nose/loader.py", line 390, in loadTestsFromName
      addr.filename, addr.module)
    File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 39, in importFromPath
      return self.importFromDir(dir_path, fqname)
    File "/usr/lib/python2.7/dist-packages/nose/importer.py", line 86, in importFromDir
      mod = load_module(part_fqname, fh, filename, desc)
    File "/opt/tempest/tempest/tests/volume/admin/test_volume_types_negative.py", line 22, in <module>
      from tempest.tests.volume import base
    File "/opt/tempest/tempest/tests/volume/base.py", line 24, in <module>
      import tempest.test
    File "/opt/tempest/tempest/test.py", line 52, in <module>
      testtools.testcase.WithAttributes,
  AttributeError: 'module' object has no attribute 'WithAttributes'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-testtools/+bug/1174630/+subscriptions




More information about the foundations-bugs mailing list