← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1242898] Re: tearDownClass (tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML): tearDownClass does not call the super's tearDownClass

 

Is currently passing tests now that several items have been changed
since this report was filed.

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1242898

Title:
  tearDownClass
  (tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML):
  tearDownClass does not call the super's tearDownClass

Status in OpenStack Neutron (virtual network service):
  Invalid
Status in Tempest:
  Invalid

Bug description:
  From http://logs.openstack.org/32/47432/16/check/check-tempest-
  devstack-vm-neutron-pg-isolated/c2a0dd3/console.html

  ...

  tearDownClass
  (tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML)
  ... FAIL

  ...

  2013-10-21 19:17:53.068 | Error in atexit._run_exitfuncs:
  2013-10-21 19:17:53.068 | Traceback (most recent call last):
  2013-10-21 19:17:53.068 |   File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
  2013-10-21 19:17:53.069 |     func(*targs, **kargs)
  2013-10-21 19:17:53.069 |   File "tempest/test.py", line 167, in validate_tearDownClass
  2013-10-21 19:17:53.069 |     + str(at_exit_set))
  2013-10-21 19:17:53.069 | RuntimeError: tearDownClass does not calls the super's tearDownClass in these classes: set([<class 'tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML'>])
  2013-10-21 19:17:53.070 | Error in sys.exitfunc:
  2013-10-21 19:17:53.221 | 
  2013-10-21 19:17:53.221 | process-returncode
  2013-10-21 19:17:53.221 | process-returncode ... FAIL
  2013-10-21 19:17:53.614 | 
  2013-10-21 19:17:53.614 | ======================================================================
  2013-10-21 19:17:53.614 | FAIL: tearDownClass (tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML)
  2013-10-21 19:17:53.614 | tearDownClass (tempest.api.compute.servers.test_server_rescue.ServerRescueTestXML)
  2013-10-21 19:17:53.614 | ----------------------------------------------------------------------
  2013-10-21 19:17:53.614 | _StringException: Traceback (most recent call last):
  2013-10-21 19:17:53.615 |   File "tempest/api/compute/servers/test_server_rescue.py", line 95, in tearDownClass
  2013-10-21 19:17:53.615 |     super(ServerRescueTestJSON, cls).tearDownClass()
  2013-10-21 19:17:53.615 |   File "tempest/api/compute/base.py", line 132, in tearDownClass
  2013-10-21 19:17:53.615 |     cls.isolated_creds.clear_isolated_creds()
  2013-10-21 19:17:53.615 |   File "tempest/common/isolated_creds.py", line 453, in clear_isolated_creds
  2013-10-21 19:17:53.615 |     self._clear_isolated_net_resources()
  2013-10-21 19:17:53.615 |   File "tempest/common/isolated_creds.py", line 445, in _clear_isolated_net_resources
  2013-10-21 19:17:53.616 |     self._clear_isolated_network(network['id'], network['name'])
  2013-10-21 19:17:53.616 |   File "tempest/common/isolated_creds.py", line 399, in _clear_isolated_network
  2013-10-21 19:17:53.616 |     net_client.delete_network(network_id)
  2013-10-21 19:17:53.616 |   File "tempest/services/network/json/network_client.py", line 76, in delete_network
  2013-10-21 19:17:53.616 |     resp, body = self.delete(uri, self.headers)
  2013-10-21 19:17:53.616 |   File "tempest/common/rest_client.py", line 308, in delete
  2013-10-21 19:17:53.617 |     return self.request('DELETE', url, headers)
  2013-10-21 19:17:53.617 |   File "tempest/common/rest_client.py", line 436, in request
  2013-10-21 19:17:53.617 |     resp, resp_body)
  2013-10-21 19:17:53.617 |   File "tempest/common/rest_client.py", line 522, in _error_checker
  2013-10-21 19:17:53.617 |     raise exceptions.ServerFault(message)
  2013-10-21 19:17:53.617 | ServerFault: Got server fault
  2013-10-21 19:17:53.617 | Details: {"NeutronError": "Request Failed: internal server error while processing your request."}
  2013-10-21 19:17:53.618 | 
  2013-10-21 19:17:53.618 | 
  2013-10-21 19:17:53.618 | ======================================================================
  2013-10-21 19:17:53.618 | FAIL: process-returncode
  2013-10-21 19:17:53.619 | process-returncode
  2013-10-21 19:17:53.619 | ----------------------------------------------------------------------
  2013-10-21 19:17:53.619 | _StringException: Binary content:
  2013-10-21 19:17:53.619 |   traceback (test/plain; charset="utf8")
  2013-10-21 19:17:53.619 | 
  2013-10-21 19:17:53.619 | 
  2013-10-21 19:17:53.620 | ----------------------------------------------------------------------
  2013-10-21 19:17:53.620 | Ran 237 tests in 914.828s
  2013-10-21 19:17:53.637 | 
  2013-10-21 19:17:53.638 | FAILED (failures=2, skipped=8)

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