← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1158935] Re: TestS3ImageService.test_s3_create_is_public fails on RHEL

 

Reviewed:  https://review.openstack.org/25507
Committed: http://github.com/openstack/nova/commit/eb90ad456e6d2f642f00d55998d3988bd499190e
Submitter: Jenkins
Branch:    milestone-proposed

commit eb90ad456e6d2f642f00d55998d3988bd499190e
Author: Dan Prince <dprince@xxxxxxxxxx>
Date:   Fri Mar 22 15:42:16 2013 -0400

    Reset ec2 image cache between S3 tests.
    
    We recently introduced EC2 image caching in f87fa629.
    
    On some python 2.6 distros I'm now seeing nova.tests.image.test_s3
    failures caused by test ordering issues. Tests appear to reuse
    IDs and this can cause issue if we don't clear the cache in tearDown.
    
    Fixes LP Bug #1158935.
    
    Change-Id: Ifeedaf7a784b787de95d2f36394216cf7c94c5f4
    (cherry picked from commit 12f7d6332a731421d6e2a190ac60828c1cf98910)


** Changed in: nova
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1158935

Title:
  TestS3ImageService.test_s3_create_is_public fails on RHEL

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Seeing the following test failure on RHEL6:

  ======================================================================
  ERROR: nova.tests.image.test_s3.TestS3ImageService.test_s3_create_is_public
  ----------------------------------------------------------------------
  _StringException: Empty attachments:
    pythonlogging:'boto'
    pythonlogging:'nova'
    stderr
    stdout

  Traceback (most recent call last):
    File "/root/nova/nova/tests/image/test_s3.py", line 200, in test_s3_create_is_public
      {'is_public': True}, purge_props=False)
    File "/root/nova/nova/tests/image/fake.py", line 204, in update
      raise exception.ImageNotFound(image_id=image_id)
  ImageNotFound: Image 9988edd4-4e0a-48fc-a143-9761d6089234 could not be found.

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