← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1047695] Re: Fragile Test: glance.tests.functional.v1.test_api:TestApi.test_zero_initial_size

 

I have not seen this fail since some of the recent test enhancements
have been made.

** 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/1047695

Title:
  Fragile Test:
  glance.tests.functional.v1.test_api:TestApi.test_zero_initial_size

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

Bug description:
  As seen in http://logs.openstack.org/12465/4/check/gate-glance-
  python27/1801/console.html:

  
  20:56:15  ======================================================================
  20:56:15  FAIL: A test to ensure that an image with size explicitly set to zero
  20:56:15  ----------------------------------------------------------------------
  20:56:15  Traceback (most recent call last):
  20:56:15    File "/home/jenkins/workspace/gate-glance-python27/glance/tests/utils.py", line 178, in wrapped
  20:56:15      func(*a, **kwargs)
  20:56:15    File "/home/jenkins/workspace/gate-glance-python27/glance/tests/functional/v1/test_api.py", line 493, in test_zero_initial_size
  20:56:15      self.assertEqual(response.status, 201)
  20:56:15  AssertionError: 404 != 201
  20:56:15      '404 != 201' = '%s != %s' % (safe_repr(404), safe_repr(201))
  20:56:15      '404 != 201' = self._formatMessage('404 != 201', '404 != 201')
  20:56:15  >>  raise self.failureException('404 != 201')

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