Created
April 27, 2014 15:20
-
-
Save razzmatazz/11348270 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bob@saulius-175 python-manhole (macosx-support)$ git lg -11 | |
* c614a42 - (HEAD, personal/macosx-support, macosx-support) Merge remote-tracking branch 'origin/master' into macosx-suppo | |
|\ | |
| * cec6c4c - (origin/master, origin/HEAD) Make more lax in the tests (don't assert that client pid matches, only test what | |
* | 62ddd6d - Merge remote-tracking branch 'origin/master' into macosx-support (2 days ago) <Saulius Menkevičius> | |
|\ \ | |
| |/ | |
| * 193fba7 - Don't hardcode signal number in tests. (2 days ago) <Ionel Cristian Mărieș> | |
| * dff8450 - Update similar projects. (11 days ago) <Ionel Cristian Mărieș> | |
| * 76c8cf6 - Update README.rst (12 days ago) <Ionel Cristian Mărieș> | |
* | 34d073b - Changes for OS X (tested with OS X 10.9/Mavericks only) (2 days ago) <Saulius Menkevičius> | |
|/ | |
* 0787656 - (macbook/master, master) Merge pull request #2 from akheron/patch-1 (8 weeks ago) <Ionel Cristian Mărieș> | |
|\ | |
| * 4e2c588 - Fix a typo in README.rst (8 weeks ago) <Petri Lehtinen> | |
|/ | |
* 0d1877f - Update setup.py. (2 months ago) <Ionel Cristian Mărieș> | |
* 7d13248 - Update readme. (2 months ago) <Ionel Cristian Mărieș> | |
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='3615092729' | |
py2.7 runtests: commands[0] | nosetests test_manhole --with-coverage --cover-inclusive --cover-erase | |
Killing <process_tests.TestProcess object at 0x10a6147d0> ! | |
...Killing <process_tests.TestProcess object at 0x10a614ad0> ! | |
E.Killing <process_tests.TestProcess object at 0x10a614bd0> ! | |
.Killing <process_tests.TestProcess object at 0x10a62df90> ! | |
.Killing <process_tests.TestProcess object at 0x10a637710> ! | |
.Killing <process_tests.TestProcess object at 0x10a637750> ! | |
.Killing <process_tests.TestProcess object at 0x10a62de50> ! | |
.Killing <process_tests.TestProcess object at 0x10a637810> ! | |
.Killing <process_tests.TestProcess object at 0x10a62de90> ! | |
.Killing <process_tests.TestProcess object at 0x10a643e10> ! | |
.Killing <process_tests.TestProcess object at 0x10a643d50> ! | |
.Killing <process_tests.TestProcess object at 0x10a643f10> ! | |
.Killing <process_tests.TestProcess object at 0x10a643e50> ! | |
.Killing <process_tests.TestProcess object at 0x10a643dd0> ! | |
.Killing <process_tests.TestProcess object at 0x10a643c90> ! | |
.Killing <process_tests.TestProcess object at 0x10a7ed890> ! | |
.Killing <process_tests.TestProcess object at 0x10a7ed8d0> ! | |
. | |
====================================================================== | |
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 "/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=13615, ThreadID=4362678272 ######### | |
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=13615, ThreadID=4358471680 ######### | |
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=13615, 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-13615 | |
Manhole: Waiting for new connection (in pid:13615) ... | |
Manhole: Started ManholeConnection thread. Checking credentials ... | |
Manhole: Accepted connection <socket._socketobject object at 0x103715d00> from PID:0 UID:501 GID:12 | |
Manhole: DONE. | |
Manhole: Cleaned up. | |
****************************** | |
--------------------- >> 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 84.415s | |
FAILED (errors=1) | |
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