← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1158805] Re: glance functional test test_scrubber_with_metadata_enc failing

 

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

** Changed in: glance
    Milestone: None => havana-1

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

Title:
  glance functional test test_scrubber_with_metadata_enc failing

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

Bug description:
  This test is failing if I create a config file which points at at a
  real swift system and specify the config file in the
  GLANCE_TEST_SWIFT_CONF:

  GLANCE_TEST_SWIFT_CONF=./glance-api.conf nosetests -v
  glance/tests/functional/test_scrubber.py

  nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
  nose.plugins.cover: INFO: Coverage report will include only packages: ['glance']
  glance.tests.functional.test_scrubber.TestScrubber.test_delayed_delete ... ok
  glance.tests.functional.test_scrubber.TestScrubber.test_scrubber_app ... ok
  glance.tests.functional.test_scrubber.TestScrubber.test_scrubber_app_against_swift ... ok
  glance.tests.functional.test_scrubber.TestScrubber.test_scrubber_with_metadata_enc ... FAIL

  ======================================================================
  FAIL: glance.tests.functional.test_scrubber.TestScrubber.test_scrubber_with_metadata_enc
  ----------------------------------------------------------------------
  _StringException: Traceback (most recent call last):
    File "/home/jenkins/QA_Automated_Tests_DEVQA2_master/workspace/DevQA_Glance_RnDA_Functional_Tests/glance/tests/functional/test_scrubber.py", line 291, in test_scrubber_with_metadata_enc
      self.assertEqual("swift+http", loc.scheme)
  MismatchError: 'swift+http' != 'swift+https'

  
  ----------------------------------------------------------------------
  Ran 4 tests in 52.483s

  FAILED (failures=1)

  The swift system I am using uses https.

  The problem is this line:

  self.assertEqual("swift+http", loc.scheme)

  As is it doesn't allow for https.

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