Fragile test: glance.tests.unit.v1.test_api.TestGlanceAPI.test_add_copy_from_image_authorized

Bug #1193531 reported by Mark Washenberger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Medium
Unassigned

Bug Description

From http://logs.openstack.org/34030/2/check/gate-glance-python26/4449/console.html.gz

2013-06-21 19:27:26.230 | ERROR: glance.tests.unit.v1.test_api.TestGlanceAPI.test_add_copy_from_image_authorized
2013-06-21 19:27:26.230 | ----------------------------------------------------------------------
2013-06-21 19:27:26.230 | _StringException: Traceback (most recent call last):
2013-06-21 19:27:26.230 | File "/home/jenkins/workspace/gate-glance-python26/glance/tests/unit/v1/test_api.py", line 548, in test_add_copy_from_image_authorized
2013-06-21 19:27:26.230 | res = req.get_response(self.api)
2013-06-21 19:27:26.230 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/request.py", line 1296, in send
2013-06-21 19:27:26.230 | application, catch_exc_info=False)
2013-06-21 19:27:26.231 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/request.py", line 1260, in call_application
2013-06-21 19:27:26.231 | app_iter = application(self.environ, start_response)
2013-06-21 19:27:26.231 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/dec.py", line 130, in __call__
2013-06-21 19:27:26.231 | resp = self.call_func(req, *args, **self.kwargs)
2013-06-21 19:27:26.231 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/dec.py", line 195, in call_func
2013-06-21 19:27:26.231 | return self.func(req, *args, **kwargs)
2013-06-21 19:27:26.231 | File "/home/jenkins/workspace/gate-glance-python26/glance/common/wsgi.py", line 367, in __call__
2013-06-21 19:27:26.231 | response = req.get_response(self.application)
2013-06-21 19:27:26.231 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/request.py", line 1296, in send
2013-06-21 19:27:26.231 | application, catch_exc_info=False)
2013-06-21 19:27:26.231 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/request.py", line 1260, in call_application
2013-06-21 19:27:26.231 | app_iter = application(self.environ, start_response)
2013-06-21 19:27:26.232 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__
2013-06-21 19:27:26.232 | return resp(environ, start_response)
2013-06-21 19:27:26.232 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/routes/middleware.py", line 131, in __call__
2013-06-21 19:27:26.232 | response = self.app(environ, start_response)
2013-06-21 19:27:26.232 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/dec.py", line 144, in __call__
2013-06-21 19:27:26.232 | return resp(environ, start_response)
2013-06-21 19:27:26.232 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/dec.py", line 130, in __call__
2013-06-21 19:27:26.232 | resp = self.call_func(req, *args, **self.kwargs)
2013-06-21 19:27:26.232 | File "/home/jenkins/workspace/gate-glance-python26/.tox/py26/lib/python2.6/site-packages/webob/dec.py", line 195, in call_func
2013-06-21 19:27:26.232 | return self.func(req, *args, **kwargs)
2013-06-21 19:27:26.232 | File "/home/jenkins/workspace/gate-glance-python26/glance/common/wsgi.py", line 591, in __call__
2013-06-21 19:27:26.232 | request, **action_args)
2013-06-21 19:27:26.232 | File "/home/jenkins/workspace/gate-glance-python26/glance/common/wsgi.py", line 608, in dispatch
2013-06-21 19:27:26.232 | return method(*args, **kwargs)
2013-06-21 19:27:26.233 | File "/home/jenkins/workspace/gate-glance-python26/glance/common/utils.py", line 407, in wrapped
2013-06-21 19:27:26.233 | return func(self, req, *args, **kwargs)
2013-06-21 19:27:26.233 | File "/home/jenkins/workspace/gate-glance-python26/glance/api/v1/images.py", line 593, in create
2013-06-21 19:27:26.233 | location_uri = image_meta.get('location')
2013-06-21 19:27:26.233 | AttributeError: 'NoneType' object has no attribute 'get'

Changed in glance:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Zhi Yan Liu (lzy-dev) wrote :

We don't meet this test failure in jenkins for a long time, so I'm going to close this bug, if you can catch it again pls reopen it as free, thanks.

Changed in glance:
status: Triaged → Invalid
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.