Skip to content

Instantly share code, notes, and snippets.

@razzmatazz
Created April 25, 2014 14:56
Show Gist options
  • Save razzmatazz/11292420 to your computer and use it in GitHub Desktop.
Save razzmatazz/11292420 to your computer and use it in GitHub Desktop.
bob@saulius-175 python-manhole (macosx-support)$ tox -r -e py2.7
GLOB sdist-make: /Users/bob/src/python-manhole/setup.py
py2.7 recreate: /Users/bob/src/python-manhole/.tox/py2.7
py2.7 installdeps: coverage, process-tests, nose
py2.7 inst: /Users/bob/src/python-manhole/.tox/dist/manhole-0.6.0.zip
py2.7 runtests: PYTHONHASHSEED='2324554595'
py2.7 runtests: commands[0] | nosetests test_manhole --with-coverage --cover-inclusive --cover-erase
Killing <process_tests.TestProcess object at 0x103498810> !
E..Killing <process_tests.TestProcess object at 0x1034aed10> !
E.Killing <process_tests.TestProcess object at 0x1034aee10> !
EKilling <process_tests.TestProcess object at 0x1034b7e10> !
EKilling <process_tests.TestProcess object at 0x1034b7dd0> !
EKilling <process_tests.TestProcess object at 0x1034b7f10> !
EKilling <process_tests.TestProcess object at 0x1034c1650> !
EKilling <process_tests.TestProcess object at 0x1034c1750> !
EKilling <process_tests.TestProcess object at 0x1034c15d0> !
EKilling <process_tests.TestProcess object at 0x10366cd90> !
EKilling <process_tests.TestProcess object at 0x10366cbd0> !
EKilling <process_tests.TestProcess object at 0x10366cd10> !
EKilling <process_tests.TestProcess object at 0x10366cc90> !
EKilling <process_tests.TestProcess object at 0x10366cd50> !
EKilling <process_tests.TestProcess object at 0x103676750> !
EKilling <process_tests.TestProcess object at 0x1036767d0> !
EKilling <process_tests.TestProcess object at 0x103676850> !
E
======================================================================
ERROR: test_activate_on_usr2 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 217, in test_activate_on_usr2
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Not patching os.fork and os.forkpty. Activation is done by signal 31
Manhole: Manhole UDS path: /tmp/manhole-6981
Manhole: Waiting for new connection (in pid:6981) ...
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10b98fd00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_exit_with_grace (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 113, in test_exit_with_grace
sock.shutdown(socket.SHUT_RD)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6988, ThreadID=4415537152 #########
File: "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 783, in __bootstrap
self.__bootstrap_inner()
File: "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File: "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/manhole.py", line 187, in run
self.handle(self.client)
File: "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/manhole.py", line 231, in handle
run_repl()
File: "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/manhole.py", line 260, in run_repl
dump_stacktraces()
File: "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/manhole.py", line 379, in dump_stacktraces
for filename, lineno, name, line in traceback.extract_stack(stack):
######### ProcessID=6988, ThreadID=4411330560 #########
File: "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 783, in __bootstrap
self.__bootstrap_inner()
File: "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File: "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/manhole.py", line 162, in run
client.join()
File: "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 949, in join
self.__block.wait()
File: "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 339, in wait
waiter.acquire()
######### ProcessID=6988, ThreadID=140735310521104 #########
File: "/Users/bob/src/python-manhole/tests/test_manhole.py", line 379, in <module>
time.sleep(TIMEOUT * 10)
#############################################
Python 2.7.6 (default, Apr 9 2014, 11:48:52)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> FOOBAR
>>>
******************************
*********** OUTPUT ***********
Manhole: Patched <built-in function fork> and <built-in function forkpty>.
Manhole: Manhole UDS path: /tmp/manhole-6988
Manhole: Waiting for new connection (in pid:6988) ...
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10697ed00> from PID:0 UID:501 GID:12
Manhole: DONE.
Manhole: Cleaned up.
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_interrupt_on_accept (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 273, in test_interrupt_on_accept
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Patched <built-in function fork> and <built-in function forkpty>.
Manhole: Manhole UDS path: /tmp/manhole-6991
Manhole: Waiting for new connection (in pid:6991) ...
Sending signal to manhole thread ...
Got USR2
Manhole: Waiting for new connection (in pid:6991) ...
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x102341d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_oneshot_on_usr2 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 233, in test_oneshot_on_usr2
self.assertManholeRunning(proc, uds_path, oneshot=True)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Not patching os.fork and os.forkpty. Oneshot activation is done by signal 31
Manhole: Manhole UDS path: /tmp/manhole-6994
Manhole: Waiting for new connection (in pid:6994) ...
Manhole: Accepted connection <socket._socketobject object at 0x107545d00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_oneshot_on_usr2_error (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 258, in test_oneshot_on_usr2_error
self.assertManholeRunning(proc, uds_path, oneshot=True, extra=lambda sock: sock.send(b"raise SystemExit()\n"))
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Not patching os.fork and os.forkpty. Oneshot activation is done by signal 31
Manhole: Manhole UDS path: /tmp/manhole-6997
Manhole: Waiting for new connection (in pid:6997) ...
Manhole: Accepted connection <socket._socketobject object at 0x101f92d00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r01 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 22, in test_simple_r01
self.run_simple(1)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10c975d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r02 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 24, in test_simple_r02
self.run_simple(2)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10c959d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r03 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 26, in test_simple_r03
self.run_simple(3)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10fa13d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r04 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 28, in test_simple_r04
self.run_simple(4)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10aedcd00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r05 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 30, in test_simple_r05
self.run_simple(5)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10c7e7c90> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r06 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 32, in test_simple_r06
self.run_simple(6)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x107e0ad00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r07 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 34, in test_simple_r07
self.run_simple(7)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10abc8d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r08 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 36, in test_simple_r08
self.run_simple(8)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10c3f7d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r09 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 38, in test_simple_r09
self.run_simple(9)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x109f76d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_simple_r10 (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 40, in test_simple_r10
self.run_simple(10)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 50, in run_simple
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x102381d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_with_fork (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 129, in test_with_fork
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x105ef2d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: test_with_forkpty (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 150, in test_with_forkpty
self.assertManholeRunning(proc, uds_path)
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 80, in assertManholeRunning
sock.shutdown(socket.SHUT_RDWR)
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 189, in __exit__
self.sock.shutdown(socket.SHUT_RDWR)
File "/usr/local/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 57] Socket is not connected
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10cd50d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
Name Stmts Miss Cover Missing
---------------------------------------------------------
code 128 128 0% 8-310
codeop 47 47 0% 59-168
contextlib 63 63 0% 3-154
ctypes 341 341 0% 4-555
ctypes._endian 35 35 0% 4-64
ctypes.macholib 2 2 0% 4-12
ctypes.macholib.dyld 95 95 0% 4-169
ctypes.macholib.dylib 21 21 0% 4-66
ctypes.macholib.framework 24 24 0% 4-68
ctypes.util 186 186 0% 4-276
manhole 270 175 35% 22-23, 29-30, 42, 48, 57-58, 73, 76, 81-82, 105-110, 125-130, 134-136, 140-148, 151-168, 173-177, 180-187, 191-201, 205-256, 260-261, 271-282, 286-288, 296-300, 305-309, 314-318, 322-323, 333-360, 365-370, 374-385
---------------------------------------------------------
TOTAL 1212 1117 8%
----------------------------------------------------------------------
Ran 20 tests in 71.502s
FAILED (errors=17)
ERROR: InvocationError: '/Users/bob/src/python-manhole/.tox/py2.7/bin/nosetests test_manhole --with-coverage --cover-inclusive --cover-erase'
____________________________________________________________________________________ summary _____________________________________________________________________________________
ERROR: py2.7: commands failed
bob@saulius-175 python-manhole (macosx-support)$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment