Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===> py-gevent-1.1rc3 depends on: py-greenlet-* -> py-greenlet-0.4.9p0
- ===> py-gevent-1.1rc3 depends on: python-tests->=2.7,<2.8 -> python-tests-2.7.11
- ===> py-gevent-1.1rc3 depends on: py-psutil-* -> py-psutil-3.3.0p0
- ===> Regression tests for py-gevent-1.1rc3
- cd /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest && /usr/bin/env -i CARES_EMBED=0 LIBEV_EMBED=0 CC=cc PYTHONUSERBASE= PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool" PATH='/usr/ports/pobj/py-gevent-1.1rc3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' DEPBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe -g -I/usr/local/include' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/py-gevent-1.1rc3_writes_to_HOME' COMPILER_VERSION=gcc4 PICFLAG="-fpic" ASPICFLAG= BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP= MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/usr/ports/pobj/py-gevent-1.1rc3/bin/install -c -m 755" BSD_INSTALL_SCRIPT="/usr/ports/pobj/py-gevent-1.1rc3/bin/install -c -m 755" BSD_INSTALL_DATA="/usr/ports/pobj/py-gevent-1.1rc3/bin/install -c -m 644" BSD_INSTALL_MAN="/usr/ports/pobj/py-gevent-1.1rc3/bin/install -c -m 644" BSD_INSTALL_PROGRAM_DIR="/usr/ports/pobj/py-gevent-1.1rc3/bin/install -d -m 755" BSD_INSTALL_SCRIPT_DIR="/usr/ports/pobj/py-gevent-1.1rc3/bin/install -d -m 755" BSD_INSTALL_DATA_DIR="/usr/ports/pobj/py-gevent-1.1rc3/bin/install -d -m 755" BSD_INSTALL_MAN_DIR="/usr/ports/pobj/py-gevent-1.1rc3/bin/install -d -m 755" PYTHONPATH="/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3" /usr/local/bin/python2.7 ./testrunner.py --config ../known_failures.py
- WARNING: The tests in 2.7/ are from version 2.7.3 and your Python is 2.7.11
- + /usr/local/bin/python2.7 -u test___example_servers.py
- + /usr/local/bin/python2.7 -u test__GreenletExit.py
- + /usr/local/bin/python2.7 -u -m monkey_test test_asyncore.py
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_asyncore.py
- - /usr/local/bin/python2.7 -u test__GreenletExit.py [took 0.2s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_ftplib.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_asyncore.py
- Running with patch_all(Event=False): test_asyncore.py
- Removed test_handle_expt (1)
- test_closeall (__main__.HelperFunctionTests) ... ok
- test_closeall_default (__main__.HelperFunctionTests) ... ok
- test_compact_traceback (__main__.HelperFunctionTests) ... ok
- test_readwrite (__main__.HelperFunctionTests) ... ok
- test_readwriteexc (__main__.HelperFunctionTests) ... ok
- test_basic (__main__.DispatcherTests) ... ok
- test_issue_8594 (__main__.DispatcherTests) ... ok
- test_log (__main__.DispatcherTests) ... ok
- test_log_info (__main__.DispatcherTests) ... ok
- test_repr (__main__.DispatcherTests) ... ok
- test_strerror (__main__.DispatcherTests) ... ok
- test_unhandled (__main__.DispatcherTests) ... ok
- test_send (__main__.DispatcherWithSendTests) ... ok
- test_send (__main__.DispatcherWithSendTests_UsePoll) ... ok
- test_bind (__main__.TestAPI_UseSelect) ... ok
- test_connection_attributes (__main__.TestAPI_UseSelect) ... ok
- test_create_socket (__main__.TestAPI_UseSelect) ... ok
- test_handle_accept (__main__.TestAPI_UseSelect) ... ok
- test_handle_close (__main__.TestAPI_UseSelect) ... ok
- test_handle_connect (__main__.TestAPI_UseSelect) ... ok
- test_handle_error (__main__.TestAPI_UseSelect) ... ok
- test_handle_read (__main__.TestAPI_UseSelect) ... ok
- test_handle_write (__main__.TestAPI_UseSelect) ... ok
- test_set_reuse_addr (__main__.TestAPI_UseSelect) ... ok
- test_bind (__main__.TestAPI_UsePoll) ... ok
- test_connection_attributes (__main__.TestAPI_UsePoll) ... ok
- test_create_socket (__main__.TestAPI_UsePoll) ... ok
- test_handle_accept (__main__.TestAPI_UsePoll) ... ok
- test_handle_close (__main__.TestAPI_UsePoll) ... ok
- test_handle_connect (__main__.TestAPI_UsePoll) ... ok
- test_handle_error (__main__.TestAPI_UsePoll) ... ok
- test_handle_read (__main__.TestAPI_UsePoll) ... ok
- test_handle_write (__main__.TestAPI_UsePoll) ... ok
- test_set_reuse_addr (__main__.TestAPI_UsePoll) ... ok
- test_dispatcher (__main__.FileWrapperTest) ... ok
- test_recv (__main__.FileWrapperTest) ... ok
- test_send (__main__.FileWrapperTest) ... ok
- ----------------------------------------------------------------------
- Ran 37 tests in 1.325s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_asyncore.py [took 2.1s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_ftplib.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_asyncore.py
- Running with patch_all(Event=True): test_asyncore.py
- Removed test_handle_expt (1)
- test_closeall (__main__.HelperFunctionTests) ... ok
- test_closeall_default (__main__.HelperFunctionTests) ... ok
- test_compact_traceback (__main__.HelperFunctionTests) ... ok
- test_readwrite (__main__.HelperFunctionTests) ... ok
- test_readwriteexc (__main__.HelperFunctionTests) ... ok
- test_basic (__main__.DispatcherTests) ... ok
- test_issue_8594 (__main__.DispatcherTests) ... ok
- test_log (__main__.DispatcherTests) ... ok
- test_log_info (__main__.DispatcherTests) ... ok
- test_repr (__main__.DispatcherTests) ... ok
- test_strerror (__main__.DispatcherTests) ... ok
- test_unhandled (__main__.DispatcherTests) ... ok
- test_send (__main__.DispatcherWithSendTests) ... ok
- test_send (__main__.DispatcherWithSendTests_UsePoll) ... ok
- test_bind (__main__.TestAPI_UseSelect) ... ok
- test_connection_attributes (__main__.TestAPI_UseSelect) ... ok
- test_create_socket (__main__.TestAPI_UseSelect) ... ok
- test_handle_accept (__main__.TestAPI_UseSelect) ... ok
- test_handle_close (__main__.TestAPI_UseSelect) ... ok
- test_handle_connect (__main__.TestAPI_UseSelect) ... ok
- test_handle_error (__main__.TestAPI_UseSelect) ... ok
- test_handle_read (__main__.TestAPI_UseSelect) ... ok
- test_handle_write (__main__.TestAPI_UseSelect) ... ok
- test_set_reuse_addr (__main__.TestAPI_UseSelect) ... ok
- test_bind (__main__.TestAPI_UsePoll) ... ok
- test_connection_attributes (__main__.TestAPI_UsePoll) ... ok
- test_create_socket (__main__.TestAPI_UsePoll) ... ok
- test_handle_accept (__main__.TestAPI_UsePoll) ... ok
- test_handle_close (__main__.TestAPI_UsePoll) ... ok
- test_handle_connect (__main__.TestAPI_UsePoll) ... ok
- test_handle_error (__main__.TestAPI_UsePoll) ... ok
- test_handle_read (__main__.TestAPI_UsePoll) ... ok
- test_handle_write (__main__.TestAPI_UsePoll) ... ok
- test_set_reuse_addr (__main__.TestAPI_UsePoll) ... ok
- test_dispatcher (__main__.FileWrapperTest) ... ok
- test_recv (__main__.FileWrapperTest) ... ok
- test_send (__main__.FileWrapperTest) ... ok
- ----------------------------------------------------------------------
- Ran 37 tests in 1.309s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_asyncore.py [took 2.1s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_httplib.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_httplib.py
- Running with patch_all(Event=False): test_httplib.py
- test_auto_headers (__main__.HeaderTests) ... ok
- test_ipv6host_header (__main__.HeaderTests) ... ok
- test_putheader (__main__.HeaderTests) ... ok
- test_responses (__main__.OfflineTest) ... ok
- test_bad_status_repr (__main__.BasicTest) ... ok
- test_chunked (__main__.BasicTest) ... ok
- test_chunked_head (__main__.BasicTest) ... ok
- test_epipe (__main__.BasicTest) ... ok
- test_filenoattr (__main__.BasicTest) ... ok
- test_host_port (__main__.BasicTest) ... ok
- test_incomplete_read (__main__.BasicTest) ... ok
- test_negative_content_length (__main__.BasicTest) ... ok
- test_overflowing_chunked_line (__main__.BasicTest) ... ok
- test_overflowing_header_line (__main__.BasicTest) ... ok
- test_overflowing_status_line (__main__.BasicTest) ... skipped 'disabled for HTTP 0.9 support'
- test_partial_reads (__main__.BasicTest) ... ok
- test_read_head (__main__.BasicTest) ... ok
- test_response_headers (__main__.BasicTest) ... ok
- test_send (__main__.BasicTest) ... ok
- test_send_file (__main__.BasicTest) ... ok
- test_status_lines (__main__.BasicTest) ... ok
- testTimeoutAttribute (__main__.TimeoutTest)
- This will prove that the timeout gets through ... ok
- test_attributes (__main__.HTTPSTimeoutTest) ... ok
- test_host_port (__main__.HTTPSTimeoutTest) ... ok
- testHTTPConnectionSourceAddress (__main__.SourceAddressTest) ... ok
- testHTTPSConnectionSourceAddress (__main__.SourceAddressTest) ... ok
- ----------------------------------------------------------------------
- Ran 26 tests in 1.205s
- OK (skipped=1)
- - /usr/local/bin/python2.7 -u -m monkey_test test_httplib.py [took 2.7s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_httplib.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_httplib.py
- Running with patch_all(Event=True): test_httplib.py
- test_auto_headers (__main__.HeaderTests) ... ok
- test_ipv6host_header (__main__.HeaderTests) ... ok
- test_putheader (__main__.HeaderTests) ... ok
- test_responses (__main__.OfflineTest) ... ok
- test_bad_status_repr (__main__.BasicTest) ... ok
- test_chunked (__main__.BasicTest) ... ok
- test_chunked_head (__main__.BasicTest) ... ok
- test_epipe (__main__.BasicTest) ... ok
- test_filenoattr (__main__.BasicTest) ... ok
- test_host_port (__main__.BasicTest) ... ok
- test_incomplete_read (__main__.BasicTest) ... ok
- test_negative_content_length (__main__.BasicTest) ... ok
- test_overflowing_chunked_line (__main__.BasicTest) ... ok
- test_overflowing_header_line (__main__.BasicTest) ... ok
- test_overflowing_status_line (__main__.BasicTest) ... skipped 'disabled for HTTP 0.9 support'
- test_partial_reads (__main__.BasicTest) ... ok
- test_read_head (__main__.BasicTest) ... ok
- test_response_headers (__main__.BasicTest) ... ok
- test_send (__main__.BasicTest) ... ok
- test_send_file (__main__.BasicTest) ... ok
- test_status_lines (__main__.BasicTest) ... ok
- testTimeoutAttribute (__main__.TimeoutTest)
- This will prove that the timeout gets through ... ok
- test_attributes (__main__.HTTPSTimeoutTest) ... ok
- test_host_port (__main__.HTTPSTimeoutTest) ... ok
- testHTTPConnectionSourceAddress (__main__.SourceAddressTest) ... ok
- testHTTPSConnectionSourceAddress (__main__.SourceAddressTest) ... ok
- ----------------------------------------------------------------------
- Ran 26 tests in 1.078s
- OK (skipped=1)
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_httplib.py [took 1.9s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_httpservers.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_ftplib.py
- Running with patch_all(Event=True): test_ftplib.py
- test_acct (__main__.TestFTPClass) ... ok
- test_all_errors (__main__.TestFTPClass) ... ok
- test_delete (__main__.TestFTPClass) ... ok
- test_dir (__main__.TestFTPClass) ... ok
- test_exceptions (__main__.TestFTPClass) ... ok
- test_getwelcome (__main__.TestFTPClass) ... ok
- test_login (__main__.TestFTPClass) ... ok
- test_makepasv (__main__.TestFTPClass) ... ok
- test_makeport (__main__.TestFTPClass) ... ok
- test_mkd (__main__.TestFTPClass) ... ok
- test_nlst (__main__.TestFTPClass) ... ok
- test_pwd (__main__.TestFTPClass) ... ok
- test_quit (__main__.TestFTPClass) ... ok
- test_rename (__main__.TestFTPClass) ... ok
- test_retrbinary (__main__.TestFTPClass) ... ok
- test_retrbinary_rest (__main__.TestFTPClass) ... ok
- test_retrlines (__main__.TestFTPClass) ... ok
- test_rmd (__main__.TestFTPClass) ... ok
- test_sanitize (__main__.TestFTPClass) ... ok
- test_set_pasv (__main__.TestFTPClass) ... ok
- test_size (__main__.TestFTPClass) ... ok
- test_storbinary (__main__.TestFTPClass) ... ok
- test_storbinary_rest (__main__.TestFTPClass) ... ok
- test_storlines (__main__.TestFTPClass) ... ok
- test_voidcmd (__main__.TestFTPClass) ... ok
- testTimeoutConnect (__main__.TestTimeouts) ... ok
- testTimeoutDefault (__main__.TestTimeouts) ... ok
- testTimeoutDifferentOrder (__main__.TestTimeouts) ... ok
- testTimeoutDirectAccess (__main__.TestTimeouts) ... ok
- testTimeoutNone (__main__.TestTimeouts) ... ok
- testTimeoutValue (__main__.TestTimeouts) ... ok
- test_acct (__main__.TestTLS_FTPClassMixin) ... ok
- test_all_errors (__main__.TestTLS_FTPClassMixin) ... ok
- test_delete (__main__.TestTLS_FTPClassMixin) ... ok
- test_dir (__main__.TestTLS_FTPClassMixin) ... ok
- test_exceptions (__main__.TestTLS_FTPClassMixin) ... ok
- test_getwelcome (__main__.TestTLS_FTPClassMixin) ... ok
- test_login (__main__.TestTLS_FTPClassMixin) ... ok
- test_makepasv (__main__.TestTLS_FTPClassMixin) ... ok
- test_makeport (__main__.TestTLS_FTPClassMixin) ... ok
- test_mkd (__main__.TestTLS_FTPClassMixin) ... ok
- test_nlst (__main__.TestTLS_FTPClassMixin) ... ok
- test_pwd (__main__.TestTLS_FTPClassMixin) ... ok
- test_quit (__main__.TestTLS_FTPClassMixin) ... ok
- test_rename (__main__.TestTLS_FTPClassMixin) ... ok
- test_retrbinary (__main__.TestTLS_FTPClassMixin) ... ok
- test_retrbinary_rest (__main__.TestTLS_FTPClassMixin) ... ok
- test_retrlines (__main__.TestTLS_FTPClassMixin) ... ok
- test_rmd (__main__.TestTLS_FTPClassMixin) ... ok
- test_sanitize (__main__.TestTLS_FTPClassMixin) ... ok
- test_set_pasv (__main__.TestTLS_FTPClassMixin) ... ok
- test_size (__main__.TestTLS_FTPClassMixin) ... ok
- test_storbinary (__main__.TestTLS_FTPClassMixin) ... ok
- test_storbinary_rest (__main__.TestTLS_FTPClassMixin) ... ok
- test_storlines (__main__.TestTLS_FTPClassMixin) ... ok
- test_voidcmd (__main__.TestTLS_FTPClassMixin) ... ok
- test_auth_issued_twice (__main__.TestTLS_FTPClass) ... ok
- test_auth_ssl (__main__.TestTLS_FTPClass) ... ERROR
- test_control_connection (__main__.TestTLS_FTPClass) ... ok
- test_data_connection (__main__.TestTLS_FTPClass) ... ok
- test_login (__main__.TestTLS_FTPClass) ... ok
- ======================================================================
- ERROR: test_auth_ssl (__main__.TestTLS_FTPClass)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ftplib.py", line 658, in test_auth_ssl
- self.client.ssl_version = ssl.PROTOCOL_SSLv3
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ----------------------------------------------------------------------
- Ran 61 tests in 9.668s
- FAILED (errors=1)
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
- "__main__", fname, loader, pkg_name)
- File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
- exec code in run_globals
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
- exec(module_code, globals())
- File "test_ftplib.py", line 778, in <module>
- test_main()
- File "test_ftplib.py", line 772, in test_main
- test_support.run_unittest(*tests)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
- _run_suite(suite)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
- raise TestFailed(err)
- test.test_support.TestFailed: Traceback (most recent call last):
- File "test_ftplib.py", line 658, in test_auth_ssl
- self.client.ssl_version = ssl.PROTOCOL_SSLv3
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_ftplib.py [code 1] [took 11.4s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_httpservers.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_ftplib.py
- Running with patch_all(Event=False): test_ftplib.py
- test_acct (__main__.TestFTPClass) ... ok
- test_all_errors (__main__.TestFTPClass) ... ok
- test_delete (__main__.TestFTPClass) ... ok
- test_dir (__main__.TestFTPClass) ... ok
- test_exceptions (__main__.TestFTPClass) ... ok
- test_getwelcome (__main__.TestFTPClass) ... ok
- test_login (__main__.TestFTPClass) ... ok
- test_makepasv (__main__.TestFTPClass) ... ok
- test_makeport (__main__.TestFTPClass) ... ok
- test_mkd (__main__.TestFTPClass) ... ok
- test_nlst (__main__.TestFTPClass) ... ok
- test_pwd (__main__.TestFTPClass) ... ok
- test_quit (__main__.TestFTPClass) ... ok
- test_rename (__main__.TestFTPClass) ... ok
- test_retrbinary (__main__.TestFTPClass) ... ok
- test_retrbinary_rest (__main__.TestFTPClass) ... ok
- test_retrlines (__main__.TestFTPClass) ... ok
- test_rmd (__main__.TestFTPClass) ... ok
- test_sanitize (__main__.TestFTPClass) ... ok
- test_set_pasv (__main__.TestFTPClass) ... ok
- test_size (__main__.TestFTPClass) ... ok
- test_storbinary (__main__.TestFTPClass) ... ok
- test_storbinary_rest (__main__.TestFTPClass) ... ok
- test_storlines (__main__.TestFTPClass) ... ok
- test_voidcmd (__main__.TestFTPClass) ... ok
- testTimeoutConnect (__main__.TestTimeouts) ... ok
- testTimeoutDefault (__main__.TestTimeouts) ... ok
- testTimeoutDifferentOrder (__main__.TestTimeouts) ... ok
- testTimeoutDirectAccess (__main__.TestTimeouts) ... ok
- testTimeoutNone (__main__.TestTimeouts) ... ok
- testTimeoutValue (__main__.TestTimeouts) ... ok
- test_acct (__main__.TestTLS_FTPClassMixin) ... ok
- test_all_errors (__main__.TestTLS_FTPClassMixin) ... ok
- test_delete (__main__.TestTLS_FTPClassMixin) ... ok
- test_dir (__main__.TestTLS_FTPClassMixin) ... ok
- test_exceptions (__main__.TestTLS_FTPClassMixin) ... ok
- test_getwelcome (__main__.TestTLS_FTPClassMixin) ... ok
- test_login (__main__.TestTLS_FTPClassMixin) ... ok
- test_makepasv (__main__.TestTLS_FTPClassMixin) ... ok
- test_makeport (__main__.TestTLS_FTPClassMixin) ... ok
- test_mkd (__main__.TestTLS_FTPClassMixin) ... ok
- test_nlst (__main__.TestTLS_FTPClassMixin) ... ok
- test_pwd (__main__.TestTLS_FTPClassMixin) ... ok
- test_quit (__main__.TestTLS_FTPClassMixin) ... ok
- test_rename (__main__.TestTLS_FTPClassMixin) ... ok
- test_retrbinary (__main__.TestTLS_FTPClassMixin) ... ok
- test_retrbinary_rest (__main__.TestTLS_FTPClassMixin) ... ok
- test_retrlines (__main__.TestTLS_FTPClassMixin) ... ok
- test_rmd (__main__.TestTLS_FTPClassMixin) ... ok
- test_sanitize (__main__.TestTLS_FTPClassMixin) ... ok
- test_set_pasv (__main__.TestTLS_FTPClassMixin) ... ok
- test_size (__main__.TestTLS_FTPClassMixin) ... ok
- test_storbinary (__main__.TestTLS_FTPClassMixin) ... ok
- test_storbinary_rest (__main__.TestTLS_FTPClassMixin) ... ok
- test_storlines (__main__.TestTLS_FTPClassMixin) ... ok
- test_voidcmd (__main__.TestTLS_FTPClassMixin) ... ok
- test_auth_issued_twice (__main__.TestTLS_FTPClass) ... ok
- test_auth_ssl (__main__.TestTLS_FTPClass) ... ERROR
- test_control_connection (__main__.TestTLS_FTPClass) ... ok
- test_data_connection (__main__.TestTLS_FTPClass) ... ok
- test_login (__main__.TestTLS_FTPClass) ... ok
- ======================================================================
- ERROR: test_auth_ssl (__main__.TestTLS_FTPClass)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ftplib.py", line 658, in test_auth_ssl
- self.client.ssl_version = ssl.PROTOCOL_SSLv3
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ----------------------------------------------------------------------
- Ran 61 tests in 12.770s
- FAILED (errors=1)
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
- "__main__", fname, loader, pkg_name)
- File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
- exec code in run_globals
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
- exec(module_code, globals())
- File "test_ftplib.py", line 778, in <module>
- test_main()
- File "test_ftplib.py", line 772, in test_main
- test_support.run_unittest(*tests)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
- _run_suite(suite)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
- raise TestFailed(err)
- test.test_support.TestFailed: Traceback (most recent call last):
- File "test_ftplib.py", line 658, in test_auth_ssl
- self.client.ssl_version = ssl.PROTOCOL_SSLv3
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ! /usr/local/bin/python2.7 -u -m monkey_test test_ftplib.py [code 1] [took 16.6s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_queue.py
- | /usr/local/bin/python2.7 -u test___example_servers.py
- + /usr/local/bin/python2.7 -u webproxy.py
- Serving on :8088...
- E.+ /usr/local/bin/python2.7 -u wsgiserver.py
- Serving on 8088...
- EChecking blocking
- + /usr/local/bin/python2.7 -u wsgiserver.py
- Serving on 8088...
- E+ /usr/local/bin/python2.7 -u wsgiserver_ssl.py
- Serving on https://127.0.0.1:8443EChecking blocking
- + /usr/local/bin/python2.7 -u wsgiserver_ssl.py
- Serving on https://127.0.0.1:8443
- E
- ======================================================================
- ERROR: test (__main__.Test_webproxy)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 237, in test
- self._run_all_tests()
- File "test___example_servers.py", line 103, in _run_all_tests
- status, data = self.read('/')
- File "test___example_servers.py", line 28, in read
- response = urllib2.urlopen(url, None, 2)
- File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
- return opener.open(url, data, timeout)
- File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
- response = self._open(req, data)
- File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
- '_open', req)
- File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
- result = func(*args)
- File "/usr/local/lib/python2.7/urllib2.py", line 1227, in http_open
- return self.do_open(httplib.HTTPConnection, req)
- File "/usr/local/lib/python2.7/urllib2.py", line 1200, in do_open
- r = h.getresponse(buffering=True)
- File "/usr/local/lib/python2.7/httplib.py", line 1136, in getresponse
- response.begin()
- File "/usr/local/lib/python2.7/httplib.py", line 453, in begin
- version, status, reason = self._read_status()
- File "/usr/local/lib/python2.7/httplib.py", line 409, in _read_status
- line = self.fp.readline(_MAXLINE + 1)
- File "/usr/local/lib/python2.7/socket.py", line 480, in readline
- data = self._sock.recv(self._rbufsize)
- timeout: timed out
- ======================================================================
- ERROR: test (__main__.Test_wsgiserver)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 237, in test
- self._run_all_tests()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 255, in _run_all_tests
- function()
- File "test___example_servers.py", line 38, in _test_hello
- status, data = self.read('/')
- File "test___example_servers.py", line 28, in read
- response = urllib2.urlopen(url, None, 2)
- File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
- return opener.open(url, data, timeout)
- File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
- response = self._open(req, data)
- File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
- '_open', req)
- File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
- result = func(*args)
- File "/usr/local/lib/python2.7/urllib2.py", line 1227, in http_open
- return self.do_open(httplib.HTTPConnection, req)
- File "/usr/local/lib/python2.7/urllib2.py", line 1200, in do_open
- r = h.getresponse(buffering=True)
- File "/usr/local/lib/python2.7/httplib.py", line 1136, in getresponse
- response.begin()
- File "/usr/local/lib/python2.7/httplib.py", line 453, in begin
- version, status, reason = self._read_status()
- File "/usr/local/lib/python2.7/httplib.py", line 409, in _read_status
- line = self.fp.readline(_MAXLINE + 1)
- File "/usr/local/lib/python2.7/socket.py", line 480, in readline
- data = self._sock.recv(self._rbufsize)
- timeout: timed out
- ======================================================================
- ERROR: test_a_blocking_client (__main__.Test_wsgiserver)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test___example_servers.py", line 84, in test_a_blocking_client
- self._do_test_a_blocking_client()
- File "test___example_servers.py", line 53, in _do_test_a_blocking_client
- self._test_hello()
- File "test___example_servers.py", line 38, in _test_hello
- status, data = self.read('/')
- File "test___example_servers.py", line 28, in read
- response = urllib2.urlopen(url, None, 2)
- File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
- return opener.open(url, data, timeout)
- File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
- response = self._open(req, data)
- File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
- '_open', req)
- File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
- result = func(*args)
- File "/usr/local/lib/python2.7/urllib2.py", line 1227, in http_open
- return self.do_open(httplib.HTTPConnection, req)
- File "/usr/local/lib/python2.7/urllib2.py", line 1200, in do_open
- r = h.getresponse(buffering=True)
- File "/usr/local/lib/python2.7/httplib.py", line 1136, in getresponse
- response.begin()
- File "/usr/local/lib/python2.7/httplib.py", line 453, in begin
- version, status, reason = self._read_status()
- File "/usr/local/lib/python2.7/httplib.py", line 409, in _read_status
- line = self.fp.readline(_MAXLINE + 1)
- File "/usr/local/lib/python2.7/socket.py", line 480, in readline
- data = self._sock.recv(self._rbufsize)
- timeout: timed out
- ======================================================================
- ERROR: test (__main__.Test_wsgiserver_ssl)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 237, in test
- self._run_all_tests()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 255, in _run_all_tests
- function()
- File "test___example_servers.py", line 38, in _test_hello
- status, data = self.read('/')
- File "test___example_servers.py", line 26, in read
- response = urllib2.urlopen(url, None, 2, context=self.ssl_ctx)
- File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
- return opener.open(url, data, timeout)
- File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
- response = self._open(req, data)
- File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
- '_open', req)
- File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
- result = func(*args)
- File "/usr/local/lib/python2.7/urllib2.py", line 1240, in https_open
- context=self._context)
- File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
- raise URLError(err)
- URLError: <urlopen error [Errno 61] Connection refused>
- ======================================================================
- ERROR: test_a_blocking_client (__main__.Test_wsgiserver_ssl)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test___example_servers.py", line 84, in test_a_blocking_client
- self._do_test_a_blocking_client()
- File "test___example_servers.py", line 53, in _do_test_a_blocking_client
- self._test_hello()
- File "test___example_servers.py", line 38, in _test_hello
- status, data = self.read('/')
- File "test___example_servers.py", line 26, in read
- response = urllib2.urlopen(url, None, 2, context=self.ssl_ctx)
- File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
- return opener.open(url, data, timeout)
- File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
- response = self._open(req, data)
- File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
- '_open', req)
- File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
- result = func(*args)
- File "/usr/local/lib/python2.7/urllib2.py", line 1240, in https_open
- context=self._context)
- File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
- raise URLError(err)
- URLError: <urlopen error ('_ssl.c:574: The handshake operation timed out',)>
- ----------------------------------------------------------------------
- Ran 6 tests in 23.619s
- FAILED (errors=5)
- ! /usr/local/bin/python2.7 -u test___example_servers.py [code 1] [took 23.7s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_queue.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_queue.py
- Running with patch_all(Event=False): test_queue.py
- test_queue_join (__main__.QueueTest) ... ok
- test_queue_task_done (__main__.QueueTest) ... ok
- test_simple_queue (__main__.QueueTest) ... ok
- test_queue_join (__main__.LifoQueueTest) ... ok
- test_queue_task_done (__main__.LifoQueueTest) ... ok
- test_simple_queue (__main__.LifoQueueTest) ... ok
- test_queue_join (__main__.PriorityQueueTest) ... ok
- test_queue_task_done (__main__.PriorityQueueTest) ... ok
- test_simple_queue (__main__.PriorityQueueTest) ... ok
- test_failing_queue (__main__.FailingQueueTest) ... ok
- ----------------------------------------------------------------------
- Ran 10 tests in 4.498s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_queue.py [took 6.7s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_select.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_select.py
- Running with patch_all(Event=False): test_select.py
- test_error_conditions (__main__.SelectTestCase) ... ok
- test_returned_list_identity (__main__.SelectTestCase) ... ok
- test_select (__main__.SelectTestCase) ... timeout = 0
- 'testing...\n'
- timeout = 0.1
- timeout = 0.2
- 'testing...\n'
- timeout = 0.4
- 'testing...\n'
- timeout = 0.8
- 'testing...\n'
- timeout = 1.6
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- ''
- EOF
- ok
- ----------------------------------------------------------------------
- Ran 3 tests in 2.122s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_select.py [took 2.4s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_select.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_queue.py
- Running with patch_all(Event=True): test_queue.py
- test_queue_join (__main__.QueueTest) ... ok
- test_queue_task_done (__main__.QueueTest) ... ok
- test_simple_queue (__main__.QueueTest) ... ok
- test_queue_join (__main__.LifoQueueTest) ... ok
- test_queue_task_done (__main__.LifoQueueTest) ... ok
- test_simple_queue (__main__.LifoQueueTest) ... ok
- test_queue_join (__main__.PriorityQueueTest) ... ok
- test_queue_task_done (__main__.PriorityQueueTest) ... ok
- test_simple_queue (__main__.PriorityQueueTest) ... ok
- test_failing_queue (__main__.FailingQueueTest) ... ok
- ----------------------------------------------------------------------
- Ran 10 tests in 4.502s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_queue.py [took 5.1s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_signal.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_select.py
- Running with patch_all(Event=True): test_select.py
- test_error_conditions (__main__.SelectTestCase) ... ok
- test_returned_list_identity (__main__.SelectTestCase) ... ok
- test_select (__main__.SelectTestCase) ... timeout = 0
- 'testing...\n'
- timeout = 0.1
- timeout = 0.2
- 'testing...\n'
- timeout = 0.4
- 'testing...\n'
- timeout = 0.8
- 'testing...\n'
- timeout = 1.6
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- 'testing...\n'
- timeout = None
- ''
- EOF
- ok
- ----------------------------------------------------------------------
- Ran 3 tests in 2.116s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_select.py [took 2.3s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_signal.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_signal.py
- Running with patch_all(Event=False): test_signal.py
- Removed test_wakeup_fd_early (1)
- Removed test_wakeup_fd_during (1)
- Removed test_without_siginterrupt (1)
- Removed test_siginterrupt_on (1)
- test_getsignal (__main__.BasicSignalTests) ... ok
- test_out_of_range_signal_number_raises_error (__main__.BasicSignalTests) ... ok
- test_setting_signal_handler_to_none_raises_error (__main__.BasicSignalTests) ... ok
- test_main (__main__.InterProcessSignalTests) ... test runner's pid is 14308
- handlerA invoked from signal 1 at:
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 610, in wait
- watcher.stop()
- handlerB invoked from signal 30 at:
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 643, in run
- loop.run()
- Traceback (most recent call last):
- File "test_signal.py", line 65, in handlerB
- raise HandlerBCalled(signum, self.format_frame(frame))
- HandlerBCalled: (30, ' File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 643, in run\n loop.run()\n')
- HandlerBCalled exception caught
- KeyboardInterrupt (the alarm() went off)
- ok
- test_siginterrupt_off (__main__.SiginterruptTest)
- If a signal handler is installed and siginterrupt is called with ... ok
- test_itimer_exc (__main__.ItimerTest) ... ok
- test_itimer_prof (__main__.ItimerTest) ... ('SIGPROF handler invoked', (27, <frame object at 0xfdb3ea0988>))
- ok
- test_itimer_real (__main__.ItimerTest) ...
- call pause()...
- ('SIGALRM handler invoked', (14, <frame object at 0xfdb3ea8210>))
- ok
- test_itimer_virtual (__main__.ItimerTest) ... ('SIGVTALRM handler invoked', (26, <frame object at 0xfdb3ea0b60>))
- ('SIGVTALRM handler invoked', (26, <frame object at 0xfdb3ea0b60>))
- ('SIGVTALRM handler invoked', (26, <frame object at 0xfdb3ea0b60>))
- last SIGVTALRM handler call
- ('SIGVTALRM handler invoked', (26, <frame object at 0xfdb3ea0b60>))
- ok
- test_issue9324 (__main__.WindowsSignalTests) ... skipped 'Windows specific'
- ----------------------------------------------------------------------
- Ran 10 tests in 4.657s
- OK (skipped=1)
- - /usr/local/bin/python2.7 -u -m monkey_test test_signal.py [took 5.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_signal.py
- Running with patch_all(Event=True): test_signal.py
- Removed test_wakeup_fd_early (1)
- Removed test_wakeup_fd_during (1)
- Removed test_without_siginterrupt (1)
- Removed test_siginterrupt_on (1)
- test_getsignal (__main__.BasicSignalTests) ... ok
- test_out_of_range_signal_number_raises_error (__main__.BasicSignalTests) ... ok
- test_setting_signal_handler_to_none_raises_error (__main__.BasicSignalTests) ... ok
- test_main (__main__.InterProcessSignalTests) ... test runner's pid is 16075
- handlerA invoked from signal 1 at:
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 488, in __init__
- restore_signals, start_new_session)
- handlerB invoked from signal 30 at:
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 819, in switch
- assert getcurrent() is self.hub, "Can only use Waiter.switch method from the Hub greenlet"
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 819, in switch
- assert getcurrent() is self.hub, "Can only use Waiter.switch method from the Hub greenlet"
- File "test_signal.py", line 65, in handlerB
- raise HandlerBCalled(signum, self.format_frame(frame))
- HandlerBCalled: (30, ' File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 643, in run\n loop.run()\n File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 819, in switch\n assert getcurrent() is self.hub, "Can only use Waiter.switch method from the Hub greenlet"\n')
- <io at 0x18ecf39b1650 fd=5 events=READ active callback=<bound method Waiter.switch of <gevent.hub.Waiter object at 0x18ecf39afaf0>> args=(<object object at 0x18ece190b190>,)> failed with HandlerBCalled
- FAIL
- test_siginterrupt_off (__main__.SiginterruptTest)
- If a signal handler is installed and siginterrupt is called with ... ok
- test_itimer_exc (__main__.ItimerTest) ... ok
- test_itimer_prof (__main__.ItimerTest) ... ('SIGPROF handler invoked', (27, <frame object at 0x18eca892e050>))
- ok
- test_itimer_real (__main__.ItimerTest) ...
- call pause()...
- ('SIGALRM handler invoked', (14, <frame object at 0x18eca8921590>))
- ok
- test_itimer_virtual (__main__.ItimerTest) ... ('SIGVTALRM handler invoked', (26, <frame object at 0x18eca892e228>))
- ('SIGVTALRM handler invoked', (26, <frame object at 0x18eca892e228>))
- ('SIGVTALRM handler invoked', (26, <frame object at 0x18eca892e228>))
- last SIGVTALRM handler call
- ('SIGVTALRM handler invoked', (26, <frame object at 0x18eca892e228>))
- ok
- test_issue9324 (__main__.WindowsSignalTests) ... skipped 'Windows specific'
- ======================================================================
- FAIL: test_main (__main__.InterProcessSignalTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_signal.py", line 182, in test_main
- self.fail(tb)
- AssertionError: Traceback (most recent call last):
- File "test_signal.py", line 165, in test_main
- self.run_test()
- File "test_signal.py", line 108, in run_test
- child = subprocess.Popen(['kill', '-USR1', str(pid)])
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 519, in __init__
- reraise(*exc_info)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 488, in __init__
- restore_signals, start_new_session)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 1216, in _execute_child
- data = errpipe_read.read()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 269, in read
- return self.io.read(size)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 105, in readall
- data = self.__read(DEFAULT_BUFFER_SIZE)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 100, in __read
- self.hub.wait(self._read_event)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 606, in wait
- result = waiter.get()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 854, in get
- return self.hub.switch()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 585, in switch
- return greenlet.switch(self)
- LoopExit: ('This operation would block forever', <Hub at 0x18ec4d0d9c30 poll default pending=0 resolver=<gevent.resolver_thread.Resolver at 0x18ecf39bb610 pool=<ThreadPool at 0x18eca891ecd0 0/0/10>> threadpool=<ThreadPool at 0x18eca891ecd0 0/0/10>>)
- ----------------------------------------------------------------------
- Ran 10 tests in 3.877s
- FAILED (failures=1, skipped=1)
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
- "__main__", fname, loader, pkg_name)
- File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
- exec code in run_globals
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
- exec(module_code, globals())
- File "test_signal.py", line 493, in <module>
- test_main()
- File "test_signal.py", line 489, in test_main
- ItimerTest, WindowsSignalTests)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
- _run_suite(suite)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
- raise TestFailed(err)
- test.test_support.TestFailed: Traceback (most recent call last):
- File "test_signal.py", line 182, in test_main
- self.fail(tb)
- AssertionError: Traceback (most recent call last):
- File "test_signal.py", line 165, in test_main
- self.run_test()
- File "test_signal.py", line 108, in run_test
- child = subprocess.Popen(['kill', '-USR1', str(pid)])
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 519, in __init__
- reraise(*exc_info)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 488, in __init__
- restore_signals, start_new_session)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 1216, in _execute_child
- data = errpipe_read.read()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 269, in read
- return self.io.read(size)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 105, in readall
- data = self.__read(DEFAULT_BUFFER_SIZE)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 100, in __read
- self.hub.wait(self._read_event)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 606, in wait
- result = waiter.get()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 854, in get
- return self.hub.switch()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 585, in switch
- return greenlet.switch(self)
- LoopExit: ('This operation would block forever', <Hub at 0x18ec4d0d9c30 poll default pending=0 resolver=<gevent.resolver_thread.Resolver at 0x18ecf39bb610 pool=<ThreadPool at 0x18eca891ecd0 0/0/10>> threadpool=<ThreadPool at 0x18eca891ecd0 0/0/10>>)
- ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_signal.py [code 1] [took 4.4s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_smtplib.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_httpservers.py
- Running with patch_all(Event=False): test_httpservers.py
- test_http_0_9 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_http_1_0 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_http_1_1 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_request_length (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_with_continue_1_0 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_query_arguments (__main__.SimpleHTTPRequestHandlerTestCase) ... ok
- test_start_with_double_slash (__main__.SimpleHTTPRequestHandlerTestCase) ... ok
- test_command (__main__.BaseHTTPServerTestCase) ... ok
- test_handler (__main__.BaseHTTPServerTestCase) ... ok
- test_head_keep_alive (__main__.BaseHTTPServerTestCase) ... ok
- test_header_close (__main__.BaseHTTPServerTestCase) ... ok
- test_internal_key_error (__main__.BaseHTTPServerTestCase) ... ok
- test_request_line_trimming (__main__.BaseHTTPServerTestCase) ...
- ! /usr/local/bin/python2.7 -u -m monkey_test test_httpservers.py [code TIMEOUT] [took 120.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_socket.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_httpservers.py
- Running with patch_all(Event=True): test_httpservers.py
- test_http_0_9 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_http_1_0 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_http_1_1 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_request_length (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_with_continue_1_0 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
- test_query_arguments (__main__.SimpleHTTPRequestHandlerTestCase) ... ok
- test_start_with_double_slash (__main__.SimpleHTTPRequestHandlerTestCase) ... ok
- test_command (__main__.BaseHTTPServerTestCase) ... ok
- test_handler (__main__.BaseHTTPServerTestCase) ... ok
- test_head_keep_alive (__main__.BaseHTTPServerTestCase) ... ok
- test_header_close (__main__.BaseHTTPServerTestCase) ... ok
- test_internal_key_error (__main__.BaseHTTPServerTestCase) ... ok
- test_request_line_trimming (__main__.BaseHTTPServerTestCase) ...
- ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_httpservers.py [code TIMEOUT] [took 120.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_socket.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py
- Running with patch_all(Event=False): test_smtplib.py
- testBasic1 (__main__.GeneralTests) ... ok
- testBasic2 (__main__.GeneralTests) ... ok
- testLocalHostName (__main__.GeneralTests) ... ok
- testTimeoutDefault (__main__.GeneralTests) ... ok
- testTimeoutNone (__main__.GeneralTests) ... ok
- testTimeoutValue (__main__.GeneralTests) ...
- ! /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py [code TIMEOUT] [took 120.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_socketserver.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_smtplib.py
- Running with patch_all(Event=True): test_smtplib.py
- testBasic1 (__main__.GeneralTests) ... ok
- testBasic2 (__main__.GeneralTests) ... ok
- testLocalHostName (__main__.GeneralTests) ... ok
- testTimeoutDefault (__main__.GeneralTests) ... ok
- testTimeoutNone (__main__.GeneralTests) ... ok
- testTimeoutValue (__main__.GeneralTests) ...
- ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_smtplib.py [code TIMEOUT] [took 120.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_socketserver.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_socketserver.py
- Running with patch_all(Event=False): test_socketserver.py
- test_ForkingTCPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 41241)
- CLASS = SocketServer.ForkingTCPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ForkingUDPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 23140)
- CLASS = SocketServer.ForkingUDPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ForkingUnixStreamServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = /tmp/unix_socket.UPd8PL
- CLASS = __main__.ForkingUnixStreamServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_TCPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 33378)
- CLASS = SocketServer.TCPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ThreadingTCPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 32788)
- CLASS = SocketServer.ThreadingTCPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ThreadingUDPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 4234)
- CLASS = SocketServer.ThreadingUDPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ThreadingUnixStreamServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = /tmp/unix_socket.RxVzom
- CLASS = SocketServer.ThreadingUnixStreamServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_UDPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 27219)
- CLASS = SocketServer.UDPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_UnixStreamServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = /tmp/unix_socket.TRq9ee
- CLASS = SocketServer.UnixStreamServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_shutdown (__main__.SocketServerTest) ... ok
- ----------------------------------------------------------------------
- Ran 10 tests in 2.153s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_socketserver.py [took 2.6s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_ssl.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_socketserver.py
- Running with patch_all(Event=True): test_socketserver.py
- test_ForkingTCPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 11937)
- CLASS = SocketServer.ForkingTCPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ForkingUDPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 37630)
- CLASS = SocketServer.ForkingUDPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ForkingUnixStreamServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = /tmp/unix_socket.twNTtE
- CLASS = __main__.ForkingUnixStreamServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_TCPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 48956)
- CLASS = SocketServer.TCPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ThreadingTCPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 34906)
- CLASS = SocketServer.ThreadingTCPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ThreadingUDPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 18674)
- CLASS = SocketServer.ThreadingUDPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_ThreadingUnixStreamServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = /tmp/unix_socket.EbHXBp
- CLASS = SocketServer.ThreadingUnixStreamServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_UDPServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = ('127.0.0.1', 14213)
- CLASS = SocketServer.UDPServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_UnixStreamServer (__main__.SocketServerTest) ... creating server
- server created
- ADDR = /tmp/unix_socket.CQjCrq
- CLASS = SocketServer.UnixStreamServer
- server running
- test client 0
- test client 1
- test client 2
- waiting for server
- done
- ok
- test_shutdown (__main__.SocketServerTest) ... ok
- ----------------------------------------------------------------------
- Ran 10 tests in 1.929s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_socketserver.py [took 2.4s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_ssl.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_ssl.py
- Running with patch_all(Event=True): test_ssl.py
- Removed test_default_ciphers (1)
- Removed test_empty_cert (1)
- Removed test_malformed_cert (1)
- Removed test_malformed_key (1)
- Removed test_non_blocking_connect_ex (1)
- Removed test_algorithms (1)
- test_sslwrap_simple (__main__.BasicTests) ... ok
- test_DER_to_PEM (__main__.BasicSocketTests) ... ok
- test_ciphers (__main__.BasicSocketTests) ... ok
- test_constants (__main__.BasicSocketTests) ... ERROR
- test_openssl_version (__main__.BasicSocketTests) ... FAIL
- test_parse_cert (__main__.BasicSocketTests) ...
- {'issuer': ((('countryName', u'XY'),),
- (('localityName', u'Castle Anthrax'),),
- (('organizationName', u'Python Software Foundation'),),
- (('commonName', u'localhost'),)),
- 'notAfter': 'Oct 5 23:01:56 2020 GMT',
- 'notBefore': u'Oct 8 23:01:56 2010 GMT',
- 'serialNumber': u'D7C7381919AFC24E',
- 'subject': ((('countryName', u'XY'),),
- (('localityName', u'Castle Anthrax'),),
- (('organizationName', u'Python Software Foundation'),),
- (('commonName', u'localhost'),)),
- 'subjectAltName': (('DNS', 'localhost'),),
- 'version': 3L}
- {'OCSP': (u'http://ocsp.verisign.com',),
- 'caIssuers': (u'http://SVRIntl-G3-aia.verisign.com/SVRIntlG3.cer',),
- 'crlDistributionPoints': (u'http://SVRIntl-G3-crl.verisign.com/SVRIntlG3.crl',),
- 'issuer': ((('countryName', u'US'),),
- (('organizationName', u'VeriSign, Inc.'),),
- (('organizationalUnitName', u'VeriSign Trust Network'),),
- (('organizationalUnitName',
- u'Terms of use at https://www.verisign.com/rpa (c)10'),),
- (('commonName',
- u'VeriSign Class 3 International Server CA - G3'),)),
- 'notAfter': 'Sep 20 23:59:59 2012 GMT',
- 'notBefore': u'Sep 21 00:00:00 2011 GMT',
- 'serialNumber': u'2EE6EA7640A075CEE5005F4D7C79549A',
- 'subject': ((('countryName', u'FI'),),
- (('stateOrProvinceName', u'Espoo'),),
- (('localityName', u'Espoo'),),
- (('organizationName', u'Nokia'),),
- (('organizationalUnitName', u'BI'),),
- (('commonName', u'projects.developer.nokia.com'),)),
- 'subjectAltName': (('DNS', 'projects.developer.nokia.com'),
- ('DNS', 'projects.forum.nokia.com')),
- 'version': 3L}
- ok
- test_random (__main__.BasicSocketTests) ... skipped 'RAND support not available'
- test_refcycle (__main__.BasicSocketTests) ... ok
- test_wrapped_unconnected (__main__.BasicSocketTests) ... ok
- test_connect (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
- test_connect_ex (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
- test_get_server_certificate (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
- test_makefile_close (__main__.NetworkedTests) ... ok
- test_non_blocking_handshake (__main__.NetworkedTests) ...
- Needed 4 calls to do_handshake() to establish session.
- ok
- test_asyncore_server (__main__.ThreadedTests)
- Check the example asyncore integration. ...
- server: new connection from 127.0.0.1:10893
- client: sending 'TEST MESSAGE of mixed case\n'...
- client: read 'test message of mixed case\n'
- client: closing connection.
- cleanup: stopping server.
- cleanup: joining server thread.
- server: closed connection <SSLSocket fileno=[Errno 9] Bad file descriptor timeout=0.0>
- cleanup: successfully joined.
- ok
- test_echo (__main__.ThreadedTests)
- Basic test of an SSL client connecting to a server ...
- server: new connection from ('127.0.0.1', 40192)
- server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: closing connection.
- server: new connection from ('127.0.0.1', 2659)
- server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: closing connection.
- server: new connection from ('127.0.0.1', 4677)
- server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: closing connection.
- server: new connection from ('127.0.0.1', 44355)
- server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: closing connection.
- ok
- test_getpeercert (__main__.ThreadedTests) ...
- {'issuer': ((('countryName', u'XY'),),
- (('localityName', u'Castle Anthrax'),),
- (('organizationName', u'Python Software Foundation'),),
- (('commonName', u'localhost'),)),
- 'notAfter': 'Oct 5 23:01:56 2020 GMT',
- 'notBefore': u'Oct 8 23:01:56 2010 GMT',
- 'serialNumber': u'D7C7381919AFC24E',
- 'subject': ((('countryName', u'XY'),),
- (('localityName', u'Castle Anthrax'),),
- (('organizationName', u'Python Software Foundation'),),
- (('commonName', u'localhost'),)),
- 'subjectAltName': (('DNS', 'localhost'),),
- 'version': 3L}
- Connection cipher is ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256).
- ok
- test_handshake_timeout (__main__.ThreadedTests) ... ok
- test_nonexisting_cert (__main__.ThreadedTests)
- Connecting with a non-existing cert file ...
- SSLError is [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:590)
- ok
- test_protocol_sslv2 (__main__.ThreadedTests)
- Connecting to an SSLv2 server with various client options ...
- skipped 'PROTOCOL_SSLv2 needed'
- test_protocol_sslv23 (__main__.ThreadedTests)
- Connecting to an SSLv23 server with various client options ...
- skipped 'SSLv23 Disabled in 2.7.11'
- test_protocol_sslv3 (__main__.ThreadedTests)
- Connecting to an SSLv3 server with various client options ...
- ERROR
- test_protocol_tlsv1 (__main__.ThreadedTests)
- Connecting to a TLSv1 server with various client options ...
- PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_NONE
- PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_OPTIONAL
- PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_REQUIRED
- ERROR
- test_recv_send (__main__.ThreadedTests)
- Test recv(), send() and friends. ...
- server: new connection from ('127.0.0.1', 44523)
- server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- ok
- test_rude_shutdown (__main__.ThreadedTests)
- A brutal shutdown of an SSL server should raise an IOError ... ok
- test_socketserver (__main__.ThreadedTests)
- Using a SocketServer to create and manage SSL connections. ...
- server (('127.0.0.1', 48556):48556 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
- [09/Feb/2016 13:48:57] "GET /keycert.pem HTTP/1.0" 200 -
- client: read 1783 bytes from remote server '<SocketServerHTTPSServer <HTTPSServer localhost:48556>>'
- ok
- test_starttls (__main__.ThreadedTests)
- Switching from clear text to encrypted and back again. ...
- client: sending 'msg 1'...
- server: new connection from ('127.0.0.1', 16534)
- server: read 'msg 1' (unencrypted), sending back 'msg 1' (unencrypted)...
- client: read 'msg 1' from server
- client: sending 'MSG 2'...
- server: read 'MSG 2' (unencrypted), sending back 'msg 2' (unencrypted)...
- client: read 'msg 2' from server
- client: sending 'STARTTLS'...
- server: read STARTTLS from client, sending OK...
- client: read 'OK\n' from server, starting TLS...
- server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'MSG 3'...
- server: read 'MSG 3' (encrypted), sending back 'msg 3' (encrypted)...
- client: read 'msg 3' from server
- client: sending 'msg 4'...
- server: read 'msg 4' (encrypted), sending back 'msg 4' (encrypted)...
- client: read 'msg 4' from server
- client: sending 'ENDTLS'...
- server: read ENDTLS from client, sending OK...
- client: read 'OK\n' from server, ending TLS...
- client: sending 'msg 5'...
- server: connection is now unencrypted...
- server: read 'msg 5' (unencrypted), sending back 'msg 5' (unencrypted)...
- client: read 'msg 5' from server
- client: sending 'msg 6'...
- server: read 'msg 6' (unencrypted), sending back 'msg 6' (unencrypted)...
- client: read 'msg 6' from server
- client: closing connection.
- server: client closed connection
- ok
- test_wrapped_accept (__main__.ThreadedTests)
- Check the accept() method on SSL sockets. ... skipped '<= 2.7.9 only'
- ======================================================================
- ERROR: test_constants (__main__.BasicSocketTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ssl.py", line 105, in test_constants
- ssl.PROTOCOL_SSLv3
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ======================================================================
- ERROR: test_protocol_sslv3 (__main__.ThreadedTests)
- Connecting to an SSLv3 server with various client options
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ssl.py", line 1239, in test_protocol_sslv3
- try_protocol_combo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ======================================================================
- ERROR: test_protocol_tlsv1 (__main__.ThreadedTests)
- Connecting to a TLSv1 server with various client options
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ssl.py", line 1256, in test_protocol_tlsv1
- try_protocol_combo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv3, False)
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ======================================================================
- FAIL: test_openssl_version (__main__.BasicSocketTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ssl.py", line 178, in test_openssl_version
- self.assertLess(n, 0x20000000)
- AssertionError: 536870912L not less than 536870912
- ----------------------------------------------------------------------
- Ran 28 tests in 3.810s
- FAILED (failures=1, errors=3, skipped=7)
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
- "__main__", fname, loader, pkg_name)
- File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
- exec code in run_globals
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
- exec(module_code, globals())
- File "test_ssl.py", line 1596, in <module>
- test_main()
- File "test_ssl.py", line 1590, in test_main
- test_support.run_unittest(*tests)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
- _run_suite(suite)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
- raise TestFailed(err)
- test.test_support.TestFailed: multiple errors occurred
- ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_ssl.py [code 1] [took 5.2s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_subprocess.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_ssl.py
- Running with patch_all(Event=False): test_ssl.py
- Removed test_default_ciphers (1)
- Removed test_empty_cert (1)
- Removed test_malformed_cert (1)
- Removed test_malformed_key (1)
- Removed test_non_blocking_connect_ex (1)
- Removed test_algorithms (1)
- test_sslwrap_simple (__main__.BasicTests) ... ok
- test_DER_to_PEM (__main__.BasicSocketTests) ... ok
- test_ciphers (__main__.BasicSocketTests) ... ok
- test_constants (__main__.BasicSocketTests) ... ERROR
- test_openssl_version (__main__.BasicSocketTests) ... FAIL
- test_parse_cert (__main__.BasicSocketTests) ...
- {'issuer': ((('countryName', u'XY'),),
- (('localityName', u'Castle Anthrax'),),
- (('organizationName', u'Python Software Foundation'),),
- (('commonName', u'localhost'),)),
- 'notAfter': 'Oct 5 23:01:56 2020 GMT',
- 'notBefore': u'Oct 8 23:01:56 2010 GMT',
- 'serialNumber': u'D7C7381919AFC24E',
- 'subject': ((('countryName', u'XY'),),
- (('localityName', u'Castle Anthrax'),),
- (('organizationName', u'Python Software Foundation'),),
- (('commonName', u'localhost'),)),
- 'subjectAltName': (('DNS', 'localhost'),),
- 'version': 3L}
- {'OCSP': (u'http://ocsp.verisign.com',),
- 'caIssuers': (u'http://SVRIntl-G3-aia.verisign.com/SVRIntlG3.cer',),
- 'crlDistributionPoints': (u'http://SVRIntl-G3-crl.verisign.com/SVRIntlG3.crl',),
- 'issuer': ((('countryName', u'US'),),
- (('organizationName', u'VeriSign, Inc.'),),
- (('organizationalUnitName', u'VeriSign Trust Network'),),
- (('organizationalUnitName',
- u'Terms of use at https://www.verisign.com/rpa (c)10'),),
- (('commonName',
- u'VeriSign Class 3 International Server CA - G3'),)),
- 'notAfter': 'Sep 20 23:59:59 2012 GMT',
- 'notBefore': u'Sep 21 00:00:00 2011 GMT',
- 'serialNumber': u'2EE6EA7640A075CEE5005F4D7C79549A',
- 'subject': ((('countryName', u'FI'),),
- (('stateOrProvinceName', u'Espoo'),),
- (('localityName', u'Espoo'),),
- (('organizationName', u'Nokia'),),
- (('organizationalUnitName', u'BI'),),
- (('commonName', u'projects.developer.nokia.com'),)),
- 'subjectAltName': (('DNS', 'projects.developer.nokia.com'),
- ('DNS', 'projects.forum.nokia.com')),
- 'version': 3L}
- ok
- test_random (__main__.BasicSocketTests) ... skipped 'RAND support not available'
- test_refcycle (__main__.BasicSocketTests) ... ok
- test_wrapped_unconnected (__main__.BasicSocketTests) ... ok
- test_connect (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
- test_connect_ex (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
- test_get_server_certificate (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
- test_makefile_close (__main__.NetworkedTests) ... ok
- test_non_blocking_handshake (__main__.NetworkedTests) ...
- Needed 5 calls to do_handshake() to establish session.
- ok
- test_asyncore_server (__main__.ThreadedTests)
- Check the example asyncore integration. ...
- server: new connection from 127.0.0.1:8437
- client: sending 'TEST MESSAGE of mixed case\n'...
- client: read 'test message of mixed case\n'
- client: closing connection.
- cleanup: stopping server.
- cleanup: joining server thread.
- server: closed connection <SSLSocket fileno=[Errno 9] Bad file descriptor timeout=0.0>
- cleanup: successfully joined.
- ok
- test_echo (__main__.ThreadedTests)
- Basic test of an SSL client connecting to a server ...
- server: new connection from ('127.0.0.1', 14988)
- server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: closing connection.
- server: new connection from ('127.0.0.1', 10908)
- server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: closing connection.
- server: new connection from ('127.0.0.1', 28967)
- server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: closing connection.
- server: new connection from ('127.0.0.1', 43285)
- server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: sending 'FOO\n'...
- client: read 'foo\n'
- client: closing connection.
- ok
- test_getpeercert (__main__.ThreadedTests) ...
- {'issuer': ((('countryName', u'XY'),),
- (('localityName', u'Castle Anthrax'),),
- (('organizationName', u'Python Software Foundation'),),
- (('commonName', u'localhost'),)),
- 'notAfter': 'Oct 5 23:01:56 2020 GMT',
- 'notBefore': u'Oct 8 23:01:56 2010 GMT',
- 'serialNumber': u'D7C7381919AFC24E',
- 'subject': ((('countryName', u'XY'),),
- (('localityName', u'Castle Anthrax'),),
- (('organizationName', u'Python Software Foundation'),),
- (('commonName', u'localhost'),)),
- 'subjectAltName': (('DNS', 'localhost'),),
- 'version': 3L}
- Connection cipher is ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256).
- ok
- test_handshake_timeout (__main__.ThreadedTests) ... ok
- test_nonexisting_cert (__main__.ThreadedTests)
- Connecting with a non-existing cert file ...
- SSLError is [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:590)
- ok
- test_protocol_sslv2 (__main__.ThreadedTests)
- Connecting to an SSLv2 server with various client options ...
- skipped 'PROTOCOL_SSLv2 needed'
- test_protocol_sslv23 (__main__.ThreadedTests)
- Connecting to an SSLv23 server with various client options ...
- skipped 'SSLv23 Disabled in 2.7.11'
- test_protocol_sslv3 (__main__.ThreadedTests)
- Connecting to an SSLv3 server with various client options ...
- ERROR
- test_protocol_tlsv1 (__main__.ThreadedTests)
- Connecting to a TLSv1 server with various client options ...
- PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_NONE
- PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_OPTIONAL
- PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_REQUIRED
- ERROR
- test_recv_send (__main__.ThreadedTests)
- Test recv(), send() and friends. ...
- server: new connection from ('127.0.0.1', 43498)
- server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- ok
- test_rude_shutdown (__main__.ThreadedTests)
- A brutal shutdown of an SSL server should raise an IOError ... ok
- test_socketserver (__main__.ThreadedTests)
- Using a SocketServer to create and manage SSL connections. ...
- server (('127.0.0.1', 45776):45776 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
- [09/Feb/2016 13:49:00] "GET /keycert.pem HTTP/1.0" 200 -
- client: read 1783 bytes from remote server '<SocketServerHTTPSServer <HTTPSServer localhost:45776>>'
- ok
- test_starttls (__main__.ThreadedTests)
- Switching from clear text to encrypted and back again. ...
- client: sending 'msg 1'...
- server: new connection from ('127.0.0.1', 34484)
- server: read 'msg 1' (unencrypted), sending back 'msg 1' (unencrypted)...
- client: read 'msg 1' from server
- client: sending 'MSG 2'...
- server: read 'MSG 2' (unencrypted), sending back 'msg 2' (unencrypted)...
- client: read 'msg 2' from server
- client: sending 'STARTTLS'...
- server: read STARTTLS from client, sending OK...
- client: read 'OK\n' from server, starting TLS...
- server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
- server: selected protocol is now None
- client: sending 'MSG 3'...
- server: read 'MSG 3' (encrypted), sending back 'msg 3' (encrypted)...
- client: read 'msg 3' from server
- client: sending 'msg 4'...
- server: read 'msg 4' (encrypted), sending back 'msg 4' (encrypted)...
- client: read 'msg 4' from server
- client: sending 'ENDTLS'...
- server: read ENDTLS from client, sending OK...
- client: read 'OK\n' from server, ending TLS...
- client: sending 'msg 5'...
- server: connection is now unencrypted...
- server: read 'msg 5' (unencrypted), sending back 'msg 5' (unencrypted)...
- client: read 'msg 5' from server
- client: sending 'msg 6'...
- server: read 'msg 6' (unencrypted), sending back 'msg 6' (unencrypted)...
- client: read 'msg 6' from server
- client: closing connection.
- server: client closed connection
- ok
- test_wrapped_accept (__main__.ThreadedTests)
- Check the accept() method on SSL sockets. ... skipped '<= 2.7.9 only'
- ======================================================================
- ERROR: test_constants (__main__.BasicSocketTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ssl.py", line 105, in test_constants
- ssl.PROTOCOL_SSLv3
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ======================================================================
- ERROR: test_protocol_sslv3 (__main__.ThreadedTests)
- Connecting to an SSLv3 server with various client options
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ssl.py", line 1239, in test_protocol_sslv3
- try_protocol_combo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ======================================================================
- ERROR: test_protocol_tlsv1 (__main__.ThreadedTests)
- Connecting to a TLSv1 server with various client options
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ssl.py", line 1256, in test_protocol_tlsv1
- try_protocol_combo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv3, False)
- AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
- ======================================================================
- FAIL: test_openssl_version (__main__.BasicSocketTests)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_ssl.py", line 178, in test_openssl_version
- self.assertLess(n, 0x20000000)
- AssertionError: 536870912L not less than 536870912
- ----------------------------------------------------------------------
- Ran 28 tests in 9.794s
- FAILED (failures=1, errors=3, skipped=7)
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
- "__main__", fname, loader, pkg_name)
- File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
- exec code in run_globals
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
- exec(module_code, globals())
- File "test_ssl.py", line 1596, in <module>
- test_main()
- File "test_ssl.py", line 1590, in test_main
- test_support.run_unittest(*tests)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
- _run_suite(suite)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
- raise TestFailed(err)
- test.test_support.TestFailed: multiple errors occurred
- ! /usr/local/bin/python2.7 -u -m monkey_test test_ssl.py [code 1] [took 11.4s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_subprocess.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_socket.py
- Running with patch_all(Event=False): test_socket.py
- Removed testUDPTimeout (1)
- Removed testRefCountGetNameInfo (1)
- Removed test_create_connection_timeout (1)
- testCrucialConstants (__main__.GeneralModuleTests) ... ok
- testDefaultTimeout (__main__.GeneralModuleTests) ... ok
- testGetServBy (__main__.GeneralModuleTests) ... ok
- testGetSockOpt (__main__.GeneralModuleTests) ... ok
- testGetaddrinfo (__main__.GeneralModuleTests) ... ok
- testHostnameRes (__main__.GeneralModuleTests) ... ok
- testIPv4_inet_aton_fourbytes (__main__.GeneralModuleTests) ... ok
- testIPv4toString (__main__.GeneralModuleTests) ... ok
- testIPv6toString (__main__.GeneralModuleTests) ... ok
- testInterpreterCrash (__main__.GeneralModuleTests) ... ok
- testListenBacklog0 (__main__.GeneralModuleTests) ... ok
- testNewAttributes (__main__.GeneralModuleTests) ... ok
- testNtoH (__main__.GeneralModuleTests) ... ok
- testNtoHErrors (__main__.GeneralModuleTests) ... ok
- testSendAfterClose (__main__.GeneralModuleTests) ... ok
- testSendtoErrors (__main__.GeneralModuleTests) ... ok
- testSetSockOpt (__main__.GeneralModuleTests) ... ok
- testSockName (__main__.GeneralModuleTests) ... ok
- testSocketError (__main__.GeneralModuleTests) ... ok
- testStringToIPv4 (__main__.GeneralModuleTests) ... ok
- testStringToIPv6 (__main__.GeneralModuleTests) ... ok
- test_flowinfo (__main__.GeneralModuleTests) ... Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/threadpool.py", line 207, in _worker
- value = func(*args, **kwargs)
- OverflowError: getsockaddrarg: flowinfo must be 0-1048575.
- (<ThreadPool at 0x15644fabac50 0/1/10>, <built-in function getnameinfo>) failed with OverflowError
- ok
- test_getsockaddrarg (__main__.GeneralModuleTests) ... ok
- test_sendall_interrupted (__main__.GeneralModuleTests) ... Traceback (most recent call last):
- File "test_socket.py", line 677, in raising_handler
- 1 // 0
- ZeroDivisionError: integer division or modulo by zero
- ok
- test_sendall_interrupted_with_timeout (__main__.GeneralModuleTests) ... Traceback (most recent call last):
- File "test_socket.py", line 677, in raising_handler
- 1 // 0
- ZeroDivisionError: integer division or modulo by zero
- ok
- test_sock_ioctl (__main__.GeneralModuleTests) ... skipped 'Windows specific'
- test_weakref (__main__.GeneralModuleTests) ... ok
- testDup (__main__.BasicTCPTest) ... ok
- testFromFd (__main__.BasicTCPTest) ... ok
- testOverFlowRecv (__main__.BasicTCPTest) ... ok
- testOverFlowRecvFrom (__main__.BasicTCPTest) ... ok
- testRecv (__main__.BasicTCPTest) ... ok
- testRecvFrom (__main__.BasicTCPTest) ... ok
- testSendAll (__main__.BasicTCPTest) ... ok
- testShutdown (__main__.BasicTCPTest) ... ok
- testClose (__main__.TCPCloserTest) ...
- ! /usr/local/bin/python2.7 -u -m monkey_test test_socket.py [code -14] [took 110.1s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_telnetlib.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_socket.py
- Running with patch_all(Event=True): test_socket.py
- Removed testUDPTimeout (1)
- Removed testRefCountGetNameInfo (1)
- Removed test_create_connection_timeout (1)
- testCrucialConstants (__main__.GeneralModuleTests) ... ok
- testDefaultTimeout (__main__.GeneralModuleTests) ... ok
- testGetServBy (__main__.GeneralModuleTests) ... ok
- testGetSockOpt (__main__.GeneralModuleTests) ... ok
- testGetaddrinfo (__main__.GeneralModuleTests) ... ok
- testHostnameRes (__main__.GeneralModuleTests) ... ok
- testIPv4_inet_aton_fourbytes (__main__.GeneralModuleTests) ... ok
- testIPv4toString (__main__.GeneralModuleTests) ... ok
- testIPv6toString (__main__.GeneralModuleTests) ... ok
- testInterpreterCrash (__main__.GeneralModuleTests) ... ok
- testListenBacklog0 (__main__.GeneralModuleTests) ... ok
- testNewAttributes (__main__.GeneralModuleTests) ... ok
- testNtoH (__main__.GeneralModuleTests) ... ok
- testNtoHErrors (__main__.GeneralModuleTests) ... ok
- testSendAfterClose (__main__.GeneralModuleTests) ... ok
- testSendtoErrors (__main__.GeneralModuleTests) ... ok
- testSetSockOpt (__main__.GeneralModuleTests) ... ok
- testSockName (__main__.GeneralModuleTests) ... ok
- testSocketError (__main__.GeneralModuleTests) ... ok
- testStringToIPv4 (__main__.GeneralModuleTests) ... ok
- testStringToIPv6 (__main__.GeneralModuleTests) ... ok
- test_flowinfo (__main__.GeneralModuleTests) ... Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/threadpool.py", line 207, in _worker
- value = func(*args, **kwargs)
- OverflowError: getsockaddrarg: flowinfo must be 0-1048575.
- (<ThreadPool at 0x1cdee08fc50 0/1/10>, <built-in function getnameinfo>) failed with OverflowError
- ok
- test_getsockaddrarg (__main__.GeneralModuleTests) ... ok
- test_sendall_interrupted (__main__.GeneralModuleTests) ... Traceback (most recent call last):
- File "test_socket.py", line 677, in raising_handler
- 1 // 0
- ZeroDivisionError: integer division or modulo by zero
- ok
- test_sendall_interrupted_with_timeout (__main__.GeneralModuleTests) ... Traceback (most recent call last):
- File "test_socket.py", line 677, in raising_handler
- 1 // 0
- ZeroDivisionError: integer division or modulo by zero
- ok
- test_sock_ioctl (__main__.GeneralModuleTests) ... skipped 'Windows specific'
- test_weakref (__main__.GeneralModuleTests) ... ok
- testDup (__main__.BasicTCPTest) ... ok
- testFromFd (__main__.BasicTCPTest) ... ok
- testOverFlowRecv (__main__.BasicTCPTest) ... ok
- testOverFlowRecvFrom (__main__.BasicTCPTest) ... ok
- testRecv (__main__.BasicTCPTest) ... ok
- testRecvFrom (__main__.BasicTCPTest) ... ok
- testSendAll (__main__.BasicTCPTest) ... ok
- testShutdown (__main__.BasicTCPTest) ... ok
- testClose (__main__.TCPCloserTest) ...
- ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_socket.py [code -14] [took 110.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_telnetlib.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_telnetlib.py
- Running with patch_all(Event=False): test_telnetlib.py
- testBasic (__main__.GeneralTests) ... ok
- testTimeoutDefault (__main__.GeneralTests) ... ok
- testTimeoutNone (__main__.GeneralTests) ... ok
- testTimeoutOpen (__main__.GeneralTests) ... ok
- testTimeoutValue (__main__.GeneralTests) ... ok
- test_read_all_A (__main__.ReadTests) ... ok
- test_read_all_B (__main__.ReadTests) ... ok
- test_read_all_C (__main__.ReadTests) ... ok
- test_read_eager_A (__main__.ReadTests) ... ok
- test_read_eager_B (__main__.ReadTests) ... ok
- test_read_lazy_A (__main__.ReadTests) ... ok
- test_read_lazy_B (__main__.ReadTests) ... ok
- test_read_some_A (__main__.ReadTests) ... ok
- test_read_some_B (__main__.ReadTests) ... ok
- test_read_some_C (__main__.ReadTests) ... ok
- test_read_until_A (__main__.ReadTests) ... ok
- test_read_until_B (__main__.ReadTests) ... ok
- test_read_very_eager_A (__main__.ReadTests) ... ok
- test_read_very_eager_B (__main__.ReadTests) ... ok
- test_read_very_lazy_A (__main__.ReadTests) ... ok
- test_read_very_lazy_B (__main__.ReadTests) ... ok
- test_IAC_commands (__main__.OptionTests) ... ok
- test_SB_commands (__main__.OptionTests) ... ok
- ----------------------------------------------------------------------
- Ran 23 tests in 5.050s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_telnetlib.py [took 5.4s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_thread.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_thread.py
- Running with patch_all(Event=False): test_thread.py
- Removed test__count (1)
- Removed test_forkinthread (1)
- test_stack_size (__main__.ThreadRunningTests) ... caught expected ValueError setting stack_size(4096)
- successfully set stack_size(262144)
- successfully set stack_size(1048576)
- successfully set stack_size(0)
- trying stack_size = (262144)
- creating task 1
- creating task 2
- creating task 3
- creating task 4
- creating task 5
- creating task 6
- creating task 7
- creating task 8
- creating task 9
- creating task 10
- waiting for all tasks to complete
- task 1 will run for 74.0us
- task 2 will run for 49.0us
- task 3 will run for 26.0us
- task 4 will run for 1.0us
- task 5 will run for 94.0us
- task 6 will run for 62.0us
- task 7 will run for 90.0us
- task 8 will run for 81.0us
- task 9 will run for 57.0us
- task 10 will run for 39.0us
- task 1 done
- task 2 done
- task 3 done
- task 4 done
- task 5 done
- task 6 done
- task 7 done
- task 8 done
- task 9 done
- task 10 done
- all tasks done
- trying stack_size = (1048576)
- creating task 1
- creating task 2
- creating task 3
- creating task 4
- creating task 5
- creating task 6
- creating task 7
- creating task 8
- creating task 9
- creating task 10
- waiting for all tasks to complete
- task 1 will run for 94.0us
- task 2 will run for 22.0us
- task 3 will run for 11.0us
- task 4 will run for 94.0us
- task 5 will run for 49.0us
- task 6 will run for 26.0us
- task 7 will run for 0.0us
- task 8 will run for 64.0us
- task 9 will run for 75.0us
- task 10 will run for 45.0us
- task 1 done
- task 2 done
- task 3 done
- task 4 done
- task 5 done
- task 6 done
- task 7 done
- task 8 done
- task 9 done
- task 10 done
- all tasks done
- ok
- test_starting_threads (__main__.ThreadRunningTests) ... creating task 1
- creating task 2
- creating task 3
- creating task 4
- creating task 5
- creating task 6
- creating task 7
- creating task 8
- creating task 9
- creating task 10
- waiting for tasks to complete...
- task 1 will run for 44.0us
- task 2 will run for 91.0us
- task 3 will run for 17.0us
- task 4 will run for 31.0us
- task 5 will run for 59.0us
- task 6 will run for 83.0us
- task 7 will run for 40.0us
- task 8 will run for 78.0us
- task 9 will run for 16.0us
- task 10 will run for 45.0us
- task 1 done
- task 2 done
- task 3 done
- task 4 done
- task 5 done
- task 6 done
- task 7 done
- task 8 done
- task 9 done
- task 10 done
- all tasks done
- ok
- test_barrier (__main__.BarrierTest) ... waiting for tasks to end
- task 0 will run for 0.0us
- task 1 will run for 67.0us
- task 2 will run for 18.0us
- task 3 will run for 27.0us
- task 4 will run for 4.0us
- task 5 will run for 17.0us
- task 6 will run for 2.0us
- task 7 will run for 59.0us
- task 8 will run for 92.0us
- task 9 will run for 76.0us
- task 0 entering 0
- task 1 entering 0
- task 2 entering 0
- task 3 entering 0
- task 4 entering 0
- task 5 entering 0
- task 6 entering 0
- task 7 entering 0
- task 8 entering 0
- task 9 entering 0
- task 9 leaving barrier
- task 9 will run for 22.0us
- task 0 leaving barrier
- task 0 will run for 0.0us
- task 1 leaving barrier
- task 1 will run for 6.0us
- task 2 leaving barrier
- task 2 will run for 85.0us
- task 3 leaving barrier
- task 3 will run for 96.0us
- task 4 leaving barrier
- task 4 will run for 14.0us
- task 5 leaving barrier
- task 5 will run for 91.0us
- task 6 leaving barrier
- task 6 will run for 51.0us
- task 7 leaving barrier
- task 7 will run for 3.0us
- task 8 leaving barrier
- task 8 will run for 9.0us
- task 0 entering 1
- task 9 entering 1
- task 1 entering 1
- task 2 entering 1
- task 3 entering 1
- task 4 entering 1
- task 5 entering 1
- task 6 entering 1
- task 7 entering 1
- task 8 entering 1
- task 8 leaving barrier
- task 8 will run for 32.0us
- task 0 leaving barrier
- task 0 will run for 0.0us
- task 9 leaving barrier
- task 9 will run for 90.0us
- task 1 leaving barrier
- task 1 will run for 45.0us
- task 2 leaving barrier
- task 2 will run for 40.0us
- task 3 leaving barrier
- task 3 will run for 4.0us
- task 4 leaving barrier
- task 4 will run for 13.0us
- task 5 leaving barrier
- task 5 will run for 35.0us
- task 6 leaving barrier
- task 6 will run for 51.0us
- task 7 leaving barrier
- task 7 will run for 77.0us
- task 0 entering 2
- task 8 entering 2
- task 9 entering 2
- task 1 entering 2
- task 2 entering 2
- task 3 entering 2
- task 4 entering 2
- task 5 entering 2
- task 6 entering 2
- task 7 entering 2
- task 7 leaving barrier
- task 0 leaving barrier
- task 8 leaving barrier
- task 9 leaving barrier
- task 1 leaving barrier
- task 2 leaving barrier
- task 3 leaving barrier
- task 4 leaving barrier
- task 5 leaving barrier
- task 6 leaving barrier
- tasks done
- ok
- test_acquire_contended (__main__.LockTests) ... ok
- test_acquire_destroy (__main__.LockTests) ... ok
- test_acquire_release (__main__.LockTests) ... ok
- test_constructor (__main__.LockTests) ... ok
- test_different_thread (__main__.LockTests) ... ok
- test_reacquire (__main__.LockTests) ... ok
- test_thread_leak (__main__.LockTests) ... ok
- test_try_acquire (__main__.LockTests) ... ok
- test_try_acquire_contended (__main__.LockTests) ... ok
- test_with (__main__.LockTests) ... ok
- ----------------------------------------------------------------------
- Ran 13 tests in 0.353s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_thread.py [took 0.8s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_thread.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_thread.py
- Running with patch_all(Event=True): test_thread.py
- Removed test__count (1)
- Removed test_forkinthread (1)
- test_stack_size (__main__.ThreadRunningTests) ... caught expected ValueError setting stack_size(4096)
- successfully set stack_size(262144)
- successfully set stack_size(1048576)
- successfully set stack_size(0)
- trying stack_size = (262144)
- creating task 1
- creating task 2
- creating task 3
- creating task 4
- creating task 5
- creating task 6
- creating task 7
- creating task 8
- creating task 9
- creating task 10
- waiting for all tasks to complete
- task 1 will run for 74.0us
- task 2 will run for 62.0us
- task 3 will run for 41.0us
- task 4 will run for 83.0us
- task 5 will run for 14.0us
- task 6 will run for 47.0us
- task 7 will run for 85.0us
- task 8 will run for 5.0us
- task 9 will run for 83.0us
- task 10 will run for 6.0us
- task 1 done
- task 2 done
- task 3 done
- task 4 done
- task 5 done
- task 6 done
- task 7 done
- task 8 done
- task 9 done
- task 10 done
- all tasks done
- trying stack_size = (1048576)
- creating task 1
- creating task 2
- creating task 3
- creating task 4
- creating task 5
- creating task 6
- creating task 7
- creating task 8
- creating task 9
- creating task 10
- waiting for all tasks to complete
- task 1 will run for 62.0us
- task 2 will run for 68.0us
- task 3 will run for 88.0us
- task 4 will run for 74.0us
- task 5 will run for 68.0us
- task 6 will run for 78.0us
- task 7 will run for 81.0us
- task 8 will run for 64.0us
- task 9 will run for 81.0us
- task 10 will run for 88.0us
- task 1 done
- task 2 done
- task 3 done
- task 4 done
- task 5 done
- task 6 done
- task 7 done
- task 8 done
- task 9 done
- task 10 done
- all tasks done
- ok
- test_starting_threads (__main__.ThreadRunningTests) ... creating task 1
- creating task 2
- creating task 3
- creating task 4
- creating task 5
- creating task 6
- creating task 7
- creating task 8
- creating task 9
- creating task 10
- waiting for tasks to complete...
- task 1 will run for 23.0us
- task 2 will run for 33.0us
- task 3 will run for 89.0us
- task 4 will run for 42.0us
- task 5 will run for 3.0us
- task 6 will run for 21.0us
- task 7 will run for 14.0us
- task 8 will run for 84.0us
- task 9 will run for 51.0us
- task 10 will run for 99.0us
- task 1 done
- task 2 done
- task 3 done
- task 4 done
- task 5 done
- task 6 done
- task 7 done
- task 8 done
- task 9 done
- task 10 done
- all tasks done
- ok
- test_barrier (__main__.BarrierTest) ... waiting for tasks to end
- task 0 will run for 0.0us
- task 1 will run for 78.0us
- task 2 will run for 90.0us
- task 3 will run for 83.0us
- task 4 will run for 33.0us
- task 5 will run for 62.0us
- task 6 will run for 99.0us
- task 7 will run for 99.0us
- task 8 will run for 99.0us
- task 9 will run for 94.0us
- task 0 entering 0
- task 1 entering 0
- task 2 entering 0
- task 3 entering 0
- task 4 entering 0
- task 5 entering 0
- task 6 entering 0
- task 7 entering 0
- task 8 entering 0
- task 9 entering 0
- task 9 leaving barrier
- task 9 will run for 54.0us
- task 0 leaving barrier
- task 0 will run for 0.0us
- task 1 leaving barrier
- task 1 will run for 44.0us
- task 2 leaving barrier
- task 2 will run for 18.0us
- task 3 leaving barrier
- task 3 will run for 36.0us
- task 4 leaving barrier
- task 4 will run for 27.0us
- task 5 leaving barrier
- task 5 will run for 38.0us
- task 6 leaving barrier
- task 6 will run for 73.0us
- task 7 leaving barrier
- task 7 will run for 24.0us
- task 8 leaving barrier
- task 8 will run for 88.0us
- task 0 entering 1
- task 9 entering 1
- task 1 entering 1
- task 2 entering 1
- task 3 entering 1
- task 4 entering 1
- task 5 entering 1
- task 6 entering 1
- task 7 entering 1
- task 8 entering 1
- task 8 leaving barrier
- task 8 will run for 27.0us
- task 0 leaving barrier
- task 0 will run for 0.0us
- task 9 leaving barrier
- task 9 will run for 74.0us
- task 1 leaving barrier
- task 1 will run for 47.0us
- task 2 leaving barrier
- task 2 will run for 23.0us
- task 3 leaving barrier
- task 3 will run for 39.0us
- task 4 leaving barrier
- task 4 will run for 92.0us
- task 5 leaving barrier
- task 5 will run for 77.0us
- task 6 leaving barrier
- task 6 will run for 79.0us
- task 7 leaving barrier
- task 7 will run for 58.0us
- task 0 entering 2
- task 8 entering 2
- task 9 entering 2
- task 1 entering 2
- task 2 entering 2
- task 3 entering 2
- task 4 entering 2
- task 5 entering 2
- task 6 entering 2
- task 7 entering 2
- task 7 leaving barrier
- task 0 leaving barrier
- task 8 leaving barrier
- task 9 leaving barrier
- task 1 leaving barrier
- task 2 leaving barrier
- task 3 leaving barrier
- task 4 leaving barrier
- task 5 leaving barrier
- task 6 leaving barrier
- tasks done
- ok
- test_acquire_contended (__main__.LockTests) ... ok
- test_acquire_destroy (__main__.LockTests) ... ok
- test_acquire_release (__main__.LockTests) ... ok
- test_constructor (__main__.LockTests) ... ok
- test_different_thread (__main__.LockTests) ... ok
- test_reacquire (__main__.LockTests) ... ok
- test_thread_leak (__main__.LockTests) ... ok
- test_try_acquire (__main__.LockTests) ... ok
- test_try_acquire_contended (__main__.LockTests) ... ok
- test_with (__main__.LockTests) ... ok
- ----------------------------------------------------------------------
- Ran 13 tests in 0.432s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_thread.py [took 1.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_threading.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_telnetlib.py
- Running with patch_all(Event=True): test_telnetlib.py
- testBasic (__main__.GeneralTests) ... ok
- testTimeoutDefault (__main__.GeneralTests) ... ok
- testTimeoutNone (__main__.GeneralTests) ... ok
- testTimeoutOpen (__main__.GeneralTests) ... ok
- testTimeoutValue (__main__.GeneralTests) ... ok
- test_read_all_A (__main__.ReadTests) ... ok
- test_read_all_B (__main__.ReadTests) ... ok
- test_read_all_C (__main__.ReadTests) ... ok
- test_read_eager_A (__main__.ReadTests) ... ok
- test_read_eager_B (__main__.ReadTests) ... ok
- test_read_lazy_A (__main__.ReadTests) ... ok
- test_read_lazy_B (__main__.ReadTests) ... ok
- test_read_some_A (__main__.ReadTests) ... ok
- test_read_some_B (__main__.ReadTests) ... ok
- test_read_some_C (__main__.ReadTests) ... ok
- test_read_until_A (__main__.ReadTests) ... ok
- test_read_until_B (__main__.ReadTests) ... ok
- test_read_very_eager_A (__main__.ReadTests) ... ok
- test_read_very_eager_B (__main__.ReadTests) ... ok
- test_read_very_lazy_A (__main__.ReadTests) ... ok
- test_read_very_lazy_B (__main__.ReadTests) ... ok
- test_IAC_commands (__main__.OptionTests) ... ok
- test_SB_commands (__main__.OptionTests) ... ok
- ----------------------------------------------------------------------
- Ran 23 tests in 5.151s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_telnetlib.py [took 7.9s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_threading.py
- Running with patch_all(Event=False): test_threading.py
- Removed test_PyThreadState_SetAsyncExc (2)
- Removed test_join_nondaemon_on_shutdown (1)
- test_acquire_contended (__main__.LockTests) ... ok
- test_acquire_destroy (__main__.LockTests) ... ok
- test_acquire_release (__main__.LockTests) ... ok
- test_constructor (__main__.LockTests) ... ok
- test_different_thread (__main__.LockTests) ... ok
- test_reacquire (__main__.LockTests) ... ok
- test_thread_leak (__main__.LockTests) ... ok
- test_try_acquire (__main__.LockTests) ... ok
- test_try_acquire_contended (__main__.LockTests) ... ok
- test_with (__main__.LockTests) ... ok
- test__is_owned (__main__.RLockTests) ... ok
- test_acquire_contended (__main__.RLockTests) ... ok
- test_acquire_destroy (__main__.RLockTests) ... ok
- test_acquire_release (__main__.RLockTests) ... ok
- test_constructor (__main__.RLockTests) ... ok
- test_different_thread (__main__.RLockTests) ... ok
- test_reacquire (__main__.RLockTests) ... ok
- test_release_unacquired (__main__.RLockTests) ... ok
- test_thread_leak (__main__.RLockTests) ... ok
- test_try_acquire (__main__.RLockTests) ... ok
- test_try_acquire_contended (__main__.RLockTests) ... ok
- test_with (__main__.RLockTests) ... ok
- test_is_set (__main__.EventTests) ... ok
- test_notify (__main__.EventTests) ... ok
- test_timeout (__main__.EventTests) ... ok
- test__is_owned (__main__.ConditionAsRLockTests) ... ok
- test_acquire_contended (__main__.ConditionAsRLockTests) ... ok
- test_acquire_destroy (__main__.ConditionAsRLockTests) ... ok
- test_acquire_release (__main__.ConditionAsRLockTests) ... ok
- test_constructor (__main__.ConditionAsRLockTests) ... ok
- test_different_thread (__main__.ConditionAsRLockTests) ... ok
- test_reacquire (__main__.ConditionAsRLockTests) ... ok
- test_release_unacquired (__main__.ConditionAsRLockTests) ... ok
- test_thread_leak (__main__.ConditionAsRLockTests) ... ok
- test_try_acquire (__main__.ConditionAsRLockTests) ... ok
- test_try_acquire_contended (__main__.ConditionAsRLockTests) ... ok
- test_with (__main__.ConditionAsRLockTests) ... ok
- test_acquire (__main__.ConditionTests) ... ok
- test_notify (__main__.ConditionTests) ... ok
- test_timeout (__main__.ConditionTests) ... ok
- test_unacquired_notify (__main__.ConditionTests) ... ok
- test_unacquired_wait (__main__.ConditionTests) ... ok
- test_acquire (__main__.SemaphoreTests) ... ok
- test_acquire_contended (__main__.SemaphoreTests) ... ok
- test_acquire_destroy (__main__.SemaphoreTests) ... ok
- test_constructor (__main__.SemaphoreTests) ... ok
- test_default_value (__main__.SemaphoreTests) ... ok
- test_release_unacquired (__main__.SemaphoreTests) ... ok
- test_try_acquire (__main__.SemaphoreTests) ... ok
- test_try_acquire_contended (__main__.SemaphoreTests) ... ok
- test_with (__main__.SemaphoreTests) ... ok
- test_acquire (__main__.BoundedSemaphoreTests) ... ok
- test_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
- test_acquire_destroy (__main__.BoundedSemaphoreTests) ... ok
- test_constructor (__main__.BoundedSemaphoreTests) ... ok
- test_default_value (__main__.BoundedSemaphoreTests) ... ok
- test_recursion_limit (__main__.BoundedSemaphoreTests) ... skipped 'test macosx problem'
- test_release_unacquired (__main__.BoundedSemaphoreTests) ... ok
- test_try_acquire (__main__.BoundedSemaphoreTests) ... ok
- test_try_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
- test_with (__main__.BoundedSemaphoreTests) ... ok
- test_enumerate_after_join (__main__.ThreadTests) ... ok
- test_finalize_runnning_thread (__main__.ThreadTests) ... ok
- test_finalize_with_trace (__main__.ThreadTests) ... ok
- test_foreign_thread (__main__.ThreadTests) ... ok
- test_ident_of_no_threading_threads (__main__.ThreadTests) ... ok
- test_limbo_cleanup (__main__.ThreadTests) ... ok
- test_no_refcycle_through_target (__main__.ThreadTests) ... ok
- test_various_ops (__main__.ThreadTests) ... task <thread 0> will run for 47.7 usec
- 1 tasks are running
- task <thread 1> will run for 4.3 usec
- 2 tasks are running
- task <thread 2> will run for 89.4 usec
- 3 tasks are running
- task <thread 3> will run for 37.9 usec
- task <thread 4> will run for 89.0 usec
- task <thread 5> will run for 5.0 usec
- task <thread 6> will run for 30.0 usec
- task <thread 7> will run for 67.1 usec
- task <thread 8> will run for 63.3 usec
- task <thread 9> will run for 94.4 usec
- waiting for all tasks to complete
- task <thread 0> done
- <thread 0> is finished. 2 tasks are running
- task <thread 1> done
- <thread 1> is finished. 1 tasks are running
- task <thread 2> done
- <thread 2> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 3> done
- <thread 3> is finished. 2 tasks are running
- task <thread 4> done
- <thread 4> is finished. 1 tasks are running
- task <thread 5> done
- <thread 5> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 6> done
- <thread 6> is finished. 2 tasks are running
- task <thread 7> done
- <thread 7> is finished. 1 tasks are running
- task <thread 8> done
- <thread 8> is finished. 0 tasks are running
- 1 tasks are running
- task <thread 9> done
- <thread 9> is finished. 0 tasks are running
- all tasks done
- ok
- test_various_ops_large_stack (__main__.ThreadTests) ... with 1MB thread stack size...
- task <thread 0> will run for 76.4 usec
- 1 tasks are running
- task <thread 1> will run for 32.8 usec
- 2 tasks are running
- task <thread 2> will run for 41.9 usec
- 3 tasks are running
- task <thread 3> will run for 96.5 usec
- task <thread 4> will run for 35.0 usec
- task <thread 5> will run for 14.6 usec
- task <thread 6> will run for 54.4 usec
- task <thread 7> will run for 65.7 usec
- task <thread 8> will run for 62.8 usec
- task <thread 9> will run for 97.4 usec
- waiting for all tasks to complete
- task <thread 0> done
- <thread 0> is finished. 2 tasks are running
- task <thread 1> done
- <thread 1> is finished. 1 tasks are running
- task <thread 2> done
- <thread 2> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 3> done
- <thread 3> is finished. 2 tasks are running
- task <thread 4> done
- <thread 4> is finished. 1 tasks are running
- task <thread 5> done
- <thread 5> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 6> done
- <thread 6> is finished. 2 tasks are running
- task <thread 7> done
- <thread 7> is finished. 1 tasks are running
- task <thread 8> done
- <thread 8> is finished. 0 tasks are running
- 1 tasks are running
- task <thread 9> done
- <thread 9> is finished. 0 tasks are running
- all tasks done
- ok
- test_various_ops_small_stack (__main__.ThreadTests) ... with 256kB thread stack size...
- task <thread 0> will run for 78.2 usec
- 1 tasks are running
- task <thread 1> will run for 10.5 usec
- 2 tasks are running
- task <thread 2> will run for 82.8 usec
- 3 tasks are running
- task <thread 3> will run for 5.6 usec
- task <thread 4> will run for 85.6 usec
- task <thread 5> will run for 0.5 usec
- task <thread 6> will run for 56.1 usec
- task <thread 7> will run for 7.9 usec
- task <thread 8> will run for 89.5 usec
- task <thread 9> will run for 59.6 usec
- waiting for all tasks to complete
- task <thread 0> done
- <thread 0> is finished. 2 tasks are running
- task <thread 1> done
- <thread 1> is finished. 1 tasks are running
- task <thread 2> done
- <thread 2> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 3> done
- <thread 3> is finished. 2 tasks are running
- task <thread 4> done
- <thread 4> is finished. 1 tasks are running
- task <thread 5> done
- <thread 5> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 6> done
- <thread 6> is finished. 2 tasks are running
- task <thread 7> done
- <thread 7> is finished. 1 tasks are running
- task <thread 8> done
- <thread 8> is finished. 0 tasks are running
- 1 tasks are running
- task <thread 9> done
- <thread 9> is finished. 0 tasks are running
- all tasks done
- ok
- test_1_join_on_shutdown (__main__.ThreadJoinOnShutdown) ... ok
- test_2_join_in_forked_process (__main__.ThreadJoinOnShutdown) ... ok
- test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown) ... FAIL
- test_4_joining_across_fork_in_worker_thread (__main__.ThreadJoinOnShutdown) ... ok
- test_5_clear_waiter_locks_to_avoid_crash (__main__.ThreadJoinOnShutdown) ... ok
- test_reinit_tls_after_fork (__main__.ThreadJoinOnShutdown) ... ok
- test_daemonize_active_thread (__main__.ThreadingExceptionTests) ... ok
- test_joining_current_thread (__main__.ThreadingExceptionTests) ... ok
- test_joining_inactive_thread (__main__.ThreadingExceptionTests) ... ok
- test_start_thread_again (__main__.ThreadingExceptionTests) ... ok
- ======================================================================
- FAIL: test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_threading.py", line 497, in test_3_join_in_forked_from_thread
- self._run_and_join(script)
- File "test_threading.py", line 441, in _run_and_join
- self.assertEqual(data, "end of main\nend of thread\n")
- AssertionError: '' != 'end of main\nend of thread\n'
- ----------------------------------------------------------------------
- Ran 81 tests in 6.875s
- FAILED (failures=1, skipped=1)
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
- "__main__", fname, loader, pkg_name)
- File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
- exec code in run_globals
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
- exec(module_code, globals())
- File "test_threading.py", line 749, in <module>
- test_main()
- File "test_threading.py", line 745, in test_main
- ThreadingExceptionTests,
- File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
- _run_suite(suite)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
- raise TestFailed(err)
- test.test_support.TestFailed: Traceback (most recent call last):
- File "test_threading.py", line 497, in test_3_join_in_forked_from_thread
- self._run_and_join(script)
- File "test_threading.py", line 441, in _run_and_join
- self.assertEqual(data, "end of main\nend of thread\n")
- AssertionError: '' != 'end of main\nend of thread\n'
- ! /usr/local/bin/python2.7 -u -m monkey_test test_threading.py [code 1] [took 10.4s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_threading_local.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading.py
- Running with patch_all(Event=True): test_threading.py
- Removed test_PyThreadState_SetAsyncExc (2)
- Removed test_join_nondaemon_on_shutdown (1)
- test_acquire_contended (__main__.LockTests) ... ok
- test_acquire_destroy (__main__.LockTests) ... ok
- test_acquire_release (__main__.LockTests) ... ok
- test_constructor (__main__.LockTests) ... ok
- test_different_thread (__main__.LockTests) ... ok
- test_reacquire (__main__.LockTests) ... ok
- test_thread_leak (__main__.LockTests) ... ok
- test_try_acquire (__main__.LockTests) ... ok
- test_try_acquire_contended (__main__.LockTests) ... ok
- test_with (__main__.LockTests) ... ok
- test__is_owned (__main__.RLockTests) ... ok
- test_acquire_contended (__main__.RLockTests) ... ok
- test_acquire_destroy (__main__.RLockTests) ... ok
- test_acquire_release (__main__.RLockTests) ... ok
- test_constructor (__main__.RLockTests) ... ok
- test_different_thread (__main__.RLockTests) ... ok
- test_reacquire (__main__.RLockTests) ... ok
- test_release_unacquired (__main__.RLockTests) ... ok
- test_thread_leak (__main__.RLockTests) ... ok
- test_try_acquire (__main__.RLockTests) ... ok
- test_try_acquire_contended (__main__.RLockTests) ... ok
- test_with (__main__.RLockTests) ... ok
- test_is_set (__main__.EventTests) ... ok
- test_notify (__main__.EventTests) ... ok
- test_timeout (__main__.EventTests) ... ok
- test__is_owned (__main__.ConditionAsRLockTests) ... ok
- test_acquire_contended (__main__.ConditionAsRLockTests) ... ok
- test_acquire_destroy (__main__.ConditionAsRLockTests) ... ok
- test_acquire_release (__main__.ConditionAsRLockTests) ... ok
- test_constructor (__main__.ConditionAsRLockTests) ... ok
- test_different_thread (__main__.ConditionAsRLockTests) ... ok
- test_reacquire (__main__.ConditionAsRLockTests) ... ok
- test_release_unacquired (__main__.ConditionAsRLockTests) ... ok
- test_thread_leak (__main__.ConditionAsRLockTests) ... ok
- test_try_acquire (__main__.ConditionAsRLockTests) ... ok
- test_try_acquire_contended (__main__.ConditionAsRLockTests) ... ok
- test_with (__main__.ConditionAsRLockTests) ... ok
- test_acquire (__main__.ConditionTests) ... ok
- test_notify (__main__.ConditionTests) ... ok
- test_timeout (__main__.ConditionTests) ... ok
- test_unacquired_notify (__main__.ConditionTests) ... ok
- test_unacquired_wait (__main__.ConditionTests) ... ok
- test_acquire (__main__.SemaphoreTests) ... ok
- test_acquire_contended (__main__.SemaphoreTests) ... ok
- test_acquire_destroy (__main__.SemaphoreTests) ... ok
- test_constructor (__main__.SemaphoreTests) ... ok
- test_default_value (__main__.SemaphoreTests) ... ok
- test_release_unacquired (__main__.SemaphoreTests) ... ok
- test_try_acquire (__main__.SemaphoreTests) ... ok
- test_try_acquire_contended (__main__.SemaphoreTests) ... ok
- test_with (__main__.SemaphoreTests) ... ok
- test_acquire (__main__.BoundedSemaphoreTests) ... ok
- test_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
- test_acquire_destroy (__main__.BoundedSemaphoreTests) ... ok
- test_constructor (__main__.BoundedSemaphoreTests) ... ok
- test_default_value (__main__.BoundedSemaphoreTests) ... ok
- test_recursion_limit (__main__.BoundedSemaphoreTests) ... skipped 'test macosx problem'
- test_release_unacquired (__main__.BoundedSemaphoreTests) ... ok
- test_try_acquire (__main__.BoundedSemaphoreTests) ... ok
- test_try_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
- test_with (__main__.BoundedSemaphoreTests) ... ok
- test_enumerate_after_join (__main__.ThreadTests) ... ok
- test_finalize_runnning_thread (__main__.ThreadTests) ... ok
- test_finalize_with_trace (__main__.ThreadTests) ... ok
- test_foreign_thread (__main__.ThreadTests) ... ok
- test_ident_of_no_threading_threads (__main__.ThreadTests) ... ok
- test_limbo_cleanup (__main__.ThreadTests) ... ok
- test_no_refcycle_through_target (__main__.ThreadTests) ... ok
- test_various_ops (__main__.ThreadTests) ... task <thread 0> will run for 20.2 usec
- 1 tasks are running
- task <thread 1> will run for 15.3 usec
- 2 tasks are running
- task <thread 2> will run for 76.8 usec
- 3 tasks are running
- task <thread 3> will run for 95.0 usec
- task <thread 4> will run for 58.4 usec
- task <thread 5> will run for 13.6 usec
- task <thread 6> will run for 11.2 usec
- task <thread 7> will run for 51.7 usec
- task <thread 8> will run for 77.4 usec
- task <thread 9> will run for 30.1 usec
- waiting for all tasks to complete
- task <thread 0> done
- <thread 0> is finished. 2 tasks are running
- task <thread 1> done
- <thread 1> is finished. 1 tasks are running
- task <thread 2> done
- <thread 2> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 3> done
- <thread 3> is finished. 2 tasks are running
- task <thread 4> done
- <thread 4> is finished. 1 tasks are running
- task <thread 5> done
- <thread 5> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 6> done
- <thread 6> is finished. 2 tasks are running
- task <thread 7> done
- <thread 7> is finished. 1 tasks are running
- task <thread 8> done
- <thread 8> is finished. 0 tasks are running
- 1 tasks are running
- task <thread 9> done
- <thread 9> is finished. 0 tasks are running
- all tasks done
- ok
- test_various_ops_large_stack (__main__.ThreadTests) ... with 1MB thread stack size...
- task <thread 0> will run for 96.9 usec
- 1 tasks are running
- task <thread 1> will run for 84.2 usec
- 2 tasks are running
- task <thread 2> will run for 39.6 usec
- 3 tasks are running
- task <thread 3> will run for 76.4 usec
- task <thread 4> will run for 38.3 usec
- task <thread 5> will run for 68.5 usec
- task <thread 6> will run for 65.8 usec
- task <thread 7> will run for 59.8 usec
- task <thread 8> will run for 73.8 usec
- task <thread 9> will run for 8.2 usec
- waiting for all tasks to complete
- task <thread 0> done
- <thread 0> is finished. 2 tasks are running
- task <thread 1> done
- <thread 1> is finished. 1 tasks are running
- task <thread 2> done
- <thread 2> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 3> done
- <thread 3> is finished. 2 tasks are running
- task <thread 4> done
- <thread 4> is finished. 1 tasks are running
- task <thread 5> done
- <thread 5> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 6> done
- <thread 6> is finished. 2 tasks are running
- task <thread 7> done
- <thread 7> is finished. 1 tasks are running
- task <thread 8> done
- <thread 8> is finished. 0 tasks are running
- 1 tasks are running
- task <thread 9> done
- <thread 9> is finished. 0 tasks are running
- all tasks done
- ok
- test_various_ops_small_stack (__main__.ThreadTests) ... with 256kB thread stack size...
- task <thread 0> will run for 15.3 usec
- 1 tasks are running
- task <thread 1> will run for 15.0 usec
- 2 tasks are running
- task <thread 2> will run for 10.9 usec
- 3 tasks are running
- task <thread 3> will run for 32.1 usec
- task <thread 4> will run for 22.7 usec
- task <thread 5> will run for 92.2 usec
- task <thread 6> will run for 31.3 usec
- task <thread 7> will run for 52.8 usec
- task <thread 8> will run for 64.7 usec
- task <thread 9> will run for 64.8 usec
- waiting for all tasks to complete
- task <thread 0> done
- <thread 0> is finished. 2 tasks are running
- task <thread 1> done
- <thread 1> is finished. 1 tasks are running
- task <thread 2> done
- <thread 2> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 3> done
- <thread 3> is finished. 2 tasks are running
- task <thread 4> done
- <thread 4> is finished. 1 tasks are running
- task <thread 5> done
- <thread 5> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 6> done
- <thread 6> is finished. 2 tasks are running
- task <thread 7> done
- <thread 7> is finished. 1 tasks are running
- task <thread 8> done
- <thread 8> is finished. 0 tasks are running
- 1 tasks are running
- task <thread 9> done
- <thread 9> is finished. 0 tasks are running
- all tasks done
- ok
- test_1_join_on_shutdown (__main__.ThreadJoinOnShutdown) ... ok
- test_2_join_in_forked_process (__main__.ThreadJoinOnShutdown) ... ok
- test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown) ... FAIL
- test_4_joining_across_fork_in_worker_thread (__main__.ThreadJoinOnShutdown) ... ok
- test_5_clear_waiter_locks_to_avoid_crash (__main__.ThreadJoinOnShutdown) ... ok
- test_reinit_tls_after_fork (__main__.ThreadJoinOnShutdown) ... ok
- test_daemonize_active_thread (__main__.ThreadingExceptionTests) ... ok
- test_joining_current_thread (__main__.ThreadingExceptionTests) ... ok
- test_joining_inactive_thread (__main__.ThreadingExceptionTests) ... ok
- test_start_thread_again (__main__.ThreadingExceptionTests) ... ok
- ======================================================================
- FAIL: test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "test_threading.py", line 497, in test_3_join_in_forked_from_thread
- self._run_and_join(script)
- File "test_threading.py", line 441, in _run_and_join
- self.assertEqual(data, "end of main\nend of thread\n")
- AssertionError: '' != 'end of main\nend of thread\n'
- ----------------------------------------------------------------------
- Ran 81 tests in 8.021s
- FAILED (failures=1, skipped=1)
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
- "__main__", fname, loader, pkg_name)
- File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
- exec code in run_globals
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
- exec(module_code, globals())
- File "test_threading.py", line 749, in <module>
- test_main()
- File "test_threading.py", line 745, in test_main
- ThreadingExceptionTests,
- File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
- _run_suite(suite)
- File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
- raise TestFailed(err)
- test.test_support.TestFailed: Traceback (most recent call last):
- File "test_threading.py", line 497, in test_3_join_in_forked_from_thread
- self._run_and_join(script)
- File "test_threading.py", line 441, in _run_and_join
- self.assertEqual(data, "end of main\nend of thread\n")
- AssertionError: '' != 'end of main\nend of thread\n'
- ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading.py [code 1] [took 8.8s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_subprocess.py
- Running with patch_all(Event=False): test_subprocess.py
- Removed test_leak_fast_process_del_killed (1)
- Removed test_zombie_fast_process_del (1)
- test_call_kwargs (__main__.ProcessTestCase) ... ok
- test_call_seq (__main__.ProcessTestCase) ... ok
- test_check_call_nonzero (__main__.ProcessTestCase) ... ok
- test_check_call_zero (__main__.ProcessTestCase) ... ok
- test_check_output (__main__.ProcessTestCase) ... ok
- test_check_output_nonzero (__main__.ProcessTestCase) ... ok
- test_check_output_stderr (__main__.ProcessTestCase) ... ok
- test_check_output_stdout_arg (__main__.ProcessTestCase) ... ok
- test_communicate (__main__.ProcessTestCase) ... ok
- test_communicate_epipe (__main__.ProcessTestCase) ... ok
- test_communicate_epipe_only_stdin (__main__.ProcessTestCase) ... ok
- test_communicate_pipe_buf (__main__.ProcessTestCase) ... ok
- test_communicate_pipe_fd_leak (__main__.ProcessTestCase) ... skipped 'Linux specific'
- test_communicate_returns (__main__.ProcessTestCase) ... ok
- test_communicate_stderr (__main__.ProcessTestCase) ... ok
- test_communicate_stdin (__main__.ProcessTestCase) ... ok
- test_communicate_stdout (__main__.ProcessTestCase) ... ok
- test_cwd (__main__.ProcessTestCase) ... ok
- test_env (__main__.ProcessTestCase) ... ok
- test_executable_with_cwd (__main__.ProcessTestCase) ... ok
- test_executable_without_cwd (__main__.ProcessTestCase) ... ok
- test_handles_closed_on_exception (__main__.ProcessTestCase) ... ok
- test_invalid_args (__main__.ProcessTestCase) ... ok
- test_invalid_bufsize (__main__.ProcessTestCase) ... ok
- test_leaking_fds_on_error (__main__.ProcessTestCase) ... ok
- test_list2cmdline (__main__.ProcessTestCase) ... ok
- test_no_leaking (__main__.ProcessTestCase) ... ok
- test_poll (__main__.ProcessTestCase) ... ok
- test_stderr_filedes (__main__.ProcessTestCase) ... ok
- test_stderr_fileobj (__main__.ProcessTestCase) ... ok
- test_stderr_none (__main__.ProcessTestCase) ... ok
- test_stderr_pipe (__main__.ProcessTestCase) ... ok
- test_stdin_filedes (__main__.ProcessTestCase) ... ok
- test_stdin_fileobj (__main__.ProcessTestCase) ... ok
- test_stdin_none (__main__.ProcessTestCase) ... ok
- test_stdin_pipe (__main__.ProcessTestCase) ... ok
- test_stdout_filedes (__main__.ProcessTestCase) ... ok
- test_stdout_filedes_of_stdout (__main__.ProcessTestCase) ... .
- ok
- test_stdout_fileobj (__main__.ProcessTestCase) ... ok
- test_stdout_none (__main__.ProcessTestCase) ... this bit of output is from a test of stdout in a different process ...
- ok
- test_stdout_pipe (__main__.ProcessTestCase) ... ok
- test_stdout_stderr_file (__main__.ProcessTestCase) ... ok
- test_stdout_stderr_pipe (__main__.ProcessTestCase) ... ok
- test_universal_newlines (__main__.ProcessTestCase) ... ok
- test_universal_newlines_communicate (__main__.ProcessTestCase) ... ok
- test_wait (__main__.ProcessTestCase) ... ok
- test_writes_before_communicate (__main__.ProcessTestCase) ... ok
- test_args_string (__main__.POSIXProcessTestCase) ... ok
- test_call_string (__main__.POSIXProcessTestCase) ... ok
- test_close_fd_0 (__main__.POSIXProcessTestCase) ... ok
- test_close_fd_1 (__main__.POSIXProcessTestCase) ... ok
- test_close_fd_2 (__main__.POSIXProcessTestCase) ... ok
- test_close_fds_0_1 (__main__.POSIXProcessTestCase) ... ok
- test_close_fds_0_1_2 (__main__.POSIXProcessTestCase) ... ok
- test_close_fds_0_2 (__main__.POSIXProcessTestCase) ... ok
- test_close_fds_1_2 (__main__.POSIXProcessTestCase) ... ok
- test_exceptions (__main__.POSIXProcessTestCase) ... ok
- test_invalid_args (__main__.POSIXProcessTestCase) ... ok
- test_kill (__main__.POSIXProcessTestCase) ... ok
- test_pipe_cloexec (__main__.POSIXProcessTestCase) ... ok
- test_preexec (__main__.POSIXProcessTestCase) ... ok
- test_run_abort (__main__.POSIXProcessTestCase) ... ok
- test_send_signal (__main__.POSIXProcessTestCase) ... ok
- test_shell_sequence (__main__.POSIXProcessTestCase) ... ok
- test_shell_string (__main__.POSIXProcessTestCase) ... ok
- test_specific_shell (__main__.POSIXProcessTestCase) ... ok
- test_swap_fds (__main__.POSIXProcessTestCase) ... ok
- test_terminate (__main__.POSIXProcessTestCase) ... ok
- test_wait_when_sigchild_ignored (__main__.POSIXProcessTestCase) ... ok
- test_call_string (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_close_fds (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_creationflags (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_invalid_args (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_kill (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_send_signal (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_shell_sequence (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_shell_string (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_startupinfo (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_terminate (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_call_kwargs (__main__.ProcessTestCaseNoPoll) ... ok
- test_call_seq (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_call_nonzero (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_call_zero (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_output (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_output_nonzero (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_output_stderr (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_output_stdout_arg (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_epipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_epipe_only_stdin (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_pipe_buf (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_pipe_fd_leak (__main__.ProcessTestCaseNoPoll) ... skipped 'Linux specific'
- test_communicate_returns (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_stderr (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_stdin (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_stdout (__main__.ProcessTestCaseNoPoll) ... ok
- test_cwd (__main__.ProcessTestCaseNoPoll) ... ok
- test_env (__main__.ProcessTestCaseNoPoll) ... ok
- test_executable_with_cwd (__main__.ProcessTestCaseNoPoll) ... ok
- test_executable_without_cwd (__main__.ProcessTestCaseNoPoll) ... ok
- test_handles_closed_on_exception (__main__.ProcessTestCaseNoPoll) ... ok
- test_invalid_args (__main__.ProcessTestCaseNoPoll) ... ok
- test_invalid_bufsize (__main__.ProcessTestCaseNoPoll) ... ok
- test_leaking_fds_on_error (__main__.ProcessTestCaseNoPoll) ... ok
- test_list2cmdline (__main__.ProcessTestCaseNoPoll) ... ok
- test_no_leaking (__main__.ProcessTestCaseNoPoll) ... ok
- test_poll (__main__.ProcessTestCaseNoPoll) ... ok
- test_stderr_filedes (__main__.ProcessTestCaseNoPoll) ... ok
- test_stderr_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
- test_stderr_none (__main__.ProcessTestCaseNoPoll) ... ok
- test_stderr_pipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdin_filedes (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdin_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdin_none (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdin_pipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_filedes (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_filedes_of_stdout (__main__.ProcessTestCaseNoPoll) ... .
- ok
- test_stdout_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_none (__main__.ProcessTestCaseNoPoll) ... this bit of output is from a test of stdout in a different process ...
- ok
- test_stdout_pipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_stderr_file (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_stderr_pipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_universal_newlines (__main__.ProcessTestCaseNoPoll) ... ok
- test_universal_newlines_communicate (__main__.ProcessTestCaseNoPoll) ... ok
- test_wait (__main__.ProcessTestCaseNoPoll) ... ok
- test_writes_before_communicate (__main__.ProcessTestCaseNoPoll) ... ok
- test_eintr_retry_call (__main__.HelperFunctionTests) ... ok
- test_noshell_sequence_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
- test_noshell_string_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
- test_shell_sequence_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
- test_shell_string_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
- ----------------------------------------------------------------------
- Ran 131 tests in 114.093s
- OK (skipped=16)
- - /usr/local/bin/python2.7 -u -m monkey_test test_subprocess.py [took 114.8s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_timeout.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_subprocess.py
- Running with patch_all(Event=True): test_subprocess.py
- Removed test_leak_fast_process_del_killed (1)
- Removed test_zombie_fast_process_del (1)
- test_call_kwargs (__main__.ProcessTestCase) ... ok
- test_call_seq (__main__.ProcessTestCase) ... ok
- test_check_call_nonzero (__main__.ProcessTestCase) ... ok
- test_check_call_zero (__main__.ProcessTestCase) ... ok
- test_check_output (__main__.ProcessTestCase) ... ok
- test_check_output_nonzero (__main__.ProcessTestCase) ... ok
- test_check_output_stderr (__main__.ProcessTestCase) ... ok
- test_check_output_stdout_arg (__main__.ProcessTestCase) ... ok
- test_communicate (__main__.ProcessTestCase) ... ok
- test_communicate_epipe (__main__.ProcessTestCase) ... ok
- test_communicate_epipe_only_stdin (__main__.ProcessTestCase) ... ok
- test_communicate_pipe_buf (__main__.ProcessTestCase) ... ok
- test_communicate_pipe_fd_leak (__main__.ProcessTestCase) ... skipped 'Linux specific'
- test_communicate_returns (__main__.ProcessTestCase) ... ok
- test_communicate_stderr (__main__.ProcessTestCase) ... ok
- test_communicate_stdin (__main__.ProcessTestCase) ... ok
- test_communicate_stdout (__main__.ProcessTestCase) ... ok
- test_cwd (__main__.ProcessTestCase) ... ok
- test_env (__main__.ProcessTestCase) ... ok
- test_executable_with_cwd (__main__.ProcessTestCase) ... ok
- test_executable_without_cwd (__main__.ProcessTestCase) ... ok
- test_handles_closed_on_exception (__main__.ProcessTestCase) ... ok
- test_invalid_args (__main__.ProcessTestCase) ... ok
- test_invalid_bufsize (__main__.ProcessTestCase) ... ok
- test_leaking_fds_on_error (__main__.ProcessTestCase) ... ok
- test_list2cmdline (__main__.ProcessTestCase) ... ok
- test_no_leaking (__main__.ProcessTestCase) ... ok
- test_poll (__main__.ProcessTestCase) ... ok
- test_stderr_filedes (__main__.ProcessTestCase) ... ok
- test_stderr_fileobj (__main__.ProcessTestCase) ... ok
- test_stderr_none (__main__.ProcessTestCase) ... ok
- test_stderr_pipe (__main__.ProcessTestCase) ... ok
- test_stdin_filedes (__main__.ProcessTestCase) ... ok
- test_stdin_fileobj (__main__.ProcessTestCase) ... ok
- test_stdin_none (__main__.ProcessTestCase) ... ok
- test_stdin_pipe (__main__.ProcessTestCase) ... ok
- test_stdout_filedes (__main__.ProcessTestCase) ... ok
- test_stdout_filedes_of_stdout (__main__.ProcessTestCase) ... .
- ok
- test_stdout_fileobj (__main__.ProcessTestCase) ... ok
- test_stdout_none (__main__.ProcessTestCase) ... this bit of output is from a test of stdout in a different process ...
- ok
- test_stdout_pipe (__main__.ProcessTestCase) ... ok
- test_stdout_stderr_file (__main__.ProcessTestCase) ... ok
- test_stdout_stderr_pipe (__main__.ProcessTestCase) ... ok
- test_universal_newlines (__main__.ProcessTestCase) ... ok
- test_universal_newlines_communicate (__main__.ProcessTestCase) ... ok
- test_wait (__main__.ProcessTestCase) ... ok
- test_writes_before_communicate (__main__.ProcessTestCase) ... ok
- test_args_string (__main__.POSIXProcessTestCase) ... ok
- test_call_string (__main__.POSIXProcessTestCase) ... ok
- test_close_fd_0 (__main__.POSIXProcessTestCase) ... ok
- test_close_fd_1 (__main__.POSIXProcessTestCase) ... ok
- test_close_fd_2 (__main__.POSIXProcessTestCase) ... ok
- test_close_fds_0_1 (__main__.POSIXProcessTestCase) ... ok
- test_close_fds_0_1_2 (__main__.POSIXProcessTestCase) ... ok
- test_close_fds_0_2 (__main__.POSIXProcessTestCase) ... ok
- test_close_fds_1_2 (__main__.POSIXProcessTestCase) ... ok
- test_exceptions (__main__.POSIXProcessTestCase) ... ok
- test_invalid_args (__main__.POSIXProcessTestCase) ... ok
- test_kill (__main__.POSIXProcessTestCase) ... ok
- test_pipe_cloexec (__main__.POSIXProcessTestCase) ... ok
- test_preexec (__main__.POSIXProcessTestCase) ... ok
- test_run_abort (__main__.POSIXProcessTestCase) ... ok
- test_send_signal (__main__.POSIXProcessTestCase) ... ok
- test_shell_sequence (__main__.POSIXProcessTestCase) ... ok
- test_shell_string (__main__.POSIXProcessTestCase) ... ok
- test_specific_shell (__main__.POSIXProcessTestCase) ... ok
- test_swap_fds (__main__.POSIXProcessTestCase) ... ok
- test_terminate (__main__.POSIXProcessTestCase) ... ok
- test_wait_when_sigchild_ignored (__main__.POSIXProcessTestCase) ... ok
- test_call_string (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_close_fds (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_creationflags (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_invalid_args (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_kill (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_send_signal (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_shell_sequence (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_shell_string (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_startupinfo (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_terminate (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
- test_call_kwargs (__main__.ProcessTestCaseNoPoll) ... ok
- test_call_seq (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_call_nonzero (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_call_zero (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_output (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_output_nonzero (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_output_stderr (__main__.ProcessTestCaseNoPoll) ... ok
- test_check_output_stdout_arg (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_epipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_epipe_only_stdin (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_pipe_buf (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_pipe_fd_leak (__main__.ProcessTestCaseNoPoll) ... skipped 'Linux specific'
- test_communicate_returns (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_stderr (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_stdin (__main__.ProcessTestCaseNoPoll) ... ok
- test_communicate_stdout (__main__.ProcessTestCaseNoPoll) ... ok
- test_cwd (__main__.ProcessTestCaseNoPoll) ... ok
- test_env (__main__.ProcessTestCaseNoPoll) ... ok
- test_executable_with_cwd (__main__.ProcessTestCaseNoPoll) ... ok
- test_executable_without_cwd (__main__.ProcessTestCaseNoPoll) ... ok
- test_handles_closed_on_exception (__main__.ProcessTestCaseNoPoll) ... ok
- test_invalid_args (__main__.ProcessTestCaseNoPoll) ... ok
- test_invalid_bufsize (__main__.ProcessTestCaseNoPoll) ... ok
- test_leaking_fds_on_error (__main__.ProcessTestCaseNoPoll) ... ok
- test_list2cmdline (__main__.ProcessTestCaseNoPoll) ... ok
- test_no_leaking (__main__.ProcessTestCaseNoPoll) ... ok
- test_poll (__main__.ProcessTestCaseNoPoll) ... ok
- test_stderr_filedes (__main__.ProcessTestCaseNoPoll) ... ok
- test_stderr_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
- test_stderr_none (__main__.ProcessTestCaseNoPoll) ... ok
- test_stderr_pipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdin_filedes (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdin_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdin_none (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdin_pipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_filedes (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_filedes_of_stdout (__main__.ProcessTestCaseNoPoll) ... .
- ok
- test_stdout_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_none (__main__.ProcessTestCaseNoPoll) ... this bit of output is from a test of stdout in a different process ...
- ok
- test_stdout_pipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_stderr_file (__main__.ProcessTestCaseNoPoll) ... ok
- test_stdout_stderr_pipe (__main__.ProcessTestCaseNoPoll) ... ok
- test_universal_newlines (__main__.ProcessTestCaseNoPoll) ... ok
- test_universal_newlines_communicate (__main__.ProcessTestCaseNoPoll) ... ok
- test_wait (__main__.ProcessTestCaseNoPoll) ... ok
- test_writes_before_communicate (__main__.ProcessTestCaseNoPoll) ... ok
- test_eintr_retry_call (__main__.HelperFunctionTests) ... ok
- test_noshell_sequence_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
- test_noshell_string_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
- test_shell_sequence_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
- test_shell_string_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
- ----------------------------------------------------------------------
- Ran 131 tests in 116.703s
- OK (skipped=16)
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_subprocess.py [took 117.2s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_timeout.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_timeout.py
- Running with patch_all(Event=False): test_timeout.py
- testBlockingThenTimeout (__main__.CreationTestCase) ... ok
- testFloatReturnValue (__main__.CreationTestCase) ... ok
- testObjectCreation (__main__.CreationTestCase) ... ok
- testRangeCheck (__main__.CreationTestCase) ... ok
- testReturnType (__main__.CreationTestCase) ... ok
- testTimeoutThenBlocking (__main__.CreationTestCase) ... ok
- testTypeCheck (__main__.CreationTestCase) ... ok
- testAcceptTimeout (__main__.TimeoutTestCase) ... ok
- testConnectTimeout (__main__.TimeoutTestCase) ... ok
- testRecvTimeout (__main__.TimeoutTestCase) ... ok
- testRecvfromTimeout (__main__.TimeoutTestCase) ... ok
- testSend (__main__.TimeoutTestCase) ... ok
- testSendall (__main__.TimeoutTestCase) ... ok
- testSendto (__main__.TimeoutTestCase) ... ok
- ----------------------------------------------------------------------
- Ran 14 tests in 4.464s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_timeout.py [took 4.8s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_urllib.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_urllib.py
- Running with patch_all(Event=False): test_urllib.py
- test_close (__main__.urlopen_FileTests) ... ok
- test_fileno (__main__.urlopen_FileTests) ... ok
- test_getcode (__main__.urlopen_FileTests) ... ok
- test_geturl (__main__.urlopen_FileTests) ... ok
- test_info (__main__.urlopen_FileTests) ... ok
- test_interface (__main__.urlopen_FileTests) ... ok
- test_iter (__main__.urlopen_FileTests) ... ok
- test_read (__main__.urlopen_FileTests) ... ok
- test_readline (__main__.urlopen_FileTests) ... ok
- test_readlines (__main__.urlopen_FileTests) ... ok
- test_relativelocalfile (__main__.urlopen_FileTests) ... ok
- test_empty_socket (__main__.urlopen_HttpTests) ... ok
- test_invalid_redirect (__main__.urlopen_HttpTests) ... ok
- test_read (__main__.urlopen_HttpTests) ... ok
- test_read_bogus (__main__.urlopen_HttpTests) ... ok
- test_url_fragment (__main__.urlopen_HttpTests) ... ok
- test_userpass_inurl (__main__.urlopen_HttpTests) ... ok
- test_userpass_with_spaces_inurl (__main__.urlopen_HttpTests) ... ok
- test_basic (__main__.urlretrieve_FileTests) ... ok
- test_copy (__main__.urlretrieve_FileTests) ... ok
- test_reporthook (__main__.urlretrieve_FileTests) ... ok
- test_reporthook_0_bytes (__main__.urlretrieve_FileTests) ... ok
- test_reporthook_5_bytes (__main__.urlretrieve_FileTests) ... ok
- test_reporthook_8193_bytes (__main__.urlretrieve_FileTests) ... ok
- test_short_content_raises_ContentTooShortError (__main__.urlretrieve_HttpTests) ... ok
- test_short_content_raises_ContentTooShortError_without_reporthook (__main__.urlretrieve_HttpTests) ... ok
- test_getproxies_environment_keep_no_proxies (__main__.ProxyTests) ... ok
- test_default_quoting (__main__.QuotingTests) ... ok
- test_default_safe (__main__.QuotingTests) ... ok
- test_never_quote (__main__.QuotingTests) ... ok
- test_quoting_plus (__main__.QuotingTests) ... ok
- test_quoting_space (__main__.QuotingTests) ... ok
- test_safe (__main__.QuotingTests) ... ok
- test_unquote_with_unicode (__main__.UnquotingTests) ... ok
- test_unquoting (__main__.UnquotingTests) ... ok
- test_unquoting_badpercent (__main__.UnquotingTests) ... ok
- test_unquoting_mixed_case (__main__.UnquotingTests) ... ok
- test_unquoting_parts (__main__.UnquotingTests) ... ok
- test_unquoting_plus (__main__.UnquotingTests) ... ok
- test_doseq (__main__.urlencode_Tests) ... ok
- test_quoting (__main__.urlencode_Tests) ... ok
- test_using_mapping (__main__.urlencode_Tests) ... ok
- test_using_sequence (__main__.urlencode_Tests) ... ok
- test_basic (__main__.Pathname_Tests) ... ok
- test_ntpath (__main__.Pathname_Tests) ... skipped 'test specific to the nturl2path library'
- test_quoting (__main__.Pathname_Tests) ... ok
- test_splitpasswd (__main__.Utility_Tests)
- Some of the password examples are not sensible, but it is added to ... ok
- test_quoted_open (__main__.URLopener_Tests) ... ok
- ----------------------------------------------------------------------
- Ran 48 tests in 0.106s
- OK (skipped=1)
- - /usr/local/bin/python2.7 -u -m monkey_test test_urllib.py [took 0.5s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_timeout.py
- Running with patch_all(Event=True): test_timeout.py
- testBlockingThenTimeout (__main__.CreationTestCase) ... ok
- testFloatReturnValue (__main__.CreationTestCase) ... ok
- testObjectCreation (__main__.CreationTestCase) ... ok
- testRangeCheck (__main__.CreationTestCase) ... ok
- testReturnType (__main__.CreationTestCase) ... ok
- testTimeoutThenBlocking (__main__.CreationTestCase) ... ok
- testTypeCheck (__main__.CreationTestCase) ... ok
- testAcceptTimeout (__main__.TimeoutTestCase) ... ok
- testConnectTimeout (__main__.TimeoutTestCase) ... ok
- testRecvTimeout (__main__.TimeoutTestCase) ... ok
- testRecvfromTimeout (__main__.TimeoutTestCase) ... ok
- testSend (__main__.TimeoutTestCase) ... ok
- testSendall (__main__.TimeoutTestCase) ... ok
- testSendto (__main__.TimeoutTestCase) ... ok
- ----------------------------------------------------------------------
- Ran 14 tests in 4.234s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_timeout.py [took 4.6s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_urllib2.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib.py
- Running with patch_all(Event=True): test_urllib.py
- test_close (__main__.urlopen_FileTests) ... ok
- test_fileno (__main__.urlopen_FileTests) ... ok
- test_getcode (__main__.urlopen_FileTests) ... ok
- test_geturl (__main__.urlopen_FileTests) ... ok
- test_info (__main__.urlopen_FileTests) ... ok
- test_interface (__main__.urlopen_FileTests) ... ok
- test_iter (__main__.urlopen_FileTests) ... ok
- test_read (__main__.urlopen_FileTests) ... ok
- test_readline (__main__.urlopen_FileTests) ... ok
- test_readlines (__main__.urlopen_FileTests) ... ok
- test_relativelocalfile (__main__.urlopen_FileTests) ... ok
- test_empty_socket (__main__.urlopen_HttpTests) ... ok
- test_invalid_redirect (__main__.urlopen_HttpTests) ... ok
- test_read (__main__.urlopen_HttpTests) ... ok
- test_read_bogus (__main__.urlopen_HttpTests) ... ok
- test_url_fragment (__main__.urlopen_HttpTests) ... ok
- test_userpass_inurl (__main__.urlopen_HttpTests) ... ok
- test_userpass_with_spaces_inurl (__main__.urlopen_HttpTests) ... ok
- test_basic (__main__.urlretrieve_FileTests) ... ok
- test_copy (__main__.urlretrieve_FileTests) ... ok
- test_reporthook (__main__.urlretrieve_FileTests) ... ok
- test_reporthook_0_bytes (__main__.urlretrieve_FileTests) ... ok
- test_reporthook_5_bytes (__main__.urlretrieve_FileTests) ... ok
- test_reporthook_8193_bytes (__main__.urlretrieve_FileTests) ... ok
- test_short_content_raises_ContentTooShortError (__main__.urlretrieve_HttpTests) ... ok
- test_short_content_raises_ContentTooShortError_without_reporthook (__main__.urlretrieve_HttpTests) ... ok
- test_getproxies_environment_keep_no_proxies (__main__.ProxyTests) ... ok
- test_default_quoting (__main__.QuotingTests) ... ok
- test_default_safe (__main__.QuotingTests) ... ok
- test_never_quote (__main__.QuotingTests) ... ok
- test_quoting_plus (__main__.QuotingTests) ... ok
- test_quoting_space (__main__.QuotingTests) ... ok
- test_safe (__main__.QuotingTests) ... ok
- test_unquote_with_unicode (__main__.UnquotingTests) ... ok
- test_unquoting (__main__.UnquotingTests) ... ok
- test_unquoting_badpercent (__main__.UnquotingTests) ... ok
- test_unquoting_mixed_case (__main__.UnquotingTests) ... ok
- test_unquoting_parts (__main__.UnquotingTests) ... ok
- test_unquoting_plus (__main__.UnquotingTests) ... ok
- test_doseq (__main__.urlencode_Tests) ... ok
- test_quoting (__main__.urlencode_Tests) ... ok
- test_using_mapping (__main__.urlencode_Tests) ... ok
- test_using_sequence (__main__.urlencode_Tests) ... ok
- test_basic (__main__.Pathname_Tests) ... ok
- test_ntpath (__main__.Pathname_Tests) ... skipped 'test specific to the nturl2path library'
- test_quoting (__main__.Pathname_Tests) ... ok
- test_splitpasswd (__main__.Utility_Tests)
- Some of the password examples are not sensible, but it is added to ... ok
- test_quoted_open (__main__.URLopener_Tests) ... ok
- ----------------------------------------------------------------------
- Ran 48 tests in 0.109s
- OK (skipped=1)
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib.py [took 0.7s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_threading_local.py
- Running with patch_all(Event=False): test_threading_local.py
- _threading_local ()
- Doctest: _threading_local ...
- ! /usr/local/bin/python2.7 -u -m monkey_test test_threading_local.py [code TIMEOUT] [took 120.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_urllib2_localnet.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py
- Running with patch_all(Event=True): test_threading_local.py
- _threading_local ()
- Doctest: _threading_local ...
- ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py [code TIMEOUT] [took 120.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2_localnet.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_urllib2.py
- Running with patch_all(Event=False): test_urllib2.py
- Removed test_cookie_redirect (1)
- ! /usr/local/bin/python2.7 -u -m monkey_test test_urllib2.py [code TIMEOUT] [took 120.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_urllib2net.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2.py
- Running with patch_all(Event=True): test_urllib2.py
- Removed test_cookie_redirect (1)
- ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2.py [code TIMEOUT] [took 120.0s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2net.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_urllib2_localnet.py
- Running with patch_all(Event=False): test_urllib2_localnet.py
- test_proxy_qop_auth_int_works_or_throws_urlerror (__main__.ProxyAuthTests) ... ok
- test_proxy_qop_auth_works (__main__.ProxyAuthTests) ... ok
- test_proxy_with_bad_password_raises_httperror (__main__.ProxyAuthTests) ... ok
- test_proxy_with_no_password_raises_httperror (__main__.ProxyAuthTests) ... ok
- test_200 (__main__.TestUrlopen) ... ok
- test_200_with_parameters (__main__.TestUrlopen) ... ok
- test_404 (__main__.TestUrlopen) ... ok
- test_bad_address (__main__.TestUrlopen) ... ok
- test_basic (__main__.TestUrlopen) ... ok
- test_geturl (__main__.TestUrlopen) ... ok
- test_info (__main__.TestUrlopen) ... ok
- test_iteration (__main__.TestUrlopen) ... ok
- test_redirection (__main__.TestUrlopen) ... ok
- test_sending_headers (__main__.TestUrlopen) ... ok
- ----------------------------------------------------------------------
- Ran 14 tests in 44.658s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_urllib2_localnet.py [took 45.1s]
- + /usr/local/bin/python2.7 -u -m monkey_test test_wsgiref.py
- | /usr/local/bin/python2.7 -u -m monkey_test test_wsgiref.py
- Running with patch_all(Event=False): test_wsgiref.py
- testAbstractMethods (__main__.HandlerTests) ... ok
- testBasicErrorOutput (__main__.HandlerTests) ... ok
- testCGIEnviron (__main__.HandlerTests) ... ok
- testContentLength (__main__.HandlerTests) ... ok
- testEnviron (__main__.HandlerTests) ... ok
- testErrorAfterOutput (__main__.HandlerTests) ... ok
- testHeaderFormats (__main__.HandlerTests) ... ok
- testScheme (__main__.HandlerTests) ... ok
- testExtras (__main__.HeaderTests) ... ok
- testMappingInterface (__main__.HeaderTests) ... ok
- testRequireList (__main__.HeaderTests) ... ok
- test_plain_hello (__main__.IntegrationTests) ... ok
- test_simple_validation_error (__main__.IntegrationTests) ... ok
- test_validated_hello (__main__.IntegrationTests) ... ok
- testAppURIs (__main__.UtilityTests) ... ok
- testCrossDefaults (__main__.UtilityTests) ... ok
- testDefaults (__main__.UtilityTests) ... ok
- testFileWrapper (__main__.UtilityTests) ... ok
- testGuessScheme (__main__.UtilityTests) ... ok
- testHopByHop (__main__.UtilityTests) ... ok
- testNormalizedShifts (__main__.UtilityTests) ... ok
- testReqURIs (__main__.UtilityTests) ... ok
- testSimpleShifts (__main__.UtilityTests) ... ok
- ----------------------------------------------------------------------
- Ran 23 tests in 0.057s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_wsgiref.py [took 0.5s]
- + /usr/local/bin/python2.7 -u -m monkey_test --Event test_wsgiref.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_wsgiref.py
- Running with patch_all(Event=True): test_wsgiref.py
- testAbstractMethods (__main__.HandlerTests) ... ok
- testBasicErrorOutput (__main__.HandlerTests) ... ok
- testCGIEnviron (__main__.HandlerTests) ... ok
- testContentLength (__main__.HandlerTests) ... ok
- testEnviron (__main__.HandlerTests) ... ok
- testErrorAfterOutput (__main__.HandlerTests) ... ok
- testHeaderFormats (__main__.HandlerTests) ... ok
- testScheme (__main__.HandlerTests) ... ok
- testExtras (__main__.HeaderTests) ... ok
- testMappingInterface (__main__.HeaderTests) ... ok
- testRequireList (__main__.HeaderTests) ... ok
- test_plain_hello (__main__.IntegrationTests) ... ok
- test_simple_validation_error (__main__.IntegrationTests) ... ok
- test_validated_hello (__main__.IntegrationTests) ... ok
- testAppURIs (__main__.UtilityTests) ... ok
- testCrossDefaults (__main__.UtilityTests) ... ok
- testDefaults (__main__.UtilityTests) ... ok
- testFileWrapper (__main__.UtilityTests) ... ok
- testGuessScheme (__main__.UtilityTests) ... ok
- testHopByHop (__main__.UtilityTests) ... ok
- testNormalizedShifts (__main__.UtilityTests) ... ok
- testReqURIs (__main__.UtilityTests) ... ok
- testSimpleShifts (__main__.UtilityTests) ... ok
- ----------------------------------------------------------------------
- Ran 23 tests in 0.059s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_wsgiref.py [took 0.5s]
- | /usr/local/bin/python2.7 -u -m monkey_test test_urllib2net.py
- Running with patch_all(Event=False): test_urllib2net.py
- Removed test_ftp_no_timeout (1)
- Removed test_ftp_timeout (1)
- Removed test_http_no_timeout (1)
- Removed test_http_timeout (1)
- Removed test_ftp (5)
- Removed test_urlwithfrag (1)
- Removed test_sites_no_connection_close (1)
- test_custom_headers (__main__.OtherNetworkTests) ... ok
- test_file (__main__.OtherNetworkTests) ... ok
- test_fileno (__main__.OtherNetworkTests) ... ok
- test_close (__main__.CloseSocketTest) ... ok
- test_http_basic (__main__.TimeoutTest) ... ok
- test_http_default_timeout (__main__.TimeoutTest) ... ok
- ----------------------------------------------------------------------
- Ran 6 tests in 12.660s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test test_urllib2net.py [took 15.7s]
- + /usr/local/bin/python2.7 -u test__all__.py
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2_localnet.py
- Running with patch_all(Event=True): test_urllib2_localnet.py
- test_proxy_qop_auth_int_works_or_throws_urlerror (__main__.ProxyAuthTests) ... ok
- test_proxy_qop_auth_works (__main__.ProxyAuthTests) ... ok
- test_proxy_with_bad_password_raises_httperror (__main__.ProxyAuthTests) ... ok
- test_proxy_with_no_password_raises_httperror (__main__.ProxyAuthTests) ... ok
- test_200 (__main__.TestUrlopen) ... ok
- test_200_with_parameters (__main__.TestUrlopen) ... ok
- test_404 (__main__.TestUrlopen) ... ok
- test_bad_address (__main__.TestUrlopen) ... ok
- test_basic (__main__.TestUrlopen) ... ok
- test_geturl (__main__.TestUrlopen) ... ok
- test_info (__main__.TestUrlopen) ... ok
- test_iteration (__main__.TestUrlopen) ... ok
- test_redirection (__main__.TestUrlopen) ... ok
- test_sending_headers (__main__.TestUrlopen) ... ok
- ----------------------------------------------------------------------
- Ran 14 tests in 43.906s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2_localnet.py [took 45.7s]
- + /usr/local/bin/python2.7 -u test__api.py
- | /usr/local/bin/python2.7 -u test__api.py
- ........
- ----------------------------------------------------------------------
- Ran 8 tests in 0.433s
- OK
- - /usr/local/bin/python2.7 -u test__api.py [took 0.5s]
- + /usr/local/bin/python2.7 -u test__api_timeout.py
- + /usr/local/bin/python2.7 -u test__ares_host_result.py
- | /usr/local/bin/python2.7 -u test__ares_host_result.py
- ..
- ----------------------------------------------------------------------
- Ran 2 tests in 0.004s
- OK
- - /usr/local/bin/python2.7 -u test__ares_host_result.py [took 0.2s]
- | /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2net.py
- Running with patch_all(Event=True): test_urllib2net.py
- Removed test_ftp_no_timeout (1)
- Removed test_ftp_timeout (1)
- Removed test_http_no_timeout (1)
- Removed test_http_timeout (1)
- Removed test_ftp (5)
- Removed test_urlwithfrag (1)
- Removed test_sites_no_connection_close (1)
- test_custom_headers (__main__.OtherNetworkTests) ... ok
- test_file (__main__.OtherNetworkTests) ... ok
- test_fileno (__main__.OtherNetworkTests) ... ok
- test_close (__main__.CloseSocketTest) ... ok
- test_http_basic (__main__.TimeoutTest) ... ok
- test_http_default_timeout (__main__.TimeoutTest) ... ok
- ----------------------------------------------------------------------
- Ran 6 tests in 18.770s
- OK
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2net.py [took 20.3s]
- | /usr/local/bin/python2.7 -u test__api_timeout.py
- ...
- ----------------------------------------------------------------------
- Ran 3 tests in 0.843s
- OK
- - /usr/local/bin/python2.7 -u test__api_timeout.py [took 3.3s]
- | /usr/local/bin/python2.7 -u test__all__.py
- ...............IncompleteImplWarning: gevent.builtins.ArithmeticError
- IncompleteImplWarning: gevent.builtins.AssertionError
- IncompleteImplWarning: gevent.builtins.AttributeError
- IncompleteImplWarning: gevent.builtins.BaseException
- IncompleteImplWarning: gevent.builtins.BufferError
- IncompleteImplWarning: gevent.builtins.BytesWarning
- IncompleteImplWarning: gevent.builtins.DeprecationWarning
- IncompleteImplWarning: gevent.builtins.EOFError
- IncompleteImplWarning: gevent.builtins.Ellipsis
- IncompleteImplWarning: gevent.builtins.EnvironmentError
- IncompleteImplWarning: gevent.builtins.Exception
- IncompleteImplWarning: gevent.builtins.False
- IncompleteImplWarning: gevent.builtins.FloatingPointError
- IncompleteImplWarning: gevent.builtins.FutureWarning
- IncompleteImplWarning: gevent.builtins.GeneratorExit
- IncompleteImplWarning: gevent.builtins.IOError
- IncompleteImplWarning: gevent.builtins.ImportError
- IncompleteImplWarning: gevent.builtins.ImportWarning
- IncompleteImplWarning: gevent.builtins.IndentationError
- IncompleteImplWarning: gevent.builtins.IndexError
- IncompleteImplWarning: gevent.builtins.KeyError
- IncompleteImplWarning: gevent.builtins.KeyboardInterrupt
- IncompleteImplWarning: gevent.builtins.LookupError
- IncompleteImplWarning: gevent.builtins.MemoryError
- IncompleteImplWarning: gevent.builtins.NameError
- IncompleteImplWarning: gevent.builtins.None
- IncompleteImplWarning: gevent.builtins.NotImplemented
- IncompleteImplWarning: gevent.builtins.NotImplementedError
- IncompleteImplWarning: gevent.builtins.OSError
- IncompleteImplWarning: gevent.builtins.OverflowError
- IncompleteImplWarning: gevent.builtins.PendingDeprecationWarning
- IncompleteImplWarning: gevent.builtins.ReferenceError
- IncompleteImplWarning: gevent.builtins.RuntimeError
- IncompleteImplWarning: gevent.builtins.RuntimeWarning
- IncompleteImplWarning: gevent.builtins.StandardError
- IncompleteImplWarning: gevent.builtins.StopIteration
- IncompleteImplWarning: gevent.builtins.SyntaxError
- IncompleteImplWarning: gevent.builtins.SyntaxWarning
- IncompleteImplWarning: gevent.builtins.SystemError
- IncompleteImplWarning: gevent.builtins.SystemExit
- IncompleteImplWarning: gevent.builtins.TabError
- IncompleteImplWarning: gevent.builtins.True
- IncompleteImplWarning: gevent.builtins.TypeError
- IncompleteImplWarning: gevent.builtins.UnboundLocalError
- IncompleteImplWarning: gevent.builtins.UnicodeDecodeError
- IncompleteImplWarning: gevent.builtins.UnicodeEncodeError
- IncompleteImplWarning: gevent.builtins.UnicodeError
- IncompleteImplWarning: gevent.builtins.UnicodeTranslateError
- IncompleteImplWarning: gevent.builtins.UnicodeWarning
- IncompleteImplWarning: gevent.builtins.UserWarning
- IncompleteImplWarning: gevent.builtins.ValueError
- IncompleteImplWarning: gevent.builtins.Warning
- IncompleteImplWarning: gevent.builtins.ZeroDivisionError
- IncompleteImplWarning: gevent.builtins.abs
- IncompleteImplWarning: gevent.builtins.all
- IncompleteImplWarning: gevent.builtins.any
- IncompleteImplWarning: gevent.builtins.apply
- IncompleteImplWarning: gevent.builtins.basestring
- IncompleteImplWarning: gevent.builtins.bin
- IncompleteImplWarning: gevent.builtins.bool
- IncompleteImplWarning: gevent.builtins.buffer
- IncompleteImplWarning: gevent.builtins.bytearray
- IncompleteImplWarning: gevent.builtins.bytes
- IncompleteImplWarning: gevent.builtins.callable
- IncompleteImplWarning: gevent.builtins.chr
- IncompleteImplWarning: gevent.builtins.classmethod
- IncompleteImplWarning: gevent.builtins.cmp
- IncompleteImplWarning: gevent.builtins.coerce
- IncompleteImplWarning: gevent.builtins.compile
- IncompleteImplWarning: gevent.builtins.complex
- IncompleteImplWarning: gevent.builtins.copyright
- IncompleteImplWarning: gevent.builtins.credits
- IncompleteImplWarning: gevent.builtins.delattr
- IncompleteImplWarning: gevent.builtins.dict
- IncompleteImplWarning: gevent.builtins.dir
- IncompleteImplWarning: gevent.builtins.divmod
- IncompleteImplWarning: gevent.builtins.enumerate
- IncompleteImplWarning: gevent.builtins.eval
- IncompleteImplWarning: gevent.builtins.execfile
- IncompleteImplWarning: gevent.builtins.exit
- IncompleteImplWarning: gevent.builtins.file
- IncompleteImplWarning: gevent.builtins.filter
- IncompleteImplWarning: gevent.builtins.float
- IncompleteImplWarning: gevent.builtins.format
- IncompleteImplWarning: gevent.builtins.frozenset
- IncompleteImplWarning: gevent.builtins.getattr
- IncompleteImplWarning: gevent.builtins.globals
- IncompleteImplWarning: gevent.builtins.hasattr
- IncompleteImplWarning: gevent.builtins.hash
- IncompleteImplWarning: gevent.builtins.help
- IncompleteImplWarning: gevent.builtins.hex
- IncompleteImplWarning: gevent.builtins.id
- IncompleteImplWarning: gevent.builtins.input
- IncompleteImplWarning: gevent.builtins.int
- IncompleteImplWarning: gevent.builtins.intern
- IncompleteImplWarning: gevent.builtins.isinstance
- IncompleteImplWarning: gevent.builtins.issubclass
- IncompleteImplWarning: gevent.builtins.iter
- IncompleteImplWarning: gevent.builtins.len
- IncompleteImplWarning: gevent.builtins.license
- IncompleteImplWarning: gevent.builtins.list
- IncompleteImplWarning: gevent.builtins.locals
- IncompleteImplWarning: gevent.builtins.long
- IncompleteImplWarning: gevent.builtins.map
- IncompleteImplWarning: gevent.builtins.max
- IncompleteImplWarning: gevent.builtins.memoryview
- IncompleteImplWarning: gevent.builtins.min
- IncompleteImplWarning: gevent.builtins.next
- IncompleteImplWarning: gevent.builtins.object
- IncompleteImplWarning: gevent.builtins.oct
- IncompleteImplWarning: gevent.builtins.open
- IncompleteImplWarning: gevent.builtins.ord
- IncompleteImplWarning: gevent.builtins.pow
- IncompleteImplWarning: gevent.builtins.print
- IncompleteImplWarning: gevent.builtins.property
- IncompleteImplWarning: gevent.builtins.quit
- IncompleteImplWarning: gevent.builtins.range
- IncompleteImplWarning: gevent.builtins.raw_input
- IncompleteImplWarning: gevent.builtins.reduce
- IncompleteImplWarning: gevent.builtins.reload
- IncompleteImplWarning: gevent.builtins.repr
- IncompleteImplWarning: gevent.builtins.reversed
- IncompleteImplWarning: gevent.builtins.round
- IncompleteImplWarning: gevent.builtins.set
- IncompleteImplWarning: gevent.builtins.setattr
- IncompleteImplWarning: gevent.builtins.slice
- IncompleteImplWarning: gevent.builtins.sorted
- IncompleteImplWarning: gevent.builtins.staticmethod
- IncompleteImplWarning: gevent.builtins.str
- IncompleteImplWarning: gevent.builtins.sum
- IncompleteImplWarning: gevent.builtins.super
- IncompleteImplWarning: gevent.builtins.tuple
- IncompleteImplWarning: gevent.builtins.type
- IncompleteImplWarning: gevent.builtins.unichr
- IncompleteImplWarning: gevent.builtins.unicode
- IncompleteImplWarning: gevent.builtins.vars
- IncompleteImplWarning: gevent.builtins.xrange
- IncompleteImplWarning: gevent.builtins.zip
- ..........IncompleteImplWarning: gevent.os.altsep
- IncompleteImplWarning: gevent.os.curdir
- IncompleteImplWarning: gevent.os.pardir
- IncompleteImplWarning: gevent.os.sep
- IncompleteImplWarning: gevent.os.extsep
- IncompleteImplWarning: gevent.os.pathsep
- IncompleteImplWarning: gevent.os.linesep
- IncompleteImplWarning: gevent.os.defpath
- IncompleteImplWarning: gevent.os.name
- IncompleteImplWarning: gevent.os.path
- IncompleteImplWarning: gevent.os.devnull
- IncompleteImplWarning: gevent.os.SEEK_SET
- IncompleteImplWarning: gevent.os.SEEK_CUR
- IncompleteImplWarning: gevent.os.SEEK_END
- IncompleteImplWarning: gevent.os.EX_CANTCREAT
- IncompleteImplWarning: gevent.os.EX_CONFIG
- IncompleteImplWarning: gevent.os.EX_DATAERR
- IncompleteImplWarning: gevent.os.EX_IOERR
- IncompleteImplWarning: gevent.os.EX_NOHOST
- IncompleteImplWarning: gevent.os.EX_NOINPUT
- IncompleteImplWarning: gevent.os.EX_NOPERM
- IncompleteImplWarning: gevent.os.EX_NOUSER
- IncompleteImplWarning: gevent.os.EX_OK
- IncompleteImplWarning: gevent.os.EX_OSERR
- IncompleteImplWarning: gevent.os.EX_OSFILE
- IncompleteImplWarning: gevent.os.EX_PROTOCOL
- IncompleteImplWarning: gevent.os.EX_SOFTWARE
- IncompleteImplWarning: gevent.os.EX_TEMPFAIL
- IncompleteImplWarning: gevent.os.EX_UNAVAILABLE
- IncompleteImplWarning: gevent.os.EX_USAGE
- IncompleteImplWarning: gevent.os.F_OK
- IncompleteImplWarning: gevent.os.NGROUPS_MAX
- IncompleteImplWarning: gevent.os.O_APPEND
- IncompleteImplWarning: gevent.os.O_ASYNC
- IncompleteImplWarning: gevent.os.O_CREAT
- IncompleteImplWarning: gevent.os.O_DIRECTORY
- IncompleteImplWarning: gevent.os.O_DSYNC
- IncompleteImplWarning: gevent.os.O_EXCL
- IncompleteImplWarning: gevent.os.O_EXLOCK
- IncompleteImplWarning: gevent.os.O_NDELAY
- IncompleteImplWarning: gevent.os.O_NOCTTY
- IncompleteImplWarning: gevent.os.O_NOFOLLOW
- IncompleteImplWarning: gevent.os.O_NONBLOCK
- IncompleteImplWarning: gevent.os.O_RDONLY
- IncompleteImplWarning: gevent.os.O_RDWR
- IncompleteImplWarning: gevent.os.O_RSYNC
- IncompleteImplWarning: gevent.os.O_SHLOCK
- IncompleteImplWarning: gevent.os.O_SYNC
- IncompleteImplWarning: gevent.os.O_TRUNC
- IncompleteImplWarning: gevent.os.O_WRONLY
- IncompleteImplWarning: gevent.os.R_OK
- IncompleteImplWarning: gevent.os.TMP_MAX
- IncompleteImplWarning: gevent.os.WCONTINUED
- IncompleteImplWarning: gevent.os.WCOREDUMP
- IncompleteImplWarning: gevent.os.WEXITSTATUS
- IncompleteImplWarning: gevent.os.WIFCONTINUED
- IncompleteImplWarning: gevent.os.WIFEXITED
- IncompleteImplWarning: gevent.os.WIFSIGNALED
- IncompleteImplWarning: gevent.os.WIFSTOPPED
- IncompleteImplWarning: gevent.os.WNOHANG
- IncompleteImplWarning: gevent.os.WSTOPSIG
- IncompleteImplWarning: gevent.os.WTERMSIG
- IncompleteImplWarning: gevent.os.WUNTRACED
- IncompleteImplWarning: gevent.os.W_OK
- IncompleteImplWarning: gevent.os.X_OK
- IncompleteImplWarning: gevent.os.abort
- IncompleteImplWarning: gevent.os.access
- IncompleteImplWarning: gevent.os.chdir
- IncompleteImplWarning: gevent.os.chflags
- IncompleteImplWarning: gevent.os.chmod
- IncompleteImplWarning: gevent.os.chown
- IncompleteImplWarning: gevent.os.chroot
- IncompleteImplWarning: gevent.os.close
- IncompleteImplWarning: gevent.os.closerange
- IncompleteImplWarning: gevent.os.confstr
- IncompleteImplWarning: gevent.os.confstr_names
- IncompleteImplWarning: gevent.os.ctermid
- IncompleteImplWarning: gevent.os.dup
- IncompleteImplWarning: gevent.os.dup2
- IncompleteImplWarning: gevent.os.environ
- IncompleteImplWarning: gevent.os.error
- IncompleteImplWarning: gevent.os.execv
- IncompleteImplWarning: gevent.os.execve
- IncompleteImplWarning: gevent.os.fchdir
- IncompleteImplWarning: gevent.os.fchmod
- IncompleteImplWarning: gevent.os.fchown
- IncompleteImplWarning: gevent.os.fdatasync
- IncompleteImplWarning: gevent.os.fdopen
- IncompleteImplWarning: gevent.os.fpathconf
- IncompleteImplWarning: gevent.os.fstat
- IncompleteImplWarning: gevent.os.fstatvfs
- IncompleteImplWarning: gevent.os.fsync
- IncompleteImplWarning: gevent.os.ftruncate
- IncompleteImplWarning: gevent.os.getcwd
- IncompleteImplWarning: gevent.os.getcwdu
- IncompleteImplWarning: gevent.os.getegid
- IncompleteImplWarning: gevent.os.geteuid
- IncompleteImplWarning: gevent.os.getgid
- IncompleteImplWarning: gevent.os.getgroups
- IncompleteImplWarning: gevent.os.getloadavg
- IncompleteImplWarning: gevent.os.getlogin
- IncompleteImplWarning: gevent.os.getpgid
- IncompleteImplWarning: gevent.os.getpgrp
- IncompleteImplWarning: gevent.os.getpid
- IncompleteImplWarning: gevent.os.getppid
- IncompleteImplWarning: gevent.os.getresgid
- IncompleteImplWarning: gevent.os.getresuid
- IncompleteImplWarning: gevent.os.getsid
- IncompleteImplWarning: gevent.os.getuid
- IncompleteImplWarning: gevent.os.initgroups
- IncompleteImplWarning: gevent.os.isatty
- IncompleteImplWarning: gevent.os.kill
- IncompleteImplWarning: gevent.os.killpg
- IncompleteImplWarning: gevent.os.lchown
- IncompleteImplWarning: gevent.os.link
- IncompleteImplWarning: gevent.os.listdir
- IncompleteImplWarning: gevent.os.lseek
- IncompleteImplWarning: gevent.os.lstat
- IncompleteImplWarning: gevent.os.major
- IncompleteImplWarning: gevent.os.makedev
- IncompleteImplWarning: gevent.os.minor
- IncompleteImplWarning: gevent.os.mkdir
- IncompleteImplWarning: gevent.os.mkfifo
- IncompleteImplWarning: gevent.os.mknod
- IncompleteImplWarning: gevent.os.nice
- IncompleteImplWarning: gevent.os.open
- IncompleteImplWarning: gevent.os.openpty
- IncompleteImplWarning: gevent.os.pathconf
- IncompleteImplWarning: gevent.os.pathconf_names
- IncompleteImplWarning: gevent.os.pipe
- IncompleteImplWarning: gevent.os.popen
- IncompleteImplWarning: gevent.os.putenv
- IncompleteImplWarning: gevent.os.read
- IncompleteImplWarning: gevent.os.readlink
- IncompleteImplWarning: gevent.os.remove
- IncompleteImplWarning: gevent.os.rename
- IncompleteImplWarning: gevent.os.rmdir
- IncompleteImplWarning: gevent.os.setegid
- IncompleteImplWarning: gevent.os.seteuid
- IncompleteImplWarning: gevent.os.setgid
- IncompleteImplWarning: gevent.os.setgroups
- IncompleteImplWarning: gevent.os.setpgid
- IncompleteImplWarning: gevent.os.setpgrp
- IncompleteImplWarning: gevent.os.setregid
- IncompleteImplWarning: gevent.os.setresgid
- IncompleteImplWarning: gevent.os.setresuid
- IncompleteImplWarning: gevent.os.setreuid
- IncompleteImplWarning: gevent.os.setsid
- IncompleteImplWarning: gevent.os.setuid
- IncompleteImplWarning: gevent.os.stat
- IncompleteImplWarning: gevent.os.stat_float_times
- IncompleteImplWarning: gevent.os.stat_result
- IncompleteImplWarning: gevent.os.statvfs
- IncompleteImplWarning: gevent.os.statvfs_result
- IncompleteImplWarning: gevent.os.strerror
- IncompleteImplWarning: gevent.os.symlink
- IncompleteImplWarning: gevent.os.sysconf
- IncompleteImplWarning: gevent.os.sysconf_names
- IncompleteImplWarning: gevent.os.system
- IncompleteImplWarning: gevent.os.tcgetpgrp
- IncompleteImplWarning: gevent.os.tcsetpgrp
- IncompleteImplWarning: gevent.os.tempnam
- IncompleteImplWarning: gevent.os.times
- IncompleteImplWarning: gevent.os.tmpfile
- IncompleteImplWarning: gevent.os.tmpnam
- IncompleteImplWarning: gevent.os.ttyname
- IncompleteImplWarning: gevent.os.umask
- IncompleteImplWarning: gevent.os.uname
- IncompleteImplWarning: gevent.os.unlink
- IncompleteImplWarning: gevent.os.unsetenv
- IncompleteImplWarning: gevent.os.urandom
- IncompleteImplWarning: gevent.os.utime
- IncompleteImplWarning: gevent.os.wait
- IncompleteImplWarning: gevent.os.wait3
- IncompleteImplWarning: gevent.os.wait4
- IncompleteImplWarning: gevent.os.write
- IncompleteImplWarning: gevent.os.makedirs
- IncompleteImplWarning: gevent.os.removedirs
- IncompleteImplWarning: gevent.os.renames
- IncompleteImplWarning: gevent.os.walk
- IncompleteImplWarning: gevent.os.execl
- IncompleteImplWarning: gevent.os.execle
- IncompleteImplWarning: gevent.os.execlp
- IncompleteImplWarning: gevent.os.execlpe
- IncompleteImplWarning: gevent.os.execvp
- IncompleteImplWarning: gevent.os.execvpe
- IncompleteImplWarning: gevent.os.getenv
- IncompleteImplWarning: gevent.os.spawnv
- IncompleteImplWarning: gevent.os.spawnve
- IncompleteImplWarning: gevent.os.spawnl
- IncompleteImplWarning: gevent.os.spawnle
- IncompleteImplWarning: gevent.os.spawnvp
- IncompleteImplWarning: gevent.os.spawnvpe
- IncompleteImplWarning: gevent.os.spawnlp
- IncompleteImplWarning: gevent.os.spawnlpe
- IncompleteImplWarning: gevent.os.popen2
- IncompleteImplWarning: gevent.os.popen3
- IncompleteImplWarning: gevent.os.popen4
- .....IncompleteImplWarning: gevent.select.KQ_EV_ADD
- IncompleteImplWarning: gevent.select.KQ_EV_CLEAR
- IncompleteImplWarning: gevent.select.KQ_EV_DELETE
- IncompleteImplWarning: gevent.select.KQ_EV_DISABLE
- IncompleteImplWarning: gevent.select.KQ_EV_ENABLE
- IncompleteImplWarning: gevent.select.KQ_EV_EOF
- IncompleteImplWarning: gevent.select.KQ_EV_ERROR
- IncompleteImplWarning: gevent.select.KQ_EV_FLAG1
- IncompleteImplWarning: gevent.select.KQ_EV_ONESHOT
- IncompleteImplWarning: gevent.select.KQ_EV_SYSFLAGS
- IncompleteImplWarning: gevent.select.KQ_FILTER_AIO
- IncompleteImplWarning: gevent.select.KQ_FILTER_PROC
- IncompleteImplWarning: gevent.select.KQ_FILTER_READ
- IncompleteImplWarning: gevent.select.KQ_FILTER_SIGNAL
- IncompleteImplWarning: gevent.select.KQ_FILTER_TIMER
- IncompleteImplWarning: gevent.select.KQ_FILTER_VNODE
- IncompleteImplWarning: gevent.select.KQ_FILTER_WRITE
- IncompleteImplWarning: gevent.select.KQ_NOTE_ATTRIB
- IncompleteImplWarning: gevent.select.KQ_NOTE_CHILD
- IncompleteImplWarning: gevent.select.KQ_NOTE_DELETE
- IncompleteImplWarning: gevent.select.KQ_NOTE_EXEC
- IncompleteImplWarning: gevent.select.KQ_NOTE_EXIT
- IncompleteImplWarning: gevent.select.KQ_NOTE_EXTEND
- IncompleteImplWarning: gevent.select.KQ_NOTE_FORK
- IncompleteImplWarning: gevent.select.KQ_NOTE_LINK
- IncompleteImplWarning: gevent.select.KQ_NOTE_LOWAT
- IncompleteImplWarning: gevent.select.KQ_NOTE_PCTRLMASK
- IncompleteImplWarning: gevent.select.KQ_NOTE_PDATAMASK
- IncompleteImplWarning: gevent.select.KQ_NOTE_RENAME
- IncompleteImplWarning: gevent.select.KQ_NOTE_REVOKE
- IncompleteImplWarning: gevent.select.KQ_NOTE_TRACK
- IncompleteImplWarning: gevent.select.KQ_NOTE_TRACKERR
- IncompleteImplWarning: gevent.select.KQ_NOTE_WRITE
- IncompleteImplWarning: gevent.select.PIPE_BUF
- IncompleteImplWarning: gevent.select.POLLERR
- IncompleteImplWarning: gevent.select.POLLHUP
- IncompleteImplWarning: gevent.select.POLLNVAL
- IncompleteImplWarning: gevent.select.POLLPRI
- IncompleteImplWarning: gevent.select.POLLRDBAND
- IncompleteImplWarning: gevent.select.POLLRDNORM
- IncompleteImplWarning: gevent.select.POLLWRBAND
- IncompleteImplWarning: gevent.select.POLLWRNORM
- IncompleteImplWarning: gevent.select.kevent
- IncompleteImplWarning: gevent.select.kqueue
- ..IncompleteImplWarning: gevent.signal.ITIMER_PROF
- IncompleteImplWarning: gevent.signal.ITIMER_REAL
- IncompleteImplWarning: gevent.signal.ITIMER_VIRTUAL
- IncompleteImplWarning: gevent.signal.ItimerError
- IncompleteImplWarning: gevent.signal.NSIG
- IncompleteImplWarning: gevent.signal.SIGABRT
- IncompleteImplWarning: gevent.signal.SIGALRM
- IncompleteImplWarning: gevent.signal.SIGBUS
- IncompleteImplWarning: gevent.signal.SIGCHLD
- IncompleteImplWarning: gevent.signal.SIGCONT
- IncompleteImplWarning: gevent.signal.SIGEMT
- IncompleteImplWarning: gevent.signal.SIGFPE
- IncompleteImplWarning: gevent.signal.SIGHUP
- IncompleteImplWarning: gevent.signal.SIGILL
- IncompleteImplWarning: gevent.signal.SIGINFO
- IncompleteImplWarning: gevent.signal.SIGINT
- IncompleteImplWarning: gevent.signal.SIGIO
- IncompleteImplWarning: gevent.signal.SIGIOT
- IncompleteImplWarning: gevent.signal.SIGKILL
- IncompleteImplWarning: gevent.signal.SIGPIPE
- IncompleteImplWarning: gevent.signal.SIGPROF
- IncompleteImplWarning: gevent.signal.SIGQUIT
- IncompleteImplWarning: gevent.signal.SIGSEGV
- IncompleteImplWarning: gevent.signal.SIGSTOP
- IncompleteImplWarning: gevent.signal.SIGSYS
- IncompleteImplWarning: gevent.signal.SIGTERM
- IncompleteImplWarning: gevent.signal.SIGTRAP
- IncompleteImplWarning: gevent.signal.SIGTSTP
- IncompleteImplWarning: gevent.signal.SIGTTIN
- IncompleteImplWarning: gevent.signal.SIGTTOU
- IncompleteImplWarning: gevent.signal.SIGURG
- IncompleteImplWarning: gevent.signal.SIGUSR1
- IncompleteImplWarning: gevent.signal.SIGUSR2
- IncompleteImplWarning: gevent.signal.SIGVTALRM
- IncompleteImplWarning: gevent.signal.SIGWINCH
- IncompleteImplWarning: gevent.signal.SIGXCPU
- IncompleteImplWarning: gevent.signal.SIGXFSZ
- IncompleteImplWarning: gevent.signal.SIG_DFL
- IncompleteImplWarning: gevent.signal.SIG_IGN
- IncompleteImplWarning: gevent.signal.alarm
- IncompleteImplWarning: gevent.signal.default_int_handler
- IncompleteImplWarning: gevent.signal.getitimer
- IncompleteImplWarning: gevent.signal.pause
- IncompleteImplWarning: gevent.signal.set_wakeup_fd
- IncompleteImplWarning: gevent.signal.setitimer
- IncompleteImplWarning: gevent.signal.siginterrupt
- .IncompleteImplWarning: gevent.socket.CAPI
- ...IncompleteImplWarning: gevent.thread.allocate
- IncompleteImplWarning: gevent.thread.exit_thread
- IncompleteImplWarning: gevent.thread.interrupt_main
- IncompleteImplWarning: gevent.thread.start_new
- .IncompleteImplWarning: gevent.threading.activeCount
- IncompleteImplWarning: gevent.threading.active_count
- IncompleteImplWarning: gevent.threading.Condition
- IncompleteImplWarning: gevent.threading.currentThread
- IncompleteImplWarning: gevent.threading.current_thread
- IncompleteImplWarning: gevent.threading.enumerate
- IncompleteImplWarning: gevent.threading.Event
- IncompleteImplWarning: gevent.threading.Lock
- IncompleteImplWarning: gevent.threading.RLock
- IncompleteImplWarning: gevent.threading.Semaphore
- IncompleteImplWarning: gevent.threading.BoundedSemaphore
- IncompleteImplWarning: gevent.threading.Thread
- IncompleteImplWarning: gevent.threading.Timer
- IncompleteImplWarning: gevent.threading.setprofile
- IncompleteImplWarning: gevent.threading.settrace
- IncompleteImplWarning: gevent.threading.local
- IncompleteImplWarning: gevent.threading.stack_size
- ......
- ----------------------------------------------------------------------
- Ran 43 tests in 1.557s
- OK
- - /usr/local/bin/python2.7 -u test__all__.py [took 3.3s]
- + /usr/local/bin/python2.7 -u test__backdoor.py
- + /usr/local/bin/python2.7 -u test__core.py
- + /usr/local/bin/python2.7 -u test__core_async.py
- + /usr/local/bin/python2.7 -u test__core_callback.py
- | /usr/local/bin/python2.7 -u test__core.py
- .......
- ----------------------------------------------------------------------
- Ran 7 tests in 0.007s
- OK
- - /usr/local/bin/python2.7 -u test__core.py [took 0.4s]
- + /usr/local/bin/python2.7 -u test__core_fork.py
- - /usr/local/bin/python2.7 -u test__core_callback.py [took 1.8s]
- + /usr/local/bin/python2.7 -u test__core_loop_run.py
- | /usr/local/bin/python2.7 -u test__core_loop_run.py
- must exit immediatelly...
- ...and once more...
- ..done
- must exit after 0.5 seconds.
- - /usr/local/bin/python2.7 -u test__core_loop_run.py [took 0.7s]
- | /usr/local/bin/python2.7 -u test__backdoor.py
- .....
- ----------------------------------------------------------------------
- Ran 5 tests in 0.973s
- OK
- - /usr/local/bin/python2.7 -u test__backdoor.py [took 4.3s]
- - /usr/local/bin/python2.7 -u test__core_fork.py [took 2.7s]
- | /usr/local/bin/python2.7 -u test__core_async.py
- Watcher <async at 0x88536d6e0c8> reacted after 0.023457 seconds
- - /usr/local/bin/python2.7 -u test__core_async.py [took 4.5s]
- + /usr/local/bin/python2.7 -u test__core_loop_run_sig_mod.py
- + /usr/local/bin/python2.7 -u test__core_stat.py
- + /usr/local/bin/python2.7 -u test__core_timer.py
- + /usr/local/bin/python2.7 -u test__core_watcher.py
- | /usr/local/bin/python2.7 -u test__core_watcher.py
- .
- ----------------------------------------------------------------------
- Ran 1 test in 0.039s
- OK
- - /usr/local/bin/python2.7 -u test__core_watcher.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test__destroy.py
- | /usr/local/bin/python2.7 -u test__core_loop_run_sig_mod.py
- must exit immediatelly...
- ...and once more...
- ..done
- must exit after 0.5 seconds.
- - /usr/local/bin/python2.7 -u test__core_loop_run_sig_mod.py [took 0.9s]
- + /usr/local/bin/python2.7 -u test__doctests.py
- - /usr/local/bin/python2.7 -u test__destroy.py [took 0.4s]
- + /usr/local/bin/python2.7 -u test__environ.py
- | /usr/local/bin/python2.7 -u test__core_stat.py
- Watcher <stat at 0x199cb1ea1050> reacted after 0.0505 seconds (write)
- Watcher <stat at 0x199cb1ea1050> reacted after 0.0493 seconds (unlink)
- - /usr/local/bin/python2.7 -u test__core_stat.py [took 1.2s]
- - /usr/local/bin/python2.7 -u test__core_timer.py [took 1.6s]
- - /usr/local/bin/python2.7 -u test__environ.py [took 0.9s]
- + /usr/local/bin/python2.7 -u test__event.py
- + /usr/local/bin/python2.7 -u test__example_echoserver.py
- + /usr/local/bin/python2.7 -u test__example_portforwarder.py
- | /usr/local/bin/python2.7 -u test__event.py
- .......................
- ----------------------------------------------------------------------
- Ran 23 tests in 2.793s
- OK
- - /usr/local/bin/python2.7 -u test__event.py [took 1.8s]
- + /usr/local/bin/python2.7 -u test__example_udp_client.py
- | /usr/local/bin/python2.7 -u test__example_udp_client.py
- + /usr/local/bin/python2.7 -u udp_client.py Test_udp_client
- Sending 15 bytes to localhost:9000
- 127.0.0.1:9000: got 'reply-from-server'
- - /usr/local/bin/python2.7 -u udp_client.py Test_udp_client [took 0.2s]
- .
- ----------------------------------------------------------------------
- Ran 1 test in 0.228s
- OK
- - /usr/local/bin/python2.7 -u test__example_udp_client.py [took 0.5s]
- + /usr/local/bin/python2.7 -u test__example_udp_server.py
- | /usr/local/bin/python2.7 -u test__example_portforwarder.py
- + /usr/local/bin/python2.7 -u portforwarder.py 127.0.0.1:10011 127.0.0.1:10012
- Starting port forwarder 127.0.0.1:10011 -> 127.0.0.1:10012
- 127.0.0.1:2461 accepted
- 127.0.0.1:2461->127.0.0.1:10012: 'msg1'
- got 'msg1'
- Closing listener socket
- 127.0.0.1:2461->127.0.0.1:10012: 'msg2'
- 127.0.0.1:2461->127.0.0.1:10012: ''
- got 'msg2'
- got ''
- .
- ----------------------------------------------------------------------
- Ran 1 test in 3.376s
- OK
- - /usr/local/bin/python2.7 -u test__example_portforwarder.py [took 3.9s]
- + /usr/local/bin/python2.7 -u test__exc_info.py
- | /usr/local/bin/python2.7 -u test__exc_info.py
- ..
- ----------------------------------------------------------------------
- Ran 2 tests in 0.157s
- OK
- - /usr/local/bin/python2.7 -u test__exc_info.py [took 0.3s]
- | /usr/local/bin/python2.7 -u test__example_echoserver.py
- + /usr/local/bin/python2.7 -u echoserver.py
- Starting echo server on port 16000
- New connection from 127.0.0.1:1783
- echoed 'hello\r\n'
- New connection from 127.0.0.1:13464
- echoed 'world\r\n'
- client disconnected
- client disconnected
- .
- ----------------------------------------------------------------------
- Ran 1 test in 3.757s
- OK
- - /usr/local/bin/python2.7 -u test__example_echoserver.py [took 4.4s]
- + /usr/local/bin/python2.7 -u test__execmodules.py
- + /usr/local/bin/python2.7 -u test__fileobject.py
- | /usr/local/bin/python2.7 -u test__fileobject.py
- ......
- ----------------------------------------------------------------------
- Ran 6 tests in 0.044s
- OK
- - /usr/local/bin/python2.7 -u test__fileobject.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test__getaddrinfo_import.py
- | /usr/local/bin/python2.7 -u test__execmodules.py
- ......................................
- ----------------------------------------------------------------------
- Ran 38 tests in 0.489s
- OK
- - /usr/local/bin/python2.7 -u test__execmodules.py [took 0.6s]
- + /usr/local/bin/python2.7 -u test__greenio.py
- - /usr/local/bin/python2.7 -u test__getaddrinfo_import.py [took 0.4s]
- | /usr/local/bin/python2.7 -u test__example_udp_server.py
- + /usr/local/bin/python2.7 -u udp_server.py
- Receiving datagrams on :9000
- 127.0.0.1: got 'Test udp_server'
- .
- ----------------------------------------------------------------------
- Ran 1 test in 3.848s
- OK
- - /usr/local/bin/python2.7 -u test__example_udp_server.py [took 4.3s]
- + /usr/local/bin/python2.7 -u test__greenlet.py
- + /usr/local/bin/python2.7 -u test__greenletset.py
- | /usr/local/bin/python2.7 -u test__greenio.py
- ..
- ----------------------------------------------------------------------
- Ran 2 tests in 0.267s
- OK
- - /usr/local/bin/python2.7 -u test__greenio.py [took 2.5s]
- + /usr/local/bin/python2.7 -u test__greenness.py
- | /usr/local/bin/python2.7 -u test__greenness.py
- E
- ======================================================================
- ERROR: test_urllib2 (__main__.TestGreenness)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
- return method(self, *args, **kwargs)
- File "test__greenness.py", line 50, in test_urllib2
- self.httpd = BaseHTTPServer.HTTPServer(server_address, BaseHTTPServer.BaseHTTPRequestHandler)
- File "/usr/local/lib/python2.7/SocketServer.py", line 420, in __init__
- self.server_bind()
- File "/usr/local/lib/python2.7/BaseHTTPServer.py", line 110, in server_bind
- self.server_name = socket.getfqdn(host)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socketcommon.py", line 307, in getfqdn
- hostname, aliases, ipaddrs = gethostbyaddr(name)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socketcommon.py", line 280, in gethostbyaddr
- return get_hub().resolver.gethostbyaddr(ip_address)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/resolver_thread.py", line 67, in gethostbyaddr
- return self.pool.apply(_socket.gethostbyaddr, args, kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pool.py", line 300, in apply
- return self.spawn(func, *args, **kwds).get()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/event.py", line 284, in get
- result = self.hub.switch()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 478, in switch
- return _original_Hub.switch(self, *args)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 585, in switch
- return greenlet.switch(self)
- Timeout: 1 second: test timed out
- ----------------------------------------------------------------------
- Ran 1 test in 1.020s
- FAILED (errors=1)
- ! /usr/local/bin/python2.7 -u test__greenness.py [code 1] [took 1.5s]
- + /usr/local/bin/python2.7 -u test__hub.py
- | /usr/local/bin/python2.7 -u test__hub.py
- ........
- ----------------------------------------------------------------------
- Ran 8 tests in 0.679s
- OK
- - /usr/local/bin/python2.7 -u test__hub.py [took 0.9s]
- + /usr/local/bin/python2.7 -u test__import_blocking_in_greenlet.py
- - /usr/local/bin/python2.7 -u test__import_blocking_in_greenlet.py [took 0.5s]
- + /usr/local/bin/python2.7 -u test__import_wait.py
- | /usr/local/bin/python2.7 -u test__greenletset.py
- ........
- ----------------------------------------------------------------------
- Ran 8 tests in 1.650s
- OK
- - /usr/local/bin/python2.7 -u test__greenletset.py [took 0.0s]
- | /usr/local/bin/python2.7 -u test__greenlet.py
- ..................................................
- ----------------------------------------------------------------------
- Ran 50 tests in 4.050s
- OK
- - /usr/local/bin/python2.7 -u test__greenlet.py [took 4.0s]
- + /usr/local/bin/python2.7 -u test__issue230.py
- + /usr/local/bin/python2.7 -u test__issue302monkey.py
- | /usr/local/bin/python2.7 -u test__import_wait.py
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/_import_wait.py", line 20, in raise_name_error
- raise NameError("ThisIsExpected")
- NameError: ThisIsExpected
- <Greenlet at 0x1b98c79449b0: raise_name_error> failed with NameError
- - /usr/local/bin/python2.7 -u test__import_wait.py [took 0.6s]
- + /usr/local/bin/python2.7 -u test__issue330.py
- - /usr/local/bin/python2.7 -u test__issue330.py [took 0.2s]
- + /usr/local/bin/python2.7 -u test__issue467.py
- - /usr/local/bin/python2.7 -u test__issue230.py [took 1.0s]
- - /usr/local/bin/python2.7 -u test__issue302monkey.py [took 1.3s]
- + /usr/local/bin/python2.7 -u test__issue6.py
- + /usr/local/bin/python2.7 -u test__issue600.py
- | /usr/local/bin/python2.7 -u test__issue467.py
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__issue467.py", line 13, in worker
- raise ValueError(i)
- ValueError: 2
- <Greenlet at 0x5531076fcd0: worker(2)> failed with ValueError
- - /usr/local/bin/python2.7 -u test__issue467.py [took 0.2s]
- + /usr/local/bin/python2.7 -u test__issue607.py
- | /usr/local/bin/python2.7 -u test__issue607.py
- ...
- ----------------------------------------------------------------------
- Ran 3 tests in 0.272s
- OK
- - /usr/local/bin/python2.7 -u test__issue607.py [took 0.0s]
- - /usr/local/bin/python2.7 -u test__issue6.py [took 1.2s]
- + /usr/local/bin/python2.7 -u test__issue639.py
- + /usr/local/bin/python2.7 -u test__issues461_471.py
- - /usr/local/bin/python2.7 -u test__issue639.py [took 0.2s]
- + /usr/local/bin/python2.7 -u test__joinall.py
- - /usr/local/bin/python2.7 -u test__joinall.py [took 0.2s]
- | /usr/local/bin/python2.7 -u test__issues461_471.py
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__issues461_471.py", line 17, in task
- sys.stdout.flush()
- KeyboardInterrupt
- <Greenlet at 0x8c89abeba50: task> failed with KeyboardInterrupt
- - /usr/local/bin/python2.7 -u test__issues461_471.py [took 0.5s]
- + /usr/local/bin/python2.7 -u test__local.py
- + /usr/local/bin/python2.7 -u test__loop_callback.py
- - /usr/local/bin/python2.7 -u test__loop_callback.py [took 0.2s]
- - /usr/local/bin/python2.7 -u test__issue600.py [took 1.1s]
- + /usr/local/bin/python2.7 -u test__makefile_ref.py
- + /usr/local/bin/python2.7 -u test__memleak.py
- | /usr/local/bin/python2.7 -u test__local.py
- ...
- ----------------------------------------------------------------------
- Ran 3 tests in 0.012s
- OK
- - /usr/local/bin/python2.7 -u test__local.py [took 1.7s]
- | /usr/local/bin/python2.7 -u test__memleak.py
- ----------------------------------------------------------------------
- Ran 0 tests in 0.000s
- OK
- - /usr/local/bin/python2.7 -u test__memleak.py [took 0.5s]
- + /usr/local/bin/python2.7 -u test__monkey.py
- + /usr/local/bin/python2.7 -u test__monkey_builtins_future.py
- - /usr/local/bin/python2.7 -u test__monkey_builtins_future.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test__monkey_hub_in_thread.py
- - /usr/local/bin/python2.7 -u test__monkey.py [took 0.8s]
- + /usr/local/bin/python2.7 -u test__monkey_logging.py
- - /usr/local/bin/python2.7 -u test__monkey_hub_in_thread.py [took 0.6s]
- + /usr/local/bin/python2.7 -u test__monkey_multiple_imports.py
- - /usr/local/bin/python2.7 -u test__monkey_logging.py [took 0.8s]
- + /usr/local/bin/python2.7 -u test__monkey_sigchld.py
- - /usr/local/bin/python2.7 -u test__monkey_multiple_imports.py [took 1.1s]
- + /usr/local/bin/python2.7 -u test__monkey_sigchld_2.py
- | /usr/local/bin/python2.7 -u test__makefile_ref.py
- ..............
- ----------------------------------------------------------------------
- Ran 14 tests in 3.099s
- OK
- - /usr/local/bin/python2.7 -u test__makefile_ref.py [took 4.1s]
- + /usr/local/bin/python2.7 -u test__nondefaultloop.py
- - /usr/local/bin/python2.7 -u test__nondefaultloop.py [took 0.2s]
- + /usr/local/bin/python2.7 -u test__order.py
- - /usr/local/bin/python2.7 -u test__monkey_sigchld_2.py [took 0.4s]
- + /usr/local/bin/python2.7 -u test__os.py
- | /usr/local/bin/python2.7 -u test__order.py
- .....
- ----------------------------------------------------------------------
- Ran 5 tests in 0.063s
- OK
- - /usr/local/bin/python2.7 -u test__order.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test__pool.py
- | /usr/local/bin/python2.7 -u test__monkey_sigchld.py
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__monkey_sigchld.py", line 20, in handle_sigchld
- raise TypeError("This should be ignored but printed")
- TypeError: This should be ignored but printed
- <Greenlet at 0x10ffaeac87d0: handle_sigchld(20, None)> failed with TypeError
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__monkey_sigchld.py", line 20, in handle_sigchld
- raise TypeError("This should be ignored but printed")
- TypeError: This should be ignored but printed
- <Greenlet at 0x10ffaeac87d0: handle_sigchld(20, None)> failed with TypeError
- - /usr/local/bin/python2.7 -u test__monkey_sigchld.py [took 2.5s]
- + /usr/local/bin/python2.7 -u test__pywsgi.py
- | /usr/local/bin/python2.7 -u test__pywsgi.py
- No handlers could be found for logger "gevent.pywsgi"
- ..............Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 854, in handle_one_response
- self.run_application()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 841, in run_application
- self.process_result()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 832, in process_result
- self.write(data)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 681, in write
- raise AssertionError('The %s response must have no body' % self.code)
- AssertionError: The 304 response must have no body
- {'GATEWAY_INTERFACE': 'CGI/1.1',
- 'HTTP_CONNECTION': 'close',
- 'HTTP_HOST': 'localhost',
- 'PATH_INFO': '/',
- 'QUERY_STRING': '',
- 'REMOTE_ADDR': '127.0.0.1',
- 'REMOTE_PORT': '37353',
- 'REQUEST_METHOD': 'GET',
- 'SCRIPT_NAME': '',
- 'SERVER_NAME': 'localhost',
- 'SERVER_PORT': '20642',
- 'SERVER_PROTOCOL': 'HTTP/1.1',
- 'SERVER_SOFTWARE': 'gevent/1.1 Python/2.7',
- 'wsgi.errors': <gevent.pywsgi.LoggingLogAdapter object at 0x1e8717ef64d0>,
- 'wsgi.input': <gevent.pywsgi.Input object at 0x1e86e3fb5f58>,
- 'wsgi.multiprocess': False,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)} failed with AssertionError
- ..E..............Failed to parse chunk size: ''
- Response.read failed to read the body:
- <Response status_line=u'HTTP/1.1 200 OK\r\n' headers={u'Date': u'Tue, 09 Feb 2016 12:53:59 GMT', u'Transfer-Encoding': u'chunked', u'Content-Type': u'text/plain'} body=None chunks=False>
- Traceback (most recent call last):
- File "test__pywsgi.py", line 186, in read
- self.chunks = list(iread_chunks(fd))
- File "test__pywsgi.py", line 102, in iread_chunks
- chunk_size = int(chunk_size, 16)
- ValueError: invalid literal for int() with base 16: ''
- ....E...127.0.0.1 - - [2016-02-09 13:53:59] "POST / HTTP/1.1" 200 123 0.001422
- .127.0.0.1 - - [2016-02-09 13:53:59] "GET / HTTP/1.1" 200 115 0.001267
- ...........................E..Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 854, in handle_one_response
- self.run_application()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 840, in run_application
- self.result = self.application(self.environ, self.start_response)
- File "test__pywsgi.py", line 767, in application
- ('Custom-Header', self.header)])
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 748, in start_response
- raise UnicodeError("The value must be a native string", header, value)
- UnicodeError: ('The value must be a native string', 'Custom-Header', u'\u1f4a3')
- {'GATEWAY_INTERFACE': 'CGI/1.1',
- 'PATH_INFO': '/',
- 'QUERY_STRING': '',
- 'REMOTE_ADDR': '127.0.0.1',
- 'REMOTE_PORT': '31632',
- 'REQUEST_METHOD': 'GET',
- 'SCRIPT_NAME': '',
- 'SERVER_NAME': 'localhost',
- 'SERVER_PORT': '2187',
- 'SERVER_PROTOCOL': 'HTTP/1.1',
- 'SERVER_SOFTWARE': 'gevent/1.1 Python/2.7',
- 'wsgi.errors': <gevent.pywsgi.LoggingLogAdapter object at 0x1e8662f975d0>,
- 'wsgi.input': <gevent.pywsgi.Input object at 0x1e8622c18db8>,
- 'wsgi.multiprocess': False,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)} failed with UnicodeError
- .127.0.0.1 - - [2016-02-09 13:53:59] "GET / HTTP/1.1" 200 75 0.000411
- <socket fileno=9 sock=127.0.0.1:26504 peer=127.0.0.1:5600>: Invalid request: '<policy-file-XXXuest/>'
- ....Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 854, in handle_one_response
- self.run_application()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 840, in run_application
- self.result = self.application(self.environ, self.start_response)
- File "test__pywsgi.py", line 994, in application
- write('body')
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 681, in write
- raise AssertionError('The %s response must have no body' % self.code)
- AssertionError: The 304 response must have no body
- {'GATEWAY_INTERFACE': 'CGI/1.1',
- 'HTTP_CONNECTION': 'close',
- 'HTTP_HOST': 'localhost',
- 'PATH_INFO': '/',
- 'QUERY_STRING': '',
- 'REMOTE_ADDR': '127.0.0.1',
- 'REMOTE_PORT': '43685',
- 'REQUEST_METHOD': 'GET',
- 'SCRIPT_NAME': '',
- 'SERVER_NAME': 'localhost',
- 'SERVER_PORT': '48773',
- 'SERVER_PROTOCOL': 'HTTP/1.1',
- 'SERVER_SOFTWARE': 'gevent/1.1 Python/2.7',
- 'wsgi.errors': <gevent.pywsgi.LoggingLogAdapter object at 0x1e8662f97710>,
- 'wsgi.input': <gevent.pywsgi.Input object at 0x1e8622c18db8>,
- 'wsgi.multiprocess': False,
- 'wsgi.multithread': False,
- 'wsgi.run_once': False,
- 'wsgi.url_scheme': 'http',
- 'wsgi.version': (1, 0)} failed with AssertionError
- ..E.
- ======================================================================
- ERROR: test_connection_close (__main__.TestBytearray)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
- return method(self, *args, **kwargs)
- File "test__pywsgi.py", line 368, in test_connection_close
- result = fd.readline()
- File "test__pywsgi.py", line 222, in readline
- result = self.obj.readline(*args)
- File "/usr/local/lib/python2.7/socket.py", line 451, in readline
- data = self._sock.recv(self._rbufsize)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 266, in recv
- return sock.recv(*args)
- error: [Errno 54] Connection reset by peer
- ======================================================================
- ERROR: test_connection_close (__main__.TestExplicitContentLength)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
- return method(self, *args, **kwargs)
- File "test__pywsgi.py", line 368, in test_connection_close
- result = fd.readline()
- File "test__pywsgi.py", line 222, in readline
- result = self.obj.readline(*args)
- File "/usr/local/lib/python2.7/socket.py", line 451, in readline
- data = self._sock.recv(self._rbufsize)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 266, in recv
- return sock.recv(*args)
- error: [Errno 54] Connection reset by peer
- ======================================================================
- ERROR: test_connection_close (__main__.TestNoChunks)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
- return method(self, *args, **kwargs)
- File "test__pywsgi.py", line 368, in test_connection_close
- result = fd.readline()
- File "test__pywsgi.py", line 222, in readline
- result = self.obj.readline(*args)
- File "/usr/local/lib/python2.7/socket.py", line 451, in readline
- data = self._sock.recv(self._rbufsize)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 266, in recv
- return sock.recv(*args)
- error: [Errno 54] Connection reset by peer
- ======================================================================
- ERROR: test_connection_close (__main__.TestYield)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
- return method(self, *args, **kwargs)
- File "test__pywsgi.py", line 368, in test_connection_close
- result = fd.readline()
- File "test__pywsgi.py", line 222, in readline
- result = self.obj.readline(*args)
- File "/usr/local/lib/python2.7/socket.py", line 451, in readline
- data = self._sock.recv(self._rbufsize)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 266, in recv
- return sock.recv(*args)
- error: [Errno 54] Connection reset by peer
- ----------------------------------------------------------------------
- Ran 79 tests in 1.441s
- FAILED (errors=4)
- ! /usr/local/bin/python2.7 -u test__pywsgi.py [code 1] [took 1.9s]
- + /usr/local/bin/python2.7 -u test__queue.py
- | /usr/local/bin/python2.7 -u test__queue.py
- ............................................................
- ----------------------------------------------------------------------
- Ran 60 tests in 1.499s
- OK
- - /usr/local/bin/python2.7 -u test__queue.py [took 2.0s]
- + /usr/local/bin/python2.7 -u test__real_greenlet.py
- | /usr/local/bin/python2.7 -u test__os.py
- ....
- ----------------------------------------------------------------------
- Ran 4 tests in 5.215s
- OK
- - /usr/local/bin/python2.7 -u test__os.py [took 5.5s]
- | /usr/local/bin/python2.7 -u test__real_greenlet.py
- Your greenlet version: 0.4.9
- - /usr/local/bin/python2.7 -u test__real_greenlet.py [took 0.2s]
- + /usr/local/bin/python2.7 -u test__refcount.py
- + /usr/local/bin/python2.7 -u test__refcount_core.py
- - /usr/local/bin/python2.7 -u test__refcount_core.py [took 0.1s]
- + /usr/local/bin/python2.7 -u test__select.py
- | /usr/local/bin/python2.7 -u test__select.py
- FF.......
- ======================================================================
- FAIL: test_outer_timeout_is_not_lost (__main__.TestPollRead)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 535, in test_outer_timeout_is_not_lost
- raise AssertionError('must raise Timeout (returned %r)' % (result, ))
- AssertionError: must raise Timeout (returned None)
- ======================================================================
- FAIL: test_returns_none_after_timeout (__main__.TestPollRead)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
- return method(self, *args, **kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 551, in test_returns_none_after_timeout
- result = self._wait_and_check()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 524, in _wait_and_check
- self._default_delay_max_adj)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 507, in _check_delay_bounds
- self.assertGreaterEqual(delay, timeout - delay_min_adj)
- AssertionError: 0.0005037784576416016 not greater than or equal to 0.1
- ----------------------------------------------------------------------
- Ran 9 tests in 0.506s
- FAILED (failures=2)
- ! /usr/local/bin/python2.7 -u test__select.py [code 1] [took 0.8s]
- + /usr/local/bin/python2.7 -u test__semaphore.py
- | /usr/local/bin/python2.7 -u test__refcount.py
- ..
- ----------------------------------------------------------------------
- Ran 2 tests in 0.846s
- OK
- - /usr/local/bin/python2.7 -u test__refcount.py [took 1.2s]
- + /usr/local/bin/python2.7 -u test__server.py
- | /usr/local/bin/python2.7 -u test__semaphore.py
- .....
- ----------------------------------------------------------------------
- Ran 5 tests in 0.399s
- OK
- - /usr/local/bin/python2.7 -u test__semaphore.py [took 0.9s]
- + /usr/local/bin/python2.7 -u test__server_pywsgi.py
- | /usr/local/bin/python2.7 -u test__server.py
- .....................................
- ----------------------------------------------------------------------
- Ran 37 tests in 2.148s
- OK
- - /usr/local/bin/python2.7 -u test__server.py [took 2.6s]
- + /usr/local/bin/python2.7 -u test__signal.py
- | /usr/local/bin/python2.7 -u test__server_pywsgi.py
- 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000682
- 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000405
- ...127.0.0.1 - - [2016-02-09 13:54:05] "GET / HTTP/1.0" 500 161 0.000386
- .127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000361
- .127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000323
- .127.0.0.1 - - [2016-02-09 13:54:05] "GET / HTTP/1.0" 000 - 0.000033
- .127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000317
- 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000333
- ..127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000412
- 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000496
- .127.0.0.1 - - [2016-02-09 13:54:05] "GET / HTTP/1.0" 200 98 0.000481
- 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000399
- 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000459
- .127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000432
- 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000368
- ...127.0.0.1 - - [2016-02-09 13:54:05] "GET / HTTP/1.0" 500 161 0.000550
- .127.0.0.1 - - [2016-02-09 13:54:06] "GET /short HTTP/1.0" 200 94 0.508026
- 127.0.0.1 - - [2016-02-09 13:54:06] "GET /ping HTTP/1.0" 200 98 0.000618
- 127.0.0.1 - - [2016-02-09 13:54:06] "GET /ping HTTP/1.0" 200 98 0.000528
- 127.0.0.1 - - [2016-02-09 13:54:06] "GET /ping HTTP/1.0" 200 98 0.000582
- 127.0.0.1 - - [2016-02-09 13:54:06] "GET /ping HTTP/1.0" 200 98 0.000581
- 127.0.0.1 - - [2016-02-09 13:54:07] "GET /long HTTP/1.0" 500 161 1.526392
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000626
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000560
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET / HTTP/1.0" 000 - 0.000052
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000546
- 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000736
- ..127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000313
- 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000359
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET / HTTP/1.0" 200 98 0.000347
- 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000412
- 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000317
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000364
- 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000357
- ...127.0.0.1 - - [2016-02-09 13:54:07] "GET / HTTP/1.0" 500 161 0.000395
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000357
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000339
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET / HTTP/1.0" 000 - 0.000030
- .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000348
- 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000376
- ..127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000357
- 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000359
- .127.0.0.1 - - [2016-02-09 13:54:08] "GET / HTTP/1.0" 200 98 0.000355
- 127.0.0.1 - - [2016-02-09 13:54:08] "GET /ping HTTP/1.0" 200 98 0.000649
- 127.0.0.1 - - [2016-02-09 13:54:08] "GET /ping HTTP/1.0" 200 98 0.000352
- ..
- ----------------------------------------------------------------------
- Ran 35 tests in 2.751s
- OK
- - /usr/local/bin/python2.7 -u test__server_pywsgi.py [took 3.0s]
- + /usr/local/bin/python2.7 -u test__sleep0.py
- - /usr/local/bin/python2.7 -u test__sleep0.py [took 0.2s]
- + /usr/local/bin/python2.7 -u test__socket.py
- | /usr/local/bin/python2.7 -u test__signal.py
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 274, in handle
- self.handler(*self.args, **self.kwargs)
- File "test__signal.py", line 11, in raise_Expected
- raise Expected('TestSignal')
- Expected: TestSignal
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 274, in handle
- self.handler(*self.args, **self.kwargs)
- File "test__signal.py", line 11, in raise_Expected
- raise Expected('TestSignal')
- Expected: TestSignal
- .
- ----------------------------------------------------------------------
- Ran 1 test in 2.020s
- OK
- - /usr/local/bin/python2.7 -u test__signal.py [took 2.2s]
- + /usr/local/bin/python2.7 -u test__socket_close.py
- | /usr/local/bin/python2.7 -u test__socket_close.py
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 272, in recv
- self._wait(self._read_event)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 171, in _wait
- self.hub.wait(watcher)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 606, in wait
- result = waiter.get()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 854, in get
- return self.hub.switch()
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 478, in switch
- return _original_Hub.switch(self, *args)
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 585, in switch
- return greenlet.switch(self)
- error: [Errno 9] File descriptor was closed in another greenlet
- <Greenlet at 0xe2454d4b4b0: <bound method socket.recv of <socket at 0xe23e9cbd750 fileno=[Errno 9] Bad file descriptor>>(25)> failed with error
- ..
- ----------------------------------------------------------------------
- Ran 2 tests in 0.165s
- OK
- - /usr/local/bin/python2.7 -u test__socket_close.py [took 0.4s]
- + /usr/local/bin/python2.7 -u test__socket_dns.py
- | /usr/local/bin/python2.7 -u test__socket.py
- ...........
- ----------------------------------------------------------------------
- Ran 11 tests in 2.320s
- OK
- - /usr/local/bin/python2.7 -u test__socket.py [took 2.7s]
- + /usr/local/bin/python2.7 -u test__socket_dns6.py
- | /usr/local/bin/python2.7 -u test__pool.py
- ...........Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__pool.py", line 510, in divide_by
- return 1.0 / x
- ZeroDivisionError: float division by zero
- <Greenlet at 0xb323a9b8b90: divide_by(0)> failed with ZeroDivisionError
- .Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__pool.py", line 510, in divide_by
- return 1.0 / x
- ZeroDivisionError: float division by zero
- <Greenlet at 0xb323a9b8b90: divide_by(0)> failed with ZeroDivisionError
- .Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__pool.py", line 510, in divide_by
- return 1.0 / x
- ZeroDivisionError: float division by zero
- <Greenlet at 0xb323a9b8b90: divide_by(0)> failed with ZeroDivisionError
- ...............................................................................................
- ----------------------------------------------------------------------
- Ran 108 tests in 43.845s
- OK
- - /usr/local/bin/python2.7 -u test__pool.py [took 44.1s]
- + /usr/local/bin/python2.7 -u test__socket_errors.py
- | /usr/local/bin/python2.7 -u test__socket_errors.py
- .
- ----------------------------------------------------------------------
- Ran 1 test in 0.079s
- OK
- - /usr/local/bin/python2.7 -u test__socket_errors.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test__socket_ex.py
- | /usr/local/bin/python2.7 -u test__socket_ex.py
- ..
- ----------------------------------------------------------------------
- Ran 2 tests in 0.002s
- OK
- - /usr/local/bin/python2.7 -u test__socket_ex.py [took 0.2s]
- + /usr/local/bin/python2.7 -u test__socket_send_memoryview.py
- - /usr/local/bin/python2.7 -u test__socket_send_memoryview.py [took 0.2s]
- + /usr/local/bin/python2.7 -u test__socket_ssl.py
- | /usr/local/bin/python2.7 -u test__socket_ssl.py
- send: 'GET / HTTP/1.1\r\nHost: sdb.amazonaws.com\r\nAccept-Encoding: identity\r\n\r\n'
- reply: 'HTTP/1.1 302 Moved Temporarily\r\n'
- header: Location: http://www.amazon.com/b?node=342335011
- header: Content-Length: 0
- header: Date: Tue, 09 Feb 2016 12:55:10 GMT
- header: Server: Amazon SimpleDB
- ..
- ----------------------------------------------------------------------
- Ran 2 tests in 47.104s
- OK
- - /usr/local/bin/python2.7 -u test__socket_ssl.py [took 47.5s]
- + /usr/local/bin/python2.7 -u test__socket_timeout.py
- | /usr/local/bin/python2.7 -u test__socket_timeout.py
- .
- ----------------------------------------------------------------------
- Ran 1 test in 0.185s
- OK
- - /usr/local/bin/python2.7 -u test__socket_timeout.py [took 0.4s]
- + /usr/local/bin/python2.7 -u test__socketpair.py
- | /usr/local/bin/python2.7 -u test__socketpair.py
- ..
- ----------------------------------------------------------------------
- Ran 2 tests in 0.002s
- OK
- - /usr/local/bin/python2.7 -u test__socketpair.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test__ssl.py
- | /usr/local/bin/python2.7 -u test__ssl.py
- ..........
- ----------------------------------------------------------------------
- Ran 10 tests in 3.829s
- OK
- - /usr/local/bin/python2.7 -u test__ssl.py [took 6.6s]
- + /usr/local/bin/python2.7 -u test__subprocess.py
- | /usr/local/bin/python2.7 -u test__subprocess.py
- .........123
- ...
- ----------------------------------------------------------------------
- Ran 12 tests in 1.077s
- OK
- - /usr/local/bin/python2.7 -u test__subprocess.py [took 1.3s]
- + /usr/local/bin/python2.7 -u test__subprocess_interrupted.py
- - /usr/local/bin/python2.7 -u test__subprocess_interrupted.py [took 3.5s]
- + /usr/local/bin/python2.7 -u test__subprocess_poll.py
- | /usr/local/bin/python2.7 -u test__subprocess_poll.py
- Timeout.
- Exception in thread Thread-1 (most likely raised during interpreter shutdown):
- Traceback (most recent call last):
- File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 272, in run
- <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute '_exit'
- - /usr/local/bin/python2.7 -u test__subprocess_poll.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test__systemerror.py
- | /usr/local/bin/python2.7 -u test__systemerror.py
- Traceback (most recent call last):
- File "test__systemerror.py", line 8, in raise_
- raise ex
- Exception: regular exception must not kill the program
- <callback at 0xdf2bd3b3990 args=(Exception('regular exception must not kill the program',),)> failed with Exception
- .Traceback (most recent call last):
- File "test__systemerror.py", line 8, in raise_
- raise ex
- KeyboardInterrupt
- <callback at 0xdf2bd3b3d10 args=(<type 'exceptions.KeyboardInterrupt'>,)> failed with KeyboardInterrupt
- ..Traceback (most recent call last):
- File "test__systemerror.py", line 8, in raise_
- raise ex
- SystemError: should be re-raised and caught
- <callback at 0xdf2bd3b3dd0 args=(SystemError('should be re-raised and caught',),)> failed with SystemError
- .Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__systemerror.py", line 8, in raise_
- raise ex
- Exception: regular exception must not kill the program
- <Greenlet at 0xdf365aed5f0: raise_(Exception('regular exception must not kill the pro)> failed with Exception
- .Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__systemerror.py", line 8, in raise_
- raise ex
- KeyboardInterrupt
- <Greenlet at 0xdf365aedeb0: raise_(<type 'exceptions.KeyboardInterrupt'>)> failed with KeyboardInterrupt
- ..Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "test__systemerror.py", line 8, in raise_
- raise ex
- SystemError: should be re-raised and caught
- <Greenlet at 0xdf3505850f0: raise_(SystemError('should be re-raised and caught',))> failed with SystemError
- .
- ----------------------------------------------------------------------
- Ran 8 tests in 0.158s
- OK
- - /usr/local/bin/python2.7 -u test__systemerror.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test__threading.py
- | /usr/local/bin/python2.7 -u test__threading.py
- .
- ----------------------------------------------------------------------
- Ran 1 test in 0.219s
- OK
- - /usr/local/bin/python2.7 -u test__threading.py [took 0.5s]
- + /usr/local/bin/python2.7 -u test__threading_before_monkey.py
- | /usr/local/bin/python2.7 -u test__threading_before_monkey.py
- .
- ----------------------------------------------------------------------
- Ran 1 test in 0.001s
- OK
- - /usr/local/bin/python2.7 -u test__threading_before_monkey.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test__threading_holding_lock_while_monkey.py
- - /usr/local/bin/python2.7 -u test__threading_holding_lock_while_monkey.py [took 0.4s]
- + /usr/local/bin/python2.7 -u test__threading_patched_local.py
- - /usr/local/bin/python2.7 -u test__threading_patched_local.py [took 0.5s]
- + /usr/local/bin/python2.7 -u test__threading_vs_settrace.py
- | /usr/local/bin/python2.7 -u test__threading_vs_settrace.py
- ..thread started....finishing.....finishing......
- ----------------------------------------------------------------------
- Ran 5 tests in 0.940s
- OK
- - /usr/local/bin/python2.7 -u test__threading_vs_settrace.py [took 1.2s]
- + /usr/local/bin/python2.7 -u test__timeout.py
- | /usr/local/bin/python2.7 -u test__timeout.py
- ......TypeError: exceptions must be classes, or instances, not object
- <timer at 0x1f0a98377650 callback=<built-in method throw of greenlet.greenlet object at 0x1f0a98373f50> args=(<object object at 0x1f0b5e5460f0>,)> failed with TypeError
- .....
- ----------------------------------------------------------------------
- Ran 11 tests in 0.538s
- OK
- - /usr/local/bin/python2.7 -u test__timeout.py [took 0.8s]
- + /usr/local/bin/python2.7 -u test_ares_timeout.py
- | /usr/local/bin/python2.7 -u test_ares_timeout.py
- /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/__init__.pyc
- ('\x96H\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00\x03www\x06google\x03com\x00\x00\x01\x00\x01', ('127.0.0.1', 49066))
- - /usr/local/bin/python2.7 -u test_ares_timeout.py [took 1.3s]
- + /usr/local/bin/python2.7 -u test_close_backend_fd.py
- | /usr/local/bin/python2.7 -u test_close_backend_fd.py
- Traceback (most recent call last):
- File "test_close_backend_fd.py", line 13, in <module>
- fileno = hub.loop.fileno()
- AttributeError: 'gevent.corecext.loop' object has no attribute 'fileno'
- ! /usr/local/bin/python2.7 -u test_close_backend_fd.py [code 1] [took 0.1s]
- + /usr/local/bin/python2.7 -u test_hub_join.py
- - /usr/local/bin/python2.7 -u test_hub_join.py [took 0.9s]
- + /usr/local/bin/python2.7 -u test_hub_join_timeout.py
- - /usr/local/bin/python2.7 -u test_hub_join_timeout.py [took 1.5s]
- + /usr/local/bin/python2.7 -u test_issue112.py
- - /usr/local/bin/python2.7 -u test_issue112.py [took 0.3s]
- + /usr/local/bin/python2.7 -u test_queue.py
- | /usr/local/bin/python2.7 -u test_queue.py
- test_queue_join (__main__.QueueTest) ... ok
- test_queue_task_done (__main__.QueueTest) ... ok
- test_queue_task_done_with_items (__main__.QueueTest) ... ok
- test_simple_queue (__main__.QueueTest) ... ok
- test_queue_join (__main__.LifoQueueTest) ... ok
- test_queue_task_done (__main__.LifoQueueTest) ... ok
- test_queue_task_done_with_items (__main__.LifoQueueTest) ... ok
- test_simple_queue (__main__.LifoQueueTest) ... ok
- test_queue_join (__main__.PriorityQueueTest) ... ok
- test_queue_task_done (__main__.PriorityQueueTest) ... ok
- test_queue_task_done_with_items (__main__.PriorityQueueTest) ... ok
- test_simple_queue (__main__.PriorityQueueTest) ... ok
- test_failing_queue (__main__.FailingQueueTest) ... ok
- ----------------------------------------------------------------------
- Ran 13 tests in 1.655s
- OK
- - /usr/local/bin/python2.7 -u test_queue.py [took 2.0s]
- + /usr/local/bin/python2.7 -u test_threading_2.py
- | /usr/local/bin/python2.7 -u test_threading_2.py
- test_acquire_contended (__main__.LockTests) ... ok
- test_acquire_destroy (__main__.LockTests) ... ok
- test_acquire_release (__main__.LockTests) ... ok
- test_constructor (__main__.LockTests) ... ok
- test_different_thread (__main__.LockTests) ... ok
- test_reacquire (__main__.LockTests) ... ok
- test_thread_leak (__main__.LockTests) ... ok
- test_try_acquire (__main__.LockTests) ... ok
- test_try_acquire_contended (__main__.LockTests) ... ok
- test_with (__main__.LockTests) ... ok
- test__is_owned (__main__.RLockTests) ... ok
- test_acquire_contended (__main__.RLockTests) ... ok
- test_acquire_destroy (__main__.RLockTests) ... ok
- test_acquire_release (__main__.RLockTests) ... ok
- test_constructor (__main__.RLockTests) ... ok
- test_different_thread (__main__.RLockTests) ... ok
- test_reacquire (__main__.RLockTests) ... ok
- test_release_unacquired (__main__.RLockTests) ... ok
- test_thread_leak (__main__.RLockTests) ... ok
- test_try_acquire (__main__.RLockTests) ... ok
- test_try_acquire_contended (__main__.RLockTests) ... ok
- test_with (__main__.RLockTests) ... ok
- test_is_set (__main__.EventTests) ... ok
- test_notify (__main__.EventTests) ... ok
- test_timeout (__main__.EventTests) ... ok
- test__is_owned (__main__.ConditionAsRLockTests) ... ok
- test_acquire_contended (__main__.ConditionAsRLockTests) ... ok
- test_acquire_destroy (__main__.ConditionAsRLockTests) ... ok
- test_acquire_release (__main__.ConditionAsRLockTests) ... ok
- test_constructor (__main__.ConditionAsRLockTests) ... ok
- test_different_thread (__main__.ConditionAsRLockTests) ... ok
- test_reacquire (__main__.ConditionAsRLockTests) ... ok
- test_release_unacquired (__main__.ConditionAsRLockTests) ... ok
- test_thread_leak (__main__.ConditionAsRLockTests) ... ok
- test_try_acquire (__main__.ConditionAsRLockTests) ... ok
- test_try_acquire_contended (__main__.ConditionAsRLockTests) ... ok
- test_with (__main__.ConditionAsRLockTests) ... ok
- test_acquire (__main__.ConditionTests) ... ok
- test_notify (__main__.ConditionTests) ... ok
- test_timeout (__main__.ConditionTests) ... ok
- test_unacquired_notify (__main__.ConditionTests) ... ok
- test_unacquired_wait (__main__.ConditionTests) ... ok
- test_acquire (__main__.SemaphoreTests) ... ok
- test_acquire_contended (__main__.SemaphoreTests) ... ok
- test_acquire_destroy (__main__.SemaphoreTests) ... ok
- test_constructor (__main__.SemaphoreTests) ... ok
- test_default_value (__main__.SemaphoreTests) ... ok
- test_release_unacquired (__main__.SemaphoreTests) ... ok
- test_try_acquire (__main__.SemaphoreTests) ... ok
- test_try_acquire_contended (__main__.SemaphoreTests) ... ok
- test_with (__main__.SemaphoreTests) ... ok
- test_acquire (__main__.BoundedSemaphoreTests) ... ok
- test_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
- test_acquire_destroy (__main__.BoundedSemaphoreTests) ... ok
- test_constructor (__main__.BoundedSemaphoreTests) ... ok
- test_default_value (__main__.BoundedSemaphoreTests) ... ok
- test_release_unacquired (__main__.BoundedSemaphoreTests) ... ok
- test_try_acquire (__main__.BoundedSemaphoreTests) ... ok
- test_try_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
- test_with (__main__.BoundedSemaphoreTests) ... ok
- test_enumerate_after_join (__main__.ThreadTests) ... ok
- test_finalize_runnning_thread (__main__.ThreadTests) ... ok
- test_foreign_thread (__main__.ThreadTests) ... ok
- test_ident_of_no_threading_threads (__main__.ThreadTests) ... ok
- test_join_nondaemon_on_shutdown (__main__.ThreadTests) ... ok
- test_limbo_cleanup (__main__.ThreadTests) ... ok
- test_no_refcycle_through_target (__main__.ThreadTests) ... ok
- test_various_ops (__main__.ThreadTests) ... task <thread 0> will run for 30.8 usec
- 1 tasks are running
- task <thread 1> will run for 22.3 usec
- 2 tasks are running
- task <thread 2> will run for 99.3 usec
- 3 tasks are running
- task <thread 3> will run for 29.1 usec
- task <thread 4> will run for 33.9 usec
- task <thread 5> will run for 0.9 usec
- task <thread 6> will run for 5.4 usec
- task <thread 7> will run for 19.4 usec
- task <thread 8> will run for 45.5 usec
- task <thread 9> will run for 44.7 usec
- waiting for all tasks to complete
- task <thread 0> done
- <thread 0> is finished. 2 tasks are running
- task <thread 1> done
- <thread 1> is finished. 1 tasks are running
- task <thread 2> done
- <thread 2> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 3> done
- <thread 3> is finished. 2 tasks are running
- task <thread 4> done
- <thread 4> is finished. 1 tasks are running
- task <thread 5> done
- <thread 5> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 6> done
- <thread 6> is finished. 2 tasks are running
- task <thread 7> done
- <thread 7> is finished. 1 tasks are running
- task <thread 8> done
- <thread 8> is finished. 0 tasks are running
- 1 tasks are running
- task <thread 9> done
- <thread 9> is finished. 0 tasks are running
- all tasks done
- ok
- test_various_ops_large_stack (__main__.ThreadTests) ... with 1MB thread stack size...
- task <thread 0> will run for 28.1 usec
- 1 tasks are running
- task <thread 1> will run for 3.5 usec
- 2 tasks are running
- task <thread 2> will run for 73.9 usec
- 3 tasks are running
- task <thread 3> will run for 38.9 usec
- task <thread 4> will run for 44.9 usec
- task <thread 5> will run for 90.7 usec
- task <thread 6> will run for 82.2 usec
- task <thread 7> will run for 95.2 usec
- task <thread 8> will run for 67.8 usec
- task <thread 9> will run for 23.4 usec
- waiting for all tasks to complete
- task <thread 0> done
- <thread 0> is finished. 2 tasks are running
- task <thread 1> done
- <thread 1> is finished. 1 tasks are running
- task <thread 2> done
- <thread 2> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 3> done
- <thread 3> is finished. 2 tasks are running
- task <thread 4> done
- <thread 4> is finished. 1 tasks are running
- task <thread 5> done
- <thread 5> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 6> done
- <thread 6> is finished. 2 tasks are running
- task <thread 7> done
- <thread 7> is finished. 1 tasks are running
- task <thread 8> done
- <thread 8> is finished. 0 tasks are running
- 1 tasks are running
- task <thread 9> done
- <thread 9> is finished. 0 tasks are running
- all tasks done
- ok
- test_various_ops_small_stack (__main__.ThreadTests) ... with 256kB thread stack size...
- task <thread 0> will run for 64.1 usec
- 1 tasks are running
- task <thread 1> will run for 72.9 usec
- 2 tasks are running
- task <thread 2> will run for 12.2 usec
- 3 tasks are running
- task <thread 3> will run for 67.9 usec
- task <thread 4> will run for 20.2 usec
- task <thread 5> will run for 17.0 usec
- task <thread 6> will run for 87.4 usec
- task <thread 7> will run for 22.9 usec
- task <thread 8> will run for 14.9 usec
- task <thread 9> will run for 93.2 usec
- waiting for all tasks to complete
- task <thread 0> done
- <thread 0> is finished. 2 tasks are running
- task <thread 1> done
- <thread 1> is finished. 1 tasks are running
- task <thread 2> done
- <thread 2> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 3> done
- <thread 3> is finished. 2 tasks are running
- task <thread 4> done
- <thread 4> is finished. 1 tasks are running
- task <thread 5> done
- <thread 5> is finished. 0 tasks are running
- 1 tasks are running
- 2 tasks are running
- 3 tasks are running
- task <thread 6> done
- <thread 6> is finished. 2 tasks are running
- task <thread 7> done
- <thread 7> is finished. 1 tasks are running
- task <thread 8> done
- <thread 8> is finished. 0 tasks are running
- 1 tasks are running
- task <thread 9> done
- <thread 9> is finished. 0 tasks are running
- all tasks done
- ok
- test_1_join_on_shutdown (__main__.ThreadJoinOnShutdown) ... ok
- test_2_join_in_forked_process (__main__.ThreadJoinOnShutdown) ... ok
- test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown) ... ok
- test_daemonize_active_thread (__main__.ThreadingExceptionTests) ... ok
- test_joining_current_thread (__main__.ThreadingExceptionTests) ... ok
- test_joining_inactive_thread (__main__.ThreadingExceptionTests) ... ok
- test_start_thread_again (__main__.ThreadingExceptionTests) ... ok
- ----------------------------------------------------------------------
- Ran 77 tests in 4.860s
- OK
- - /usr/local/bin/python2.7 -u test_threading_2.py [took 5.2s]
- | /usr/local/bin/python2.7 -u test__doctests.py
- /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent
- gevent.event (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/event.py): 1 tests
- gevent.hub (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py): 1 tests
- gevent.local (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/local.py): 1 tests
- gevent.queue (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/queue.py): 1 tests
- gevent.subprocess (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py): 1 tests
- gevent.timeout (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/timeout.py): 2 tests
- Total: 7 tests in 6 modules
- AsyncResult (gevent.event)
- Doctest: gevent.event.AsyncResult ...
- ! /usr/local/bin/python2.7 -u test__doctests.py [code TIMEOUT] [took 180.0s]
- | /usr/local/bin/python2.7 -u test__socket_dns.py
- Resolver: <gevent.resolver_thread.Resolver at 0x112c8e562e90 pool=<ThreadPool at 0x112d6bf4f610 0/0/10>>
- .
- WARNING: quite slow: gevent:gethostbyaddr('1.2.3.4',) took 21063ms versus 20913ms stdlib
- .........
- ! /usr/local/bin/python2.7 -u test__socket_dns.py [code TIMEOUT] [took 180.0s]
- | /usr/local/bin/python2.7 -u test__socket_dns6.py
- Resolver: <gevent.resolver_thread.Resolver at 0x1331c8bc2f50 pool=<ThreadPool at 0x1332978f7a90 0/0/10>>
- WARNING: quite slow: gevent:getaddrinfo('aaaa.test-ipv6.com', 'http') took 84068ms versus 83638ms stdlib
- .
- ! /usr/local/bin/python2.7 -u test__socket_dns6.py [code TIMEOUT] [took 180.0s]
- + /usr/local/bin/python2.7 -u test__examples.py
- | /usr/local/bin/python2.7 -u test__examples.py
- + /usr/local/bin/python2.7 -u concurrent_download.py
- Starting http://www.google.com
- Starting http://www.yandex.ru
- Starting http://www.python.org
- http://www.google.com: 10206 bytes: '<!doctype html><html itemscope="" itemtype="http:/'
- Traceback (most recent call last):
- File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
- result = self._run(*self.args, **self.kwargs)
- File "concurrent_download.py", line 25, in print_head
- data = urlopen(url).read()
- File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
- return opener.open(url, data, timeout)
- File "/usr/local/lib/python2.7/urllib2.py", line 437, in open
- response = meth(req, response)
- File "/usr/local/lib/python2.7/urllib2.py", line 550, in http_response
- 'http', request, response, code, msg, hdrs)
- File "/usr/local/lib/python2.7/urllib2.py", line 469, in error
- result = self._call_chain(*args)
- File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
- result = func(*args)
- File "/usr/local/lib/python2.7/urllib2.py", line 656, in http_error_302
- return self.parent.open(new, timeout=req.timeout)
- File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
- response = self._open(req, data)
- File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
- '_open', req)
- File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
- result = func(*args)
- File "/usr/local/lib/python2.7/urllib2.py", line 1240, in https_open
- context=self._context)
- File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
- raise URLError(err)
- URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
- <Greenlet at 0x150467387870: print_head('http://www.yandex.ru')> failed with URLError
- http://www.python.org: 46991 bytes: '<!doctype html>\n<!--[if lt IE 7]> <html class="n'
- - /usr/local/bin/python2.7 -u concurrent_download.py [took 3.7s]
- + /usr/local/bin/python2.7 -u dns_mass_resolve.py
- 10.com = 60.248.110.115
- 12.com = 185.53.177.8
- 20.com = 50.63.202.20
- finished within 2 seconds: 3/1000
- - /usr/local/bin/python2.7 -u dns_mass_resolve.py [took 2.2s]
- + /usr/local/bin/python2.7 -u processes.py
- uname: 'OpenBSD\n'
- ls: 'concurrent_download.py\ndns_mass_resolve.py\nechoserver.py\ngeventsendfile.py\nportforwarder.py\nprocesses.py\npsycopg2_pool.py\nserver.crt\nserver.key\nthreadpool.py\nudp_client.py\nudp_server.py\nunixsocket_client.py\nunixsocket_server.py\nwebchat\nwebproxy.py\nwebpy.py\nwsgiserver.py\nwsgiserver_ssl.py\n'
- - /usr/local/bin/python2.7 -u processes.py [took 0.2s]
- + /usr/local/bin/python2.7 -u threadpool.py
- Running "time.sleep(1)" 4 times with 3 threads. Should take about 2 seconds: 2.017s
- - /usr/local/bin/python2.7 -u threadpool.py [took 2.2s]
- - /usr/local/bin/python2.7 -u test__examples.py [took 8.5s]
- + /usr/local/bin/python2.7 -u test__threadpool.py
- | /usr/local/bin/python2.7 -u test__threadpool.py
- ..................................................................
- ----------------------------------------------------------------------
- Ran 66 tests in 30.260s
- OK
- - /usr/local/bin/python2.7 -u test__threadpool.py [took 30.5s]
- Longest-running tests:
- 180.0 seconds: /usr/local/bin/python2.7 -u test__socket_dns.py
- 180.0 seconds: /usr/local/bin/python2.7 -u test__socket_dns6.py
- 180.0 seconds: /usr/local/bin/python2.7 -u test__doctests.py
- 120.0 seconds: /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py
- 120.0 seconds: /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py
- 25/145 tests failed in 11:39
- 1/145 expected failures
- - /usr/local/bin/python2.7 -u test__socket_dns6.py
- 24/145 unexpected failures
- - /usr/local/bin/python2.7 -u test___example_servers.py
- - /usr/local/bin/python2.7 -u -m monkey_test test_httpservers.py
- - /usr/local/bin/python2.7 -u -m monkey_test test_threading.py
- - /usr/local/bin/python2.7 -u -m monkey_test test_ssl.py
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_ftplib.py
- - /usr/local/bin/python2.7 -u test_close_backend_fd.py
- - /usr/local/bin/python2.7 -u -m monkey_test test_ftplib.py
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_smtplib.py
- - /usr/local/bin/python2.7 -u test__socket_dns.py
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2.py
- - /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py
- - /usr/local/bin/python2.7 -u -m monkey_test test_urllib2.py
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_httpservers.py
- - /usr/local/bin/python2.7 -u -m monkey_test test_threading_local.py
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py
- - /usr/local/bin/python2.7 -u test__select.py
- - /usr/local/bin/python2.7 -u test__greenness.py
- - /usr/local/bin/python2.7 -u test__doctests.py
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_signal.py
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_socket.py
- - /usr/local/bin/python2.7 -u test__pywsgi.py
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading.py
- - /usr/local/bin/python2.7 -u -m monkey_test test_socket.py
- - /usr/local/bin/python2.7 -u -m monkey_test --Event test_ssl.py
- thread pool size: 4
- *** Error 24 in . (Makefile:36 'do-test')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement