quantum tests failed

Bug #931333 reported by Yaguang Tang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Undecided
Unassigned

Bug Description

when run run_test.sh,the fllowing stacktrack
ERROR: Failure: AttributeError ('module' object has no attribute 'NotImplementedError')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/nose/loader.py", line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/usr/lib/pymodules/python2.7/nose/importer.py", line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/usr/lib/pymodules/python2.7/nose/importer.py", line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/local/sws/quantum/quantum/tests/unit/test_database.py", line 26, in <module>
    from quantum.db import api as db
  File "/usr/local/sws/quantum/quantum/db/api.py", line 25, in <module>
    from quantum.api.api_common import OperationalStatus
  File "/usr/local/sws/quantum/quantum/api/__init__.py", line 28, in <module>
    from quantum.api import attachments
  File "/usr/local/sws/quantum/quantum/api/attachments.py", line 18, in <module>
    from quantum.api import api_common as common
  File "/usr/local/sws/quantum/quantum/api/api_common.py", line 23, in <module>
    from quantum.api import faults
  File "/usr/local/sws/quantum/quantum/api/faults.py", line 85, in <module>
    class Quantum10HTTPError(webob.exc.HTTPClientError):
  File "/usr/local/sws/quantum/quantum/api/faults.py", line 121, in Quantum10HTTPError
    'explanation': _NOTIMPLEMENTED_EXPL
AttributeError: 'module' object has no attribute 'NotImplementedError'

Revision history for this message
Salvatore Orlando (salvatore-orlando) wrote :

Hi Yaguang,

I've just tried out code from master branch and could not reproduce the issue you found.
From the stack trace it seems that the class NotImplementedErrror in quantum.common.exceptions does not exist.
Can you check whether you have the most recent code for python-quantumclient, as the NotImplementedErrorClass is in that package.

We are aware that the client-server split introduced a possibly unwanted dependency of quantum on python-quantumclient, and are already working to improve things.

Revision history for this message
Maru Newby (maru) wrote :

Marking as 'Invalid', as the bug cannot be reproduced against trunk.

Changed in quantum:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.