Skip to content

test_2_KeyboardInterrupt failing on Python 3.5 #1406

Description

Originally reported by: Jason R. Coombs (Bitbucket: jaraco, GitHub: jaraco)


======================================================================
ERROR: test_2_KeyboardInterrupt (cherrypy.test.test_states.ServerStateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jaraco/Dropbox/code/public/cherrypy/cherrypy/test/test_states.py", line 209, in test_2_KeyboardInterrupt
    self.getPage("/ctrlc")
  File "/Users/jaraco/Dropbox/code/public/cherrypy/cherrypy/test/helper.py", line 349, in getPage
    protocol)
  File "/Users/jaraco/Dropbox/code/public/cherrypy/cherrypy/test/webtest.py", line 255, in getPage
    self.HTTP_CONN, protocol or self.PROTOCOL)
  File "/Users/jaraco/Dropbox/code/public/cherrypy/cherrypy/test/webtest.py", line 558, in openURL
    conn.endheaders()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 1079, in endheaders
    self._send_output(message_body)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 911, in _send_output
    self.send(msg)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 854, in send
    self.connect()
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/http/client.py", line 826, in connect
    (self.host,self.port), self.timeout, self.source_address)
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/socket.py", line 711, in create_connection
    raise err
  File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/socket.py", line 702, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused
-------------------- >> begin captured logging << --------------------
cherrypy.error: INFO: [06/Feb/2016:08:17:31] ENGINE Bus STARTING
cherrypy.error: INFO: [06/Feb/2016:08:17:31] ENGINE Started monitor thread 'Session cleanup'.
cherrypy.error: INFO: [06/Feb/2016:08:17:31] ENGINE Started monitor thread '_TimeoutMonitor'.
cherrypy.error: INFO: [06/Feb/2016:08:17:32] ENGINE Serving on http://127.0.0.1:54583
cherrypy.error: INFO: [06/Feb/2016:08:17:32] ENGINE Bus STARTED
cherrypy.error: INFO: [06/Feb/2016:08:17:32] ENGINE Already serving on http://127.0.0.1:54583
cherrypy.access.4400260936: INFO: 127.0.0.1 - - [06/Feb/2016:08:17:32] "GET / HTTP/1.1" 200 11 "" ""
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE <Ctrl-C> hit: shutting down HTTP server
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus STOPPING
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 54583)) shut down
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Stopped thread '_TimeoutMonitor'.
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Stopped thread 'Session cleanup'.
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus STOPPED
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus EXITING
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus EXITED
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Waiting for child threads to terminate...
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus STARTING
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Started monitor thread 'Session cleanup'.
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Started monitor thread '_TimeoutMonitor'.
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Serving on http://127.0.0.1:54583
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus STARTED
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Already serving on http://127.0.0.1:54583
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE <Ctrl-C> hit: shutting down HTTP server
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus STOPPING
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('127.0.0.1', 54583)) shut down
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Stopped thread '_TimeoutMonitor'.
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Stopped thread 'Session cleanup'.
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus STOPPED
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus EXITING
cherrypy.error: INFO: [06/Feb/2016:08:17:33] ENGINE Bus EXITED
--------------------- >> end captured logging << ---------------------

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions