yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24472
[Bug 1360235] Re: swift functional tests are broken
** Also affects: glance-store
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1360235
Title:
swift functional tests are broken
Status in OpenStack Image Registry and Delivery Service (Glance):
Confirmed
Status in OpenStack Glance backend store-drivers library (glance_store):
New
Bug description:
Hi,
The following tests are failing in master :
GLANCE_TEST_SWIFT_CONF=/etc/glance/glance-api.conf ./run_tests.sh
glance.tests.functional.store.test_swift.TestSwiftStore;
I believe this commit
https://github.com/openstack/glance/commit/63195aaa3b12e56ae787598e001ac44d62e52865
broke them.
The problem , i believe, is that in glance/store/swift.py the line
SWIFT_STORE_REF_PARAMS = swift_store_utils.SwiftParams().params is
evaluated when the file is imported which is too early for
tests/functional/store/test_swift.py:TestSwiftStore (see method
setUp).
Also
glance.tests.functional.store.test_swift.TestSwiftStore.test_delayed_delete_with_auth
is broken, because of this commit :
https://github.com/openstack/glance/commit/66d24bb1a130902e824ca76cbee1deb6ef564873
Jordan
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1360235/+subscriptions
References