← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1182371] Re: “BadStatusLine” error raised when do nova py27 test

 

it caused by http proxy, so we should unset it

** Changed in: nova
       Status: Incomplete => Invalid

-- 
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/1182371

Title:
  “BadStatusLine” error raised  when do nova py27 test

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  “BadStatusLine” error raised  when do nova py27 test, How can we
  workaround this error?

  ======================================================================
  FAIL: nova.tests.test_wsgi.TestWSGIServerWithSSL.test_app_using_ipv6_and_ssl
  tags: worker-7
  ----------------------------------------------------------------------
  Empty attachments:
    stderr
    stdout
   
  pythonlogging:'': {{{
  fake_ssl listening on ::1:47707
  (13199) wsgi starting up on https://::1:47707/
  }}}
   
  Traceback (most recent call last):
    File "/home/stack/jenkins/workspace/gate-nova-python27-pep8/distro/ubuntu12.04-py27/nova/nova/tests/test_wsgi.py", line 215, 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 5891 tests in 141.268s (-52.466s)
  FAILED (id=1, failures=2, skips=12)
  error: testr failed (1)

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