← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1351124] Re: py26 Unit test failure: nova.tests.integrated.test_api_samples.AdminActionsSamplesXmlTest.test_post_unlock_server

 

** Changed in: nova
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1351124

Title:
  py26 Unit test failure:
  nova.tests.integrated.test_api_samples.AdminActionsSamplesXmlTest.test_post_unlock_server

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  jenkins py26 unit test failed:

  2014-07-31 12:12:40.050 | Traceback (most recent call last):
  2014-07-31 12:12:40.050 |   File "nova/tests/integrated/test_api_samples.py", line 103, in setUp
  2014-07-31 12:12:40.050 |     super(ApiSampleTestBaseV2, self).setUp()
  2014-07-31 12:12:40.050 |   File "nova/tests/integrated/integrated_helpers.py", line 67, in setUp
  2014-07-31 12:12:40.050 |     super(_IntegratedTestBase, self).setUp()
  2014-07-31 12:12:40.050 |   File "nova/tests/virt/baremetal/db/base.py", line 49, in setUp
  2014-07-31 12:12:40.051 |     sqlite_clean_db=None)
  2014-07-31 12:12:40.200 |   File "nova/test.py", line 98, in __init__
  2014-07-31 12:12:40.200 |     if db_migrate.db_version() > db_migrate.db_initial_version():
  2014-07-31 12:12:40.200 |   File "nova/virt/baremetal/db/migration.py", line 35, in db_version
  2014-07-31 12:12:40.200 |     return IMPL.db_version()
  2014-07-31 12:12:40.200 |   File "nova/utils.py", line 426, in __getattr__
  2014-07-31 12:12:40.201 |     backend = self.__get_backend()
  2014-07-31 12:12:40.201 |   File "nova/utils.py", line 422, in __get_backend
  2014-07-31 12:12:40.201 |     self.__backend = __import__(name, None, None, fromlist)
  2014-07-31 12:12:40.201 | ImportError: No module named migration
  2014-07-31 12:12:40.201 | ======================================================================
  2014-07-31 12:12:40.201 | FAIL: nova.tests.integrated.test_api_samples.BareMetalNodesXmlTest.test_delete_node
  2014-07-31 12:12:40.201 | tags: worker-3
  2014-07-31 12:12:40.201 | ----------------------------------------------------------------------
  2014-07-31 12:12:40.201 | Empty attachments:
  2014-07-31 12:12:40.201 |   pythonlogging:''
  2014-07-31 12:12:40.201 |   stderr
  2014-07-31 12:12:40.202 |   stdout
  2014-07-31 12:12:40.202 | 
  2014-07-31 12:12:40.202 | Traceback (most recent call last):
  2014-07-31 12:12:40.202 |   File "nova/tests/integrated/test_api_samples.py", line 103, in setUp
  2014-07-31 12:12:40.202 |     super(ApiSampleTestBaseV2, self).setUp()
  2014-07-31 12:12:40.202 |   File "nova/tests/integrated/integrated_helpers.py", line 67, in setUp
  2014-07-31 12:12:40.202 |     super(_IntegratedTestBase, self).setUp()
  2014-07-31 12:12:40.202 |   File "nova/tests/virt/baremetal/db/base.py", line 49, in setUp
  2014-07-31 12:12:40.202 |     sqlite_clean_db=None)
  2014-07-31 12:12:40.202 |   File "nova/test.py", line 98, in __init__
  2014-07-31 12:12:40.202 |     if db_migrate.db_version() > db_migrate.db_initial_version():
  2014-07-31 12:12:40.202 |   File "nova/virt/baremetal/db/migration.py", line 35, in db_version
  2014-07-31 12:12:40.203 |     return IMPL.db_version()
  2014-07-31 12:12:40.203 |   File "nova/utils.py", line 426, in __getattr__
  2014-07-31 12:12:40.203 |     backend = self.__get_backend()
  2014-07-31 12:12:40.203 |   File "nova/utils.py", line 422, in __get_backend
  2014-07-31 12:12:40.203 |     self.__backend = __import__(name, None, None, fromlist)
  2014-07-31 12:12:40.203 | ImportError: No module named migration
  2014-07-31 12:12:40.203 | ======================================================================
  2014-07-31 12:12:40.203 | FAIL: nova.tests.integrated.test_api_samples.BareMetalNodesXmlTest.test_show_node

  
  2014-07-31 12:12:40.046 | Traceback (most recent call last):
  2014-07-31 12:12:40.046 |   File "nova/tests/integrated/test_api_samples.py", line 3818, in test_show_interfaces
  2014-07-31 12:12:40.046 |     instance_uuid = self._post_server()
  2014-07-31 12:12:40.046 |   File "nova/tests/integrated/test_api_samples.py", line 180, in _post_server
  2014-07-31 12:12:40.046 |     response = self._do_post('servers', 'server-post-req', subs)
  2014-07-31 12:12:40.046 |   File "nova/tests/integrated/api_samples_test_base.py", line 312, in _do_post
  2014-07-31 12:12:40.046 |     body = self._read_template(name) % subs
  2014-07-31 12:12:40.046 |   File "nova/tests/integrated/api_samples_test_base.py", line 101, in _read_template
  2014-07-31 12:12:40.047 |     with open(template) as inf:
  2014-07-31 12:12:40.047 | IOError: [Errno 2] No such file or directory: '/home/jenkins/workspace/gate-nova-python26/CA/nova/tests/integrated/api_samples/os-attach-interfaces/server-post-req.xml.tpl'
  2014-07-31 12:12:40.047 | ======================================================================
  2014-07-31 12:12:40.047 | FAIL: nova.tests.integrated.test_api_samples.BareMetalExtStatusJsonTest.test_create_node_with_address
  2014-07-31 12:12:40.047 | tags: worker-3

  below is the log :
  http://logs.openstack.org/21/110921/2/check/gate-nova-python26/2b0be77/console.html

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


References