[Bug 1404227] Update Released
Brian Murray
brian at ubuntu.com
Thu Feb 2 22:03:25 UTC 2017
The verification of the Stable Release Update for python-glanceclient
has completed successfully and the package has now been released to
-updates. Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report. In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-glanceclient in Ubuntu.
https://bugs.launchpad.net/bugs/1404227
Title:
Unit test failures due to changes in python 2.7.9+
Status in Glance Client:
Fix Released
Status in python-glanceclient package in Ubuntu:
Fix Released
Status in python-glanceclient source package in Trusty:
Fix Released
Bug description:
py27 develop-inst-nodeps: /home/jamespage/src/upstream/python-glanceclient
py27 runtests: PYTHONHASHSEED='0'
py27 runtests: commands[0] | python setup.py testr --testr-args=
running testr
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests --list
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests --load-list /tmp/tmpGu1hxe
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests --load-list /tmp/tmpGCgXRW
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests --load-list /tmp/tmp8DbbtX
running=${PYTHON:-python} -m subunit.run discover -t ./ ./tests --load-list /tmp/tmp7jX961
======================================================================
FAIL: tests.test_ssl.TestVerifiedHTTPSConnection.test_ssl_broken_key_file
tags: worker-1
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_ssl.py", line 272, in test_ssl_broken_key_file
cert_file=cert_file, cacert=cacert)
File "/home/jamespage/src/upstream/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 420, in assertRaises
self.assertThat(our_callable, matcher)
File "/home/jamespage/src/upstream/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 431, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/home/jamespage/src/upstream/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 481, in _matchHelper
mismatch = matcher.match(matchee)
File "/home/jamespage/src/upstream/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/home/jamespage/src/upstream/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/home/jamespage/src/upstream/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 412, in match
reraise(*matchee)
File "/home/jamespage/src/upstream/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/home/jamespage/src/upstream/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 965, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "glanceclient/common/https.py", line 156, in __init__
cert_file=cert_file)
File "/usr/lib/python2.7/httplib.py", line 1198, in __init__
context.load_cert_chain(cert_file, key_file)
IOError: [Errno 2] No such file or directory
======================================================================
FAIL: tests.test_ssl.TestVerifiedHTTPSConnection.test_ssl_init_bad_cert
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_ssl.py", line 129, in test_ssl_init_bad_cert
cacert=cacert)
File "glanceclient/common/https.py", line 156, in __init__
cert_file=cert_file)
File "/usr/lib/python2.7/httplib.py", line 1198, in __init__
context.load_cert_chain(cert_file, key_file)
IOError: [Errno 2] No such file or directory
======================================================================
FAIL: tests.test_ssl.TestVerifiedHTTPSConnection.test_ssl_init_bad_key
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_ssl.py", line 115, in test_ssl_init_bad_key
cacert=cacert)
File "glanceclient/common/https.py", line 156, in __init__
cert_file=cert_file)
File "/usr/lib/python2.7/httplib.py", line 1198, in __init__
context.load_cert_chain(cert_file, key_file)
SSLError: [SSL] PEM lib (_ssl.c:2525)
======================================================================
FAIL: tests.test_ssl.TestVerifiedHTTPSConnection.test_ssl_init_cert_no_key
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_ssl.py", line 86, in Schema is not a valid JSON object.
No metadata definition namespace passed via stdin or --file argument.
Schema is not a valid JSON object.
Schema is not a valid JSON object.
Property MyProperty not found in object MyObject.
Schema is not a valid JSON object.
Schema is not a valid JSON object.
test_ssl_init_cert_no_key
cacert=cacert)
File "glanceclient/common/https.py", line 156, in __init__
cert_file=cert_file)
File "/usr/lib/python2.7/httplib.py", line 1198, in __init__
context.load_cert_chain(cert_file, key_file)
SSLError: [SSL] PEM lib (_ssl.c:2525)
======================================================================
FAIL: tests.test_ssl.TestVerifiedHTTPSConnection.test_ssl_init_key_no_cert
tags: worker-2
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_ssl.py", line 104, in test_ssl_init_key_no_cert
self.fail('Failed to init VerifiedHTTPSConnection.')
File "/home/jamespage/src/upstream/python-glanceclient/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 666, in fail
raise self.failureException(msg)
AssertionError: Failed to init VerifiedHTTPSConnection.
======================================================================
FAIL: tests.test_ssl.TestVerifiedHTTPSConnection.test_ssl_init_bad_ca
tags: worker-3
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_ssl.py", line 143, in test_ssl_init_bad_ca
cacert=cacert)
File "glanceclient/common/https.py", line 156, in __init__
cert_file=cert_file)
File "/usr/lib/python2.7/httplib.py", line 1198, in __init__
context.load_cert_chain(cert_file, key_file)
SSLError: [SSL] PEM lib (_ssl.c:2525)
Ran 326 tests in 1.520s (+0.566s)
FAILED (id=3, failures=6 (+6))
error: testr failed (1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1404227/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list