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

Bug #1531988 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Matt Riedemann

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.

Tags: testing mox py34
Matt Riedemann (mriedem)
Changed in nova:
assignee: nobody → Matt Riedemann (mriedem)
status: New → In Progress
importance: Undecided → High
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

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
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

Removal of the bug signature with: https://review.openstack.org/#/c/301810/

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.