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

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

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

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

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'

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to