我用python27测试quantum,就是日常的unit测试,一直有这个问题,不知道是不是代理引起的,请大虾指导
FAIL: quantum.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_app_using_ipv6_and_ssl
tags: worker-7
----------------------------------------------------------------------
Empty attachments:
stderr
stdout
pythonlogging:'': {{{2013-06-03 09:32:11,481 INFO [eventlet.wsgi.server] (25055) wsgi starting up on https://::1:41556/}}}
Traceback (most recent call last):
File "/home/stack/jenkins/workspace/gate-quantum-python27-pep8/label/desktop/quantum/quantum/tests/unit/test_wsgi.py", line 1111, in test_app_using_ipv6_and_ssl
response = urllib2.urlopen('https://[::1]:%d/' % server.port)
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 418, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1174, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "/usr/lib/python2.7/httplib.py", line 958, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
self.endheaders(body)
File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 1160, in connect
self._tunnel()
File "/usr/lib/python2.7/httplib.py", line 741, in _tunnel
(version, code, message) = response._read_status()
File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
raise BadStatusLine(line)
BadStatusLine: ''
======================================================================
FAIL: process-returncode
tags: worker-7
----------------------------------------------------------------------
Binary content:
traceback (test/plain; charset="utf8")
Ran 5805 (+5) tests in 190.721s (+1.021s)
FAILED (id=1, failures=2, skips=245)
error: testr failed (1)
ERROR: InvocationError: '/home/stack/jenkins/workspace/gate-quantum-python27-pep8/label/yilong-desktop/quantum/.tox/py27/bin/python setup.py testr --slowest --testr-args='
___________________________________ summary ____________________________________
ERROR: py27: commands failed
测试
openstack
quantum
unit test |