← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1531988] Re: py34 tests that use the stubbed out fake image service race fail a lot

 

This doesn't have any hit anymore in logstash. I close this bug report
and remove the bug signature in elastic-recheck.

** Changed in: nova
       Status: In Progress => Fix Released

-- 
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/1531988

Title:
  py34 tests that use the stubbed out fake image service race fail a lot

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Failures like this:

  http://logs.openstack.org/26/224726/16/gate/gate-nova-
  python34/1dda5ee/console.html#_2016-01-07_18_17_49_116

  2016-01-07 18:17:49.115 | nova.tests.unit.virt.vmwareapi.test_configdrive.ConfigDriveTestCase.test_create_vm_without_config_drive
  2016-01-07 18:17:49.115 | -------------------------------------------------------------------------------------------------------
  2016-01-07 18:17:49.115 | 
  2016-01-07 18:17:49.115 | Captured traceback:
  2016-01-07 18:17:49.115 | ~~~~~~~~~~~~~~~~~~~
  2016-01-07 18:17:49.115 |     b'Traceback (most recent call last):'
  2016-01-07 18:17:49.115 |     b'  File "/home/jenkins/workspace/gate-nova-python34/.tox/py34/lib/python3.4/site-packages/mock/mock.py", line 1305, in patched'
  2016-01-07 18:17:49.115 |     b'    return func(*args, **keywargs)'
  2016-01-07 18:17:49.115 |     b'  File "/home/jenkins/workspace/gate-nova-python34/nova/tests/unit/virt/vmwareapi/test_configdrive.py", line 89, in setUp'
  2016-01-07 18:17:49.116 |     b'    metadata = image_service.show(context, image_id)'
  2016-01-07 18:17:49.116 |     b'  File "/home/jenkins/workspace/gate-nova-python34/nova/tests/unit/image/fake.py", line 184, in show'
  2016-01-07 18:17:49.116 |     b'    raise exception.ImageNotFound(image_id=image_id)'
  2016-01-07 18:17:49.116 |     b'nova.exception.ImageNotFound: Image 70a599e0-31e7-49b7-b260-868f441e862b could not be found.'
  2016-01-07 18:17:49.116 |     b''
  2016-01-07 18:17:49.116 | 
  2016-01-07 18:17:49.116 | Captured pythonlogging:
  2016-01-07 18:17:49.116 | ~~~~~~~~~~~~~~~~~~~~~~~
  2016-01-07 18:17:49.116 |     b'2016-01-07 18:02:26,578 INFO [oslo_vmware.api] Successfully established new session; session ID is 3818e.'
  2016-01-07 18:17:49.116 |     b'2016-01-07 18:02:26,579 INFO [nova.virt.vmwareapi.driver] VMware vCenter version: 5.1.0'
  2016-01-07 18:17:49.116 |     b'2016-01-07 18:02:26,587 WARNING [nova.tests.unit.image.fake] Unable to find image id 70a599e0-31e7-49b7-b260-868f441e862b.  Have images: {}'
  2016-01-07 18:17:49.116 |     b''

  Have been showing up a lot recently in the py34 job for nova:

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22b'%20%20%20%20raise%20exception.ImageNotFound(image_id%3Dimage_id)'%5C%22%20AND%20tags%3A%5C%22console%5C%22%20AND%20build_name%3A%5C
  %22gate-nova-python34%5C%22

  A lot of them were in the vmwareapi driver tests which dims
  blacklisted for py34 yesterday:

  https://review.openstack.org/#/c/264368/

  But we're still hitting them.

  I have a change up to stop using the stubs.Set (mox) calls with the
  fake image service stub out code here:

  https://review.openstack.org/#/c/264393/

  This bug is for tracking those failures in elastic-recheck so we can
  get them off the uncategorized bugs page.

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


References