I guess, you cannot run tempest for now on Ubuntu till canonical updates
library.
-----Original Message-----
From: crowbar-bounces On Behalf Of Ralf Haferkamp
Sent: Wednesday, June 12, 2013 11:24 AM
To: crowbar
Subject: Re: [Crowbar] Is the tempest smoketest supposed to work?
On Wed, Jun 12, 2013 at 04:55:08PM +0200, Ralf Haferkamp wrote:
> Hi,
>
[..]
> After "fixing" that. All smoketest up to tempest were executed successfully.
> The tempest test however completely failed. It just repeatedly logged
> something like this for all testcases:
> ======================================================================
> 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/test_volumes_snapshots.py",
> line 15, 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'
>
> Is this a know problem? It seem completely unrelated to any of the
> above pull requests.
I am pretty sure now that this is a problem with the tempest barclamp.
Upgrading python's testtools to the latest release manually on the tempest node
actually fixed the problem for me. It seems that tempest nowadays requires
testtools >= 0.9.30.
See also:
https://bugs.launchpad.net/ubuntu/+source/python-testtools/+bug/1174630
--
regards,
Ralf
_______________________________________________
Crowbar mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/
_______________________________________________
Crowbar mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/