Issue #1315 new

test_HTTP11_pipelining nose.proxy.BadStatusLine: ''

Mike Gilbert
created an issue

This seems to happen randomly with python3.3 and python3.4.

======================================================================
ERROR: test_HTTP11_pipelining (cherrypy.test.test_conn.PipelineTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/floppym/src/cherrypy/cherrypy/test/test_conn.py", line 432, in test_HTTP11_pipelining
    response.begin()
  File "/usr/lib64/python3.3/http/client.py", line 358, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python3.3/http/client.py", line 328, in _read_status
    raise BadStatusLine(line)
nose.proxy.BadStatusLine: ''
-------------------- >> begin captured logging << --------------------
cherrypy.access.140468382781008: INFO: 127.0.0.1 - - [03/May/2014:12:46:00] "GET /hello HTTP/1.1" 200 13 "" ""
cherrypy.access.140468382781008: INFO: 127.0.0.1 - - [03/May/2014:12:46:00] "GET /hello HTTP/1.1" 200 13 "" ""
cherrypy.access.140468382781008: INFO: 127.0.0.1 - - [03/May/2014:12:46:00] "GET /hello HTTP/1.1" 200 13 "" ""
cherrypy.access.140468382781008: INFO: 127.0.0.1 - - [03/May/2014:12:46:00] "GET /hello HTTP/1.1" 200 13 "" ""
cherrypy.access.140468382781008: INFO: 127.0.0.1 - - [03/May/2014:12:46:00] "GET /hello HTTP/1.1" 200 13 "" ""
cherrypy.access.140468382781008: INFO: 127.0.0.1 - - [03/May/2014:12:46:00] "GET /hello HTTP/1.1" 200 13 "" ""
--------------------- >> end captured logging << ---------------------

Comments (2)

  1. idella5

    this appears to be a nose issue. running under nose-1.3.3 yields;

    ~/cvsPortage/gentoo-x86/dev-python/cherrypy $ grep test_HTTP11_pipelining /mnt/gen2/TmpDir/portage/dev-python/cherrypy-3.3.0/temp/build.log test_HTTP11_pipelining (cherrypy.test.test_conn.PipelineTests) ... ok

    for both py3.3 and py3.4.

  2. Barry Warsaw

    I'm not sure it's a nose problem. I'm seeing this too in my Debian package tests

    ======================================================================
    ERROR: test_HTTP11_pipelining (cherrypy.test.test_conn.PipelineTests)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/adt-run.VKFi2I/dsc0-build/cherrypy3-3.5.0/cherrypy/test/test_conn.py", line 444, in test_HTTP11_pipelining
        response.begin()
      File "/usr/lib/python3.4/http/client.py", line 351, in begin
        version, status, reason = self._read_status()
      File "/usr/lib/python3.4/http/client.py", line 321, in _read_status
        raise BadStatusLine(line)
    nose.proxy.BadStatusLine: ''
    

    CherryPy 3.5.0 and nose 1.3.3.

  3. Log in to comment