Skip to content

Instantly share code, notes, and snippets.

@razzmatazz
Created April 25, 2014 14:31
Show Gist options
  • Save razzmatazz/11291569 to your computer and use it in GitHub Desktop.
Save razzmatazz/11291569 to your computer and use it in GitHub Desktop.
bob@saulius-175 python-manhole (macosx-support)$ tox -e py2.7
GLOB sdist-make: /Users/bob/src/python-manhole/setup.py
py2.7 create: /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='3978462657'
py2.7 runtests: commands[0] | nosetests test_manhole --with-coverage --cover-inclusive --cover-erase
Killing <process_tests.TestProcess object at 0x10ece2890> !
F..Killing <process_tests.TestProcess object at 0x10ecf14d0> !
F.Killing <process_tests.TestProcess object at 0x10ecf1610> !
FKilling <process_tests.TestProcess object at 0x10ecfb310> !
FKilling <process_tests.TestProcess object at 0x10ecfb2d0> !
FKilling <process_tests.TestProcess object at 0x10ecfb410> !
FKilling <process_tests.TestProcess object at 0x10ecfbcd0> !
FKilling <process_tests.TestProcess object at 0x10ecfbdd0> !
FKilling <process_tests.TestProcess object at 0x10ecfbc50> !
FKilling <process_tests.TestProcess object at 0x10ed0e450> !
FKilling <process_tests.TestProcess object at 0x10ed0e350> !
FKilling <process_tests.TestProcess object at 0x10ed0e290> !
FKilling <process_tests.TestProcess object at 0x10ed0e410> !
FKilling <process_tests.TestProcess object at 0x10ed0e3d0> !
FKilling <process_tests.TestProcess object at 0x10ed0edd0> !
FKilling <process_tests.TestProcess object at 0x10ed0ee50> !
FKilling <process_tests.TestProcess object at 0x10ed0eed0> !
F
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6313, ThreadID=4506882048 #########
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=6313, ThreadID=4502675456 #########
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=6313, ThreadID=140735310521104 #########
File: "/Users/bob/src/python-manhole/tests/test_manhole.py", line 310, in <module>
time.sleep(0.1)
#############################################
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: Not patching os.fork and os.forkpty. Activation is done by signal 31
Manhole: Manhole UDS path: /tmp/manhole-6313
Manhole: Waiting for new connection (in pid:6313) ...
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10be27d00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: test_exit_with_grace (test_manhole.ManholeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/bob/src/python-manhole/tests/test_manhole.py", line 108, in test_exit_with_grace
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6318, ThreadID=4486909952 #########
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=6318, ThreadID=4482703360 #########
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=6318, 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-6318
Manhole: Waiting for new connection (in pid:6318) ...
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10ab1bd00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6321, ThreadID=4391477248 #########
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=6321, ThreadID=4387270656 #########
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=6321, ThreadID=140735310521104 #########
File: "/Users/bob/src/python-manhole/tests/test_manhole.py", line 337, in <module>
time.sleep(0.1)
#############################################
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
>>> Got USR2
******************************
*********** OUTPUT ***********
Manhole: Patched <built-in function fork> and <built-in function forkpty>.
Manhole: Manhole UDS path: /tmp/manhole-6321
Manhole: Waiting for new connection (in pid:6321) ...
Sending signal to manhole thread ...
Manhole: Waiting for new connection (in pid:6321) ...
Manhole: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x105018c90> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6324, ThreadID=140735310521104 #########
File: "/Users/bob/src/python-manhole/tests/test_manhole.py", line 341, in <module>
time.sleep(0.1)
File: "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/manhole.py", line 276, in _handle_oneshot
ManholeConnection.handle(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):
#############################################
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: Not patching os.fork and os.forkpty. Oneshot activation is done by signal 31
Manhole: Manhole UDS path: /tmp/manhole-6324
Manhole: Waiting for new connection (in pid:6324) ...
Manhole: Accepted connection <socket._socketobject object at 0x10f3f3d00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6330, ThreadID=140735310521104 #########
File: "/Users/bob/src/python-manhole/tests/test_manhole.py", line 341, in <module>
time.sleep(0.1)
File: "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/manhole.py", line 276, in _handle_oneshot
ManholeConnection.handle(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):
#############################################
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: Not patching os.fork and os.forkpty. Oneshot activation is done by signal 31
Manhole: Manhole UDS path: /tmp/manhole-6330
Manhole: Waiting for new connection (in pid:6330) ...
Manhole: Accepted connection <socket._socketobject object at 0x107d0cd00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6333, ThreadID=4335546368 #########
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=6333, ThreadID=4331339776 #########
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=6333, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x101ac1d00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6337, ThreadID=4577378304 #########
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=6337, ThreadID=4573171712 #########
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=6337, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x110163d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6341, ThreadID=4345655296 #########
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=6341, ThreadID=4341448704 #########
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=6341, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x102465c90> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6344, ThreadID=4468789248 #########
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=6344, ThreadID=4464582656 #########
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=6344, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x1099d3d00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6349, ThreadID=4554825728 #########
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=6349, ThreadID=4550619136 #########
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=6349, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10ebe0d00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6353, ThreadID=4355833856 #########
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=6353, ThreadID=4351627264 #########
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=6353, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x102e1bd00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6356, ThreadID=4365692928 #########
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=6356, ThreadID=4361486336 #########
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=6356, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x103781d00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6359, ThreadID=4400324608 #########
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=6359, ThreadID=4396118016 #########
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=6359, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x105888d00> from PID:0 UID:501 GID:12
Manhole: Cleaned up.
Manhole: ManholeConnection thread failed:
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6362, ThreadID=4431454208 #########
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=6362, ThreadID=4427247616 #########
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=6362, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x107638d00> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6365, ThreadID=4339191808 #########
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=6365, ThreadID=4334985216 #########
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=6365, 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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x101e3cc90> from PID:0 UID:501 GID:12
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6368, ThreadID=4552949760 #########
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=6368, ThreadID=4548743168 #########
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=6368, ThreadID=140735310521104 #########
File: "/Users/bob/src/python-manhole/tests/test_manhole.py", line 401, in <module>
time.sleep(1)
#############################################
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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x10ea16d00> from PID:0 UID:501 GID:12
Manhole: Fork detected. Reinstalling Manhole.
Manhole: Manhole UDS path: /tmp/manhole-6371
Manhole: Waiting for new connection (in pid:6371) ...
******************************
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: 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 76, in assertManholeRunning
'from PID:%s UID:%s' % (os.getpid(), os.getuid()),
File "/Users/bob/src/python-manhole/.tox/py2.7/lib/python2.7/site-packages/process_tests.py", line 215, in wait_for_strings
seconds, strings
AssertionError: Waited 10.00secs but ('from PID:6312 UID:501',) did not appear in output in the given order !
-------------------- >> begin captured stdout << ---------------------
*********** OUTPUT ***********
######### ProcessID=6372, ThreadID=4360769536 #########
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=6372, ThreadID=4356562944 #########
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=6372, ThreadID=140735310521104 #########
File: "/Users/bob/src/python-manhole/tests/test_manhole.py", line 381, in <module>
time.sleep(1)
#############################################
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: Started ManholeConnection thread. Checking credentials ...
Manhole: Accepted connection <socket._socketobject object at 0x1032cfd00> from PID:0 UID:501 GID:12
Manhole: Fork detected. Reinstalling Manhole.
Manhole: Manhole UDS path: /tmp/manhole-6376
Manhole: Waiting for new connection (in pid:6376) ...
******************************
--------------------- >> 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 243.629s
FAILED (failures=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