← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1267326] Re: test_create_backup fails due to unexpected image number

 

** Changed in: glance
       Status: New => 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/1267326

Title:
  test_create_backup fails due to unexpected image number

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

Bug description:
  test_create_backup failed with the following traceback:

  Traceback (most recent call last):
    File "tempest/api/compute/servers/test_server_actions.py", line 298, in test_create_backup
      self.assertEqual(2, len(image_list))
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 324, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in assertThat
      raise MismatchError(matchee, matcher, mismatch, verbose)
  MismatchError: 2 != 3

  This test expects the gotten backup image number should be 2 which is limited with a rotation.
  However, we could get 3 images and the test failed.

  The log are
  * http://logs.openstack.org/65/63365/5/check/check-tempest-dsvm-postgres-full/996c8f9/
  * http://logs.openstack.org/65/63365/5/gate/gate-tempest-dsvm-postgres-full/4880d61/

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