BuildException errors in 3 test cases

Bug #905562 reported by Jay Pipes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
In Progress
Medium
Jay Pipes

Bug Description

Running on trunk devstack and tempest, doing:

nosetests tempest

I get these errors every time:

..............E....EE..................
======================================================================
ERROR: test suite for <class 'tempest.tests.test_list_servers.ServerDetailsTest'>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/nose/suite.py", line 208, in run
    self.setUp()
  File "/usr/lib/pymodules/python2.7/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
  File "/usr/lib/pymodules/python2.7/nose/suite.py", line 314, in setupContext
    try_run(context, names)
  File "/usr/lib/pymodules/python2.7/nose/util.py", line 478, in try_run
    return func()
  File "/home/jpipes/repos/tempest/tempest/tests/test_list_servers.py", line 21, in setUpClass
    cls.client.wait_for_server_status(server['id'], 'ACTIVE')
  File "/home/jpipes/repos/tempest/tempest/services/nova/json/servers_client.py", line 144, in wait_for_server_status
    raise exceptions.BuildErrorException
BuildErrorException

======================================================================
ERROR: The server's RAM and disk space should be modified to that of
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jpipes/repos/tempest/tempest/tests/test_server_actions.py", line 94, in test_resize_server_confirm
    self.client.wait_for_server_status(self.server_id, 'VERIFY_RESIZE')
  File "/home/jpipes/repos/tempest/tempest/services/nova/json/servers_client.py", line 144, in wait_for_server_status
    raise exceptions.BuildErrorException
BuildErrorException

======================================================================
ERROR: The server's RAM and disk space should return to its original
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/jpipes/repos/tempest/tempest/tests/test_server_actions.py", line 112, in test_resize_server_revert
    self.client.wait_for_server_status(self.server_id, 'VERIFY_RESIZE')
  File "/home/jpipes/repos/tempest/tempest/services/nova/json/servers_client.py", line 144, in wait_for_server_status
    raise exceptions.BuildErrorException
BuildErrorException

At a minimum, BuildErrorException should have some diagnostic information about what caused the build to fail...

Revision history for this message
Daryl Walleck (dwalleck) wrote :

BuildErrorException means the server went from the BUILD -> ERROR status. I'm making a change here locally to include the UUID of the failed server in the error message. The fact that the servers themselves are going into an error state points to an environmental problem.

Revision history for this message
Jay Pipes (jaypipes) wrote :

Yes, the environmental problem was that image_ref_alt=4 is wrong for UUID identifiers, and the code in setUpClass() was failing in test_list_servers.py, but the error was being hidden... anyway, I won't have a chance to get the fix done (sitting in an airport right now going on holiday), so I'll wait on your code to hit...

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.