Advertisement
czarkoff

py-gevent-1.1rc3 test log

Feb 9th, 2016
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 236.86 KB | None | 0 0
  1. ===> py-gevent-1.1rc3 depends on: py-greenlet-* -> py-greenlet-0.4.9p0
  2. ===> py-gevent-1.1rc3 depends on: python-tests->=2.7,<2.8 -> python-tests-2.7.11
  3. ===> py-gevent-1.1rc3 depends on: py-psutil-* -> py-psutil-3.3.0p0
  4. ===> Regression tests for py-gevent-1.1rc3
  5. 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
  6. WARNING: The tests in 2.7/ are from version 2.7.3 and your Python is 2.7.11
  7. + /usr/local/bin/python2.7 -u test___example_servers.py
  8. + /usr/local/bin/python2.7 -u test__GreenletExit.py
  9. + /usr/local/bin/python2.7 -u -m monkey_test test_asyncore.py
  10. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_asyncore.py
  11. - /usr/local/bin/python2.7 -u test__GreenletExit.py [took 0.2s]
  12. + /usr/local/bin/python2.7 -u -m monkey_test test_ftplib.py
  13. | /usr/local/bin/python2.7 -u -m monkey_test test_asyncore.py
  14. Running with patch_all(Event=False): test_asyncore.py
  15. Removed test_handle_expt (1)
  16. test_closeall (__main__.HelperFunctionTests) ... ok
  17. test_closeall_default (__main__.HelperFunctionTests) ... ok
  18. test_compact_traceback (__main__.HelperFunctionTests) ... ok
  19. test_readwrite (__main__.HelperFunctionTests) ... ok
  20. test_readwriteexc (__main__.HelperFunctionTests) ... ok
  21. test_basic (__main__.DispatcherTests) ... ok
  22. test_issue_8594 (__main__.DispatcherTests) ... ok
  23. test_log (__main__.DispatcherTests) ... ok
  24. test_log_info (__main__.DispatcherTests) ... ok
  25. test_repr (__main__.DispatcherTests) ... ok
  26. test_strerror (__main__.DispatcherTests) ... ok
  27. test_unhandled (__main__.DispatcherTests) ... ok
  28. test_send (__main__.DispatcherWithSendTests) ... ok
  29. test_send (__main__.DispatcherWithSendTests_UsePoll) ... ok
  30. test_bind (__main__.TestAPI_UseSelect) ... ok
  31. test_connection_attributes (__main__.TestAPI_UseSelect) ... ok
  32. test_create_socket (__main__.TestAPI_UseSelect) ... ok
  33. test_handle_accept (__main__.TestAPI_UseSelect) ... ok
  34. test_handle_close (__main__.TestAPI_UseSelect) ... ok
  35. test_handle_connect (__main__.TestAPI_UseSelect) ... ok
  36. test_handle_error (__main__.TestAPI_UseSelect) ... ok
  37. test_handle_read (__main__.TestAPI_UseSelect) ... ok
  38. test_handle_write (__main__.TestAPI_UseSelect) ... ok
  39. test_set_reuse_addr (__main__.TestAPI_UseSelect) ... ok
  40. test_bind (__main__.TestAPI_UsePoll) ... ok
  41. test_connection_attributes (__main__.TestAPI_UsePoll) ... ok
  42. test_create_socket (__main__.TestAPI_UsePoll) ... ok
  43. test_handle_accept (__main__.TestAPI_UsePoll) ... ok
  44. test_handle_close (__main__.TestAPI_UsePoll) ... ok
  45. test_handle_connect (__main__.TestAPI_UsePoll) ... ok
  46. test_handle_error (__main__.TestAPI_UsePoll) ... ok
  47. test_handle_read (__main__.TestAPI_UsePoll) ... ok
  48. test_handle_write (__main__.TestAPI_UsePoll) ... ok
  49. test_set_reuse_addr (__main__.TestAPI_UsePoll) ... ok
  50. test_dispatcher (__main__.FileWrapperTest) ... ok
  51. test_recv (__main__.FileWrapperTest) ... ok
  52. test_send (__main__.FileWrapperTest) ... ok
  53.  
  54. ----------------------------------------------------------------------
  55. Ran 37 tests in 1.325s
  56.  
  57. OK
  58.  
  59. - /usr/local/bin/python2.7 -u -m monkey_test test_asyncore.py [took 2.1s]
  60. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_ftplib.py
  61. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_asyncore.py
  62. Running with patch_all(Event=True): test_asyncore.py
  63. Removed test_handle_expt (1)
  64. test_closeall (__main__.HelperFunctionTests) ... ok
  65. test_closeall_default (__main__.HelperFunctionTests) ... ok
  66. test_compact_traceback (__main__.HelperFunctionTests) ... ok
  67. test_readwrite (__main__.HelperFunctionTests) ... ok
  68. test_readwriteexc (__main__.HelperFunctionTests) ... ok
  69. test_basic (__main__.DispatcherTests) ... ok
  70. test_issue_8594 (__main__.DispatcherTests) ... ok
  71. test_log (__main__.DispatcherTests) ... ok
  72. test_log_info (__main__.DispatcherTests) ... ok
  73. test_repr (__main__.DispatcherTests) ... ok
  74. test_strerror (__main__.DispatcherTests) ... ok
  75. test_unhandled (__main__.DispatcherTests) ... ok
  76. test_send (__main__.DispatcherWithSendTests) ... ok
  77. test_send (__main__.DispatcherWithSendTests_UsePoll) ... ok
  78. test_bind (__main__.TestAPI_UseSelect) ... ok
  79. test_connection_attributes (__main__.TestAPI_UseSelect) ... ok
  80. test_create_socket (__main__.TestAPI_UseSelect) ... ok
  81. test_handle_accept (__main__.TestAPI_UseSelect) ... ok
  82. test_handle_close (__main__.TestAPI_UseSelect) ... ok
  83. test_handle_connect (__main__.TestAPI_UseSelect) ... ok
  84. test_handle_error (__main__.TestAPI_UseSelect) ... ok
  85. test_handle_read (__main__.TestAPI_UseSelect) ... ok
  86. test_handle_write (__main__.TestAPI_UseSelect) ... ok
  87. test_set_reuse_addr (__main__.TestAPI_UseSelect) ... ok
  88. test_bind (__main__.TestAPI_UsePoll) ... ok
  89. test_connection_attributes (__main__.TestAPI_UsePoll) ... ok
  90. test_create_socket (__main__.TestAPI_UsePoll) ... ok
  91. test_handle_accept (__main__.TestAPI_UsePoll) ... ok
  92. test_handle_close (__main__.TestAPI_UsePoll) ... ok
  93. test_handle_connect (__main__.TestAPI_UsePoll) ... ok
  94. test_handle_error (__main__.TestAPI_UsePoll) ... ok
  95. test_handle_read (__main__.TestAPI_UsePoll) ... ok
  96. test_handle_write (__main__.TestAPI_UsePoll) ... ok
  97. test_set_reuse_addr (__main__.TestAPI_UsePoll) ... ok
  98. test_dispatcher (__main__.FileWrapperTest) ... ok
  99. test_recv (__main__.FileWrapperTest) ... ok
  100. test_send (__main__.FileWrapperTest) ... ok
  101.  
  102. ----------------------------------------------------------------------
  103. Ran 37 tests in 1.309s
  104.  
  105. OK
  106.  
  107. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_asyncore.py [took 2.1s]
  108. + /usr/local/bin/python2.7 -u -m monkey_test test_httplib.py
  109. | /usr/local/bin/python2.7 -u -m monkey_test test_httplib.py
  110. Running with patch_all(Event=False): test_httplib.py
  111. test_auto_headers (__main__.HeaderTests) ... ok
  112. test_ipv6host_header (__main__.HeaderTests) ... ok
  113. test_putheader (__main__.HeaderTests) ... ok
  114. test_responses (__main__.OfflineTest) ... ok
  115. test_bad_status_repr (__main__.BasicTest) ... ok
  116. test_chunked (__main__.BasicTest) ... ok
  117. test_chunked_head (__main__.BasicTest) ... ok
  118. test_epipe (__main__.BasicTest) ... ok
  119. test_filenoattr (__main__.BasicTest) ... ok
  120. test_host_port (__main__.BasicTest) ... ok
  121. test_incomplete_read (__main__.BasicTest) ... ok
  122. test_negative_content_length (__main__.BasicTest) ... ok
  123. test_overflowing_chunked_line (__main__.BasicTest) ... ok
  124. test_overflowing_header_line (__main__.BasicTest) ... ok
  125. test_overflowing_status_line (__main__.BasicTest) ... skipped 'disabled for HTTP 0.9 support'
  126. test_partial_reads (__main__.BasicTest) ... ok
  127. test_read_head (__main__.BasicTest) ... ok
  128. test_response_headers (__main__.BasicTest) ... ok
  129. test_send (__main__.BasicTest) ... ok
  130. test_send_file (__main__.BasicTest) ... ok
  131. test_status_lines (__main__.BasicTest) ... ok
  132. testTimeoutAttribute (__main__.TimeoutTest)
  133. This will prove that the timeout gets through ... ok
  134. test_attributes (__main__.HTTPSTimeoutTest) ... ok
  135. test_host_port (__main__.HTTPSTimeoutTest) ... ok
  136. testHTTPConnectionSourceAddress (__main__.SourceAddressTest) ... ok
  137. testHTTPSConnectionSourceAddress (__main__.SourceAddressTest) ... ok
  138.  
  139. ----------------------------------------------------------------------
  140. Ran 26 tests in 1.205s
  141.  
  142. OK (skipped=1)
  143.  
  144. - /usr/local/bin/python2.7 -u -m monkey_test test_httplib.py [took 2.7s]
  145. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_httplib.py
  146. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_httplib.py
  147. Running with patch_all(Event=True): test_httplib.py
  148. test_auto_headers (__main__.HeaderTests) ... ok
  149. test_ipv6host_header (__main__.HeaderTests) ... ok
  150. test_putheader (__main__.HeaderTests) ... ok
  151. test_responses (__main__.OfflineTest) ... ok
  152. test_bad_status_repr (__main__.BasicTest) ... ok
  153. test_chunked (__main__.BasicTest) ... ok
  154. test_chunked_head (__main__.BasicTest) ... ok
  155. test_epipe (__main__.BasicTest) ... ok
  156. test_filenoattr (__main__.BasicTest) ... ok
  157. test_host_port (__main__.BasicTest) ... ok
  158. test_incomplete_read (__main__.BasicTest) ... ok
  159. test_negative_content_length (__main__.BasicTest) ... ok
  160. test_overflowing_chunked_line (__main__.BasicTest) ... ok
  161. test_overflowing_header_line (__main__.BasicTest) ... ok
  162. test_overflowing_status_line (__main__.BasicTest) ... skipped 'disabled for HTTP 0.9 support'
  163. test_partial_reads (__main__.BasicTest) ... ok
  164. test_read_head (__main__.BasicTest) ... ok
  165. test_response_headers (__main__.BasicTest) ... ok
  166. test_send (__main__.BasicTest) ... ok
  167. test_send_file (__main__.BasicTest) ... ok
  168. test_status_lines (__main__.BasicTest) ... ok
  169. testTimeoutAttribute (__main__.TimeoutTest)
  170. This will prove that the timeout gets through ... ok
  171. test_attributes (__main__.HTTPSTimeoutTest) ... ok
  172. test_host_port (__main__.HTTPSTimeoutTest) ... ok
  173. testHTTPConnectionSourceAddress (__main__.SourceAddressTest) ... ok
  174. testHTTPSConnectionSourceAddress (__main__.SourceAddressTest) ... ok
  175.  
  176. ----------------------------------------------------------------------
  177. Ran 26 tests in 1.078s
  178.  
  179. OK (skipped=1)
  180.  
  181. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_httplib.py [took 1.9s]
  182. + /usr/local/bin/python2.7 -u -m monkey_test test_httpservers.py
  183. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_ftplib.py
  184. Running with patch_all(Event=True): test_ftplib.py
  185. test_acct (__main__.TestFTPClass) ... ok
  186. test_all_errors (__main__.TestFTPClass) ... ok
  187. test_delete (__main__.TestFTPClass) ... ok
  188. test_dir (__main__.TestFTPClass) ... ok
  189. test_exceptions (__main__.TestFTPClass) ... ok
  190. test_getwelcome (__main__.TestFTPClass) ... ok
  191. test_login (__main__.TestFTPClass) ... ok
  192. test_makepasv (__main__.TestFTPClass) ... ok
  193. test_makeport (__main__.TestFTPClass) ... ok
  194. test_mkd (__main__.TestFTPClass) ... ok
  195. test_nlst (__main__.TestFTPClass) ... ok
  196. test_pwd (__main__.TestFTPClass) ... ok
  197. test_quit (__main__.TestFTPClass) ... ok
  198. test_rename (__main__.TestFTPClass) ... ok
  199. test_retrbinary (__main__.TestFTPClass) ... ok
  200. test_retrbinary_rest (__main__.TestFTPClass) ... ok
  201. test_retrlines (__main__.TestFTPClass) ... ok
  202. test_rmd (__main__.TestFTPClass) ... ok
  203. test_sanitize (__main__.TestFTPClass) ... ok
  204. test_set_pasv (__main__.TestFTPClass) ... ok
  205. test_size (__main__.TestFTPClass) ... ok
  206. test_storbinary (__main__.TestFTPClass) ... ok
  207. test_storbinary_rest (__main__.TestFTPClass) ... ok
  208. test_storlines (__main__.TestFTPClass) ... ok
  209. test_voidcmd (__main__.TestFTPClass) ... ok
  210. testTimeoutConnect (__main__.TestTimeouts) ... ok
  211. testTimeoutDefault (__main__.TestTimeouts) ... ok
  212. testTimeoutDifferentOrder (__main__.TestTimeouts) ... ok
  213. testTimeoutDirectAccess (__main__.TestTimeouts) ... ok
  214. testTimeoutNone (__main__.TestTimeouts) ... ok
  215. testTimeoutValue (__main__.TestTimeouts) ... ok
  216. test_acct (__main__.TestTLS_FTPClassMixin) ... ok
  217. test_all_errors (__main__.TestTLS_FTPClassMixin) ... ok
  218. test_delete (__main__.TestTLS_FTPClassMixin) ... ok
  219. test_dir (__main__.TestTLS_FTPClassMixin) ... ok
  220. test_exceptions (__main__.TestTLS_FTPClassMixin) ... ok
  221. test_getwelcome (__main__.TestTLS_FTPClassMixin) ... ok
  222. test_login (__main__.TestTLS_FTPClassMixin) ... ok
  223. test_makepasv (__main__.TestTLS_FTPClassMixin) ... ok
  224. test_makeport (__main__.TestTLS_FTPClassMixin) ... ok
  225. test_mkd (__main__.TestTLS_FTPClassMixin) ... ok
  226. test_nlst (__main__.TestTLS_FTPClassMixin) ... ok
  227. test_pwd (__main__.TestTLS_FTPClassMixin) ... ok
  228. test_quit (__main__.TestTLS_FTPClassMixin) ... ok
  229. test_rename (__main__.TestTLS_FTPClassMixin) ... ok
  230. test_retrbinary (__main__.TestTLS_FTPClassMixin) ... ok
  231. test_retrbinary_rest (__main__.TestTLS_FTPClassMixin) ... ok
  232. test_retrlines (__main__.TestTLS_FTPClassMixin) ... ok
  233. test_rmd (__main__.TestTLS_FTPClassMixin) ... ok
  234. test_sanitize (__main__.TestTLS_FTPClassMixin) ... ok
  235. test_set_pasv (__main__.TestTLS_FTPClassMixin) ... ok
  236. test_size (__main__.TestTLS_FTPClassMixin) ... ok
  237. test_storbinary (__main__.TestTLS_FTPClassMixin) ... ok
  238. test_storbinary_rest (__main__.TestTLS_FTPClassMixin) ... ok
  239. test_storlines (__main__.TestTLS_FTPClassMixin) ... ok
  240. test_voidcmd (__main__.TestTLS_FTPClassMixin) ... ok
  241. test_auth_issued_twice (__main__.TestTLS_FTPClass) ... ok
  242. test_auth_ssl (__main__.TestTLS_FTPClass) ... ERROR
  243. test_control_connection (__main__.TestTLS_FTPClass) ... ok
  244. test_data_connection (__main__.TestTLS_FTPClass) ... ok
  245. test_login (__main__.TestTLS_FTPClass) ... ok
  246.  
  247. ======================================================================
  248. ERROR: test_auth_ssl (__main__.TestTLS_FTPClass)
  249. ----------------------------------------------------------------------
  250. Traceback (most recent call last):
  251. File "test_ftplib.py", line 658, in test_auth_ssl
  252. self.client.ssl_version = ssl.PROTOCOL_SSLv3
  253. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  254.  
  255. ----------------------------------------------------------------------
  256. Ran 61 tests in 9.668s
  257.  
  258. FAILED (errors=1)
  259. Traceback (most recent call last):
  260. File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  261. "__main__", fname, loader, pkg_name)
  262. File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
  263. exec code in run_globals
  264. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
  265. exec(module_code, globals())
  266. File "test_ftplib.py", line 778, in <module>
  267. test_main()
  268. File "test_ftplib.py", line 772, in test_main
  269. test_support.run_unittest(*tests)
  270. File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
  271. _run_suite(suite)
  272. File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
  273. raise TestFailed(err)
  274. test.test_support.TestFailed: Traceback (most recent call last):
  275. File "test_ftplib.py", line 658, in test_auth_ssl
  276. self.client.ssl_version = ssl.PROTOCOL_SSLv3
  277. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  278.  
  279. ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_ftplib.py [code 1] [took 11.4s]
  280. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_httpservers.py
  281. | /usr/local/bin/python2.7 -u -m monkey_test test_ftplib.py
  282. Running with patch_all(Event=False): test_ftplib.py
  283. test_acct (__main__.TestFTPClass) ... ok
  284. test_all_errors (__main__.TestFTPClass) ... ok
  285. test_delete (__main__.TestFTPClass) ... ok
  286. test_dir (__main__.TestFTPClass) ... ok
  287. test_exceptions (__main__.TestFTPClass) ... ok
  288. test_getwelcome (__main__.TestFTPClass) ... ok
  289. test_login (__main__.TestFTPClass) ... ok
  290. test_makepasv (__main__.TestFTPClass) ... ok
  291. test_makeport (__main__.TestFTPClass) ... ok
  292. test_mkd (__main__.TestFTPClass) ... ok
  293. test_nlst (__main__.TestFTPClass) ... ok
  294. test_pwd (__main__.TestFTPClass) ... ok
  295. test_quit (__main__.TestFTPClass) ... ok
  296. test_rename (__main__.TestFTPClass) ... ok
  297. test_retrbinary (__main__.TestFTPClass) ... ok
  298. test_retrbinary_rest (__main__.TestFTPClass) ... ok
  299. test_retrlines (__main__.TestFTPClass) ... ok
  300. test_rmd (__main__.TestFTPClass) ... ok
  301. test_sanitize (__main__.TestFTPClass) ... ok
  302. test_set_pasv (__main__.TestFTPClass) ... ok
  303. test_size (__main__.TestFTPClass) ... ok
  304. test_storbinary (__main__.TestFTPClass) ... ok
  305. test_storbinary_rest (__main__.TestFTPClass) ... ok
  306. test_storlines (__main__.TestFTPClass) ... ok
  307. test_voidcmd (__main__.TestFTPClass) ... ok
  308. testTimeoutConnect (__main__.TestTimeouts) ... ok
  309. testTimeoutDefault (__main__.TestTimeouts) ... ok
  310. testTimeoutDifferentOrder (__main__.TestTimeouts) ... ok
  311. testTimeoutDirectAccess (__main__.TestTimeouts) ... ok
  312. testTimeoutNone (__main__.TestTimeouts) ... ok
  313. testTimeoutValue (__main__.TestTimeouts) ... ok
  314. test_acct (__main__.TestTLS_FTPClassMixin) ... ok
  315. test_all_errors (__main__.TestTLS_FTPClassMixin) ... ok
  316. test_delete (__main__.TestTLS_FTPClassMixin) ... ok
  317. test_dir (__main__.TestTLS_FTPClassMixin) ... ok
  318. test_exceptions (__main__.TestTLS_FTPClassMixin) ... ok
  319. test_getwelcome (__main__.TestTLS_FTPClassMixin) ... ok
  320. test_login (__main__.TestTLS_FTPClassMixin) ... ok
  321. test_makepasv (__main__.TestTLS_FTPClassMixin) ... ok
  322. test_makeport (__main__.TestTLS_FTPClassMixin) ... ok
  323. test_mkd (__main__.TestTLS_FTPClassMixin) ... ok
  324. test_nlst (__main__.TestTLS_FTPClassMixin) ... ok
  325. test_pwd (__main__.TestTLS_FTPClassMixin) ... ok
  326. test_quit (__main__.TestTLS_FTPClassMixin) ... ok
  327. test_rename (__main__.TestTLS_FTPClassMixin) ... ok
  328. test_retrbinary (__main__.TestTLS_FTPClassMixin) ... ok
  329. test_retrbinary_rest (__main__.TestTLS_FTPClassMixin) ... ok
  330. test_retrlines (__main__.TestTLS_FTPClassMixin) ... ok
  331. test_rmd (__main__.TestTLS_FTPClassMixin) ... ok
  332. test_sanitize (__main__.TestTLS_FTPClassMixin) ... ok
  333. test_set_pasv (__main__.TestTLS_FTPClassMixin) ... ok
  334. test_size (__main__.TestTLS_FTPClassMixin) ... ok
  335. test_storbinary (__main__.TestTLS_FTPClassMixin) ... ok
  336. test_storbinary_rest (__main__.TestTLS_FTPClassMixin) ... ok
  337. test_storlines (__main__.TestTLS_FTPClassMixin) ... ok
  338. test_voidcmd (__main__.TestTLS_FTPClassMixin) ... ok
  339. test_auth_issued_twice (__main__.TestTLS_FTPClass) ... ok
  340. test_auth_ssl (__main__.TestTLS_FTPClass) ... ERROR
  341. test_control_connection (__main__.TestTLS_FTPClass) ... ok
  342. test_data_connection (__main__.TestTLS_FTPClass) ... ok
  343. test_login (__main__.TestTLS_FTPClass) ... ok
  344.  
  345. ======================================================================
  346. ERROR: test_auth_ssl (__main__.TestTLS_FTPClass)
  347. ----------------------------------------------------------------------
  348. Traceback (most recent call last):
  349. File "test_ftplib.py", line 658, in test_auth_ssl
  350. self.client.ssl_version = ssl.PROTOCOL_SSLv3
  351. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  352.  
  353. ----------------------------------------------------------------------
  354. Ran 61 tests in 12.770s
  355.  
  356. FAILED (errors=1)
  357. Traceback (most recent call last):
  358. File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  359. "__main__", fname, loader, pkg_name)
  360. File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
  361. exec code in run_globals
  362. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
  363. exec(module_code, globals())
  364. File "test_ftplib.py", line 778, in <module>
  365. test_main()
  366. File "test_ftplib.py", line 772, in test_main
  367. test_support.run_unittest(*tests)
  368. File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
  369. _run_suite(suite)
  370. File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
  371. raise TestFailed(err)
  372. test.test_support.TestFailed: Traceback (most recent call last):
  373. File "test_ftplib.py", line 658, in test_auth_ssl
  374. self.client.ssl_version = ssl.PROTOCOL_SSLv3
  375. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  376.  
  377. ! /usr/local/bin/python2.7 -u -m monkey_test test_ftplib.py [code 1] [took 16.6s]
  378. + /usr/local/bin/python2.7 -u -m monkey_test test_queue.py
  379. | /usr/local/bin/python2.7 -u test___example_servers.py
  380. + /usr/local/bin/python2.7 -u webproxy.py
  381. Serving on :8088...
  382. E.+ /usr/local/bin/python2.7 -u wsgiserver.py
  383. Serving on 8088...
  384. EChecking blocking
  385. + /usr/local/bin/python2.7 -u wsgiserver.py
  386. Serving on 8088...
  387. E+ /usr/local/bin/python2.7 -u wsgiserver_ssl.py
  388. Serving on https://127.0.0.1:8443EChecking blocking
  389. + /usr/local/bin/python2.7 -u wsgiserver_ssl.py
  390. Serving on https://127.0.0.1:8443
  391. E
  392. ======================================================================
  393. ERROR: test (__main__.Test_webproxy)
  394. ----------------------------------------------------------------------
  395. Traceback (most recent call last):
  396. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 237, in test
  397. self._run_all_tests()
  398. File "test___example_servers.py", line 103, in _run_all_tests
  399. status, data = self.read('/')
  400. File "test___example_servers.py", line 28, in read
  401. response = urllib2.urlopen(url, None, 2)
  402. File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
  403. return opener.open(url, data, timeout)
  404. File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
  405. response = self._open(req, data)
  406. File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
  407. '_open', req)
  408. File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
  409. result = func(*args)
  410. File "/usr/local/lib/python2.7/urllib2.py", line 1227, in http_open
  411. return self.do_open(httplib.HTTPConnection, req)
  412. File "/usr/local/lib/python2.7/urllib2.py", line 1200, in do_open
  413. r = h.getresponse(buffering=True)
  414. File "/usr/local/lib/python2.7/httplib.py", line 1136, in getresponse
  415. response.begin()
  416. File "/usr/local/lib/python2.7/httplib.py", line 453, in begin
  417. version, status, reason = self._read_status()
  418. File "/usr/local/lib/python2.7/httplib.py", line 409, in _read_status
  419. line = self.fp.readline(_MAXLINE + 1)
  420. File "/usr/local/lib/python2.7/socket.py", line 480, in readline
  421. data = self._sock.recv(self._rbufsize)
  422. timeout: timed out
  423.  
  424. ======================================================================
  425. ERROR: test (__main__.Test_wsgiserver)
  426. ----------------------------------------------------------------------
  427. Traceback (most recent call last):
  428. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 237, in test
  429. self._run_all_tests()
  430. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 255, in _run_all_tests
  431. function()
  432. File "test___example_servers.py", line 38, in _test_hello
  433. status, data = self.read('/')
  434. File "test___example_servers.py", line 28, in read
  435. response = urllib2.urlopen(url, None, 2)
  436. File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
  437. return opener.open(url, data, timeout)
  438. File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
  439. response = self._open(req, data)
  440. File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
  441. '_open', req)
  442. File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
  443. result = func(*args)
  444. File "/usr/local/lib/python2.7/urllib2.py", line 1227, in http_open
  445. return self.do_open(httplib.HTTPConnection, req)
  446. File "/usr/local/lib/python2.7/urllib2.py", line 1200, in do_open
  447. r = h.getresponse(buffering=True)
  448. File "/usr/local/lib/python2.7/httplib.py", line 1136, in getresponse
  449. response.begin()
  450. File "/usr/local/lib/python2.7/httplib.py", line 453, in begin
  451. version, status, reason = self._read_status()
  452. File "/usr/local/lib/python2.7/httplib.py", line 409, in _read_status
  453. line = self.fp.readline(_MAXLINE + 1)
  454. File "/usr/local/lib/python2.7/socket.py", line 480, in readline
  455. data = self._sock.recv(self._rbufsize)
  456. timeout: timed out
  457.  
  458. ======================================================================
  459. ERROR: test_a_blocking_client (__main__.Test_wsgiserver)
  460. ----------------------------------------------------------------------
  461. Traceback (most recent call last):
  462. File "test___example_servers.py", line 84, in test_a_blocking_client
  463. self._do_test_a_blocking_client()
  464. File "test___example_servers.py", line 53, in _do_test_a_blocking_client
  465. self._test_hello()
  466. File "test___example_servers.py", line 38, in _test_hello
  467. status, data = self.read('/')
  468. File "test___example_servers.py", line 28, in read
  469. response = urllib2.urlopen(url, None, 2)
  470. File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
  471. return opener.open(url, data, timeout)
  472. File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
  473. response = self._open(req, data)
  474. File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
  475. '_open', req)
  476. File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
  477. result = func(*args)
  478. File "/usr/local/lib/python2.7/urllib2.py", line 1227, in http_open
  479. return self.do_open(httplib.HTTPConnection, req)
  480. File "/usr/local/lib/python2.7/urllib2.py", line 1200, in do_open
  481. r = h.getresponse(buffering=True)
  482. File "/usr/local/lib/python2.7/httplib.py", line 1136, in getresponse
  483. response.begin()
  484. File "/usr/local/lib/python2.7/httplib.py", line 453, in begin
  485. version, status, reason = self._read_status()
  486. File "/usr/local/lib/python2.7/httplib.py", line 409, in _read_status
  487. line = self.fp.readline(_MAXLINE + 1)
  488. File "/usr/local/lib/python2.7/socket.py", line 480, in readline
  489. data = self._sock.recv(self._rbufsize)
  490. timeout: timed out
  491.  
  492. ======================================================================
  493. ERROR: test (__main__.Test_wsgiserver_ssl)
  494. ----------------------------------------------------------------------
  495. Traceback (most recent call last):
  496. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 237, in test
  497. self._run_all_tests()
  498. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 255, in _run_all_tests
  499. function()
  500. File "test___example_servers.py", line 38, in _test_hello
  501. status, data = self.read('/')
  502. File "test___example_servers.py", line 26, in read
  503. response = urllib2.urlopen(url, None, 2, context=self.ssl_ctx)
  504. File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
  505. return opener.open(url, data, timeout)
  506. File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
  507. response = self._open(req, data)
  508. File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
  509. '_open', req)
  510. File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
  511. result = func(*args)
  512. File "/usr/local/lib/python2.7/urllib2.py", line 1240, in https_open
  513. context=self._context)
  514. File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
  515. raise URLError(err)
  516. URLError: <urlopen error [Errno 61] Connection refused>
  517.  
  518. ======================================================================
  519. ERROR: test_a_blocking_client (__main__.Test_wsgiserver_ssl)
  520. ----------------------------------------------------------------------
  521. Traceback (most recent call last):
  522. File "test___example_servers.py", line 84, in test_a_blocking_client
  523. self._do_test_a_blocking_client()
  524. File "test___example_servers.py", line 53, in _do_test_a_blocking_client
  525. self._test_hello()
  526. File "test___example_servers.py", line 38, in _test_hello
  527. status, data = self.read('/')
  528. File "test___example_servers.py", line 26, in read
  529. response = urllib2.urlopen(url, None, 2, context=self.ssl_ctx)
  530. File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
  531. return opener.open(url, data, timeout)
  532. File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
  533. response = self._open(req, data)
  534. File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
  535. '_open', req)
  536. File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
  537. result = func(*args)
  538. File "/usr/local/lib/python2.7/urllib2.py", line 1240, in https_open
  539. context=self._context)
  540. File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
  541. raise URLError(err)
  542. URLError: <urlopen error ('_ssl.c:574: The handshake operation timed out',)>
  543.  
  544. ----------------------------------------------------------------------
  545. Ran 6 tests in 23.619s
  546.  
  547. FAILED (errors=5)
  548.  
  549. ! /usr/local/bin/python2.7 -u test___example_servers.py [code 1] [took 23.7s]
  550. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_queue.py
  551. | /usr/local/bin/python2.7 -u -m monkey_test test_queue.py
  552. Running with patch_all(Event=False): test_queue.py
  553. test_queue_join (__main__.QueueTest) ... ok
  554. test_queue_task_done (__main__.QueueTest) ... ok
  555. test_simple_queue (__main__.QueueTest) ... ok
  556. test_queue_join (__main__.LifoQueueTest) ... ok
  557. test_queue_task_done (__main__.LifoQueueTest) ... ok
  558. test_simple_queue (__main__.LifoQueueTest) ... ok
  559. test_queue_join (__main__.PriorityQueueTest) ... ok
  560. test_queue_task_done (__main__.PriorityQueueTest) ... ok
  561. test_simple_queue (__main__.PriorityQueueTest) ... ok
  562. test_failing_queue (__main__.FailingQueueTest) ... ok
  563.  
  564. ----------------------------------------------------------------------
  565. Ran 10 tests in 4.498s
  566.  
  567. OK
  568.  
  569. - /usr/local/bin/python2.7 -u -m monkey_test test_queue.py [took 6.7s]
  570. + /usr/local/bin/python2.7 -u -m monkey_test test_select.py
  571. | /usr/local/bin/python2.7 -u -m monkey_test test_select.py
  572. Running with patch_all(Event=False): test_select.py
  573. test_error_conditions (__main__.SelectTestCase) ... ok
  574. test_returned_list_identity (__main__.SelectTestCase) ... ok
  575. test_select (__main__.SelectTestCase) ... timeout = 0
  576. 'testing...\n'
  577. timeout = 0.1
  578. timeout = 0.2
  579. 'testing...\n'
  580. timeout = 0.4
  581. 'testing...\n'
  582. timeout = 0.8
  583. 'testing...\n'
  584. timeout = 1.6
  585. 'testing...\n'
  586. timeout = None
  587. 'testing...\n'
  588. timeout = None
  589. 'testing...\n'
  590. timeout = None
  591. 'testing...\n'
  592. timeout = None
  593. 'testing...\n'
  594. timeout = None
  595. 'testing...\n'
  596. timeout = None
  597. ''
  598. EOF
  599. ok
  600.  
  601. ----------------------------------------------------------------------
  602. Ran 3 tests in 2.122s
  603.  
  604. OK
  605.  
  606. - /usr/local/bin/python2.7 -u -m monkey_test test_select.py [took 2.4s]
  607. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_select.py
  608. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_queue.py
  609. Running with patch_all(Event=True): test_queue.py
  610. test_queue_join (__main__.QueueTest) ... ok
  611. test_queue_task_done (__main__.QueueTest) ... ok
  612. test_simple_queue (__main__.QueueTest) ... ok
  613. test_queue_join (__main__.LifoQueueTest) ... ok
  614. test_queue_task_done (__main__.LifoQueueTest) ... ok
  615. test_simple_queue (__main__.LifoQueueTest) ... ok
  616. test_queue_join (__main__.PriorityQueueTest) ... ok
  617. test_queue_task_done (__main__.PriorityQueueTest) ... ok
  618. test_simple_queue (__main__.PriorityQueueTest) ... ok
  619. test_failing_queue (__main__.FailingQueueTest) ... ok
  620.  
  621. ----------------------------------------------------------------------
  622. Ran 10 tests in 4.502s
  623.  
  624. OK
  625.  
  626. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_queue.py [took 5.1s]
  627. + /usr/local/bin/python2.7 -u -m monkey_test test_signal.py
  628. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_select.py
  629. Running with patch_all(Event=True): test_select.py
  630. test_error_conditions (__main__.SelectTestCase) ... ok
  631. test_returned_list_identity (__main__.SelectTestCase) ... ok
  632. test_select (__main__.SelectTestCase) ... timeout = 0
  633. 'testing...\n'
  634. timeout = 0.1
  635. timeout = 0.2
  636. 'testing...\n'
  637. timeout = 0.4
  638. 'testing...\n'
  639. timeout = 0.8
  640. 'testing...\n'
  641. timeout = 1.6
  642. 'testing...\n'
  643. timeout = None
  644. 'testing...\n'
  645. timeout = None
  646. 'testing...\n'
  647. timeout = None
  648. 'testing...\n'
  649. timeout = None
  650. 'testing...\n'
  651. timeout = None
  652. 'testing...\n'
  653. timeout = None
  654. ''
  655. EOF
  656. ok
  657.  
  658. ----------------------------------------------------------------------
  659. Ran 3 tests in 2.116s
  660.  
  661. OK
  662.  
  663. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_select.py [took 2.3s]
  664. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_signal.py
  665. | /usr/local/bin/python2.7 -u -m monkey_test test_signal.py
  666. Running with patch_all(Event=False): test_signal.py
  667. Removed test_wakeup_fd_early (1)
  668. Removed test_wakeup_fd_during (1)
  669. Removed test_without_siginterrupt (1)
  670. Removed test_siginterrupt_on (1)
  671. test_getsignal (__main__.BasicSignalTests) ... ok
  672. test_out_of_range_signal_number_raises_error (__main__.BasicSignalTests) ... ok
  673. test_setting_signal_handler_to_none_raises_error (__main__.BasicSignalTests) ... ok
  674. test_main (__main__.InterProcessSignalTests) ... test runner's pid is 14308
  675. handlerA invoked from signal 1 at:
  676. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 610, in wait
  677. watcher.stop()
  678.  
  679. handlerB invoked from signal 30 at:
  680. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 643, in run
  681. loop.run()
  682.  
  683. Traceback (most recent call last):
  684. File "test_signal.py", line 65, in handlerB
  685. raise HandlerBCalled(signum, self.format_frame(frame))
  686. HandlerBCalled: (30, ' File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 643, in run\n loop.run()\n')
  687. HandlerBCalled exception caught
  688. KeyboardInterrupt (the alarm() went off)
  689. ok
  690. test_siginterrupt_off (__main__.SiginterruptTest)
  691. If a signal handler is installed and siginterrupt is called with ... ok
  692. test_itimer_exc (__main__.ItimerTest) ... ok
  693. test_itimer_prof (__main__.ItimerTest) ... ('SIGPROF handler invoked', (27, <frame object at 0xfdb3ea0988>))
  694. ok
  695. test_itimer_real (__main__.ItimerTest) ...
  696. call pause()...
  697. ('SIGALRM handler invoked', (14, <frame object at 0xfdb3ea8210>))
  698. ok
  699. test_itimer_virtual (__main__.ItimerTest) ... ('SIGVTALRM handler invoked', (26, <frame object at 0xfdb3ea0b60>))
  700. ('SIGVTALRM handler invoked', (26, <frame object at 0xfdb3ea0b60>))
  701. ('SIGVTALRM handler invoked', (26, <frame object at 0xfdb3ea0b60>))
  702. last SIGVTALRM handler call
  703. ('SIGVTALRM handler invoked', (26, <frame object at 0xfdb3ea0b60>))
  704. ok
  705. test_issue9324 (__main__.WindowsSignalTests) ... skipped 'Windows specific'
  706.  
  707. ----------------------------------------------------------------------
  708. Ran 10 tests in 4.657s
  709.  
  710. OK (skipped=1)
  711.  
  712. - /usr/local/bin/python2.7 -u -m monkey_test test_signal.py [took 5.0s]
  713. + /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py
  714. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_signal.py
  715. Running with patch_all(Event=True): test_signal.py
  716. Removed test_wakeup_fd_early (1)
  717. Removed test_wakeup_fd_during (1)
  718. Removed test_without_siginterrupt (1)
  719. Removed test_siginterrupt_on (1)
  720. test_getsignal (__main__.BasicSignalTests) ... ok
  721. test_out_of_range_signal_number_raises_error (__main__.BasicSignalTests) ... ok
  722. test_setting_signal_handler_to_none_raises_error (__main__.BasicSignalTests) ... ok
  723. test_main (__main__.InterProcessSignalTests) ... test runner's pid is 16075
  724. handlerA invoked from signal 1 at:
  725. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 488, in __init__
  726. restore_signals, start_new_session)
  727.  
  728. handlerB invoked from signal 30 at:
  729. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 819, in switch
  730. assert getcurrent() is self.hub, "Can only use Waiter.switch method from the Hub greenlet"
  731.  
  732. Traceback (most recent call last):
  733. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 819, in switch
  734. assert getcurrent() is self.hub, "Can only use Waiter.switch method from the Hub greenlet"
  735. File "test_signal.py", line 65, in handlerB
  736. raise HandlerBCalled(signum, self.format_frame(frame))
  737. 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')
  738. <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
  739.  
  740. FAIL
  741. test_siginterrupt_off (__main__.SiginterruptTest)
  742. If a signal handler is installed and siginterrupt is called with ... ok
  743. test_itimer_exc (__main__.ItimerTest) ... ok
  744. test_itimer_prof (__main__.ItimerTest) ... ('SIGPROF handler invoked', (27, <frame object at 0x18eca892e050>))
  745. ok
  746. test_itimer_real (__main__.ItimerTest) ...
  747. call pause()...
  748. ('SIGALRM handler invoked', (14, <frame object at 0x18eca8921590>))
  749. ok
  750. test_itimer_virtual (__main__.ItimerTest) ... ('SIGVTALRM handler invoked', (26, <frame object at 0x18eca892e228>))
  751. ('SIGVTALRM handler invoked', (26, <frame object at 0x18eca892e228>))
  752. ('SIGVTALRM handler invoked', (26, <frame object at 0x18eca892e228>))
  753. last SIGVTALRM handler call
  754. ('SIGVTALRM handler invoked', (26, <frame object at 0x18eca892e228>))
  755. ok
  756. test_issue9324 (__main__.WindowsSignalTests) ... skipped 'Windows specific'
  757.  
  758. ======================================================================
  759. FAIL: test_main (__main__.InterProcessSignalTests)
  760. ----------------------------------------------------------------------
  761. Traceback (most recent call last):
  762. File "test_signal.py", line 182, in test_main
  763. self.fail(tb)
  764. AssertionError: Traceback (most recent call last):
  765. File "test_signal.py", line 165, in test_main
  766. self.run_test()
  767. File "test_signal.py", line 108, in run_test
  768. child = subprocess.Popen(['kill', '-USR1', str(pid)])
  769. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 519, in __init__
  770. reraise(*exc_info)
  771. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 488, in __init__
  772. restore_signals, start_new_session)
  773. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 1216, in _execute_child
  774. data = errpipe_read.read()
  775. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 269, in read
  776. return self.io.read(size)
  777. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 105, in readall
  778. data = self.__read(DEFAULT_BUFFER_SIZE)
  779. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 100, in __read
  780. self.hub.wait(self._read_event)
  781. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 606, in wait
  782. result = waiter.get()
  783. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 854, in get
  784. return self.hub.switch()
  785. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 585, in switch
  786. return greenlet.switch(self)
  787. 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>>)
  788.  
  789.  
  790. ----------------------------------------------------------------------
  791. Ran 10 tests in 3.877s
  792.  
  793. FAILED (failures=1, skipped=1)
  794. Traceback (most recent call last):
  795. File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  796. "__main__", fname, loader, pkg_name)
  797. File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
  798. exec code in run_globals
  799. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
  800. exec(module_code, globals())
  801. File "test_signal.py", line 493, in <module>
  802. test_main()
  803. File "test_signal.py", line 489, in test_main
  804. ItimerTest, WindowsSignalTests)
  805. File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
  806. _run_suite(suite)
  807. File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
  808. raise TestFailed(err)
  809. test.test_support.TestFailed: Traceback (most recent call last):
  810. File "test_signal.py", line 182, in test_main
  811. self.fail(tb)
  812. AssertionError: Traceback (most recent call last):
  813. File "test_signal.py", line 165, in test_main
  814. self.run_test()
  815. File "test_signal.py", line 108, in run_test
  816. child = subprocess.Popen(['kill', '-USR1', str(pid)])
  817. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 519, in __init__
  818. reraise(*exc_info)
  819. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 488, in __init__
  820. restore_signals, start_new_session)
  821. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py", line 1216, in _execute_child
  822. data = errpipe_read.read()
  823. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 269, in read
  824. return self.io.read(size)
  825. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 105, in readall
  826. data = self.__read(DEFAULT_BUFFER_SIZE)
  827. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_fileobjectposix.py", line 100, in __read
  828. self.hub.wait(self._read_event)
  829. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 606, in wait
  830. result = waiter.get()
  831. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 854, in get
  832. return self.hub.switch()
  833. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 585, in switch
  834. return greenlet.switch(self)
  835. 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>>)
  836.  
  837. ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_signal.py [code 1] [took 4.4s]
  838. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_smtplib.py
  839. | /usr/local/bin/python2.7 -u -m monkey_test test_httpservers.py
  840. Running with patch_all(Event=False): test_httpservers.py
  841. test_http_0_9 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  842. test_http_1_0 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  843. test_http_1_1 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  844. test_request_length (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  845. test_with_continue_1_0 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  846. test_query_arguments (__main__.SimpleHTTPRequestHandlerTestCase) ... ok
  847. test_start_with_double_slash (__main__.SimpleHTTPRequestHandlerTestCase) ... ok
  848. test_command (__main__.BaseHTTPServerTestCase) ... ok
  849. test_handler (__main__.BaseHTTPServerTestCase) ... ok
  850. test_head_keep_alive (__main__.BaseHTTPServerTestCase) ... ok
  851. test_header_close (__main__.BaseHTTPServerTestCase) ... ok
  852. test_internal_key_error (__main__.BaseHTTPServerTestCase) ... ok
  853. test_request_line_trimming (__main__.BaseHTTPServerTestCase) ...
  854.  
  855. ! /usr/local/bin/python2.7 -u -m monkey_test test_httpservers.py [code TIMEOUT] [took 120.0s]
  856. + /usr/local/bin/python2.7 -u -m monkey_test test_socket.py
  857. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_httpservers.py
  858. Running with patch_all(Event=True): test_httpservers.py
  859. test_http_0_9 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  860. test_http_1_0 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  861. test_http_1_1 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  862. test_request_length (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  863. test_with_continue_1_0 (__main__.BaseHTTPRequestHandlerTestCase) ... ok
  864. test_query_arguments (__main__.SimpleHTTPRequestHandlerTestCase) ... ok
  865. test_start_with_double_slash (__main__.SimpleHTTPRequestHandlerTestCase) ... ok
  866. test_command (__main__.BaseHTTPServerTestCase) ... ok
  867. test_handler (__main__.BaseHTTPServerTestCase) ... ok
  868. test_head_keep_alive (__main__.BaseHTTPServerTestCase) ... ok
  869. test_header_close (__main__.BaseHTTPServerTestCase) ... ok
  870. test_internal_key_error (__main__.BaseHTTPServerTestCase) ... ok
  871. test_request_line_trimming (__main__.BaseHTTPServerTestCase) ...
  872.  
  873. ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_httpservers.py [code TIMEOUT] [took 120.0s]
  874. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_socket.py
  875. | /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py
  876. Running with patch_all(Event=False): test_smtplib.py
  877. testBasic1 (__main__.GeneralTests) ... ok
  878. testBasic2 (__main__.GeneralTests) ... ok
  879. testLocalHostName (__main__.GeneralTests) ... ok
  880. testTimeoutDefault (__main__.GeneralTests) ... ok
  881. testTimeoutNone (__main__.GeneralTests) ... ok
  882. testTimeoutValue (__main__.GeneralTests) ...
  883.  
  884. ! /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py [code TIMEOUT] [took 120.0s]
  885. + /usr/local/bin/python2.7 -u -m monkey_test test_socketserver.py
  886. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_smtplib.py
  887. Running with patch_all(Event=True): test_smtplib.py
  888. testBasic1 (__main__.GeneralTests) ... ok
  889. testBasic2 (__main__.GeneralTests) ... ok
  890. testLocalHostName (__main__.GeneralTests) ... ok
  891. testTimeoutDefault (__main__.GeneralTests) ... ok
  892. testTimeoutNone (__main__.GeneralTests) ... ok
  893. testTimeoutValue (__main__.GeneralTests) ...
  894.  
  895. ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_smtplib.py [code TIMEOUT] [took 120.0s]
  896. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_socketserver.py
  897. | /usr/local/bin/python2.7 -u -m monkey_test test_socketserver.py
  898. Running with patch_all(Event=False): test_socketserver.py
  899. test_ForkingTCPServer (__main__.SocketServerTest) ... creating server
  900. server created
  901. ADDR = ('127.0.0.1', 41241)
  902. CLASS = SocketServer.ForkingTCPServer
  903. server running
  904. test client 0
  905. test client 1
  906. test client 2
  907. waiting for server
  908. done
  909. ok
  910. test_ForkingUDPServer (__main__.SocketServerTest) ... creating server
  911. server created
  912. ADDR = ('127.0.0.1', 23140)
  913. CLASS = SocketServer.ForkingUDPServer
  914. server running
  915. test client 0
  916. test client 1
  917. test client 2
  918. waiting for server
  919. done
  920. ok
  921. test_ForkingUnixStreamServer (__main__.SocketServerTest) ... creating server
  922. server created
  923. ADDR = /tmp/unix_socket.UPd8PL
  924. CLASS = __main__.ForkingUnixStreamServer
  925. server running
  926. test client 0
  927. test client 1
  928. test client 2
  929. waiting for server
  930. done
  931. ok
  932. test_TCPServer (__main__.SocketServerTest) ... creating server
  933. server created
  934. ADDR = ('127.0.0.1', 33378)
  935. CLASS = SocketServer.TCPServer
  936. server running
  937. test client 0
  938. test client 1
  939. test client 2
  940. waiting for server
  941. done
  942. ok
  943. test_ThreadingTCPServer (__main__.SocketServerTest) ... creating server
  944. server created
  945. ADDR = ('127.0.0.1', 32788)
  946. CLASS = SocketServer.ThreadingTCPServer
  947. server running
  948. test client 0
  949. test client 1
  950. test client 2
  951. waiting for server
  952. done
  953. ok
  954. test_ThreadingUDPServer (__main__.SocketServerTest) ... creating server
  955. server created
  956. ADDR = ('127.0.0.1', 4234)
  957. CLASS = SocketServer.ThreadingUDPServer
  958. server running
  959. test client 0
  960. test client 1
  961. test client 2
  962. waiting for server
  963. done
  964. ok
  965. test_ThreadingUnixStreamServer (__main__.SocketServerTest) ... creating server
  966. server created
  967. ADDR = /tmp/unix_socket.RxVzom
  968. CLASS = SocketServer.ThreadingUnixStreamServer
  969. server running
  970. test client 0
  971. test client 1
  972. test client 2
  973. waiting for server
  974. done
  975. ok
  976. test_UDPServer (__main__.SocketServerTest) ... creating server
  977. server created
  978. ADDR = ('127.0.0.1', 27219)
  979. CLASS = SocketServer.UDPServer
  980. server running
  981. test client 0
  982. test client 1
  983. test client 2
  984. waiting for server
  985. done
  986. ok
  987. test_UnixStreamServer (__main__.SocketServerTest) ... creating server
  988. server created
  989. ADDR = /tmp/unix_socket.TRq9ee
  990. CLASS = SocketServer.UnixStreamServer
  991. server running
  992. test client 0
  993. test client 1
  994. test client 2
  995. waiting for server
  996. done
  997. ok
  998. test_shutdown (__main__.SocketServerTest) ... ok
  999.  
  1000. ----------------------------------------------------------------------
  1001. Ran 10 tests in 2.153s
  1002.  
  1003. OK
  1004.  
  1005. - /usr/local/bin/python2.7 -u -m monkey_test test_socketserver.py [took 2.6s]
  1006. + /usr/local/bin/python2.7 -u -m monkey_test test_ssl.py
  1007. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_socketserver.py
  1008. Running with patch_all(Event=True): test_socketserver.py
  1009. test_ForkingTCPServer (__main__.SocketServerTest) ... creating server
  1010. server created
  1011. ADDR = ('127.0.0.1', 11937)
  1012. CLASS = SocketServer.ForkingTCPServer
  1013. server running
  1014. test client 0
  1015. test client 1
  1016. test client 2
  1017. waiting for server
  1018. done
  1019. ok
  1020. test_ForkingUDPServer (__main__.SocketServerTest) ... creating server
  1021. server created
  1022. ADDR = ('127.0.0.1', 37630)
  1023. CLASS = SocketServer.ForkingUDPServer
  1024. server running
  1025. test client 0
  1026. test client 1
  1027. test client 2
  1028. waiting for server
  1029. done
  1030. ok
  1031. test_ForkingUnixStreamServer (__main__.SocketServerTest) ... creating server
  1032. server created
  1033. ADDR = /tmp/unix_socket.twNTtE
  1034. CLASS = __main__.ForkingUnixStreamServer
  1035. server running
  1036. test client 0
  1037. test client 1
  1038. test client 2
  1039. waiting for server
  1040. done
  1041. ok
  1042. test_TCPServer (__main__.SocketServerTest) ... creating server
  1043. server created
  1044. ADDR = ('127.0.0.1', 48956)
  1045. CLASS = SocketServer.TCPServer
  1046. server running
  1047. test client 0
  1048. test client 1
  1049. test client 2
  1050. waiting for server
  1051. done
  1052. ok
  1053. test_ThreadingTCPServer (__main__.SocketServerTest) ... creating server
  1054. server created
  1055. ADDR = ('127.0.0.1', 34906)
  1056. CLASS = SocketServer.ThreadingTCPServer
  1057. server running
  1058. test client 0
  1059. test client 1
  1060. test client 2
  1061. waiting for server
  1062. done
  1063. ok
  1064. test_ThreadingUDPServer (__main__.SocketServerTest) ... creating server
  1065. server created
  1066. ADDR = ('127.0.0.1', 18674)
  1067. CLASS = SocketServer.ThreadingUDPServer
  1068. server running
  1069. test client 0
  1070. test client 1
  1071. test client 2
  1072. waiting for server
  1073. done
  1074. ok
  1075. test_ThreadingUnixStreamServer (__main__.SocketServerTest) ... creating server
  1076. server created
  1077. ADDR = /tmp/unix_socket.EbHXBp
  1078. CLASS = SocketServer.ThreadingUnixStreamServer
  1079. server running
  1080. test client 0
  1081. test client 1
  1082. test client 2
  1083. waiting for server
  1084. done
  1085. ok
  1086. test_UDPServer (__main__.SocketServerTest) ... creating server
  1087. server created
  1088. ADDR = ('127.0.0.1', 14213)
  1089. CLASS = SocketServer.UDPServer
  1090. server running
  1091. test client 0
  1092. test client 1
  1093. test client 2
  1094. waiting for server
  1095. done
  1096. ok
  1097. test_UnixStreamServer (__main__.SocketServerTest) ... creating server
  1098. server created
  1099. ADDR = /tmp/unix_socket.CQjCrq
  1100. CLASS = SocketServer.UnixStreamServer
  1101. server running
  1102. test client 0
  1103. test client 1
  1104. test client 2
  1105. waiting for server
  1106. done
  1107. ok
  1108. test_shutdown (__main__.SocketServerTest) ... ok
  1109.  
  1110. ----------------------------------------------------------------------
  1111. Ran 10 tests in 1.929s
  1112.  
  1113. OK
  1114.  
  1115. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_socketserver.py [took 2.4s]
  1116. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_ssl.py
  1117. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_ssl.py
  1118. Running with patch_all(Event=True): test_ssl.py
  1119. Removed test_default_ciphers (1)
  1120. Removed test_empty_cert (1)
  1121. Removed test_malformed_cert (1)
  1122. Removed test_malformed_key (1)
  1123. Removed test_non_blocking_connect_ex (1)
  1124. Removed test_algorithms (1)
  1125. test_sslwrap_simple (__main__.BasicTests) ... ok
  1126. test_DER_to_PEM (__main__.BasicSocketTests) ... ok
  1127. test_ciphers (__main__.BasicSocketTests) ... ok
  1128. test_constants (__main__.BasicSocketTests) ... ERROR
  1129. test_openssl_version (__main__.BasicSocketTests) ... FAIL
  1130. test_parse_cert (__main__.BasicSocketTests) ...
  1131. {'issuer': ((('countryName', u'XY'),),
  1132. (('localityName', u'Castle Anthrax'),),
  1133. (('organizationName', u'Python Software Foundation'),),
  1134. (('commonName', u'localhost'),)),
  1135. 'notAfter': 'Oct 5 23:01:56 2020 GMT',
  1136. 'notBefore': u'Oct 8 23:01:56 2010 GMT',
  1137. 'serialNumber': u'D7C7381919AFC24E',
  1138. 'subject': ((('countryName', u'XY'),),
  1139. (('localityName', u'Castle Anthrax'),),
  1140. (('organizationName', u'Python Software Foundation'),),
  1141. (('commonName', u'localhost'),)),
  1142. 'subjectAltName': (('DNS', 'localhost'),),
  1143. 'version': 3L}
  1144.  
  1145. {'OCSP': (u'http://ocsp.verisign.com',),
  1146. 'caIssuers': (u'http://SVRIntl-G3-aia.verisign.com/SVRIntlG3.cer',),
  1147. 'crlDistributionPoints': (u'http://SVRIntl-G3-crl.verisign.com/SVRIntlG3.crl',),
  1148. 'issuer': ((('countryName', u'US'),),
  1149. (('organizationName', u'VeriSign, Inc.'),),
  1150. (('organizationalUnitName', u'VeriSign Trust Network'),),
  1151. (('organizationalUnitName',
  1152. u'Terms of use at https://www.verisign.com/rpa (c)10'),),
  1153. (('commonName',
  1154. u'VeriSign Class 3 International Server CA - G3'),)),
  1155. 'notAfter': 'Sep 20 23:59:59 2012 GMT',
  1156. 'notBefore': u'Sep 21 00:00:00 2011 GMT',
  1157. 'serialNumber': u'2EE6EA7640A075CEE5005F4D7C79549A',
  1158. 'subject': ((('countryName', u'FI'),),
  1159. (('stateOrProvinceName', u'Espoo'),),
  1160. (('localityName', u'Espoo'),),
  1161. (('organizationName', u'Nokia'),),
  1162. (('organizationalUnitName', u'BI'),),
  1163. (('commonName', u'projects.developer.nokia.com'),)),
  1164. 'subjectAltName': (('DNS', 'projects.developer.nokia.com'),
  1165. ('DNS', 'projects.forum.nokia.com')),
  1166. 'version': 3L}
  1167. ok
  1168. test_random (__main__.BasicSocketTests) ... skipped 'RAND support not available'
  1169. test_refcycle (__main__.BasicSocketTests) ... ok
  1170. test_wrapped_unconnected (__main__.BasicSocketTests) ... ok
  1171. test_connect (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
  1172. test_connect_ex (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
  1173. test_get_server_certificate (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
  1174. test_makefile_close (__main__.NetworkedTests) ... ok
  1175. test_non_blocking_handshake (__main__.NetworkedTests) ...
  1176. Needed 4 calls to do_handshake() to establish session.
  1177. ok
  1178. test_asyncore_server (__main__.ThreadedTests)
  1179. Check the example asyncore integration. ...
  1180. server: new connection from 127.0.0.1:10893
  1181. client: sending 'TEST MESSAGE of mixed case\n'...
  1182. client: read 'test message of mixed case\n'
  1183. client: closing connection.
  1184. cleanup: stopping server.
  1185. cleanup: joining server thread.
  1186. server: closed connection <SSLSocket fileno=[Errno 9] Bad file descriptor timeout=0.0>
  1187. cleanup: successfully joined.
  1188. ok
  1189. test_echo (__main__.ThreadedTests)
  1190. Basic test of an SSL client connecting to a server ...
  1191. server: new connection from ('127.0.0.1', 40192)
  1192. server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
  1193. server: selected protocol is now None
  1194. client: sending 'FOO\n'...
  1195. client: read 'foo\n'
  1196. client: sending 'FOO\n'...
  1197. client: read 'foo\n'
  1198. client: sending 'FOO\n'...
  1199. client: read 'foo\n'
  1200. client: closing connection.
  1201. server: new connection from ('127.0.0.1', 2659)
  1202. server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
  1203. server: selected protocol is now None
  1204. client: sending 'FOO\n'...
  1205. client: read 'foo\n'
  1206. client: sending 'FOO\n'...
  1207. client: read 'foo\n'
  1208. client: sending 'FOO\n'...
  1209. client: read 'foo\n'
  1210. client: closing connection.
  1211. server: new connection from ('127.0.0.1', 4677)
  1212. server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
  1213. server: selected protocol is now None
  1214. client: sending 'FOO\n'...
  1215. client: read 'foo\n'
  1216. client: sending 'FOO\n'...
  1217. client: read 'foo\n'
  1218. client: sending 'FOO\n'...
  1219. client: read 'foo\n'
  1220. client: closing connection.
  1221. server: new connection from ('127.0.0.1', 44355)
  1222. server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
  1223. server: selected protocol is now None
  1224. client: sending 'FOO\n'...
  1225. client: read 'foo\n'
  1226. client: sending 'FOO\n'...
  1227. client: read 'foo\n'
  1228. client: sending 'FOO\n'...
  1229. client: read 'foo\n'
  1230. client: closing connection.
  1231. ok
  1232. test_getpeercert (__main__.ThreadedTests) ...
  1233. {'issuer': ((('countryName', u'XY'),),
  1234. (('localityName', u'Castle Anthrax'),),
  1235. (('organizationName', u'Python Software Foundation'),),
  1236. (('commonName', u'localhost'),)),
  1237. 'notAfter': 'Oct 5 23:01:56 2020 GMT',
  1238. 'notBefore': u'Oct 8 23:01:56 2010 GMT',
  1239. 'serialNumber': u'D7C7381919AFC24E',
  1240. 'subject': ((('countryName', u'XY'),),
  1241. (('localityName', u'Castle Anthrax'),),
  1242. (('organizationName', u'Python Software Foundation'),),
  1243. (('commonName', u'localhost'),)),
  1244. 'subjectAltName': (('DNS', 'localhost'),),
  1245. 'version': 3L}
  1246. Connection cipher is ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256).
  1247. ok
  1248. test_handshake_timeout (__main__.ThreadedTests) ... ok
  1249. test_nonexisting_cert (__main__.ThreadedTests)
  1250. Connecting with a non-existing cert file ...
  1251. SSLError is [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:590)
  1252. ok
  1253. test_protocol_sslv2 (__main__.ThreadedTests)
  1254. Connecting to an SSLv2 server with various client options ...
  1255. skipped 'PROTOCOL_SSLv2 needed'
  1256. test_protocol_sslv23 (__main__.ThreadedTests)
  1257. Connecting to an SSLv23 server with various client options ...
  1258. skipped 'SSLv23 Disabled in 2.7.11'
  1259. test_protocol_sslv3 (__main__.ThreadedTests)
  1260. Connecting to an SSLv3 server with various client options ...
  1261. ERROR
  1262. test_protocol_tlsv1 (__main__.ThreadedTests)
  1263. Connecting to a TLSv1 server with various client options ...
  1264. PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_NONE
  1265. PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_OPTIONAL
  1266. PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_REQUIRED
  1267. ERROR
  1268. test_recv_send (__main__.ThreadedTests)
  1269. Test recv(), send() and friends. ...
  1270. server: new connection from ('127.0.0.1', 44523)
  1271. server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
  1272. server: selected protocol is now None
  1273. ok
  1274. test_rude_shutdown (__main__.ThreadedTests)
  1275. A brutal shutdown of an SSL server should raise an IOError ... ok
  1276. test_socketserver (__main__.ThreadedTests)
  1277. Using a SocketServer to create and manage SSL connections. ...
  1278. server (('127.0.0.1', 48556):48556 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
  1279. [09/Feb/2016 13:48:57] "GET /keycert.pem HTTP/1.0" 200 -
  1280. client: read 1783 bytes from remote server '<SocketServerHTTPSServer <HTTPSServer localhost:48556>>'
  1281. ok
  1282. test_starttls (__main__.ThreadedTests)
  1283. Switching from clear text to encrypted and back again. ...
  1284. client: sending 'msg 1'...
  1285. server: new connection from ('127.0.0.1', 16534)
  1286. server: read 'msg 1' (unencrypted), sending back 'msg 1' (unencrypted)...
  1287. client: read 'msg 1' from server
  1288. client: sending 'MSG 2'...
  1289. server: read 'MSG 2' (unencrypted), sending back 'msg 2' (unencrypted)...
  1290. client: read 'msg 2' from server
  1291. client: sending 'STARTTLS'...
  1292. server: read STARTTLS from client, sending OK...
  1293. client: read 'OK\n' from server, starting TLS...
  1294. server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
  1295. server: selected protocol is now None
  1296. client: sending 'MSG 3'...
  1297. server: read 'MSG 3' (encrypted), sending back 'msg 3' (encrypted)...
  1298. client: read 'msg 3' from server
  1299. client: sending 'msg 4'...
  1300. server: read 'msg 4' (encrypted), sending back 'msg 4' (encrypted)...
  1301. client: read 'msg 4' from server
  1302. client: sending 'ENDTLS'...
  1303. server: read ENDTLS from client, sending OK...
  1304. client: read 'OK\n' from server, ending TLS...
  1305. client: sending 'msg 5'...
  1306. server: connection is now unencrypted...
  1307. server: read 'msg 5' (unencrypted), sending back 'msg 5' (unencrypted)...
  1308. client: read 'msg 5' from server
  1309. client: sending 'msg 6'...
  1310. server: read 'msg 6' (unencrypted), sending back 'msg 6' (unencrypted)...
  1311. client: read 'msg 6' from server
  1312. client: closing connection.
  1313. server: client closed connection
  1314. ok
  1315. test_wrapped_accept (__main__.ThreadedTests)
  1316. Check the accept() method on SSL sockets. ... skipped '<= 2.7.9 only'
  1317.  
  1318. ======================================================================
  1319. ERROR: test_constants (__main__.BasicSocketTests)
  1320. ----------------------------------------------------------------------
  1321. Traceback (most recent call last):
  1322. File "test_ssl.py", line 105, in test_constants
  1323. ssl.PROTOCOL_SSLv3
  1324. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  1325.  
  1326. ======================================================================
  1327. ERROR: test_protocol_sslv3 (__main__.ThreadedTests)
  1328. Connecting to an SSLv3 server with various client options
  1329. ----------------------------------------------------------------------
  1330. Traceback (most recent call last):
  1331. File "test_ssl.py", line 1239, in test_protocol_sslv3
  1332. try_protocol_combo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
  1333. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  1334.  
  1335. ======================================================================
  1336. ERROR: test_protocol_tlsv1 (__main__.ThreadedTests)
  1337. Connecting to a TLSv1 server with various client options
  1338. ----------------------------------------------------------------------
  1339. Traceback (most recent call last):
  1340. File "test_ssl.py", line 1256, in test_protocol_tlsv1
  1341. try_protocol_combo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv3, False)
  1342. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  1343.  
  1344. ======================================================================
  1345. FAIL: test_openssl_version (__main__.BasicSocketTests)
  1346. ----------------------------------------------------------------------
  1347. Traceback (most recent call last):
  1348. File "test_ssl.py", line 178, in test_openssl_version
  1349. self.assertLess(n, 0x20000000)
  1350. AssertionError: 536870912L not less than 536870912
  1351.  
  1352. ----------------------------------------------------------------------
  1353. Ran 28 tests in 3.810s
  1354.  
  1355. FAILED (failures=1, errors=3, skipped=7)
  1356. Traceback (most recent call last):
  1357. File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  1358. "__main__", fname, loader, pkg_name)
  1359. File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
  1360. exec code in run_globals
  1361. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
  1362. exec(module_code, globals())
  1363. File "test_ssl.py", line 1596, in <module>
  1364. test_main()
  1365. File "test_ssl.py", line 1590, in test_main
  1366. test_support.run_unittest(*tests)
  1367. File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
  1368. _run_suite(suite)
  1369. File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
  1370. raise TestFailed(err)
  1371. test.test_support.TestFailed: multiple errors occurred
  1372.  
  1373. ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_ssl.py [code 1] [took 5.2s]
  1374. + /usr/local/bin/python2.7 -u -m monkey_test test_subprocess.py
  1375. | /usr/local/bin/python2.7 -u -m monkey_test test_ssl.py
  1376. Running with patch_all(Event=False): test_ssl.py
  1377. Removed test_default_ciphers (1)
  1378. Removed test_empty_cert (1)
  1379. Removed test_malformed_cert (1)
  1380. Removed test_malformed_key (1)
  1381. Removed test_non_blocking_connect_ex (1)
  1382. Removed test_algorithms (1)
  1383. test_sslwrap_simple (__main__.BasicTests) ... ok
  1384. test_DER_to_PEM (__main__.BasicSocketTests) ... ok
  1385. test_ciphers (__main__.BasicSocketTests) ... ok
  1386. test_constants (__main__.BasicSocketTests) ... ERROR
  1387. test_openssl_version (__main__.BasicSocketTests) ... FAIL
  1388. test_parse_cert (__main__.BasicSocketTests) ...
  1389. {'issuer': ((('countryName', u'XY'),),
  1390. (('localityName', u'Castle Anthrax'),),
  1391. (('organizationName', u'Python Software Foundation'),),
  1392. (('commonName', u'localhost'),)),
  1393. 'notAfter': 'Oct 5 23:01:56 2020 GMT',
  1394. 'notBefore': u'Oct 8 23:01:56 2010 GMT',
  1395. 'serialNumber': u'D7C7381919AFC24E',
  1396. 'subject': ((('countryName', u'XY'),),
  1397. (('localityName', u'Castle Anthrax'),),
  1398. (('organizationName', u'Python Software Foundation'),),
  1399. (('commonName', u'localhost'),)),
  1400. 'subjectAltName': (('DNS', 'localhost'),),
  1401. 'version': 3L}
  1402.  
  1403. {'OCSP': (u'http://ocsp.verisign.com',),
  1404. 'caIssuers': (u'http://SVRIntl-G3-aia.verisign.com/SVRIntlG3.cer',),
  1405. 'crlDistributionPoints': (u'http://SVRIntl-G3-crl.verisign.com/SVRIntlG3.crl',),
  1406. 'issuer': ((('countryName', u'US'),),
  1407. (('organizationName', u'VeriSign, Inc.'),),
  1408. (('organizationalUnitName', u'VeriSign Trust Network'),),
  1409. (('organizationalUnitName',
  1410. u'Terms of use at https://www.verisign.com/rpa (c)10'),),
  1411. (('commonName',
  1412. u'VeriSign Class 3 International Server CA - G3'),)),
  1413. 'notAfter': 'Sep 20 23:59:59 2012 GMT',
  1414. 'notBefore': u'Sep 21 00:00:00 2011 GMT',
  1415. 'serialNumber': u'2EE6EA7640A075CEE5005F4D7C79549A',
  1416. 'subject': ((('countryName', u'FI'),),
  1417. (('stateOrProvinceName', u'Espoo'),),
  1418. (('localityName', u'Espoo'),),
  1419. (('organizationName', u'Nokia'),),
  1420. (('organizationalUnitName', u'BI'),),
  1421. (('commonName', u'projects.developer.nokia.com'),)),
  1422. 'subjectAltName': (('DNS', 'projects.developer.nokia.com'),
  1423. ('DNS', 'projects.forum.nokia.com')),
  1424. 'version': 3L}
  1425. ok
  1426. test_random (__main__.BasicSocketTests) ... skipped 'RAND support not available'
  1427. test_refcycle (__main__.BasicSocketTests) ... ok
  1428. test_wrapped_unconnected (__main__.BasicSocketTests) ... ok
  1429. test_connect (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
  1430. test_connect_ex (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
  1431. test_get_server_certificate (__main__.NetworkedTests) ... skipped 'svn.python.org cert changed; see https://bugs.python.org/issue25940'
  1432. test_makefile_close (__main__.NetworkedTests) ... ok
  1433. test_non_blocking_handshake (__main__.NetworkedTests) ...
  1434. Needed 5 calls to do_handshake() to establish session.
  1435. ok
  1436. test_asyncore_server (__main__.ThreadedTests)
  1437. Check the example asyncore integration. ...
  1438. server: new connection from 127.0.0.1:8437
  1439. client: sending 'TEST MESSAGE of mixed case\n'...
  1440. client: read 'test message of mixed case\n'
  1441. client: closing connection.
  1442. cleanup: stopping server.
  1443. cleanup: joining server thread.
  1444. server: closed connection <SSLSocket fileno=[Errno 9] Bad file descriptor timeout=0.0>
  1445. cleanup: successfully joined.
  1446. ok
  1447. test_echo (__main__.ThreadedTests)
  1448. Basic test of an SSL client connecting to a server ...
  1449. server: new connection from ('127.0.0.1', 14988)
  1450. server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
  1451. server: selected protocol is now None
  1452. client: sending 'FOO\n'...
  1453. client: read 'foo\n'
  1454. client: sending 'FOO\n'...
  1455. client: read 'foo\n'
  1456. client: sending 'FOO\n'...
  1457. client: read 'foo\n'
  1458. client: closing connection.
  1459. server: new connection from ('127.0.0.1', 10908)
  1460. server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
  1461. server: selected protocol is now None
  1462. client: sending 'FOO\n'...
  1463. client: read 'foo\n'
  1464. client: sending 'FOO\n'...
  1465. client: read 'foo\n'
  1466. client: sending 'FOO\n'...
  1467. client: read 'foo\n'
  1468. client: closing connection.
  1469. server: new connection from ('127.0.0.1', 28967)
  1470. server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
  1471. server: selected protocol is now None
  1472. client: sending 'FOO\n'...
  1473. client: read 'foo\n'
  1474. client: sending 'FOO\n'...
  1475. client: read 'foo\n'
  1476. client: sending 'FOO\n'...
  1477. client: read 'foo\n'
  1478. client: closing connection.
  1479. server: new connection from ('127.0.0.1', 43285)
  1480. server: connection cipher is now ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)
  1481. server: selected protocol is now None
  1482. client: sending 'FOO\n'...
  1483. client: read 'foo\n'
  1484. client: sending 'FOO\n'...
  1485. client: read 'foo\n'
  1486. client: sending 'FOO\n'...
  1487. client: read 'foo\n'
  1488. client: closing connection.
  1489. ok
  1490. test_getpeercert (__main__.ThreadedTests) ...
  1491. {'issuer': ((('countryName', u'XY'),),
  1492. (('localityName', u'Castle Anthrax'),),
  1493. (('organizationName', u'Python Software Foundation'),),
  1494. (('commonName', u'localhost'),)),
  1495. 'notAfter': 'Oct 5 23:01:56 2020 GMT',
  1496. 'notBefore': u'Oct 8 23:01:56 2010 GMT',
  1497. 'serialNumber': u'D7C7381919AFC24E',
  1498. 'subject': ((('countryName', u'XY'),),
  1499. (('localityName', u'Castle Anthrax'),),
  1500. (('organizationName', u'Python Software Foundation'),),
  1501. (('commonName', u'localhost'),)),
  1502. 'subjectAltName': (('DNS', 'localhost'),),
  1503. 'version': 3L}
  1504. Connection cipher is ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256).
  1505. ok
  1506. test_handshake_timeout (__main__.ThreadedTests) ... ok
  1507. test_nonexisting_cert (__main__.ThreadedTests)
  1508. Connecting with a non-existing cert file ...
  1509. SSLError is [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:590)
  1510. ok
  1511. test_protocol_sslv2 (__main__.ThreadedTests)
  1512. Connecting to an SSLv2 server with various client options ...
  1513. skipped 'PROTOCOL_SSLv2 needed'
  1514. test_protocol_sslv23 (__main__.ThreadedTests)
  1515. Connecting to an SSLv23 server with various client options ...
  1516. skipped 'SSLv23 Disabled in 2.7.11'
  1517. test_protocol_sslv3 (__main__.ThreadedTests)
  1518. Connecting to an SSLv3 server with various client options ...
  1519. ERROR
  1520. test_protocol_tlsv1 (__main__.ThreadedTests)
  1521. Connecting to a TLSv1 server with various client options ...
  1522. PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_NONE
  1523. PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_OPTIONAL
  1524. PROTOCOL_TLSv1->PROTOCOL_TLSv1 CERT_REQUIRED
  1525. ERROR
  1526. test_recv_send (__main__.ThreadedTests)
  1527. Test recv(), send() and friends. ...
  1528. server: new connection from ('127.0.0.1', 43498)
  1529. server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
  1530. server: selected protocol is now None
  1531. ok
  1532. test_rude_shutdown (__main__.ThreadedTests)
  1533. A brutal shutdown of an SSL server should raise an IOError ... ok
  1534. test_socketserver (__main__.ThreadedTests)
  1535. Using a SocketServer to create and manage SSL connections. ...
  1536. server (('127.0.0.1', 45776):45776 ('ECDHE-RSA-AES256-GCM-SHA384', 'TLSv1/SSLv3', 256)):
  1537. [09/Feb/2016 13:49:00] "GET /keycert.pem HTTP/1.0" 200 -
  1538. client: read 1783 bytes from remote server '<SocketServerHTTPSServer <HTTPSServer localhost:45776>>'
  1539. ok
  1540. test_starttls (__main__.ThreadedTests)
  1541. Switching from clear text to encrypted and back again. ...
  1542. client: sending 'msg 1'...
  1543. server: new connection from ('127.0.0.1', 34484)
  1544. server: read 'msg 1' (unencrypted), sending back 'msg 1' (unencrypted)...
  1545. client: read 'msg 1' from server
  1546. client: sending 'MSG 2'...
  1547. server: read 'MSG 2' (unencrypted), sending back 'msg 2' (unencrypted)...
  1548. client: read 'msg 2' from server
  1549. client: sending 'STARTTLS'...
  1550. server: read STARTTLS from client, sending OK...
  1551. client: read 'OK\n' from server, starting TLS...
  1552. server: connection cipher is now ('ECDHE-RSA-AES256-SHA', 'TLSv1/SSLv3', 256)
  1553. server: selected protocol is now None
  1554. client: sending 'MSG 3'...
  1555. server: read 'MSG 3' (encrypted), sending back 'msg 3' (encrypted)...
  1556. client: read 'msg 3' from server
  1557. client: sending 'msg 4'...
  1558. server: read 'msg 4' (encrypted), sending back 'msg 4' (encrypted)...
  1559. client: read 'msg 4' from server
  1560. client: sending 'ENDTLS'...
  1561. server: read ENDTLS from client, sending OK...
  1562. client: read 'OK\n' from server, ending TLS...
  1563. client: sending 'msg 5'...
  1564. server: connection is now unencrypted...
  1565. server: read 'msg 5' (unencrypted), sending back 'msg 5' (unencrypted)...
  1566. client: read 'msg 5' from server
  1567. client: sending 'msg 6'...
  1568. server: read 'msg 6' (unencrypted), sending back 'msg 6' (unencrypted)...
  1569. client: read 'msg 6' from server
  1570. client: closing connection.
  1571. server: client closed connection
  1572. ok
  1573. test_wrapped_accept (__main__.ThreadedTests)
  1574. Check the accept() method on SSL sockets. ... skipped '<= 2.7.9 only'
  1575.  
  1576. ======================================================================
  1577. ERROR: test_constants (__main__.BasicSocketTests)
  1578. ----------------------------------------------------------------------
  1579. Traceback (most recent call last):
  1580. File "test_ssl.py", line 105, in test_constants
  1581. ssl.PROTOCOL_SSLv3
  1582. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  1583.  
  1584. ======================================================================
  1585. ERROR: test_protocol_sslv3 (__main__.ThreadedTests)
  1586. Connecting to an SSLv3 server with various client options
  1587. ----------------------------------------------------------------------
  1588. Traceback (most recent call last):
  1589. File "test_ssl.py", line 1239, in test_protocol_sslv3
  1590. try_protocol_combo(ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv3, True)
  1591. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  1592.  
  1593. ======================================================================
  1594. ERROR: test_protocol_tlsv1 (__main__.ThreadedTests)
  1595. Connecting to a TLSv1 server with various client options
  1596. ----------------------------------------------------------------------
  1597. Traceback (most recent call last):
  1598. File "test_ssl.py", line 1256, in test_protocol_tlsv1
  1599. try_protocol_combo(ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv3, False)
  1600. AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
  1601.  
  1602. ======================================================================
  1603. FAIL: test_openssl_version (__main__.BasicSocketTests)
  1604. ----------------------------------------------------------------------
  1605. Traceback (most recent call last):
  1606. File "test_ssl.py", line 178, in test_openssl_version
  1607. self.assertLess(n, 0x20000000)
  1608. AssertionError: 536870912L not less than 536870912
  1609.  
  1610. ----------------------------------------------------------------------
  1611. Ran 28 tests in 9.794s
  1612.  
  1613. FAILED (failures=1, errors=3, skipped=7)
  1614. Traceback (most recent call last):
  1615. File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  1616. "__main__", fname, loader, pkg_name)
  1617. File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
  1618. exec code in run_globals
  1619. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
  1620. exec(module_code, globals())
  1621. File "test_ssl.py", line 1596, in <module>
  1622. test_main()
  1623. File "test_ssl.py", line 1590, in test_main
  1624. test_support.run_unittest(*tests)
  1625. File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
  1626. _run_suite(suite)
  1627. File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
  1628. raise TestFailed(err)
  1629. test.test_support.TestFailed: multiple errors occurred
  1630.  
  1631. ! /usr/local/bin/python2.7 -u -m monkey_test test_ssl.py [code 1] [took 11.4s]
  1632. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_subprocess.py
  1633. | /usr/local/bin/python2.7 -u -m monkey_test test_socket.py
  1634. Running with patch_all(Event=False): test_socket.py
  1635. Removed testUDPTimeout (1)
  1636. Removed testRefCountGetNameInfo (1)
  1637. Removed test_create_connection_timeout (1)
  1638. testCrucialConstants (__main__.GeneralModuleTests) ... ok
  1639. testDefaultTimeout (__main__.GeneralModuleTests) ... ok
  1640. testGetServBy (__main__.GeneralModuleTests) ... ok
  1641. testGetSockOpt (__main__.GeneralModuleTests) ... ok
  1642. testGetaddrinfo (__main__.GeneralModuleTests) ... ok
  1643. testHostnameRes (__main__.GeneralModuleTests) ... ok
  1644. testIPv4_inet_aton_fourbytes (__main__.GeneralModuleTests) ... ok
  1645. testIPv4toString (__main__.GeneralModuleTests) ... ok
  1646. testIPv6toString (__main__.GeneralModuleTests) ... ok
  1647. testInterpreterCrash (__main__.GeneralModuleTests) ... ok
  1648. testListenBacklog0 (__main__.GeneralModuleTests) ... ok
  1649. testNewAttributes (__main__.GeneralModuleTests) ... ok
  1650. testNtoH (__main__.GeneralModuleTests) ... ok
  1651. testNtoHErrors (__main__.GeneralModuleTests) ... ok
  1652. testSendAfterClose (__main__.GeneralModuleTests) ... ok
  1653. testSendtoErrors (__main__.GeneralModuleTests) ... ok
  1654. testSetSockOpt (__main__.GeneralModuleTests) ... ok
  1655. testSockName (__main__.GeneralModuleTests) ... ok
  1656. testSocketError (__main__.GeneralModuleTests) ... ok
  1657. testStringToIPv4 (__main__.GeneralModuleTests) ... ok
  1658. testStringToIPv6 (__main__.GeneralModuleTests) ... ok
  1659. test_flowinfo (__main__.GeneralModuleTests) ... Traceback (most recent call last):
  1660. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/threadpool.py", line 207, in _worker
  1661. value = func(*args, **kwargs)
  1662. OverflowError: getsockaddrarg: flowinfo must be 0-1048575.
  1663. (<ThreadPool at 0x15644fabac50 0/1/10>, <built-in function getnameinfo>) failed with OverflowError
  1664.  
  1665. ok
  1666. test_getsockaddrarg (__main__.GeneralModuleTests) ... ok
  1667. test_sendall_interrupted (__main__.GeneralModuleTests) ... Traceback (most recent call last):
  1668. File "test_socket.py", line 677, in raising_handler
  1669. 1 // 0
  1670. ZeroDivisionError: integer division or modulo by zero
  1671. ok
  1672. test_sendall_interrupted_with_timeout (__main__.GeneralModuleTests) ... Traceback (most recent call last):
  1673. File "test_socket.py", line 677, in raising_handler
  1674. 1 // 0
  1675. ZeroDivisionError: integer division or modulo by zero
  1676. ok
  1677. test_sock_ioctl (__main__.GeneralModuleTests) ... skipped 'Windows specific'
  1678. test_weakref (__main__.GeneralModuleTests) ... ok
  1679. testDup (__main__.BasicTCPTest) ... ok
  1680. testFromFd (__main__.BasicTCPTest) ... ok
  1681. testOverFlowRecv (__main__.BasicTCPTest) ... ok
  1682. testOverFlowRecvFrom (__main__.BasicTCPTest) ... ok
  1683. testRecv (__main__.BasicTCPTest) ... ok
  1684. testRecvFrom (__main__.BasicTCPTest) ... ok
  1685. testSendAll (__main__.BasicTCPTest) ... ok
  1686. testShutdown (__main__.BasicTCPTest) ... ok
  1687. testClose (__main__.TCPCloserTest) ...
  1688.  
  1689. ! /usr/local/bin/python2.7 -u -m monkey_test test_socket.py [code -14] [took 110.1s]
  1690. + /usr/local/bin/python2.7 -u -m monkey_test test_telnetlib.py
  1691. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_socket.py
  1692. Running with patch_all(Event=True): test_socket.py
  1693. Removed testUDPTimeout (1)
  1694. Removed testRefCountGetNameInfo (1)
  1695. Removed test_create_connection_timeout (1)
  1696. testCrucialConstants (__main__.GeneralModuleTests) ... ok
  1697. testDefaultTimeout (__main__.GeneralModuleTests) ... ok
  1698. testGetServBy (__main__.GeneralModuleTests) ... ok
  1699. testGetSockOpt (__main__.GeneralModuleTests) ... ok
  1700. testGetaddrinfo (__main__.GeneralModuleTests) ... ok
  1701. testHostnameRes (__main__.GeneralModuleTests) ... ok
  1702. testIPv4_inet_aton_fourbytes (__main__.GeneralModuleTests) ... ok
  1703. testIPv4toString (__main__.GeneralModuleTests) ... ok
  1704. testIPv6toString (__main__.GeneralModuleTests) ... ok
  1705. testInterpreterCrash (__main__.GeneralModuleTests) ... ok
  1706. testListenBacklog0 (__main__.GeneralModuleTests) ... ok
  1707. testNewAttributes (__main__.GeneralModuleTests) ... ok
  1708. testNtoH (__main__.GeneralModuleTests) ... ok
  1709. testNtoHErrors (__main__.GeneralModuleTests) ... ok
  1710. testSendAfterClose (__main__.GeneralModuleTests) ... ok
  1711. testSendtoErrors (__main__.GeneralModuleTests) ... ok
  1712. testSetSockOpt (__main__.GeneralModuleTests) ... ok
  1713. testSockName (__main__.GeneralModuleTests) ... ok
  1714. testSocketError (__main__.GeneralModuleTests) ... ok
  1715. testStringToIPv4 (__main__.GeneralModuleTests) ... ok
  1716. testStringToIPv6 (__main__.GeneralModuleTests) ... ok
  1717. test_flowinfo (__main__.GeneralModuleTests) ... Traceback (most recent call last):
  1718. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/threadpool.py", line 207, in _worker
  1719. value = func(*args, **kwargs)
  1720. OverflowError: getsockaddrarg: flowinfo must be 0-1048575.
  1721. (<ThreadPool at 0x1cdee08fc50 0/1/10>, <built-in function getnameinfo>) failed with OverflowError
  1722.  
  1723. ok
  1724. test_getsockaddrarg (__main__.GeneralModuleTests) ... ok
  1725. test_sendall_interrupted (__main__.GeneralModuleTests) ... Traceback (most recent call last):
  1726. File "test_socket.py", line 677, in raising_handler
  1727. 1 // 0
  1728. ZeroDivisionError: integer division or modulo by zero
  1729. ok
  1730. test_sendall_interrupted_with_timeout (__main__.GeneralModuleTests) ... Traceback (most recent call last):
  1731. File "test_socket.py", line 677, in raising_handler
  1732. 1 // 0
  1733. ZeroDivisionError: integer division or modulo by zero
  1734. ok
  1735. test_sock_ioctl (__main__.GeneralModuleTests) ... skipped 'Windows specific'
  1736. test_weakref (__main__.GeneralModuleTests) ... ok
  1737. testDup (__main__.BasicTCPTest) ... ok
  1738. testFromFd (__main__.BasicTCPTest) ... ok
  1739. testOverFlowRecv (__main__.BasicTCPTest) ... ok
  1740. testOverFlowRecvFrom (__main__.BasicTCPTest) ... ok
  1741. testRecv (__main__.BasicTCPTest) ... ok
  1742. testRecvFrom (__main__.BasicTCPTest) ... ok
  1743. testSendAll (__main__.BasicTCPTest) ... ok
  1744. testShutdown (__main__.BasicTCPTest) ... ok
  1745. testClose (__main__.TCPCloserTest) ...
  1746.  
  1747. ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_socket.py [code -14] [took 110.0s]
  1748. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_telnetlib.py
  1749. | /usr/local/bin/python2.7 -u -m monkey_test test_telnetlib.py
  1750. Running with patch_all(Event=False): test_telnetlib.py
  1751. testBasic (__main__.GeneralTests) ... ok
  1752. testTimeoutDefault (__main__.GeneralTests) ... ok
  1753. testTimeoutNone (__main__.GeneralTests) ... ok
  1754. testTimeoutOpen (__main__.GeneralTests) ... ok
  1755. testTimeoutValue (__main__.GeneralTests) ... ok
  1756. test_read_all_A (__main__.ReadTests) ... ok
  1757. test_read_all_B (__main__.ReadTests) ... ok
  1758. test_read_all_C (__main__.ReadTests) ... ok
  1759. test_read_eager_A (__main__.ReadTests) ... ok
  1760. test_read_eager_B (__main__.ReadTests) ... ok
  1761. test_read_lazy_A (__main__.ReadTests) ... ok
  1762. test_read_lazy_B (__main__.ReadTests) ... ok
  1763. test_read_some_A (__main__.ReadTests) ... ok
  1764. test_read_some_B (__main__.ReadTests) ... ok
  1765. test_read_some_C (__main__.ReadTests) ... ok
  1766. test_read_until_A (__main__.ReadTests) ... ok
  1767. test_read_until_B (__main__.ReadTests) ... ok
  1768. test_read_very_eager_A (__main__.ReadTests) ... ok
  1769. test_read_very_eager_B (__main__.ReadTests) ... ok
  1770. test_read_very_lazy_A (__main__.ReadTests) ... ok
  1771. test_read_very_lazy_B (__main__.ReadTests) ... ok
  1772. test_IAC_commands (__main__.OptionTests) ... ok
  1773. test_SB_commands (__main__.OptionTests) ... ok
  1774.  
  1775. ----------------------------------------------------------------------
  1776. Ran 23 tests in 5.050s
  1777.  
  1778. OK
  1779.  
  1780. - /usr/local/bin/python2.7 -u -m monkey_test test_telnetlib.py [took 5.4s]
  1781. + /usr/local/bin/python2.7 -u -m monkey_test test_thread.py
  1782. | /usr/local/bin/python2.7 -u -m monkey_test test_thread.py
  1783. Running with patch_all(Event=False): test_thread.py
  1784. Removed test__count (1)
  1785. Removed test_forkinthread (1)
  1786. test_stack_size (__main__.ThreadRunningTests) ... caught expected ValueError setting stack_size(4096)
  1787. successfully set stack_size(262144)
  1788. successfully set stack_size(1048576)
  1789. successfully set stack_size(0)
  1790. trying stack_size = (262144)
  1791. creating task 1
  1792. creating task 2
  1793. creating task 3
  1794. creating task 4
  1795. creating task 5
  1796. creating task 6
  1797. creating task 7
  1798. creating task 8
  1799. creating task 9
  1800. creating task 10
  1801. waiting for all tasks to complete
  1802. task 1 will run for 74.0us
  1803. task 2 will run for 49.0us
  1804. task 3 will run for 26.0us
  1805. task 4 will run for 1.0us
  1806. task 5 will run for 94.0us
  1807. task 6 will run for 62.0us
  1808. task 7 will run for 90.0us
  1809. task 8 will run for 81.0us
  1810. task 9 will run for 57.0us
  1811. task 10 will run for 39.0us
  1812. task 1 done
  1813. task 2 done
  1814. task 3 done
  1815. task 4 done
  1816. task 5 done
  1817. task 6 done
  1818. task 7 done
  1819. task 8 done
  1820. task 9 done
  1821. task 10 done
  1822. all tasks done
  1823. trying stack_size = (1048576)
  1824. creating task 1
  1825. creating task 2
  1826. creating task 3
  1827. creating task 4
  1828. creating task 5
  1829. creating task 6
  1830. creating task 7
  1831. creating task 8
  1832. creating task 9
  1833. creating task 10
  1834. waiting for all tasks to complete
  1835. task 1 will run for 94.0us
  1836. task 2 will run for 22.0us
  1837. task 3 will run for 11.0us
  1838. task 4 will run for 94.0us
  1839. task 5 will run for 49.0us
  1840. task 6 will run for 26.0us
  1841. task 7 will run for 0.0us
  1842. task 8 will run for 64.0us
  1843. task 9 will run for 75.0us
  1844. task 10 will run for 45.0us
  1845. task 1 done
  1846. task 2 done
  1847. task 3 done
  1848. task 4 done
  1849. task 5 done
  1850. task 6 done
  1851. task 7 done
  1852. task 8 done
  1853. task 9 done
  1854. task 10 done
  1855. all tasks done
  1856. ok
  1857. test_starting_threads (__main__.ThreadRunningTests) ... creating task 1
  1858. creating task 2
  1859. creating task 3
  1860. creating task 4
  1861. creating task 5
  1862. creating task 6
  1863. creating task 7
  1864. creating task 8
  1865. creating task 9
  1866. creating task 10
  1867. waiting for tasks to complete...
  1868. task 1 will run for 44.0us
  1869. task 2 will run for 91.0us
  1870. task 3 will run for 17.0us
  1871. task 4 will run for 31.0us
  1872. task 5 will run for 59.0us
  1873. task 6 will run for 83.0us
  1874. task 7 will run for 40.0us
  1875. task 8 will run for 78.0us
  1876. task 9 will run for 16.0us
  1877. task 10 will run for 45.0us
  1878. task 1 done
  1879. task 2 done
  1880. task 3 done
  1881. task 4 done
  1882. task 5 done
  1883. task 6 done
  1884. task 7 done
  1885. task 8 done
  1886. task 9 done
  1887. task 10 done
  1888. all tasks done
  1889. ok
  1890. test_barrier (__main__.BarrierTest) ... waiting for tasks to end
  1891. task 0 will run for 0.0us
  1892. task 1 will run for 67.0us
  1893. task 2 will run for 18.0us
  1894. task 3 will run for 27.0us
  1895. task 4 will run for 4.0us
  1896. task 5 will run for 17.0us
  1897. task 6 will run for 2.0us
  1898. task 7 will run for 59.0us
  1899. task 8 will run for 92.0us
  1900. task 9 will run for 76.0us
  1901. task 0 entering 0
  1902. task 1 entering 0
  1903. task 2 entering 0
  1904. task 3 entering 0
  1905. task 4 entering 0
  1906. task 5 entering 0
  1907. task 6 entering 0
  1908. task 7 entering 0
  1909. task 8 entering 0
  1910. task 9 entering 0
  1911. task 9 leaving barrier
  1912. task 9 will run for 22.0us
  1913. task 0 leaving barrier
  1914. task 0 will run for 0.0us
  1915. task 1 leaving barrier
  1916. task 1 will run for 6.0us
  1917. task 2 leaving barrier
  1918. task 2 will run for 85.0us
  1919. task 3 leaving barrier
  1920. task 3 will run for 96.0us
  1921. task 4 leaving barrier
  1922. task 4 will run for 14.0us
  1923. task 5 leaving barrier
  1924. task 5 will run for 91.0us
  1925. task 6 leaving barrier
  1926. task 6 will run for 51.0us
  1927. task 7 leaving barrier
  1928. task 7 will run for 3.0us
  1929. task 8 leaving barrier
  1930. task 8 will run for 9.0us
  1931. task 0 entering 1
  1932. task 9 entering 1
  1933. task 1 entering 1
  1934. task 2 entering 1
  1935. task 3 entering 1
  1936. task 4 entering 1
  1937. task 5 entering 1
  1938. task 6 entering 1
  1939. task 7 entering 1
  1940. task 8 entering 1
  1941. task 8 leaving barrier
  1942. task 8 will run for 32.0us
  1943. task 0 leaving barrier
  1944. task 0 will run for 0.0us
  1945. task 9 leaving barrier
  1946. task 9 will run for 90.0us
  1947. task 1 leaving barrier
  1948. task 1 will run for 45.0us
  1949. task 2 leaving barrier
  1950. task 2 will run for 40.0us
  1951. task 3 leaving barrier
  1952. task 3 will run for 4.0us
  1953. task 4 leaving barrier
  1954. task 4 will run for 13.0us
  1955. task 5 leaving barrier
  1956. task 5 will run for 35.0us
  1957. task 6 leaving barrier
  1958. task 6 will run for 51.0us
  1959. task 7 leaving barrier
  1960. task 7 will run for 77.0us
  1961. task 0 entering 2
  1962. task 8 entering 2
  1963. task 9 entering 2
  1964. task 1 entering 2
  1965. task 2 entering 2
  1966. task 3 entering 2
  1967. task 4 entering 2
  1968. task 5 entering 2
  1969. task 6 entering 2
  1970. task 7 entering 2
  1971. task 7 leaving barrier
  1972. task 0 leaving barrier
  1973. task 8 leaving barrier
  1974. task 9 leaving barrier
  1975. task 1 leaving barrier
  1976. task 2 leaving barrier
  1977. task 3 leaving barrier
  1978. task 4 leaving barrier
  1979. task 5 leaving barrier
  1980. task 6 leaving barrier
  1981. tasks done
  1982. ok
  1983. test_acquire_contended (__main__.LockTests) ... ok
  1984. test_acquire_destroy (__main__.LockTests) ... ok
  1985. test_acquire_release (__main__.LockTests) ... ok
  1986. test_constructor (__main__.LockTests) ... ok
  1987. test_different_thread (__main__.LockTests) ... ok
  1988. test_reacquire (__main__.LockTests) ... ok
  1989. test_thread_leak (__main__.LockTests) ... ok
  1990. test_try_acquire (__main__.LockTests) ... ok
  1991. test_try_acquire_contended (__main__.LockTests) ... ok
  1992. test_with (__main__.LockTests) ... ok
  1993.  
  1994. ----------------------------------------------------------------------
  1995. Ran 13 tests in 0.353s
  1996.  
  1997. OK
  1998.  
  1999. - /usr/local/bin/python2.7 -u -m monkey_test test_thread.py [took 0.8s]
  2000. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_thread.py
  2001. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_thread.py
  2002. Running with patch_all(Event=True): test_thread.py
  2003. Removed test__count (1)
  2004. Removed test_forkinthread (1)
  2005. test_stack_size (__main__.ThreadRunningTests) ... caught expected ValueError setting stack_size(4096)
  2006. successfully set stack_size(262144)
  2007. successfully set stack_size(1048576)
  2008. successfully set stack_size(0)
  2009. trying stack_size = (262144)
  2010. creating task 1
  2011. creating task 2
  2012. creating task 3
  2013. creating task 4
  2014. creating task 5
  2015. creating task 6
  2016. creating task 7
  2017. creating task 8
  2018. creating task 9
  2019. creating task 10
  2020. waiting for all tasks to complete
  2021. task 1 will run for 74.0us
  2022. task 2 will run for 62.0us
  2023. task 3 will run for 41.0us
  2024. task 4 will run for 83.0us
  2025. task 5 will run for 14.0us
  2026. task 6 will run for 47.0us
  2027. task 7 will run for 85.0us
  2028. task 8 will run for 5.0us
  2029. task 9 will run for 83.0us
  2030. task 10 will run for 6.0us
  2031. task 1 done
  2032. task 2 done
  2033. task 3 done
  2034. task 4 done
  2035. task 5 done
  2036. task 6 done
  2037. task 7 done
  2038. task 8 done
  2039. task 9 done
  2040. task 10 done
  2041. all tasks done
  2042. trying stack_size = (1048576)
  2043. creating task 1
  2044. creating task 2
  2045. creating task 3
  2046. creating task 4
  2047. creating task 5
  2048. creating task 6
  2049. creating task 7
  2050. creating task 8
  2051. creating task 9
  2052. creating task 10
  2053. waiting for all tasks to complete
  2054. task 1 will run for 62.0us
  2055. task 2 will run for 68.0us
  2056. task 3 will run for 88.0us
  2057. task 4 will run for 74.0us
  2058. task 5 will run for 68.0us
  2059. task 6 will run for 78.0us
  2060. task 7 will run for 81.0us
  2061. task 8 will run for 64.0us
  2062. task 9 will run for 81.0us
  2063. task 10 will run for 88.0us
  2064. task 1 done
  2065. task 2 done
  2066. task 3 done
  2067. task 4 done
  2068. task 5 done
  2069. task 6 done
  2070. task 7 done
  2071. task 8 done
  2072. task 9 done
  2073. task 10 done
  2074. all tasks done
  2075. ok
  2076. test_starting_threads (__main__.ThreadRunningTests) ... creating task 1
  2077. creating task 2
  2078. creating task 3
  2079. creating task 4
  2080. creating task 5
  2081. creating task 6
  2082. creating task 7
  2083. creating task 8
  2084. creating task 9
  2085. creating task 10
  2086. waiting for tasks to complete...
  2087. task 1 will run for 23.0us
  2088. task 2 will run for 33.0us
  2089. task 3 will run for 89.0us
  2090. task 4 will run for 42.0us
  2091. task 5 will run for 3.0us
  2092. task 6 will run for 21.0us
  2093. task 7 will run for 14.0us
  2094. task 8 will run for 84.0us
  2095. task 9 will run for 51.0us
  2096. task 10 will run for 99.0us
  2097. task 1 done
  2098. task 2 done
  2099. task 3 done
  2100. task 4 done
  2101. task 5 done
  2102. task 6 done
  2103. task 7 done
  2104. task 8 done
  2105. task 9 done
  2106. task 10 done
  2107. all tasks done
  2108. ok
  2109. test_barrier (__main__.BarrierTest) ... waiting for tasks to end
  2110. task 0 will run for 0.0us
  2111. task 1 will run for 78.0us
  2112. task 2 will run for 90.0us
  2113. task 3 will run for 83.0us
  2114. task 4 will run for 33.0us
  2115. task 5 will run for 62.0us
  2116. task 6 will run for 99.0us
  2117. task 7 will run for 99.0us
  2118. task 8 will run for 99.0us
  2119. task 9 will run for 94.0us
  2120. task 0 entering 0
  2121. task 1 entering 0
  2122. task 2 entering 0
  2123. task 3 entering 0
  2124. task 4 entering 0
  2125. task 5 entering 0
  2126. task 6 entering 0
  2127. task 7 entering 0
  2128. task 8 entering 0
  2129. task 9 entering 0
  2130. task 9 leaving barrier
  2131. task 9 will run for 54.0us
  2132. task 0 leaving barrier
  2133. task 0 will run for 0.0us
  2134. task 1 leaving barrier
  2135. task 1 will run for 44.0us
  2136. task 2 leaving barrier
  2137. task 2 will run for 18.0us
  2138. task 3 leaving barrier
  2139. task 3 will run for 36.0us
  2140. task 4 leaving barrier
  2141. task 4 will run for 27.0us
  2142. task 5 leaving barrier
  2143. task 5 will run for 38.0us
  2144. task 6 leaving barrier
  2145. task 6 will run for 73.0us
  2146. task 7 leaving barrier
  2147. task 7 will run for 24.0us
  2148. task 8 leaving barrier
  2149. task 8 will run for 88.0us
  2150. task 0 entering 1
  2151. task 9 entering 1
  2152. task 1 entering 1
  2153. task 2 entering 1
  2154. task 3 entering 1
  2155. task 4 entering 1
  2156. task 5 entering 1
  2157. task 6 entering 1
  2158. task 7 entering 1
  2159. task 8 entering 1
  2160. task 8 leaving barrier
  2161. task 8 will run for 27.0us
  2162. task 0 leaving barrier
  2163. task 0 will run for 0.0us
  2164. task 9 leaving barrier
  2165. task 9 will run for 74.0us
  2166. task 1 leaving barrier
  2167. task 1 will run for 47.0us
  2168. task 2 leaving barrier
  2169. task 2 will run for 23.0us
  2170. task 3 leaving barrier
  2171. task 3 will run for 39.0us
  2172. task 4 leaving barrier
  2173. task 4 will run for 92.0us
  2174. task 5 leaving barrier
  2175. task 5 will run for 77.0us
  2176. task 6 leaving barrier
  2177. task 6 will run for 79.0us
  2178. task 7 leaving barrier
  2179. task 7 will run for 58.0us
  2180. task 0 entering 2
  2181. task 8 entering 2
  2182. task 9 entering 2
  2183. task 1 entering 2
  2184. task 2 entering 2
  2185. task 3 entering 2
  2186. task 4 entering 2
  2187. task 5 entering 2
  2188. task 6 entering 2
  2189. task 7 entering 2
  2190. task 7 leaving barrier
  2191. task 0 leaving barrier
  2192. task 8 leaving barrier
  2193. task 9 leaving barrier
  2194. task 1 leaving barrier
  2195. task 2 leaving barrier
  2196. task 3 leaving barrier
  2197. task 4 leaving barrier
  2198. task 5 leaving barrier
  2199. task 6 leaving barrier
  2200. tasks done
  2201. ok
  2202. test_acquire_contended (__main__.LockTests) ... ok
  2203. test_acquire_destroy (__main__.LockTests) ... ok
  2204. test_acquire_release (__main__.LockTests) ... ok
  2205. test_constructor (__main__.LockTests) ... ok
  2206. test_different_thread (__main__.LockTests) ... ok
  2207. test_reacquire (__main__.LockTests) ... ok
  2208. test_thread_leak (__main__.LockTests) ... ok
  2209. test_try_acquire (__main__.LockTests) ... ok
  2210. test_try_acquire_contended (__main__.LockTests) ... ok
  2211. test_with (__main__.LockTests) ... ok
  2212.  
  2213. ----------------------------------------------------------------------
  2214. Ran 13 tests in 0.432s
  2215.  
  2216. OK
  2217.  
  2218. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_thread.py [took 1.0s]
  2219. + /usr/local/bin/python2.7 -u -m monkey_test test_threading.py
  2220. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_telnetlib.py
  2221. Running with patch_all(Event=True): test_telnetlib.py
  2222. testBasic (__main__.GeneralTests) ... ok
  2223. testTimeoutDefault (__main__.GeneralTests) ... ok
  2224. testTimeoutNone (__main__.GeneralTests) ... ok
  2225. testTimeoutOpen (__main__.GeneralTests) ... ok
  2226. testTimeoutValue (__main__.GeneralTests) ... ok
  2227. test_read_all_A (__main__.ReadTests) ... ok
  2228. test_read_all_B (__main__.ReadTests) ... ok
  2229. test_read_all_C (__main__.ReadTests) ... ok
  2230. test_read_eager_A (__main__.ReadTests) ... ok
  2231. test_read_eager_B (__main__.ReadTests) ... ok
  2232. test_read_lazy_A (__main__.ReadTests) ... ok
  2233. test_read_lazy_B (__main__.ReadTests) ... ok
  2234. test_read_some_A (__main__.ReadTests) ... ok
  2235. test_read_some_B (__main__.ReadTests) ... ok
  2236. test_read_some_C (__main__.ReadTests) ... ok
  2237. test_read_until_A (__main__.ReadTests) ... ok
  2238. test_read_until_B (__main__.ReadTests) ... ok
  2239. test_read_very_eager_A (__main__.ReadTests) ... ok
  2240. test_read_very_eager_B (__main__.ReadTests) ... ok
  2241. test_read_very_lazy_A (__main__.ReadTests) ... ok
  2242. test_read_very_lazy_B (__main__.ReadTests) ... ok
  2243. test_IAC_commands (__main__.OptionTests) ... ok
  2244. test_SB_commands (__main__.OptionTests) ... ok
  2245.  
  2246. ----------------------------------------------------------------------
  2247. Ran 23 tests in 5.151s
  2248.  
  2249. OK
  2250.  
  2251. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_telnetlib.py [took 7.9s]
  2252. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading.py
  2253. | /usr/local/bin/python2.7 -u -m monkey_test test_threading.py
  2254. Running with patch_all(Event=False): test_threading.py
  2255. Removed test_PyThreadState_SetAsyncExc (2)
  2256. Removed test_join_nondaemon_on_shutdown (1)
  2257. test_acquire_contended (__main__.LockTests) ... ok
  2258. test_acquire_destroy (__main__.LockTests) ... ok
  2259. test_acquire_release (__main__.LockTests) ... ok
  2260. test_constructor (__main__.LockTests) ... ok
  2261. test_different_thread (__main__.LockTests) ... ok
  2262. test_reacquire (__main__.LockTests) ... ok
  2263. test_thread_leak (__main__.LockTests) ... ok
  2264. test_try_acquire (__main__.LockTests) ... ok
  2265. test_try_acquire_contended (__main__.LockTests) ... ok
  2266. test_with (__main__.LockTests) ... ok
  2267. test__is_owned (__main__.RLockTests) ... ok
  2268. test_acquire_contended (__main__.RLockTests) ... ok
  2269. test_acquire_destroy (__main__.RLockTests) ... ok
  2270. test_acquire_release (__main__.RLockTests) ... ok
  2271. test_constructor (__main__.RLockTests) ... ok
  2272. test_different_thread (__main__.RLockTests) ... ok
  2273. test_reacquire (__main__.RLockTests) ... ok
  2274. test_release_unacquired (__main__.RLockTests) ... ok
  2275. test_thread_leak (__main__.RLockTests) ... ok
  2276. test_try_acquire (__main__.RLockTests) ... ok
  2277. test_try_acquire_contended (__main__.RLockTests) ... ok
  2278. test_with (__main__.RLockTests) ... ok
  2279. test_is_set (__main__.EventTests) ... ok
  2280. test_notify (__main__.EventTests) ... ok
  2281. test_timeout (__main__.EventTests) ... ok
  2282. test__is_owned (__main__.ConditionAsRLockTests) ... ok
  2283. test_acquire_contended (__main__.ConditionAsRLockTests) ... ok
  2284. test_acquire_destroy (__main__.ConditionAsRLockTests) ... ok
  2285. test_acquire_release (__main__.ConditionAsRLockTests) ... ok
  2286. test_constructor (__main__.ConditionAsRLockTests) ... ok
  2287. test_different_thread (__main__.ConditionAsRLockTests) ... ok
  2288. test_reacquire (__main__.ConditionAsRLockTests) ... ok
  2289. test_release_unacquired (__main__.ConditionAsRLockTests) ... ok
  2290. test_thread_leak (__main__.ConditionAsRLockTests) ... ok
  2291. test_try_acquire (__main__.ConditionAsRLockTests) ... ok
  2292. test_try_acquire_contended (__main__.ConditionAsRLockTests) ... ok
  2293. test_with (__main__.ConditionAsRLockTests) ... ok
  2294. test_acquire (__main__.ConditionTests) ... ok
  2295. test_notify (__main__.ConditionTests) ... ok
  2296. test_timeout (__main__.ConditionTests) ... ok
  2297. test_unacquired_notify (__main__.ConditionTests) ... ok
  2298. test_unacquired_wait (__main__.ConditionTests) ... ok
  2299. test_acquire (__main__.SemaphoreTests) ... ok
  2300. test_acquire_contended (__main__.SemaphoreTests) ... ok
  2301. test_acquire_destroy (__main__.SemaphoreTests) ... ok
  2302. test_constructor (__main__.SemaphoreTests) ... ok
  2303. test_default_value (__main__.SemaphoreTests) ... ok
  2304. test_release_unacquired (__main__.SemaphoreTests) ... ok
  2305. test_try_acquire (__main__.SemaphoreTests) ... ok
  2306. test_try_acquire_contended (__main__.SemaphoreTests) ... ok
  2307. test_with (__main__.SemaphoreTests) ... ok
  2308. test_acquire (__main__.BoundedSemaphoreTests) ... ok
  2309. test_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
  2310. test_acquire_destroy (__main__.BoundedSemaphoreTests) ... ok
  2311. test_constructor (__main__.BoundedSemaphoreTests) ... ok
  2312. test_default_value (__main__.BoundedSemaphoreTests) ... ok
  2313. test_recursion_limit (__main__.BoundedSemaphoreTests) ... skipped 'test macosx problem'
  2314. test_release_unacquired (__main__.BoundedSemaphoreTests) ... ok
  2315. test_try_acquire (__main__.BoundedSemaphoreTests) ... ok
  2316. test_try_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
  2317. test_with (__main__.BoundedSemaphoreTests) ... ok
  2318. test_enumerate_after_join (__main__.ThreadTests) ... ok
  2319. test_finalize_runnning_thread (__main__.ThreadTests) ... ok
  2320. test_finalize_with_trace (__main__.ThreadTests) ... ok
  2321. test_foreign_thread (__main__.ThreadTests) ... ok
  2322. test_ident_of_no_threading_threads (__main__.ThreadTests) ... ok
  2323. test_limbo_cleanup (__main__.ThreadTests) ... ok
  2324. test_no_refcycle_through_target (__main__.ThreadTests) ... ok
  2325. test_various_ops (__main__.ThreadTests) ... task <thread 0> will run for 47.7 usec
  2326. 1 tasks are running
  2327. task <thread 1> will run for 4.3 usec
  2328. 2 tasks are running
  2329. task <thread 2> will run for 89.4 usec
  2330. 3 tasks are running
  2331. task <thread 3> will run for 37.9 usec
  2332. task <thread 4> will run for 89.0 usec
  2333. task <thread 5> will run for 5.0 usec
  2334. task <thread 6> will run for 30.0 usec
  2335. task <thread 7> will run for 67.1 usec
  2336. task <thread 8> will run for 63.3 usec
  2337. task <thread 9> will run for 94.4 usec
  2338. waiting for all tasks to complete
  2339. task <thread 0> done
  2340. <thread 0> is finished. 2 tasks are running
  2341. task <thread 1> done
  2342. <thread 1> is finished. 1 tasks are running
  2343. task <thread 2> done
  2344. <thread 2> is finished. 0 tasks are running
  2345. 1 tasks are running
  2346. 2 tasks are running
  2347. 3 tasks are running
  2348. task <thread 3> done
  2349. <thread 3> is finished. 2 tasks are running
  2350. task <thread 4> done
  2351. <thread 4> is finished. 1 tasks are running
  2352. task <thread 5> done
  2353. <thread 5> is finished. 0 tasks are running
  2354. 1 tasks are running
  2355. 2 tasks are running
  2356. 3 tasks are running
  2357. task <thread 6> done
  2358. <thread 6> is finished. 2 tasks are running
  2359. task <thread 7> done
  2360. <thread 7> is finished. 1 tasks are running
  2361. task <thread 8> done
  2362. <thread 8> is finished. 0 tasks are running
  2363. 1 tasks are running
  2364. task <thread 9> done
  2365. <thread 9> is finished. 0 tasks are running
  2366. all tasks done
  2367. ok
  2368. test_various_ops_large_stack (__main__.ThreadTests) ... with 1MB thread stack size...
  2369. task <thread 0> will run for 76.4 usec
  2370. 1 tasks are running
  2371. task <thread 1> will run for 32.8 usec
  2372. 2 tasks are running
  2373. task <thread 2> will run for 41.9 usec
  2374. 3 tasks are running
  2375. task <thread 3> will run for 96.5 usec
  2376. task <thread 4> will run for 35.0 usec
  2377. task <thread 5> will run for 14.6 usec
  2378. task <thread 6> will run for 54.4 usec
  2379. task <thread 7> will run for 65.7 usec
  2380. task <thread 8> will run for 62.8 usec
  2381. task <thread 9> will run for 97.4 usec
  2382. waiting for all tasks to complete
  2383. task <thread 0> done
  2384. <thread 0> is finished. 2 tasks are running
  2385. task <thread 1> done
  2386. <thread 1> is finished. 1 tasks are running
  2387. task <thread 2> done
  2388. <thread 2> is finished. 0 tasks are running
  2389. 1 tasks are running
  2390. 2 tasks are running
  2391. 3 tasks are running
  2392. task <thread 3> done
  2393. <thread 3> is finished. 2 tasks are running
  2394. task <thread 4> done
  2395. <thread 4> is finished. 1 tasks are running
  2396. task <thread 5> done
  2397. <thread 5> is finished. 0 tasks are running
  2398. 1 tasks are running
  2399. 2 tasks are running
  2400. 3 tasks are running
  2401. task <thread 6> done
  2402. <thread 6> is finished. 2 tasks are running
  2403. task <thread 7> done
  2404. <thread 7> is finished. 1 tasks are running
  2405. task <thread 8> done
  2406. <thread 8> is finished. 0 tasks are running
  2407. 1 tasks are running
  2408. task <thread 9> done
  2409. <thread 9> is finished. 0 tasks are running
  2410. all tasks done
  2411. ok
  2412. test_various_ops_small_stack (__main__.ThreadTests) ... with 256kB thread stack size...
  2413. task <thread 0> will run for 78.2 usec
  2414. 1 tasks are running
  2415. task <thread 1> will run for 10.5 usec
  2416. 2 tasks are running
  2417. task <thread 2> will run for 82.8 usec
  2418. 3 tasks are running
  2419. task <thread 3> will run for 5.6 usec
  2420. task <thread 4> will run for 85.6 usec
  2421. task <thread 5> will run for 0.5 usec
  2422. task <thread 6> will run for 56.1 usec
  2423. task <thread 7> will run for 7.9 usec
  2424. task <thread 8> will run for 89.5 usec
  2425. task <thread 9> will run for 59.6 usec
  2426. waiting for all tasks to complete
  2427. task <thread 0> done
  2428. <thread 0> is finished. 2 tasks are running
  2429. task <thread 1> done
  2430. <thread 1> is finished. 1 tasks are running
  2431. task <thread 2> done
  2432. <thread 2> is finished. 0 tasks are running
  2433. 1 tasks are running
  2434. 2 tasks are running
  2435. 3 tasks are running
  2436. task <thread 3> done
  2437. <thread 3> is finished. 2 tasks are running
  2438. task <thread 4> done
  2439. <thread 4> is finished. 1 tasks are running
  2440. task <thread 5> done
  2441. <thread 5> is finished. 0 tasks are running
  2442. 1 tasks are running
  2443. 2 tasks are running
  2444. 3 tasks are running
  2445. task <thread 6> done
  2446. <thread 6> is finished. 2 tasks are running
  2447. task <thread 7> done
  2448. <thread 7> is finished. 1 tasks are running
  2449. task <thread 8> done
  2450. <thread 8> is finished. 0 tasks are running
  2451. 1 tasks are running
  2452. task <thread 9> done
  2453. <thread 9> is finished. 0 tasks are running
  2454. all tasks done
  2455. ok
  2456. test_1_join_on_shutdown (__main__.ThreadJoinOnShutdown) ... ok
  2457. test_2_join_in_forked_process (__main__.ThreadJoinOnShutdown) ... ok
  2458. test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown) ... FAIL
  2459. test_4_joining_across_fork_in_worker_thread (__main__.ThreadJoinOnShutdown) ... ok
  2460. test_5_clear_waiter_locks_to_avoid_crash (__main__.ThreadJoinOnShutdown) ... ok
  2461. test_reinit_tls_after_fork (__main__.ThreadJoinOnShutdown) ... ok
  2462. test_daemonize_active_thread (__main__.ThreadingExceptionTests) ... ok
  2463. test_joining_current_thread (__main__.ThreadingExceptionTests) ... ok
  2464. test_joining_inactive_thread (__main__.ThreadingExceptionTests) ... ok
  2465. test_start_thread_again (__main__.ThreadingExceptionTests) ... ok
  2466.  
  2467. ======================================================================
  2468. FAIL: test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown)
  2469. ----------------------------------------------------------------------
  2470. Traceback (most recent call last):
  2471. File "test_threading.py", line 497, in test_3_join_in_forked_from_thread
  2472. self._run_and_join(script)
  2473. File "test_threading.py", line 441, in _run_and_join
  2474. self.assertEqual(data, "end of main\nend of thread\n")
  2475. AssertionError: '' != 'end of main\nend of thread\n'
  2476.  
  2477. ----------------------------------------------------------------------
  2478. Ran 81 tests in 6.875s
  2479.  
  2480. FAILED (failures=1, skipped=1)
  2481. Traceback (most recent call last):
  2482. File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  2483. "__main__", fname, loader, pkg_name)
  2484. File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
  2485. exec code in run_globals
  2486. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
  2487. exec(module_code, globals())
  2488. File "test_threading.py", line 749, in <module>
  2489. test_main()
  2490. File "test_threading.py", line 745, in test_main
  2491. ThreadingExceptionTests,
  2492. File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
  2493. _run_suite(suite)
  2494. File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
  2495. raise TestFailed(err)
  2496. test.test_support.TestFailed: Traceback (most recent call last):
  2497. File "test_threading.py", line 497, in test_3_join_in_forked_from_thread
  2498. self._run_and_join(script)
  2499. File "test_threading.py", line 441, in _run_and_join
  2500. self.assertEqual(data, "end of main\nend of thread\n")
  2501. AssertionError: '' != 'end of main\nend of thread\n'
  2502.  
  2503. ! /usr/local/bin/python2.7 -u -m monkey_test test_threading.py [code 1] [took 10.4s]
  2504. + /usr/local/bin/python2.7 -u -m monkey_test test_threading_local.py
  2505. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading.py
  2506. Running with patch_all(Event=True): test_threading.py
  2507. Removed test_PyThreadState_SetAsyncExc (2)
  2508. Removed test_join_nondaemon_on_shutdown (1)
  2509. test_acquire_contended (__main__.LockTests) ... ok
  2510. test_acquire_destroy (__main__.LockTests) ... ok
  2511. test_acquire_release (__main__.LockTests) ... ok
  2512. test_constructor (__main__.LockTests) ... ok
  2513. test_different_thread (__main__.LockTests) ... ok
  2514. test_reacquire (__main__.LockTests) ... ok
  2515. test_thread_leak (__main__.LockTests) ... ok
  2516. test_try_acquire (__main__.LockTests) ... ok
  2517. test_try_acquire_contended (__main__.LockTests) ... ok
  2518. test_with (__main__.LockTests) ... ok
  2519. test__is_owned (__main__.RLockTests) ... ok
  2520. test_acquire_contended (__main__.RLockTests) ... ok
  2521. test_acquire_destroy (__main__.RLockTests) ... ok
  2522. test_acquire_release (__main__.RLockTests) ... ok
  2523. test_constructor (__main__.RLockTests) ... ok
  2524. test_different_thread (__main__.RLockTests) ... ok
  2525. test_reacquire (__main__.RLockTests) ... ok
  2526. test_release_unacquired (__main__.RLockTests) ... ok
  2527. test_thread_leak (__main__.RLockTests) ... ok
  2528. test_try_acquire (__main__.RLockTests) ... ok
  2529. test_try_acquire_contended (__main__.RLockTests) ... ok
  2530. test_with (__main__.RLockTests) ... ok
  2531. test_is_set (__main__.EventTests) ... ok
  2532. test_notify (__main__.EventTests) ... ok
  2533. test_timeout (__main__.EventTests) ... ok
  2534. test__is_owned (__main__.ConditionAsRLockTests) ... ok
  2535. test_acquire_contended (__main__.ConditionAsRLockTests) ... ok
  2536. test_acquire_destroy (__main__.ConditionAsRLockTests) ... ok
  2537. test_acquire_release (__main__.ConditionAsRLockTests) ... ok
  2538. test_constructor (__main__.ConditionAsRLockTests) ... ok
  2539. test_different_thread (__main__.ConditionAsRLockTests) ... ok
  2540. test_reacquire (__main__.ConditionAsRLockTests) ... ok
  2541. test_release_unacquired (__main__.ConditionAsRLockTests) ... ok
  2542. test_thread_leak (__main__.ConditionAsRLockTests) ... ok
  2543. test_try_acquire (__main__.ConditionAsRLockTests) ... ok
  2544. test_try_acquire_contended (__main__.ConditionAsRLockTests) ... ok
  2545. test_with (__main__.ConditionAsRLockTests) ... ok
  2546. test_acquire (__main__.ConditionTests) ... ok
  2547. test_notify (__main__.ConditionTests) ... ok
  2548. test_timeout (__main__.ConditionTests) ... ok
  2549. test_unacquired_notify (__main__.ConditionTests) ... ok
  2550. test_unacquired_wait (__main__.ConditionTests) ... ok
  2551. test_acquire (__main__.SemaphoreTests) ... ok
  2552. test_acquire_contended (__main__.SemaphoreTests) ... ok
  2553. test_acquire_destroy (__main__.SemaphoreTests) ... ok
  2554. test_constructor (__main__.SemaphoreTests) ... ok
  2555. test_default_value (__main__.SemaphoreTests) ... ok
  2556. test_release_unacquired (__main__.SemaphoreTests) ... ok
  2557. test_try_acquire (__main__.SemaphoreTests) ... ok
  2558. test_try_acquire_contended (__main__.SemaphoreTests) ... ok
  2559. test_with (__main__.SemaphoreTests) ... ok
  2560. test_acquire (__main__.BoundedSemaphoreTests) ... ok
  2561. test_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
  2562. test_acquire_destroy (__main__.BoundedSemaphoreTests) ... ok
  2563. test_constructor (__main__.BoundedSemaphoreTests) ... ok
  2564. test_default_value (__main__.BoundedSemaphoreTests) ... ok
  2565. test_recursion_limit (__main__.BoundedSemaphoreTests) ... skipped 'test macosx problem'
  2566. test_release_unacquired (__main__.BoundedSemaphoreTests) ... ok
  2567. test_try_acquire (__main__.BoundedSemaphoreTests) ... ok
  2568. test_try_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
  2569. test_with (__main__.BoundedSemaphoreTests) ... ok
  2570. test_enumerate_after_join (__main__.ThreadTests) ... ok
  2571. test_finalize_runnning_thread (__main__.ThreadTests) ... ok
  2572. test_finalize_with_trace (__main__.ThreadTests) ... ok
  2573. test_foreign_thread (__main__.ThreadTests) ... ok
  2574. test_ident_of_no_threading_threads (__main__.ThreadTests) ... ok
  2575. test_limbo_cleanup (__main__.ThreadTests) ... ok
  2576. test_no_refcycle_through_target (__main__.ThreadTests) ... ok
  2577. test_various_ops (__main__.ThreadTests) ... task <thread 0> will run for 20.2 usec
  2578. 1 tasks are running
  2579. task <thread 1> will run for 15.3 usec
  2580. 2 tasks are running
  2581. task <thread 2> will run for 76.8 usec
  2582. 3 tasks are running
  2583. task <thread 3> will run for 95.0 usec
  2584. task <thread 4> will run for 58.4 usec
  2585. task <thread 5> will run for 13.6 usec
  2586. task <thread 6> will run for 11.2 usec
  2587. task <thread 7> will run for 51.7 usec
  2588. task <thread 8> will run for 77.4 usec
  2589. task <thread 9> will run for 30.1 usec
  2590. waiting for all tasks to complete
  2591. task <thread 0> done
  2592. <thread 0> is finished. 2 tasks are running
  2593. task <thread 1> done
  2594. <thread 1> is finished. 1 tasks are running
  2595. task <thread 2> done
  2596. <thread 2> is finished. 0 tasks are running
  2597. 1 tasks are running
  2598. 2 tasks are running
  2599. 3 tasks are running
  2600. task <thread 3> done
  2601. <thread 3> is finished. 2 tasks are running
  2602. task <thread 4> done
  2603. <thread 4> is finished. 1 tasks are running
  2604. task <thread 5> done
  2605. <thread 5> is finished. 0 tasks are running
  2606. 1 tasks are running
  2607. 2 tasks are running
  2608. 3 tasks are running
  2609. task <thread 6> done
  2610. <thread 6> is finished. 2 tasks are running
  2611. task <thread 7> done
  2612. <thread 7> is finished. 1 tasks are running
  2613. task <thread 8> done
  2614. <thread 8> is finished. 0 tasks are running
  2615. 1 tasks are running
  2616. task <thread 9> done
  2617. <thread 9> is finished. 0 tasks are running
  2618. all tasks done
  2619. ok
  2620. test_various_ops_large_stack (__main__.ThreadTests) ... with 1MB thread stack size...
  2621. task <thread 0> will run for 96.9 usec
  2622. 1 tasks are running
  2623. task <thread 1> will run for 84.2 usec
  2624. 2 tasks are running
  2625. task <thread 2> will run for 39.6 usec
  2626. 3 tasks are running
  2627. task <thread 3> will run for 76.4 usec
  2628. task <thread 4> will run for 38.3 usec
  2629. task <thread 5> will run for 68.5 usec
  2630. task <thread 6> will run for 65.8 usec
  2631. task <thread 7> will run for 59.8 usec
  2632. task <thread 8> will run for 73.8 usec
  2633. task <thread 9> will run for 8.2 usec
  2634. waiting for all tasks to complete
  2635. task <thread 0> done
  2636. <thread 0> is finished. 2 tasks are running
  2637. task <thread 1> done
  2638. <thread 1> is finished. 1 tasks are running
  2639. task <thread 2> done
  2640. <thread 2> is finished. 0 tasks are running
  2641. 1 tasks are running
  2642. 2 tasks are running
  2643. 3 tasks are running
  2644. task <thread 3> done
  2645. <thread 3> is finished. 2 tasks are running
  2646. task <thread 4> done
  2647. <thread 4> is finished. 1 tasks are running
  2648. task <thread 5> done
  2649. <thread 5> is finished. 0 tasks are running
  2650. 1 tasks are running
  2651. 2 tasks are running
  2652. 3 tasks are running
  2653. task <thread 6> done
  2654. <thread 6> is finished. 2 tasks are running
  2655. task <thread 7> done
  2656. <thread 7> is finished. 1 tasks are running
  2657. task <thread 8> done
  2658. <thread 8> is finished. 0 tasks are running
  2659. 1 tasks are running
  2660. task <thread 9> done
  2661. <thread 9> is finished. 0 tasks are running
  2662. all tasks done
  2663. ok
  2664. test_various_ops_small_stack (__main__.ThreadTests) ... with 256kB thread stack size...
  2665. task <thread 0> will run for 15.3 usec
  2666. 1 tasks are running
  2667. task <thread 1> will run for 15.0 usec
  2668. 2 tasks are running
  2669. task <thread 2> will run for 10.9 usec
  2670. 3 tasks are running
  2671. task <thread 3> will run for 32.1 usec
  2672. task <thread 4> will run for 22.7 usec
  2673. task <thread 5> will run for 92.2 usec
  2674. task <thread 6> will run for 31.3 usec
  2675. task <thread 7> will run for 52.8 usec
  2676. task <thread 8> will run for 64.7 usec
  2677. task <thread 9> will run for 64.8 usec
  2678. waiting for all tasks to complete
  2679. task <thread 0> done
  2680. <thread 0> is finished. 2 tasks are running
  2681. task <thread 1> done
  2682. <thread 1> is finished. 1 tasks are running
  2683. task <thread 2> done
  2684. <thread 2> is finished. 0 tasks are running
  2685. 1 tasks are running
  2686. 2 tasks are running
  2687. 3 tasks are running
  2688. task <thread 3> done
  2689. <thread 3> is finished. 2 tasks are running
  2690. task <thread 4> done
  2691. <thread 4> is finished. 1 tasks are running
  2692. task <thread 5> done
  2693. <thread 5> is finished. 0 tasks are running
  2694. 1 tasks are running
  2695. 2 tasks are running
  2696. 3 tasks are running
  2697. task <thread 6> done
  2698. <thread 6> is finished. 2 tasks are running
  2699. task <thread 7> done
  2700. <thread 7> is finished. 1 tasks are running
  2701. task <thread 8> done
  2702. <thread 8> is finished. 0 tasks are running
  2703. 1 tasks are running
  2704. task <thread 9> done
  2705. <thread 9> is finished. 0 tasks are running
  2706. all tasks done
  2707. ok
  2708. test_1_join_on_shutdown (__main__.ThreadJoinOnShutdown) ... ok
  2709. test_2_join_in_forked_process (__main__.ThreadJoinOnShutdown) ... ok
  2710. test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown) ... FAIL
  2711. test_4_joining_across_fork_in_worker_thread (__main__.ThreadJoinOnShutdown) ... ok
  2712. test_5_clear_waiter_locks_to_avoid_crash (__main__.ThreadJoinOnShutdown) ... ok
  2713. test_reinit_tls_after_fork (__main__.ThreadJoinOnShutdown) ... ok
  2714. test_daemonize_active_thread (__main__.ThreadingExceptionTests) ... ok
  2715. test_joining_current_thread (__main__.ThreadingExceptionTests) ... ok
  2716. test_joining_inactive_thread (__main__.ThreadingExceptionTests) ... ok
  2717. test_start_thread_again (__main__.ThreadingExceptionTests) ... ok
  2718.  
  2719. ======================================================================
  2720. FAIL: test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown)
  2721. ----------------------------------------------------------------------
  2722. Traceback (most recent call last):
  2723. File "test_threading.py", line 497, in test_3_join_in_forked_from_thread
  2724. self._run_and_join(script)
  2725. File "test_threading.py", line 441, in _run_and_join
  2726. self.assertEqual(data, "end of main\nend of thread\n")
  2727. AssertionError: '' != 'end of main\nend of thread\n'
  2728.  
  2729. ----------------------------------------------------------------------
  2730. Ran 81 tests in 8.021s
  2731.  
  2732. FAILED (failures=1, skipped=1)
  2733. Traceback (most recent call last):
  2734. File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  2735. "__main__", fname, loader, pkg_name)
  2736. File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
  2737. exec code in run_globals
  2738. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/monkey_test.py", line 36, in <module>
  2739. exec(module_code, globals())
  2740. File "test_threading.py", line 749, in <module>
  2741. test_main()
  2742. File "test_threading.py", line 745, in test_main
  2743. ThreadingExceptionTests,
  2744. File "/usr/local/lib/python2.7/test/test_support.py", line 1428, in run_unittest
  2745. _run_suite(suite)
  2746. File "/usr/local/lib/python2.7/test/test_support.py", line 1411, in _run_suite
  2747. raise TestFailed(err)
  2748. test.test_support.TestFailed: Traceback (most recent call last):
  2749. File "test_threading.py", line 497, in test_3_join_in_forked_from_thread
  2750. self._run_and_join(script)
  2751. File "test_threading.py", line 441, in _run_and_join
  2752. self.assertEqual(data, "end of main\nend of thread\n")
  2753. AssertionError: '' != 'end of main\nend of thread\n'
  2754.  
  2755. ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading.py [code 1] [took 8.8s]
  2756. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py
  2757. | /usr/local/bin/python2.7 -u -m monkey_test test_subprocess.py
  2758. Running with patch_all(Event=False): test_subprocess.py
  2759. Removed test_leak_fast_process_del_killed (1)
  2760. Removed test_zombie_fast_process_del (1)
  2761. test_call_kwargs (__main__.ProcessTestCase) ... ok
  2762. test_call_seq (__main__.ProcessTestCase) ... ok
  2763. test_check_call_nonzero (__main__.ProcessTestCase) ... ok
  2764. test_check_call_zero (__main__.ProcessTestCase) ... ok
  2765. test_check_output (__main__.ProcessTestCase) ... ok
  2766. test_check_output_nonzero (__main__.ProcessTestCase) ... ok
  2767. test_check_output_stderr (__main__.ProcessTestCase) ... ok
  2768. test_check_output_stdout_arg (__main__.ProcessTestCase) ... ok
  2769. test_communicate (__main__.ProcessTestCase) ... ok
  2770. test_communicate_epipe (__main__.ProcessTestCase) ... ok
  2771. test_communicate_epipe_only_stdin (__main__.ProcessTestCase) ... ok
  2772. test_communicate_pipe_buf (__main__.ProcessTestCase) ... ok
  2773. test_communicate_pipe_fd_leak (__main__.ProcessTestCase) ... skipped 'Linux specific'
  2774. test_communicate_returns (__main__.ProcessTestCase) ... ok
  2775. test_communicate_stderr (__main__.ProcessTestCase) ... ok
  2776. test_communicate_stdin (__main__.ProcessTestCase) ... ok
  2777. test_communicate_stdout (__main__.ProcessTestCase) ... ok
  2778. test_cwd (__main__.ProcessTestCase) ... ok
  2779. test_env (__main__.ProcessTestCase) ... ok
  2780. test_executable_with_cwd (__main__.ProcessTestCase) ... ok
  2781. test_executable_without_cwd (__main__.ProcessTestCase) ... ok
  2782. test_handles_closed_on_exception (__main__.ProcessTestCase) ... ok
  2783. test_invalid_args (__main__.ProcessTestCase) ... ok
  2784. test_invalid_bufsize (__main__.ProcessTestCase) ... ok
  2785. test_leaking_fds_on_error (__main__.ProcessTestCase) ... ok
  2786. test_list2cmdline (__main__.ProcessTestCase) ... ok
  2787. test_no_leaking (__main__.ProcessTestCase) ... ok
  2788. test_poll (__main__.ProcessTestCase) ... ok
  2789. test_stderr_filedes (__main__.ProcessTestCase) ... ok
  2790. test_stderr_fileobj (__main__.ProcessTestCase) ... ok
  2791. test_stderr_none (__main__.ProcessTestCase) ... ok
  2792. test_stderr_pipe (__main__.ProcessTestCase) ... ok
  2793. test_stdin_filedes (__main__.ProcessTestCase) ... ok
  2794. test_stdin_fileobj (__main__.ProcessTestCase) ... ok
  2795. test_stdin_none (__main__.ProcessTestCase) ... ok
  2796. test_stdin_pipe (__main__.ProcessTestCase) ... ok
  2797. test_stdout_filedes (__main__.ProcessTestCase) ... ok
  2798. test_stdout_filedes_of_stdout (__main__.ProcessTestCase) ... .
  2799. ok
  2800. test_stdout_fileobj (__main__.ProcessTestCase) ... ok
  2801. test_stdout_none (__main__.ProcessTestCase) ... this bit of output is from a test of stdout in a different process ...
  2802. ok
  2803. test_stdout_pipe (__main__.ProcessTestCase) ... ok
  2804. test_stdout_stderr_file (__main__.ProcessTestCase) ... ok
  2805. test_stdout_stderr_pipe (__main__.ProcessTestCase) ... ok
  2806. test_universal_newlines (__main__.ProcessTestCase) ... ok
  2807. test_universal_newlines_communicate (__main__.ProcessTestCase) ... ok
  2808. test_wait (__main__.ProcessTestCase) ... ok
  2809. test_writes_before_communicate (__main__.ProcessTestCase) ... ok
  2810. test_args_string (__main__.POSIXProcessTestCase) ... ok
  2811. test_call_string (__main__.POSIXProcessTestCase) ... ok
  2812. test_close_fd_0 (__main__.POSIXProcessTestCase) ... ok
  2813. test_close_fd_1 (__main__.POSIXProcessTestCase) ... ok
  2814. test_close_fd_2 (__main__.POSIXProcessTestCase) ... ok
  2815. test_close_fds_0_1 (__main__.POSIXProcessTestCase) ... ok
  2816. test_close_fds_0_1_2 (__main__.POSIXProcessTestCase) ... ok
  2817. test_close_fds_0_2 (__main__.POSIXProcessTestCase) ... ok
  2818. test_close_fds_1_2 (__main__.POSIXProcessTestCase) ... ok
  2819. test_exceptions (__main__.POSIXProcessTestCase) ... ok
  2820. test_invalid_args (__main__.POSIXProcessTestCase) ... ok
  2821. test_kill (__main__.POSIXProcessTestCase) ... ok
  2822. test_pipe_cloexec (__main__.POSIXProcessTestCase) ... ok
  2823. test_preexec (__main__.POSIXProcessTestCase) ... ok
  2824. test_run_abort (__main__.POSIXProcessTestCase) ... ok
  2825. test_send_signal (__main__.POSIXProcessTestCase) ... ok
  2826. test_shell_sequence (__main__.POSIXProcessTestCase) ... ok
  2827. test_shell_string (__main__.POSIXProcessTestCase) ... ok
  2828. test_specific_shell (__main__.POSIXProcessTestCase) ... ok
  2829. test_swap_fds (__main__.POSIXProcessTestCase) ... ok
  2830. test_terminate (__main__.POSIXProcessTestCase) ... ok
  2831. test_wait_when_sigchild_ignored (__main__.POSIXProcessTestCase) ... ok
  2832. test_call_string (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2833. test_close_fds (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2834. test_creationflags (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2835. test_invalid_args (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2836. test_kill (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2837. test_send_signal (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2838. test_shell_sequence (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2839. test_shell_string (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2840. test_startupinfo (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2841. test_terminate (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2842. test_call_kwargs (__main__.ProcessTestCaseNoPoll) ... ok
  2843. test_call_seq (__main__.ProcessTestCaseNoPoll) ... ok
  2844. test_check_call_nonzero (__main__.ProcessTestCaseNoPoll) ... ok
  2845. test_check_call_zero (__main__.ProcessTestCaseNoPoll) ... ok
  2846. test_check_output (__main__.ProcessTestCaseNoPoll) ... ok
  2847. test_check_output_nonzero (__main__.ProcessTestCaseNoPoll) ... ok
  2848. test_check_output_stderr (__main__.ProcessTestCaseNoPoll) ... ok
  2849. test_check_output_stdout_arg (__main__.ProcessTestCaseNoPoll) ... ok
  2850. test_communicate (__main__.ProcessTestCaseNoPoll) ... ok
  2851. test_communicate_epipe (__main__.ProcessTestCaseNoPoll) ... ok
  2852. test_communicate_epipe_only_stdin (__main__.ProcessTestCaseNoPoll) ... ok
  2853. test_communicate_pipe_buf (__main__.ProcessTestCaseNoPoll) ... ok
  2854. test_communicate_pipe_fd_leak (__main__.ProcessTestCaseNoPoll) ... skipped 'Linux specific'
  2855. test_communicate_returns (__main__.ProcessTestCaseNoPoll) ... ok
  2856. test_communicate_stderr (__main__.ProcessTestCaseNoPoll) ... ok
  2857. test_communicate_stdin (__main__.ProcessTestCaseNoPoll) ... ok
  2858. test_communicate_stdout (__main__.ProcessTestCaseNoPoll) ... ok
  2859. test_cwd (__main__.ProcessTestCaseNoPoll) ... ok
  2860. test_env (__main__.ProcessTestCaseNoPoll) ... ok
  2861. test_executable_with_cwd (__main__.ProcessTestCaseNoPoll) ... ok
  2862. test_executable_without_cwd (__main__.ProcessTestCaseNoPoll) ... ok
  2863. test_handles_closed_on_exception (__main__.ProcessTestCaseNoPoll) ... ok
  2864. test_invalid_args (__main__.ProcessTestCaseNoPoll) ... ok
  2865. test_invalid_bufsize (__main__.ProcessTestCaseNoPoll) ... ok
  2866. test_leaking_fds_on_error (__main__.ProcessTestCaseNoPoll) ... ok
  2867. test_list2cmdline (__main__.ProcessTestCaseNoPoll) ... ok
  2868. test_no_leaking (__main__.ProcessTestCaseNoPoll) ... ok
  2869. test_poll (__main__.ProcessTestCaseNoPoll) ... ok
  2870. test_stderr_filedes (__main__.ProcessTestCaseNoPoll) ... ok
  2871. test_stderr_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
  2872. test_stderr_none (__main__.ProcessTestCaseNoPoll) ... ok
  2873. test_stderr_pipe (__main__.ProcessTestCaseNoPoll) ... ok
  2874. test_stdin_filedes (__main__.ProcessTestCaseNoPoll) ... ok
  2875. test_stdin_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
  2876. test_stdin_none (__main__.ProcessTestCaseNoPoll) ... ok
  2877. test_stdin_pipe (__main__.ProcessTestCaseNoPoll) ... ok
  2878. test_stdout_filedes (__main__.ProcessTestCaseNoPoll) ... ok
  2879. test_stdout_filedes_of_stdout (__main__.ProcessTestCaseNoPoll) ... .
  2880. ok
  2881. test_stdout_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
  2882. test_stdout_none (__main__.ProcessTestCaseNoPoll) ... this bit of output is from a test of stdout in a different process ...
  2883. ok
  2884. test_stdout_pipe (__main__.ProcessTestCaseNoPoll) ... ok
  2885. test_stdout_stderr_file (__main__.ProcessTestCaseNoPoll) ... ok
  2886. test_stdout_stderr_pipe (__main__.ProcessTestCaseNoPoll) ... ok
  2887. test_universal_newlines (__main__.ProcessTestCaseNoPoll) ... ok
  2888. test_universal_newlines_communicate (__main__.ProcessTestCaseNoPoll) ... ok
  2889. test_wait (__main__.ProcessTestCaseNoPoll) ... ok
  2890. test_writes_before_communicate (__main__.ProcessTestCaseNoPoll) ... ok
  2891. test_eintr_retry_call (__main__.HelperFunctionTests) ... ok
  2892. test_noshell_sequence_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
  2893. test_noshell_string_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
  2894. test_shell_sequence_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
  2895. test_shell_string_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
  2896.  
  2897. ----------------------------------------------------------------------
  2898. Ran 131 tests in 114.093s
  2899.  
  2900. OK (skipped=16)
  2901.  
  2902. - /usr/local/bin/python2.7 -u -m monkey_test test_subprocess.py [took 114.8s]
  2903. + /usr/local/bin/python2.7 -u -m monkey_test test_timeout.py
  2904. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_subprocess.py
  2905. Running with patch_all(Event=True): test_subprocess.py
  2906. Removed test_leak_fast_process_del_killed (1)
  2907. Removed test_zombie_fast_process_del (1)
  2908. test_call_kwargs (__main__.ProcessTestCase) ... ok
  2909. test_call_seq (__main__.ProcessTestCase) ... ok
  2910. test_check_call_nonzero (__main__.ProcessTestCase) ... ok
  2911. test_check_call_zero (__main__.ProcessTestCase) ... ok
  2912. test_check_output (__main__.ProcessTestCase) ... ok
  2913. test_check_output_nonzero (__main__.ProcessTestCase) ... ok
  2914. test_check_output_stderr (__main__.ProcessTestCase) ... ok
  2915. test_check_output_stdout_arg (__main__.ProcessTestCase) ... ok
  2916. test_communicate (__main__.ProcessTestCase) ... ok
  2917. test_communicate_epipe (__main__.ProcessTestCase) ... ok
  2918. test_communicate_epipe_only_stdin (__main__.ProcessTestCase) ... ok
  2919. test_communicate_pipe_buf (__main__.ProcessTestCase) ... ok
  2920. test_communicate_pipe_fd_leak (__main__.ProcessTestCase) ... skipped 'Linux specific'
  2921. test_communicate_returns (__main__.ProcessTestCase) ... ok
  2922. test_communicate_stderr (__main__.ProcessTestCase) ... ok
  2923. test_communicate_stdin (__main__.ProcessTestCase) ... ok
  2924. test_communicate_stdout (__main__.ProcessTestCase) ... ok
  2925. test_cwd (__main__.ProcessTestCase) ... ok
  2926. test_env (__main__.ProcessTestCase) ... ok
  2927. test_executable_with_cwd (__main__.ProcessTestCase) ... ok
  2928. test_executable_without_cwd (__main__.ProcessTestCase) ... ok
  2929. test_handles_closed_on_exception (__main__.ProcessTestCase) ... ok
  2930. test_invalid_args (__main__.ProcessTestCase) ... ok
  2931. test_invalid_bufsize (__main__.ProcessTestCase) ... ok
  2932. test_leaking_fds_on_error (__main__.ProcessTestCase) ... ok
  2933. test_list2cmdline (__main__.ProcessTestCase) ... ok
  2934. test_no_leaking (__main__.ProcessTestCase) ... ok
  2935. test_poll (__main__.ProcessTestCase) ... ok
  2936. test_stderr_filedes (__main__.ProcessTestCase) ... ok
  2937. test_stderr_fileobj (__main__.ProcessTestCase) ... ok
  2938. test_stderr_none (__main__.ProcessTestCase) ... ok
  2939. test_stderr_pipe (__main__.ProcessTestCase) ... ok
  2940. test_stdin_filedes (__main__.ProcessTestCase) ... ok
  2941. test_stdin_fileobj (__main__.ProcessTestCase) ... ok
  2942. test_stdin_none (__main__.ProcessTestCase) ... ok
  2943. test_stdin_pipe (__main__.ProcessTestCase) ... ok
  2944. test_stdout_filedes (__main__.ProcessTestCase) ... ok
  2945. test_stdout_filedes_of_stdout (__main__.ProcessTestCase) ... .
  2946. ok
  2947. test_stdout_fileobj (__main__.ProcessTestCase) ... ok
  2948. test_stdout_none (__main__.ProcessTestCase) ... this bit of output is from a test of stdout in a different process ...
  2949. ok
  2950. test_stdout_pipe (__main__.ProcessTestCase) ... ok
  2951. test_stdout_stderr_file (__main__.ProcessTestCase) ... ok
  2952. test_stdout_stderr_pipe (__main__.ProcessTestCase) ... ok
  2953. test_universal_newlines (__main__.ProcessTestCase) ... ok
  2954. test_universal_newlines_communicate (__main__.ProcessTestCase) ... ok
  2955. test_wait (__main__.ProcessTestCase) ... ok
  2956. test_writes_before_communicate (__main__.ProcessTestCase) ... ok
  2957. test_args_string (__main__.POSIXProcessTestCase) ... ok
  2958. test_call_string (__main__.POSIXProcessTestCase) ... ok
  2959. test_close_fd_0 (__main__.POSIXProcessTestCase) ... ok
  2960. test_close_fd_1 (__main__.POSIXProcessTestCase) ... ok
  2961. test_close_fd_2 (__main__.POSIXProcessTestCase) ... ok
  2962. test_close_fds_0_1 (__main__.POSIXProcessTestCase) ... ok
  2963. test_close_fds_0_1_2 (__main__.POSIXProcessTestCase) ... ok
  2964. test_close_fds_0_2 (__main__.POSIXProcessTestCase) ... ok
  2965. test_close_fds_1_2 (__main__.POSIXProcessTestCase) ... ok
  2966. test_exceptions (__main__.POSIXProcessTestCase) ... ok
  2967. test_invalid_args (__main__.POSIXProcessTestCase) ... ok
  2968. test_kill (__main__.POSIXProcessTestCase) ... ok
  2969. test_pipe_cloexec (__main__.POSIXProcessTestCase) ... ok
  2970. test_preexec (__main__.POSIXProcessTestCase) ... ok
  2971. test_run_abort (__main__.POSIXProcessTestCase) ... ok
  2972. test_send_signal (__main__.POSIXProcessTestCase) ... ok
  2973. test_shell_sequence (__main__.POSIXProcessTestCase) ... ok
  2974. test_shell_string (__main__.POSIXProcessTestCase) ... ok
  2975. test_specific_shell (__main__.POSIXProcessTestCase) ... ok
  2976. test_swap_fds (__main__.POSIXProcessTestCase) ... ok
  2977. test_terminate (__main__.POSIXProcessTestCase) ... ok
  2978. test_wait_when_sigchild_ignored (__main__.POSIXProcessTestCase) ... ok
  2979. test_call_string (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2980. test_close_fds (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2981. test_creationflags (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2982. test_invalid_args (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2983. test_kill (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2984. test_send_signal (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2985. test_shell_sequence (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2986. test_shell_string (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2987. test_startupinfo (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2988. test_terminate (__main__.Win32ProcessTestCase) ... skipped 'Windows specific tests'
  2989. test_call_kwargs (__main__.ProcessTestCaseNoPoll) ... ok
  2990. test_call_seq (__main__.ProcessTestCaseNoPoll) ... ok
  2991. test_check_call_nonzero (__main__.ProcessTestCaseNoPoll) ... ok
  2992. test_check_call_zero (__main__.ProcessTestCaseNoPoll) ... ok
  2993. test_check_output (__main__.ProcessTestCaseNoPoll) ... ok
  2994. test_check_output_nonzero (__main__.ProcessTestCaseNoPoll) ... ok
  2995. test_check_output_stderr (__main__.ProcessTestCaseNoPoll) ... ok
  2996. test_check_output_stdout_arg (__main__.ProcessTestCaseNoPoll) ... ok
  2997. test_communicate (__main__.ProcessTestCaseNoPoll) ... ok
  2998. test_communicate_epipe (__main__.ProcessTestCaseNoPoll) ... ok
  2999. test_communicate_epipe_only_stdin (__main__.ProcessTestCaseNoPoll) ... ok
  3000. test_communicate_pipe_buf (__main__.ProcessTestCaseNoPoll) ... ok
  3001. test_communicate_pipe_fd_leak (__main__.ProcessTestCaseNoPoll) ... skipped 'Linux specific'
  3002. test_communicate_returns (__main__.ProcessTestCaseNoPoll) ... ok
  3003. test_communicate_stderr (__main__.ProcessTestCaseNoPoll) ... ok
  3004. test_communicate_stdin (__main__.ProcessTestCaseNoPoll) ... ok
  3005. test_communicate_stdout (__main__.ProcessTestCaseNoPoll) ... ok
  3006. test_cwd (__main__.ProcessTestCaseNoPoll) ... ok
  3007. test_env (__main__.ProcessTestCaseNoPoll) ... ok
  3008. test_executable_with_cwd (__main__.ProcessTestCaseNoPoll) ... ok
  3009. test_executable_without_cwd (__main__.ProcessTestCaseNoPoll) ... ok
  3010. test_handles_closed_on_exception (__main__.ProcessTestCaseNoPoll) ... ok
  3011. test_invalid_args (__main__.ProcessTestCaseNoPoll) ... ok
  3012. test_invalid_bufsize (__main__.ProcessTestCaseNoPoll) ... ok
  3013. test_leaking_fds_on_error (__main__.ProcessTestCaseNoPoll) ... ok
  3014. test_list2cmdline (__main__.ProcessTestCaseNoPoll) ... ok
  3015. test_no_leaking (__main__.ProcessTestCaseNoPoll) ... ok
  3016. test_poll (__main__.ProcessTestCaseNoPoll) ... ok
  3017. test_stderr_filedes (__main__.ProcessTestCaseNoPoll) ... ok
  3018. test_stderr_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
  3019. test_stderr_none (__main__.ProcessTestCaseNoPoll) ... ok
  3020. test_stderr_pipe (__main__.ProcessTestCaseNoPoll) ... ok
  3021. test_stdin_filedes (__main__.ProcessTestCaseNoPoll) ... ok
  3022. test_stdin_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
  3023. test_stdin_none (__main__.ProcessTestCaseNoPoll) ... ok
  3024. test_stdin_pipe (__main__.ProcessTestCaseNoPoll) ... ok
  3025. test_stdout_filedes (__main__.ProcessTestCaseNoPoll) ... ok
  3026. test_stdout_filedes_of_stdout (__main__.ProcessTestCaseNoPoll) ... .
  3027. ok
  3028. test_stdout_fileobj (__main__.ProcessTestCaseNoPoll) ... ok
  3029. test_stdout_none (__main__.ProcessTestCaseNoPoll) ... this bit of output is from a test of stdout in a different process ...
  3030. ok
  3031. test_stdout_pipe (__main__.ProcessTestCaseNoPoll) ... ok
  3032. test_stdout_stderr_file (__main__.ProcessTestCaseNoPoll) ... ok
  3033. test_stdout_stderr_pipe (__main__.ProcessTestCaseNoPoll) ... ok
  3034. test_universal_newlines (__main__.ProcessTestCaseNoPoll) ... ok
  3035. test_universal_newlines_communicate (__main__.ProcessTestCaseNoPoll) ... ok
  3036. test_wait (__main__.ProcessTestCaseNoPoll) ... ok
  3037. test_writes_before_communicate (__main__.ProcessTestCaseNoPoll) ... ok
  3038. test_eintr_retry_call (__main__.HelperFunctionTests) ... ok
  3039. test_noshell_sequence_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
  3040. test_noshell_string_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
  3041. test_shell_sequence_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
  3042. test_shell_string_with_spaces (__main__.CommandsWithSpaces) ... skipped 'mswindows only'
  3043.  
  3044. ----------------------------------------------------------------------
  3045. Ran 131 tests in 116.703s
  3046.  
  3047. OK (skipped=16)
  3048.  
  3049. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_subprocess.py [took 117.2s]
  3050. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_timeout.py
  3051. | /usr/local/bin/python2.7 -u -m monkey_test test_timeout.py
  3052. Running with patch_all(Event=False): test_timeout.py
  3053. testBlockingThenTimeout (__main__.CreationTestCase) ... ok
  3054. testFloatReturnValue (__main__.CreationTestCase) ... ok
  3055. testObjectCreation (__main__.CreationTestCase) ... ok
  3056. testRangeCheck (__main__.CreationTestCase) ... ok
  3057. testReturnType (__main__.CreationTestCase) ... ok
  3058. testTimeoutThenBlocking (__main__.CreationTestCase) ... ok
  3059. testTypeCheck (__main__.CreationTestCase) ... ok
  3060. testAcceptTimeout (__main__.TimeoutTestCase) ... ok
  3061. testConnectTimeout (__main__.TimeoutTestCase) ... ok
  3062. testRecvTimeout (__main__.TimeoutTestCase) ... ok
  3063. testRecvfromTimeout (__main__.TimeoutTestCase) ... ok
  3064. testSend (__main__.TimeoutTestCase) ... ok
  3065. testSendall (__main__.TimeoutTestCase) ... ok
  3066. testSendto (__main__.TimeoutTestCase) ... ok
  3067.  
  3068. ----------------------------------------------------------------------
  3069. Ran 14 tests in 4.464s
  3070.  
  3071. OK
  3072.  
  3073. - /usr/local/bin/python2.7 -u -m monkey_test test_timeout.py [took 4.8s]
  3074. + /usr/local/bin/python2.7 -u -m monkey_test test_urllib.py
  3075. | /usr/local/bin/python2.7 -u -m monkey_test test_urllib.py
  3076. Running with patch_all(Event=False): test_urllib.py
  3077. test_close (__main__.urlopen_FileTests) ... ok
  3078. test_fileno (__main__.urlopen_FileTests) ... ok
  3079. test_getcode (__main__.urlopen_FileTests) ... ok
  3080. test_geturl (__main__.urlopen_FileTests) ... ok
  3081. test_info (__main__.urlopen_FileTests) ... ok
  3082. test_interface (__main__.urlopen_FileTests) ... ok
  3083. test_iter (__main__.urlopen_FileTests) ... ok
  3084. test_read (__main__.urlopen_FileTests) ... ok
  3085. test_readline (__main__.urlopen_FileTests) ... ok
  3086. test_readlines (__main__.urlopen_FileTests) ... ok
  3087. test_relativelocalfile (__main__.urlopen_FileTests) ... ok
  3088. test_empty_socket (__main__.urlopen_HttpTests) ... ok
  3089. test_invalid_redirect (__main__.urlopen_HttpTests) ... ok
  3090. test_read (__main__.urlopen_HttpTests) ... ok
  3091. test_read_bogus (__main__.urlopen_HttpTests) ... ok
  3092. test_url_fragment (__main__.urlopen_HttpTests) ... ok
  3093. test_userpass_inurl (__main__.urlopen_HttpTests) ... ok
  3094. test_userpass_with_spaces_inurl (__main__.urlopen_HttpTests) ... ok
  3095. test_basic (__main__.urlretrieve_FileTests) ... ok
  3096. test_copy (__main__.urlretrieve_FileTests) ... ok
  3097. test_reporthook (__main__.urlretrieve_FileTests) ... ok
  3098. test_reporthook_0_bytes (__main__.urlretrieve_FileTests) ... ok
  3099. test_reporthook_5_bytes (__main__.urlretrieve_FileTests) ... ok
  3100. test_reporthook_8193_bytes (__main__.urlretrieve_FileTests) ... ok
  3101. test_short_content_raises_ContentTooShortError (__main__.urlretrieve_HttpTests) ... ok
  3102. test_short_content_raises_ContentTooShortError_without_reporthook (__main__.urlretrieve_HttpTests) ... ok
  3103. test_getproxies_environment_keep_no_proxies (__main__.ProxyTests) ... ok
  3104. test_default_quoting (__main__.QuotingTests) ... ok
  3105. test_default_safe (__main__.QuotingTests) ... ok
  3106. test_never_quote (__main__.QuotingTests) ... ok
  3107. test_quoting_plus (__main__.QuotingTests) ... ok
  3108. test_quoting_space (__main__.QuotingTests) ... ok
  3109. test_safe (__main__.QuotingTests) ... ok
  3110. test_unquote_with_unicode (__main__.UnquotingTests) ... ok
  3111. test_unquoting (__main__.UnquotingTests) ... ok
  3112. test_unquoting_badpercent (__main__.UnquotingTests) ... ok
  3113. test_unquoting_mixed_case (__main__.UnquotingTests) ... ok
  3114. test_unquoting_parts (__main__.UnquotingTests) ... ok
  3115. test_unquoting_plus (__main__.UnquotingTests) ... ok
  3116. test_doseq (__main__.urlencode_Tests) ... ok
  3117. test_quoting (__main__.urlencode_Tests) ... ok
  3118. test_using_mapping (__main__.urlencode_Tests) ... ok
  3119. test_using_sequence (__main__.urlencode_Tests) ... ok
  3120. test_basic (__main__.Pathname_Tests) ... ok
  3121. test_ntpath (__main__.Pathname_Tests) ... skipped 'test specific to the nturl2path library'
  3122. test_quoting (__main__.Pathname_Tests) ... ok
  3123. test_splitpasswd (__main__.Utility_Tests)
  3124. Some of the password examples are not sensible, but it is added to ... ok
  3125. test_quoted_open (__main__.URLopener_Tests) ... ok
  3126.  
  3127. ----------------------------------------------------------------------
  3128. Ran 48 tests in 0.106s
  3129.  
  3130. OK (skipped=1)
  3131.  
  3132. - /usr/local/bin/python2.7 -u -m monkey_test test_urllib.py [took 0.5s]
  3133. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib.py
  3134. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_timeout.py
  3135. Running with patch_all(Event=True): test_timeout.py
  3136. testBlockingThenTimeout (__main__.CreationTestCase) ... ok
  3137. testFloatReturnValue (__main__.CreationTestCase) ... ok
  3138. testObjectCreation (__main__.CreationTestCase) ... ok
  3139. testRangeCheck (__main__.CreationTestCase) ... ok
  3140. testReturnType (__main__.CreationTestCase) ... ok
  3141. testTimeoutThenBlocking (__main__.CreationTestCase) ... ok
  3142. testTypeCheck (__main__.CreationTestCase) ... ok
  3143. testAcceptTimeout (__main__.TimeoutTestCase) ... ok
  3144. testConnectTimeout (__main__.TimeoutTestCase) ... ok
  3145. testRecvTimeout (__main__.TimeoutTestCase) ... ok
  3146. testRecvfromTimeout (__main__.TimeoutTestCase) ... ok
  3147. testSend (__main__.TimeoutTestCase) ... ok
  3148. testSendall (__main__.TimeoutTestCase) ... ok
  3149. testSendto (__main__.TimeoutTestCase) ... ok
  3150.  
  3151. ----------------------------------------------------------------------
  3152. Ran 14 tests in 4.234s
  3153.  
  3154. OK
  3155.  
  3156. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_timeout.py [took 4.6s]
  3157. + /usr/local/bin/python2.7 -u -m monkey_test test_urllib2.py
  3158. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib.py
  3159. Running with patch_all(Event=True): test_urllib.py
  3160. test_close (__main__.urlopen_FileTests) ... ok
  3161. test_fileno (__main__.urlopen_FileTests) ... ok
  3162. test_getcode (__main__.urlopen_FileTests) ... ok
  3163. test_geturl (__main__.urlopen_FileTests) ... ok
  3164. test_info (__main__.urlopen_FileTests) ... ok
  3165. test_interface (__main__.urlopen_FileTests) ... ok
  3166. test_iter (__main__.urlopen_FileTests) ... ok
  3167. test_read (__main__.urlopen_FileTests) ... ok
  3168. test_readline (__main__.urlopen_FileTests) ... ok
  3169. test_readlines (__main__.urlopen_FileTests) ... ok
  3170. test_relativelocalfile (__main__.urlopen_FileTests) ... ok
  3171. test_empty_socket (__main__.urlopen_HttpTests) ... ok
  3172. test_invalid_redirect (__main__.urlopen_HttpTests) ... ok
  3173. test_read (__main__.urlopen_HttpTests) ... ok
  3174. test_read_bogus (__main__.urlopen_HttpTests) ... ok
  3175. test_url_fragment (__main__.urlopen_HttpTests) ... ok
  3176. test_userpass_inurl (__main__.urlopen_HttpTests) ... ok
  3177. test_userpass_with_spaces_inurl (__main__.urlopen_HttpTests) ... ok
  3178. test_basic (__main__.urlretrieve_FileTests) ... ok
  3179. test_copy (__main__.urlretrieve_FileTests) ... ok
  3180. test_reporthook (__main__.urlretrieve_FileTests) ... ok
  3181. test_reporthook_0_bytes (__main__.urlretrieve_FileTests) ... ok
  3182. test_reporthook_5_bytes (__main__.urlretrieve_FileTests) ... ok
  3183. test_reporthook_8193_bytes (__main__.urlretrieve_FileTests) ... ok
  3184. test_short_content_raises_ContentTooShortError (__main__.urlretrieve_HttpTests) ... ok
  3185. test_short_content_raises_ContentTooShortError_without_reporthook (__main__.urlretrieve_HttpTests) ... ok
  3186. test_getproxies_environment_keep_no_proxies (__main__.ProxyTests) ... ok
  3187. test_default_quoting (__main__.QuotingTests) ... ok
  3188. test_default_safe (__main__.QuotingTests) ... ok
  3189. test_never_quote (__main__.QuotingTests) ... ok
  3190. test_quoting_plus (__main__.QuotingTests) ... ok
  3191. test_quoting_space (__main__.QuotingTests) ... ok
  3192. test_safe (__main__.QuotingTests) ... ok
  3193. test_unquote_with_unicode (__main__.UnquotingTests) ... ok
  3194. test_unquoting (__main__.UnquotingTests) ... ok
  3195. test_unquoting_badpercent (__main__.UnquotingTests) ... ok
  3196. test_unquoting_mixed_case (__main__.UnquotingTests) ... ok
  3197. test_unquoting_parts (__main__.UnquotingTests) ... ok
  3198. test_unquoting_plus (__main__.UnquotingTests) ... ok
  3199. test_doseq (__main__.urlencode_Tests) ... ok
  3200. test_quoting (__main__.urlencode_Tests) ... ok
  3201. test_using_mapping (__main__.urlencode_Tests) ... ok
  3202. test_using_sequence (__main__.urlencode_Tests) ... ok
  3203. test_basic (__main__.Pathname_Tests) ... ok
  3204. test_ntpath (__main__.Pathname_Tests) ... skipped 'test specific to the nturl2path library'
  3205. test_quoting (__main__.Pathname_Tests) ... ok
  3206. test_splitpasswd (__main__.Utility_Tests)
  3207. Some of the password examples are not sensible, but it is added to ... ok
  3208. test_quoted_open (__main__.URLopener_Tests) ... ok
  3209.  
  3210. ----------------------------------------------------------------------
  3211. Ran 48 tests in 0.109s
  3212.  
  3213. OK (skipped=1)
  3214.  
  3215. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib.py [took 0.7s]
  3216. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2.py
  3217. | /usr/local/bin/python2.7 -u -m monkey_test test_threading_local.py
  3218. Running with patch_all(Event=False): test_threading_local.py
  3219. _threading_local ()
  3220. Doctest: _threading_local ...
  3221.  
  3222. ! /usr/local/bin/python2.7 -u -m monkey_test test_threading_local.py [code TIMEOUT] [took 120.0s]
  3223. + /usr/local/bin/python2.7 -u -m monkey_test test_urllib2_localnet.py
  3224. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py
  3225. Running with patch_all(Event=True): test_threading_local.py
  3226. _threading_local ()
  3227. Doctest: _threading_local ...
  3228.  
  3229. ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py [code TIMEOUT] [took 120.0s]
  3230. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2_localnet.py
  3231. | /usr/local/bin/python2.7 -u -m monkey_test test_urllib2.py
  3232. Running with patch_all(Event=False): test_urllib2.py
  3233. Removed test_cookie_redirect (1)
  3234.  
  3235. ! /usr/local/bin/python2.7 -u -m monkey_test test_urllib2.py [code TIMEOUT] [took 120.0s]
  3236. + /usr/local/bin/python2.7 -u -m monkey_test test_urllib2net.py
  3237. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2.py
  3238. Running with patch_all(Event=True): test_urllib2.py
  3239. Removed test_cookie_redirect (1)
  3240.  
  3241. ! /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2.py [code TIMEOUT] [took 120.0s]
  3242. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2net.py
  3243. | /usr/local/bin/python2.7 -u -m monkey_test test_urllib2_localnet.py
  3244. Running with patch_all(Event=False): test_urllib2_localnet.py
  3245. test_proxy_qop_auth_int_works_or_throws_urlerror (__main__.ProxyAuthTests) ... ok
  3246. test_proxy_qop_auth_works (__main__.ProxyAuthTests) ... ok
  3247. test_proxy_with_bad_password_raises_httperror (__main__.ProxyAuthTests) ... ok
  3248. test_proxy_with_no_password_raises_httperror (__main__.ProxyAuthTests) ... ok
  3249. test_200 (__main__.TestUrlopen) ... ok
  3250. test_200_with_parameters (__main__.TestUrlopen) ... ok
  3251. test_404 (__main__.TestUrlopen) ... ok
  3252. test_bad_address (__main__.TestUrlopen) ... ok
  3253. test_basic (__main__.TestUrlopen) ... ok
  3254. test_geturl (__main__.TestUrlopen) ... ok
  3255. test_info (__main__.TestUrlopen) ... ok
  3256. test_iteration (__main__.TestUrlopen) ... ok
  3257. test_redirection (__main__.TestUrlopen) ... ok
  3258. test_sending_headers (__main__.TestUrlopen) ... ok
  3259.  
  3260. ----------------------------------------------------------------------
  3261. Ran 14 tests in 44.658s
  3262.  
  3263. OK
  3264.  
  3265. - /usr/local/bin/python2.7 -u -m monkey_test test_urllib2_localnet.py [took 45.1s]
  3266. + /usr/local/bin/python2.7 -u -m monkey_test test_wsgiref.py
  3267. | /usr/local/bin/python2.7 -u -m monkey_test test_wsgiref.py
  3268. Running with patch_all(Event=False): test_wsgiref.py
  3269. testAbstractMethods (__main__.HandlerTests) ... ok
  3270. testBasicErrorOutput (__main__.HandlerTests) ... ok
  3271. testCGIEnviron (__main__.HandlerTests) ... ok
  3272. testContentLength (__main__.HandlerTests) ... ok
  3273. testEnviron (__main__.HandlerTests) ... ok
  3274. testErrorAfterOutput (__main__.HandlerTests) ... ok
  3275. testHeaderFormats (__main__.HandlerTests) ... ok
  3276. testScheme (__main__.HandlerTests) ... ok
  3277. testExtras (__main__.HeaderTests) ... ok
  3278. testMappingInterface (__main__.HeaderTests) ... ok
  3279. testRequireList (__main__.HeaderTests) ... ok
  3280. test_plain_hello (__main__.IntegrationTests) ... ok
  3281. test_simple_validation_error (__main__.IntegrationTests) ... ok
  3282. test_validated_hello (__main__.IntegrationTests) ... ok
  3283. testAppURIs (__main__.UtilityTests) ... ok
  3284. testCrossDefaults (__main__.UtilityTests) ... ok
  3285. testDefaults (__main__.UtilityTests) ... ok
  3286. testFileWrapper (__main__.UtilityTests) ... ok
  3287. testGuessScheme (__main__.UtilityTests) ... ok
  3288. testHopByHop (__main__.UtilityTests) ... ok
  3289. testNormalizedShifts (__main__.UtilityTests) ... ok
  3290. testReqURIs (__main__.UtilityTests) ... ok
  3291. testSimpleShifts (__main__.UtilityTests) ... ok
  3292.  
  3293. ----------------------------------------------------------------------
  3294. Ran 23 tests in 0.057s
  3295.  
  3296. OK
  3297.  
  3298. - /usr/local/bin/python2.7 -u -m monkey_test test_wsgiref.py [took 0.5s]
  3299. + /usr/local/bin/python2.7 -u -m monkey_test --Event test_wsgiref.py
  3300. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_wsgiref.py
  3301. Running with patch_all(Event=True): test_wsgiref.py
  3302. testAbstractMethods (__main__.HandlerTests) ... ok
  3303. testBasicErrorOutput (__main__.HandlerTests) ... ok
  3304. testCGIEnviron (__main__.HandlerTests) ... ok
  3305. testContentLength (__main__.HandlerTests) ... ok
  3306. testEnviron (__main__.HandlerTests) ... ok
  3307. testErrorAfterOutput (__main__.HandlerTests) ... ok
  3308. testHeaderFormats (__main__.HandlerTests) ... ok
  3309. testScheme (__main__.HandlerTests) ... ok
  3310. testExtras (__main__.HeaderTests) ... ok
  3311. testMappingInterface (__main__.HeaderTests) ... ok
  3312. testRequireList (__main__.HeaderTests) ... ok
  3313. test_plain_hello (__main__.IntegrationTests) ... ok
  3314. test_simple_validation_error (__main__.IntegrationTests) ... ok
  3315. test_validated_hello (__main__.IntegrationTests) ... ok
  3316. testAppURIs (__main__.UtilityTests) ... ok
  3317. testCrossDefaults (__main__.UtilityTests) ... ok
  3318. testDefaults (__main__.UtilityTests) ... ok
  3319. testFileWrapper (__main__.UtilityTests) ... ok
  3320. testGuessScheme (__main__.UtilityTests) ... ok
  3321. testHopByHop (__main__.UtilityTests) ... ok
  3322. testNormalizedShifts (__main__.UtilityTests) ... ok
  3323. testReqURIs (__main__.UtilityTests) ... ok
  3324. testSimpleShifts (__main__.UtilityTests) ... ok
  3325.  
  3326. ----------------------------------------------------------------------
  3327. Ran 23 tests in 0.059s
  3328.  
  3329. OK
  3330.  
  3331. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_wsgiref.py [took 0.5s]
  3332. | /usr/local/bin/python2.7 -u -m monkey_test test_urllib2net.py
  3333. Running with patch_all(Event=False): test_urllib2net.py
  3334. Removed test_ftp_no_timeout (1)
  3335. Removed test_ftp_timeout (1)
  3336. Removed test_http_no_timeout (1)
  3337. Removed test_http_timeout (1)
  3338. Removed test_ftp (5)
  3339. Removed test_urlwithfrag (1)
  3340. Removed test_sites_no_connection_close (1)
  3341. test_custom_headers (__main__.OtherNetworkTests) ... ok
  3342. test_file (__main__.OtherNetworkTests) ... ok
  3343. test_fileno (__main__.OtherNetworkTests) ... ok
  3344. test_close (__main__.CloseSocketTest) ... ok
  3345. test_http_basic (__main__.TimeoutTest) ... ok
  3346. test_http_default_timeout (__main__.TimeoutTest) ... ok
  3347.  
  3348. ----------------------------------------------------------------------
  3349. Ran 6 tests in 12.660s
  3350.  
  3351. OK
  3352.  
  3353. - /usr/local/bin/python2.7 -u -m monkey_test test_urllib2net.py [took 15.7s]
  3354. + /usr/local/bin/python2.7 -u test__all__.py
  3355. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2_localnet.py
  3356. Running with patch_all(Event=True): test_urllib2_localnet.py
  3357. test_proxy_qop_auth_int_works_or_throws_urlerror (__main__.ProxyAuthTests) ... ok
  3358. test_proxy_qop_auth_works (__main__.ProxyAuthTests) ... ok
  3359. test_proxy_with_bad_password_raises_httperror (__main__.ProxyAuthTests) ... ok
  3360. test_proxy_with_no_password_raises_httperror (__main__.ProxyAuthTests) ... ok
  3361. test_200 (__main__.TestUrlopen) ... ok
  3362. test_200_with_parameters (__main__.TestUrlopen) ... ok
  3363. test_404 (__main__.TestUrlopen) ... ok
  3364. test_bad_address (__main__.TestUrlopen) ... ok
  3365. test_basic (__main__.TestUrlopen) ... ok
  3366. test_geturl (__main__.TestUrlopen) ... ok
  3367. test_info (__main__.TestUrlopen) ... ok
  3368. test_iteration (__main__.TestUrlopen) ... ok
  3369. test_redirection (__main__.TestUrlopen) ... ok
  3370. test_sending_headers (__main__.TestUrlopen) ... ok
  3371.  
  3372. ----------------------------------------------------------------------
  3373. Ran 14 tests in 43.906s
  3374.  
  3375. OK
  3376.  
  3377. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2_localnet.py [took 45.7s]
  3378. + /usr/local/bin/python2.7 -u test__api.py
  3379. | /usr/local/bin/python2.7 -u test__api.py
  3380. ........
  3381. ----------------------------------------------------------------------
  3382. Ran 8 tests in 0.433s
  3383.  
  3384. OK
  3385.  
  3386. - /usr/local/bin/python2.7 -u test__api.py [took 0.5s]
  3387. + /usr/local/bin/python2.7 -u test__api_timeout.py
  3388. + /usr/local/bin/python2.7 -u test__ares_host_result.py
  3389. | /usr/local/bin/python2.7 -u test__ares_host_result.py
  3390. ..
  3391. ----------------------------------------------------------------------
  3392. Ran 2 tests in 0.004s
  3393.  
  3394. OK
  3395.  
  3396. - /usr/local/bin/python2.7 -u test__ares_host_result.py [took 0.2s]
  3397. | /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2net.py
  3398. Running with patch_all(Event=True): test_urllib2net.py
  3399. Removed test_ftp_no_timeout (1)
  3400. Removed test_ftp_timeout (1)
  3401. Removed test_http_no_timeout (1)
  3402. Removed test_http_timeout (1)
  3403. Removed test_ftp (5)
  3404. Removed test_urlwithfrag (1)
  3405. Removed test_sites_no_connection_close (1)
  3406. test_custom_headers (__main__.OtherNetworkTests) ... ok
  3407. test_file (__main__.OtherNetworkTests) ... ok
  3408. test_fileno (__main__.OtherNetworkTests) ... ok
  3409. test_close (__main__.CloseSocketTest) ... ok
  3410. test_http_basic (__main__.TimeoutTest) ... ok
  3411. test_http_default_timeout (__main__.TimeoutTest) ... ok
  3412.  
  3413. ----------------------------------------------------------------------
  3414. Ran 6 tests in 18.770s
  3415.  
  3416. OK
  3417.  
  3418. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2net.py [took 20.3s]
  3419. | /usr/local/bin/python2.7 -u test__api_timeout.py
  3420. ...
  3421. ----------------------------------------------------------------------
  3422. Ran 3 tests in 0.843s
  3423.  
  3424. OK
  3425.  
  3426. - /usr/local/bin/python2.7 -u test__api_timeout.py [took 3.3s]
  3427. | /usr/local/bin/python2.7 -u test__all__.py
  3428. ...............IncompleteImplWarning: gevent.builtins.ArithmeticError
  3429. IncompleteImplWarning: gevent.builtins.AssertionError
  3430. IncompleteImplWarning: gevent.builtins.AttributeError
  3431. IncompleteImplWarning: gevent.builtins.BaseException
  3432. IncompleteImplWarning: gevent.builtins.BufferError
  3433. IncompleteImplWarning: gevent.builtins.BytesWarning
  3434. IncompleteImplWarning: gevent.builtins.DeprecationWarning
  3435. IncompleteImplWarning: gevent.builtins.EOFError
  3436. IncompleteImplWarning: gevent.builtins.Ellipsis
  3437. IncompleteImplWarning: gevent.builtins.EnvironmentError
  3438. IncompleteImplWarning: gevent.builtins.Exception
  3439. IncompleteImplWarning: gevent.builtins.False
  3440. IncompleteImplWarning: gevent.builtins.FloatingPointError
  3441. IncompleteImplWarning: gevent.builtins.FutureWarning
  3442. IncompleteImplWarning: gevent.builtins.GeneratorExit
  3443. IncompleteImplWarning: gevent.builtins.IOError
  3444. IncompleteImplWarning: gevent.builtins.ImportError
  3445. IncompleteImplWarning: gevent.builtins.ImportWarning
  3446. IncompleteImplWarning: gevent.builtins.IndentationError
  3447. IncompleteImplWarning: gevent.builtins.IndexError
  3448. IncompleteImplWarning: gevent.builtins.KeyError
  3449. IncompleteImplWarning: gevent.builtins.KeyboardInterrupt
  3450. IncompleteImplWarning: gevent.builtins.LookupError
  3451. IncompleteImplWarning: gevent.builtins.MemoryError
  3452. IncompleteImplWarning: gevent.builtins.NameError
  3453. IncompleteImplWarning: gevent.builtins.None
  3454. IncompleteImplWarning: gevent.builtins.NotImplemented
  3455. IncompleteImplWarning: gevent.builtins.NotImplementedError
  3456. IncompleteImplWarning: gevent.builtins.OSError
  3457. IncompleteImplWarning: gevent.builtins.OverflowError
  3458. IncompleteImplWarning: gevent.builtins.PendingDeprecationWarning
  3459. IncompleteImplWarning: gevent.builtins.ReferenceError
  3460. IncompleteImplWarning: gevent.builtins.RuntimeError
  3461. IncompleteImplWarning: gevent.builtins.RuntimeWarning
  3462. IncompleteImplWarning: gevent.builtins.StandardError
  3463. IncompleteImplWarning: gevent.builtins.StopIteration
  3464. IncompleteImplWarning: gevent.builtins.SyntaxError
  3465. IncompleteImplWarning: gevent.builtins.SyntaxWarning
  3466. IncompleteImplWarning: gevent.builtins.SystemError
  3467. IncompleteImplWarning: gevent.builtins.SystemExit
  3468. IncompleteImplWarning: gevent.builtins.TabError
  3469. IncompleteImplWarning: gevent.builtins.True
  3470. IncompleteImplWarning: gevent.builtins.TypeError
  3471. IncompleteImplWarning: gevent.builtins.UnboundLocalError
  3472. IncompleteImplWarning: gevent.builtins.UnicodeDecodeError
  3473. IncompleteImplWarning: gevent.builtins.UnicodeEncodeError
  3474. IncompleteImplWarning: gevent.builtins.UnicodeError
  3475. IncompleteImplWarning: gevent.builtins.UnicodeTranslateError
  3476. IncompleteImplWarning: gevent.builtins.UnicodeWarning
  3477. IncompleteImplWarning: gevent.builtins.UserWarning
  3478. IncompleteImplWarning: gevent.builtins.ValueError
  3479. IncompleteImplWarning: gevent.builtins.Warning
  3480. IncompleteImplWarning: gevent.builtins.ZeroDivisionError
  3481. IncompleteImplWarning: gevent.builtins.abs
  3482. IncompleteImplWarning: gevent.builtins.all
  3483. IncompleteImplWarning: gevent.builtins.any
  3484. IncompleteImplWarning: gevent.builtins.apply
  3485. IncompleteImplWarning: gevent.builtins.basestring
  3486. IncompleteImplWarning: gevent.builtins.bin
  3487. IncompleteImplWarning: gevent.builtins.bool
  3488. IncompleteImplWarning: gevent.builtins.buffer
  3489. IncompleteImplWarning: gevent.builtins.bytearray
  3490. IncompleteImplWarning: gevent.builtins.bytes
  3491. IncompleteImplWarning: gevent.builtins.callable
  3492. IncompleteImplWarning: gevent.builtins.chr
  3493. IncompleteImplWarning: gevent.builtins.classmethod
  3494. IncompleteImplWarning: gevent.builtins.cmp
  3495. IncompleteImplWarning: gevent.builtins.coerce
  3496. IncompleteImplWarning: gevent.builtins.compile
  3497. IncompleteImplWarning: gevent.builtins.complex
  3498. IncompleteImplWarning: gevent.builtins.copyright
  3499. IncompleteImplWarning: gevent.builtins.credits
  3500. IncompleteImplWarning: gevent.builtins.delattr
  3501. IncompleteImplWarning: gevent.builtins.dict
  3502. IncompleteImplWarning: gevent.builtins.dir
  3503. IncompleteImplWarning: gevent.builtins.divmod
  3504. IncompleteImplWarning: gevent.builtins.enumerate
  3505. IncompleteImplWarning: gevent.builtins.eval
  3506. IncompleteImplWarning: gevent.builtins.execfile
  3507. IncompleteImplWarning: gevent.builtins.exit
  3508. IncompleteImplWarning: gevent.builtins.file
  3509. IncompleteImplWarning: gevent.builtins.filter
  3510. IncompleteImplWarning: gevent.builtins.float
  3511. IncompleteImplWarning: gevent.builtins.format
  3512. IncompleteImplWarning: gevent.builtins.frozenset
  3513. IncompleteImplWarning: gevent.builtins.getattr
  3514. IncompleteImplWarning: gevent.builtins.globals
  3515. IncompleteImplWarning: gevent.builtins.hasattr
  3516. IncompleteImplWarning: gevent.builtins.hash
  3517. IncompleteImplWarning: gevent.builtins.help
  3518. IncompleteImplWarning: gevent.builtins.hex
  3519. IncompleteImplWarning: gevent.builtins.id
  3520. IncompleteImplWarning: gevent.builtins.input
  3521. IncompleteImplWarning: gevent.builtins.int
  3522. IncompleteImplWarning: gevent.builtins.intern
  3523. IncompleteImplWarning: gevent.builtins.isinstance
  3524. IncompleteImplWarning: gevent.builtins.issubclass
  3525. IncompleteImplWarning: gevent.builtins.iter
  3526. IncompleteImplWarning: gevent.builtins.len
  3527. IncompleteImplWarning: gevent.builtins.license
  3528. IncompleteImplWarning: gevent.builtins.list
  3529. IncompleteImplWarning: gevent.builtins.locals
  3530. IncompleteImplWarning: gevent.builtins.long
  3531. IncompleteImplWarning: gevent.builtins.map
  3532. IncompleteImplWarning: gevent.builtins.max
  3533. IncompleteImplWarning: gevent.builtins.memoryview
  3534. IncompleteImplWarning: gevent.builtins.min
  3535. IncompleteImplWarning: gevent.builtins.next
  3536. IncompleteImplWarning: gevent.builtins.object
  3537. IncompleteImplWarning: gevent.builtins.oct
  3538. IncompleteImplWarning: gevent.builtins.open
  3539. IncompleteImplWarning: gevent.builtins.ord
  3540. IncompleteImplWarning: gevent.builtins.pow
  3541. IncompleteImplWarning: gevent.builtins.print
  3542. IncompleteImplWarning: gevent.builtins.property
  3543. IncompleteImplWarning: gevent.builtins.quit
  3544. IncompleteImplWarning: gevent.builtins.range
  3545. IncompleteImplWarning: gevent.builtins.raw_input
  3546. IncompleteImplWarning: gevent.builtins.reduce
  3547. IncompleteImplWarning: gevent.builtins.reload
  3548. IncompleteImplWarning: gevent.builtins.repr
  3549. IncompleteImplWarning: gevent.builtins.reversed
  3550. IncompleteImplWarning: gevent.builtins.round
  3551. IncompleteImplWarning: gevent.builtins.set
  3552. IncompleteImplWarning: gevent.builtins.setattr
  3553. IncompleteImplWarning: gevent.builtins.slice
  3554. IncompleteImplWarning: gevent.builtins.sorted
  3555. IncompleteImplWarning: gevent.builtins.staticmethod
  3556. IncompleteImplWarning: gevent.builtins.str
  3557. IncompleteImplWarning: gevent.builtins.sum
  3558. IncompleteImplWarning: gevent.builtins.super
  3559. IncompleteImplWarning: gevent.builtins.tuple
  3560. IncompleteImplWarning: gevent.builtins.type
  3561. IncompleteImplWarning: gevent.builtins.unichr
  3562. IncompleteImplWarning: gevent.builtins.unicode
  3563. IncompleteImplWarning: gevent.builtins.vars
  3564. IncompleteImplWarning: gevent.builtins.xrange
  3565. IncompleteImplWarning: gevent.builtins.zip
  3566. ..........IncompleteImplWarning: gevent.os.altsep
  3567. IncompleteImplWarning: gevent.os.curdir
  3568. IncompleteImplWarning: gevent.os.pardir
  3569. IncompleteImplWarning: gevent.os.sep
  3570. IncompleteImplWarning: gevent.os.extsep
  3571. IncompleteImplWarning: gevent.os.pathsep
  3572. IncompleteImplWarning: gevent.os.linesep
  3573. IncompleteImplWarning: gevent.os.defpath
  3574. IncompleteImplWarning: gevent.os.name
  3575. IncompleteImplWarning: gevent.os.path
  3576. IncompleteImplWarning: gevent.os.devnull
  3577. IncompleteImplWarning: gevent.os.SEEK_SET
  3578. IncompleteImplWarning: gevent.os.SEEK_CUR
  3579. IncompleteImplWarning: gevent.os.SEEK_END
  3580. IncompleteImplWarning: gevent.os.EX_CANTCREAT
  3581. IncompleteImplWarning: gevent.os.EX_CONFIG
  3582. IncompleteImplWarning: gevent.os.EX_DATAERR
  3583. IncompleteImplWarning: gevent.os.EX_IOERR
  3584. IncompleteImplWarning: gevent.os.EX_NOHOST
  3585. IncompleteImplWarning: gevent.os.EX_NOINPUT
  3586. IncompleteImplWarning: gevent.os.EX_NOPERM
  3587. IncompleteImplWarning: gevent.os.EX_NOUSER
  3588. IncompleteImplWarning: gevent.os.EX_OK
  3589. IncompleteImplWarning: gevent.os.EX_OSERR
  3590. IncompleteImplWarning: gevent.os.EX_OSFILE
  3591. IncompleteImplWarning: gevent.os.EX_PROTOCOL
  3592. IncompleteImplWarning: gevent.os.EX_SOFTWARE
  3593. IncompleteImplWarning: gevent.os.EX_TEMPFAIL
  3594. IncompleteImplWarning: gevent.os.EX_UNAVAILABLE
  3595. IncompleteImplWarning: gevent.os.EX_USAGE
  3596. IncompleteImplWarning: gevent.os.F_OK
  3597. IncompleteImplWarning: gevent.os.NGROUPS_MAX
  3598. IncompleteImplWarning: gevent.os.O_APPEND
  3599. IncompleteImplWarning: gevent.os.O_ASYNC
  3600. IncompleteImplWarning: gevent.os.O_CREAT
  3601. IncompleteImplWarning: gevent.os.O_DIRECTORY
  3602. IncompleteImplWarning: gevent.os.O_DSYNC
  3603. IncompleteImplWarning: gevent.os.O_EXCL
  3604. IncompleteImplWarning: gevent.os.O_EXLOCK
  3605. IncompleteImplWarning: gevent.os.O_NDELAY
  3606. IncompleteImplWarning: gevent.os.O_NOCTTY
  3607. IncompleteImplWarning: gevent.os.O_NOFOLLOW
  3608. IncompleteImplWarning: gevent.os.O_NONBLOCK
  3609. IncompleteImplWarning: gevent.os.O_RDONLY
  3610. IncompleteImplWarning: gevent.os.O_RDWR
  3611. IncompleteImplWarning: gevent.os.O_RSYNC
  3612. IncompleteImplWarning: gevent.os.O_SHLOCK
  3613. IncompleteImplWarning: gevent.os.O_SYNC
  3614. IncompleteImplWarning: gevent.os.O_TRUNC
  3615. IncompleteImplWarning: gevent.os.O_WRONLY
  3616. IncompleteImplWarning: gevent.os.R_OK
  3617. IncompleteImplWarning: gevent.os.TMP_MAX
  3618. IncompleteImplWarning: gevent.os.WCONTINUED
  3619. IncompleteImplWarning: gevent.os.WCOREDUMP
  3620. IncompleteImplWarning: gevent.os.WEXITSTATUS
  3621. IncompleteImplWarning: gevent.os.WIFCONTINUED
  3622. IncompleteImplWarning: gevent.os.WIFEXITED
  3623. IncompleteImplWarning: gevent.os.WIFSIGNALED
  3624. IncompleteImplWarning: gevent.os.WIFSTOPPED
  3625. IncompleteImplWarning: gevent.os.WNOHANG
  3626. IncompleteImplWarning: gevent.os.WSTOPSIG
  3627. IncompleteImplWarning: gevent.os.WTERMSIG
  3628. IncompleteImplWarning: gevent.os.WUNTRACED
  3629. IncompleteImplWarning: gevent.os.W_OK
  3630. IncompleteImplWarning: gevent.os.X_OK
  3631. IncompleteImplWarning: gevent.os.abort
  3632. IncompleteImplWarning: gevent.os.access
  3633. IncompleteImplWarning: gevent.os.chdir
  3634. IncompleteImplWarning: gevent.os.chflags
  3635. IncompleteImplWarning: gevent.os.chmod
  3636. IncompleteImplWarning: gevent.os.chown
  3637. IncompleteImplWarning: gevent.os.chroot
  3638. IncompleteImplWarning: gevent.os.close
  3639. IncompleteImplWarning: gevent.os.closerange
  3640. IncompleteImplWarning: gevent.os.confstr
  3641. IncompleteImplWarning: gevent.os.confstr_names
  3642. IncompleteImplWarning: gevent.os.ctermid
  3643. IncompleteImplWarning: gevent.os.dup
  3644. IncompleteImplWarning: gevent.os.dup2
  3645. IncompleteImplWarning: gevent.os.environ
  3646. IncompleteImplWarning: gevent.os.error
  3647. IncompleteImplWarning: gevent.os.execv
  3648. IncompleteImplWarning: gevent.os.execve
  3649. IncompleteImplWarning: gevent.os.fchdir
  3650. IncompleteImplWarning: gevent.os.fchmod
  3651. IncompleteImplWarning: gevent.os.fchown
  3652. IncompleteImplWarning: gevent.os.fdatasync
  3653. IncompleteImplWarning: gevent.os.fdopen
  3654. IncompleteImplWarning: gevent.os.fpathconf
  3655. IncompleteImplWarning: gevent.os.fstat
  3656. IncompleteImplWarning: gevent.os.fstatvfs
  3657. IncompleteImplWarning: gevent.os.fsync
  3658. IncompleteImplWarning: gevent.os.ftruncate
  3659. IncompleteImplWarning: gevent.os.getcwd
  3660. IncompleteImplWarning: gevent.os.getcwdu
  3661. IncompleteImplWarning: gevent.os.getegid
  3662. IncompleteImplWarning: gevent.os.geteuid
  3663. IncompleteImplWarning: gevent.os.getgid
  3664. IncompleteImplWarning: gevent.os.getgroups
  3665. IncompleteImplWarning: gevent.os.getloadavg
  3666. IncompleteImplWarning: gevent.os.getlogin
  3667. IncompleteImplWarning: gevent.os.getpgid
  3668. IncompleteImplWarning: gevent.os.getpgrp
  3669. IncompleteImplWarning: gevent.os.getpid
  3670. IncompleteImplWarning: gevent.os.getppid
  3671. IncompleteImplWarning: gevent.os.getresgid
  3672. IncompleteImplWarning: gevent.os.getresuid
  3673. IncompleteImplWarning: gevent.os.getsid
  3674. IncompleteImplWarning: gevent.os.getuid
  3675. IncompleteImplWarning: gevent.os.initgroups
  3676. IncompleteImplWarning: gevent.os.isatty
  3677. IncompleteImplWarning: gevent.os.kill
  3678. IncompleteImplWarning: gevent.os.killpg
  3679. IncompleteImplWarning: gevent.os.lchown
  3680. IncompleteImplWarning: gevent.os.link
  3681. IncompleteImplWarning: gevent.os.listdir
  3682. IncompleteImplWarning: gevent.os.lseek
  3683. IncompleteImplWarning: gevent.os.lstat
  3684. IncompleteImplWarning: gevent.os.major
  3685. IncompleteImplWarning: gevent.os.makedev
  3686. IncompleteImplWarning: gevent.os.minor
  3687. IncompleteImplWarning: gevent.os.mkdir
  3688. IncompleteImplWarning: gevent.os.mkfifo
  3689. IncompleteImplWarning: gevent.os.mknod
  3690. IncompleteImplWarning: gevent.os.nice
  3691. IncompleteImplWarning: gevent.os.open
  3692. IncompleteImplWarning: gevent.os.openpty
  3693. IncompleteImplWarning: gevent.os.pathconf
  3694. IncompleteImplWarning: gevent.os.pathconf_names
  3695. IncompleteImplWarning: gevent.os.pipe
  3696. IncompleteImplWarning: gevent.os.popen
  3697. IncompleteImplWarning: gevent.os.putenv
  3698. IncompleteImplWarning: gevent.os.read
  3699. IncompleteImplWarning: gevent.os.readlink
  3700. IncompleteImplWarning: gevent.os.remove
  3701. IncompleteImplWarning: gevent.os.rename
  3702. IncompleteImplWarning: gevent.os.rmdir
  3703. IncompleteImplWarning: gevent.os.setegid
  3704. IncompleteImplWarning: gevent.os.seteuid
  3705. IncompleteImplWarning: gevent.os.setgid
  3706. IncompleteImplWarning: gevent.os.setgroups
  3707. IncompleteImplWarning: gevent.os.setpgid
  3708. IncompleteImplWarning: gevent.os.setpgrp
  3709. IncompleteImplWarning: gevent.os.setregid
  3710. IncompleteImplWarning: gevent.os.setresgid
  3711. IncompleteImplWarning: gevent.os.setresuid
  3712. IncompleteImplWarning: gevent.os.setreuid
  3713. IncompleteImplWarning: gevent.os.setsid
  3714. IncompleteImplWarning: gevent.os.setuid
  3715. IncompleteImplWarning: gevent.os.stat
  3716. IncompleteImplWarning: gevent.os.stat_float_times
  3717. IncompleteImplWarning: gevent.os.stat_result
  3718. IncompleteImplWarning: gevent.os.statvfs
  3719. IncompleteImplWarning: gevent.os.statvfs_result
  3720. IncompleteImplWarning: gevent.os.strerror
  3721. IncompleteImplWarning: gevent.os.symlink
  3722. IncompleteImplWarning: gevent.os.sysconf
  3723. IncompleteImplWarning: gevent.os.sysconf_names
  3724. IncompleteImplWarning: gevent.os.system
  3725. IncompleteImplWarning: gevent.os.tcgetpgrp
  3726. IncompleteImplWarning: gevent.os.tcsetpgrp
  3727. IncompleteImplWarning: gevent.os.tempnam
  3728. IncompleteImplWarning: gevent.os.times
  3729. IncompleteImplWarning: gevent.os.tmpfile
  3730. IncompleteImplWarning: gevent.os.tmpnam
  3731. IncompleteImplWarning: gevent.os.ttyname
  3732. IncompleteImplWarning: gevent.os.umask
  3733. IncompleteImplWarning: gevent.os.uname
  3734. IncompleteImplWarning: gevent.os.unlink
  3735. IncompleteImplWarning: gevent.os.unsetenv
  3736. IncompleteImplWarning: gevent.os.urandom
  3737. IncompleteImplWarning: gevent.os.utime
  3738. IncompleteImplWarning: gevent.os.wait
  3739. IncompleteImplWarning: gevent.os.wait3
  3740. IncompleteImplWarning: gevent.os.wait4
  3741. IncompleteImplWarning: gevent.os.write
  3742. IncompleteImplWarning: gevent.os.makedirs
  3743. IncompleteImplWarning: gevent.os.removedirs
  3744. IncompleteImplWarning: gevent.os.renames
  3745. IncompleteImplWarning: gevent.os.walk
  3746. IncompleteImplWarning: gevent.os.execl
  3747. IncompleteImplWarning: gevent.os.execle
  3748. IncompleteImplWarning: gevent.os.execlp
  3749. IncompleteImplWarning: gevent.os.execlpe
  3750. IncompleteImplWarning: gevent.os.execvp
  3751. IncompleteImplWarning: gevent.os.execvpe
  3752. IncompleteImplWarning: gevent.os.getenv
  3753. IncompleteImplWarning: gevent.os.spawnv
  3754. IncompleteImplWarning: gevent.os.spawnve
  3755. IncompleteImplWarning: gevent.os.spawnl
  3756. IncompleteImplWarning: gevent.os.spawnle
  3757. IncompleteImplWarning: gevent.os.spawnvp
  3758. IncompleteImplWarning: gevent.os.spawnvpe
  3759. IncompleteImplWarning: gevent.os.spawnlp
  3760. IncompleteImplWarning: gevent.os.spawnlpe
  3761. IncompleteImplWarning: gevent.os.popen2
  3762. IncompleteImplWarning: gevent.os.popen3
  3763. IncompleteImplWarning: gevent.os.popen4
  3764. .....IncompleteImplWarning: gevent.select.KQ_EV_ADD
  3765. IncompleteImplWarning: gevent.select.KQ_EV_CLEAR
  3766. IncompleteImplWarning: gevent.select.KQ_EV_DELETE
  3767. IncompleteImplWarning: gevent.select.KQ_EV_DISABLE
  3768. IncompleteImplWarning: gevent.select.KQ_EV_ENABLE
  3769. IncompleteImplWarning: gevent.select.KQ_EV_EOF
  3770. IncompleteImplWarning: gevent.select.KQ_EV_ERROR
  3771. IncompleteImplWarning: gevent.select.KQ_EV_FLAG1
  3772. IncompleteImplWarning: gevent.select.KQ_EV_ONESHOT
  3773. IncompleteImplWarning: gevent.select.KQ_EV_SYSFLAGS
  3774. IncompleteImplWarning: gevent.select.KQ_FILTER_AIO
  3775. IncompleteImplWarning: gevent.select.KQ_FILTER_PROC
  3776. IncompleteImplWarning: gevent.select.KQ_FILTER_READ
  3777. IncompleteImplWarning: gevent.select.KQ_FILTER_SIGNAL
  3778. IncompleteImplWarning: gevent.select.KQ_FILTER_TIMER
  3779. IncompleteImplWarning: gevent.select.KQ_FILTER_VNODE
  3780. IncompleteImplWarning: gevent.select.KQ_FILTER_WRITE
  3781. IncompleteImplWarning: gevent.select.KQ_NOTE_ATTRIB
  3782. IncompleteImplWarning: gevent.select.KQ_NOTE_CHILD
  3783. IncompleteImplWarning: gevent.select.KQ_NOTE_DELETE
  3784. IncompleteImplWarning: gevent.select.KQ_NOTE_EXEC
  3785. IncompleteImplWarning: gevent.select.KQ_NOTE_EXIT
  3786. IncompleteImplWarning: gevent.select.KQ_NOTE_EXTEND
  3787. IncompleteImplWarning: gevent.select.KQ_NOTE_FORK
  3788. IncompleteImplWarning: gevent.select.KQ_NOTE_LINK
  3789. IncompleteImplWarning: gevent.select.KQ_NOTE_LOWAT
  3790. IncompleteImplWarning: gevent.select.KQ_NOTE_PCTRLMASK
  3791. IncompleteImplWarning: gevent.select.KQ_NOTE_PDATAMASK
  3792. IncompleteImplWarning: gevent.select.KQ_NOTE_RENAME
  3793. IncompleteImplWarning: gevent.select.KQ_NOTE_REVOKE
  3794. IncompleteImplWarning: gevent.select.KQ_NOTE_TRACK
  3795. IncompleteImplWarning: gevent.select.KQ_NOTE_TRACKERR
  3796. IncompleteImplWarning: gevent.select.KQ_NOTE_WRITE
  3797. IncompleteImplWarning: gevent.select.PIPE_BUF
  3798. IncompleteImplWarning: gevent.select.POLLERR
  3799. IncompleteImplWarning: gevent.select.POLLHUP
  3800. IncompleteImplWarning: gevent.select.POLLNVAL
  3801. IncompleteImplWarning: gevent.select.POLLPRI
  3802. IncompleteImplWarning: gevent.select.POLLRDBAND
  3803. IncompleteImplWarning: gevent.select.POLLRDNORM
  3804. IncompleteImplWarning: gevent.select.POLLWRBAND
  3805. IncompleteImplWarning: gevent.select.POLLWRNORM
  3806. IncompleteImplWarning: gevent.select.kevent
  3807. IncompleteImplWarning: gevent.select.kqueue
  3808. ..IncompleteImplWarning: gevent.signal.ITIMER_PROF
  3809. IncompleteImplWarning: gevent.signal.ITIMER_REAL
  3810. IncompleteImplWarning: gevent.signal.ITIMER_VIRTUAL
  3811. IncompleteImplWarning: gevent.signal.ItimerError
  3812. IncompleteImplWarning: gevent.signal.NSIG
  3813. IncompleteImplWarning: gevent.signal.SIGABRT
  3814. IncompleteImplWarning: gevent.signal.SIGALRM
  3815. IncompleteImplWarning: gevent.signal.SIGBUS
  3816. IncompleteImplWarning: gevent.signal.SIGCHLD
  3817. IncompleteImplWarning: gevent.signal.SIGCONT
  3818. IncompleteImplWarning: gevent.signal.SIGEMT
  3819. IncompleteImplWarning: gevent.signal.SIGFPE
  3820. IncompleteImplWarning: gevent.signal.SIGHUP
  3821. IncompleteImplWarning: gevent.signal.SIGILL
  3822. IncompleteImplWarning: gevent.signal.SIGINFO
  3823. IncompleteImplWarning: gevent.signal.SIGINT
  3824. IncompleteImplWarning: gevent.signal.SIGIO
  3825. IncompleteImplWarning: gevent.signal.SIGIOT
  3826. IncompleteImplWarning: gevent.signal.SIGKILL
  3827. IncompleteImplWarning: gevent.signal.SIGPIPE
  3828. IncompleteImplWarning: gevent.signal.SIGPROF
  3829. IncompleteImplWarning: gevent.signal.SIGQUIT
  3830. IncompleteImplWarning: gevent.signal.SIGSEGV
  3831. IncompleteImplWarning: gevent.signal.SIGSTOP
  3832. IncompleteImplWarning: gevent.signal.SIGSYS
  3833. IncompleteImplWarning: gevent.signal.SIGTERM
  3834. IncompleteImplWarning: gevent.signal.SIGTRAP
  3835. IncompleteImplWarning: gevent.signal.SIGTSTP
  3836. IncompleteImplWarning: gevent.signal.SIGTTIN
  3837. IncompleteImplWarning: gevent.signal.SIGTTOU
  3838. IncompleteImplWarning: gevent.signal.SIGURG
  3839. IncompleteImplWarning: gevent.signal.SIGUSR1
  3840. IncompleteImplWarning: gevent.signal.SIGUSR2
  3841. IncompleteImplWarning: gevent.signal.SIGVTALRM
  3842. IncompleteImplWarning: gevent.signal.SIGWINCH
  3843. IncompleteImplWarning: gevent.signal.SIGXCPU
  3844. IncompleteImplWarning: gevent.signal.SIGXFSZ
  3845. IncompleteImplWarning: gevent.signal.SIG_DFL
  3846. IncompleteImplWarning: gevent.signal.SIG_IGN
  3847. IncompleteImplWarning: gevent.signal.alarm
  3848. IncompleteImplWarning: gevent.signal.default_int_handler
  3849. IncompleteImplWarning: gevent.signal.getitimer
  3850. IncompleteImplWarning: gevent.signal.pause
  3851. IncompleteImplWarning: gevent.signal.set_wakeup_fd
  3852. IncompleteImplWarning: gevent.signal.setitimer
  3853. IncompleteImplWarning: gevent.signal.siginterrupt
  3854. .IncompleteImplWarning: gevent.socket.CAPI
  3855. ...IncompleteImplWarning: gevent.thread.allocate
  3856. IncompleteImplWarning: gevent.thread.exit_thread
  3857. IncompleteImplWarning: gevent.thread.interrupt_main
  3858. IncompleteImplWarning: gevent.thread.start_new
  3859. .IncompleteImplWarning: gevent.threading.activeCount
  3860. IncompleteImplWarning: gevent.threading.active_count
  3861. IncompleteImplWarning: gevent.threading.Condition
  3862. IncompleteImplWarning: gevent.threading.currentThread
  3863. IncompleteImplWarning: gevent.threading.current_thread
  3864. IncompleteImplWarning: gevent.threading.enumerate
  3865. IncompleteImplWarning: gevent.threading.Event
  3866. IncompleteImplWarning: gevent.threading.Lock
  3867. IncompleteImplWarning: gevent.threading.RLock
  3868. IncompleteImplWarning: gevent.threading.Semaphore
  3869. IncompleteImplWarning: gevent.threading.BoundedSemaphore
  3870. IncompleteImplWarning: gevent.threading.Thread
  3871. IncompleteImplWarning: gevent.threading.Timer
  3872. IncompleteImplWarning: gevent.threading.setprofile
  3873. IncompleteImplWarning: gevent.threading.settrace
  3874. IncompleteImplWarning: gevent.threading.local
  3875. IncompleteImplWarning: gevent.threading.stack_size
  3876. ......
  3877. ----------------------------------------------------------------------
  3878. Ran 43 tests in 1.557s
  3879.  
  3880. OK
  3881.  
  3882. - /usr/local/bin/python2.7 -u test__all__.py [took 3.3s]
  3883. + /usr/local/bin/python2.7 -u test__backdoor.py
  3884. + /usr/local/bin/python2.7 -u test__core.py
  3885. + /usr/local/bin/python2.7 -u test__core_async.py
  3886. + /usr/local/bin/python2.7 -u test__core_callback.py
  3887. | /usr/local/bin/python2.7 -u test__core.py
  3888. .......
  3889. ----------------------------------------------------------------------
  3890. Ran 7 tests in 0.007s
  3891.  
  3892. OK
  3893.  
  3894. - /usr/local/bin/python2.7 -u test__core.py [took 0.4s]
  3895. + /usr/local/bin/python2.7 -u test__core_fork.py
  3896. - /usr/local/bin/python2.7 -u test__core_callback.py [took 1.8s]
  3897. + /usr/local/bin/python2.7 -u test__core_loop_run.py
  3898. | /usr/local/bin/python2.7 -u test__core_loop_run.py
  3899. must exit immediatelly...
  3900. ...and once more...
  3901. ..done
  3902. must exit after 0.5 seconds.
  3903.  
  3904. - /usr/local/bin/python2.7 -u test__core_loop_run.py [took 0.7s]
  3905. | /usr/local/bin/python2.7 -u test__backdoor.py
  3906. .....
  3907. ----------------------------------------------------------------------
  3908. Ran 5 tests in 0.973s
  3909.  
  3910. OK
  3911.  
  3912. - /usr/local/bin/python2.7 -u test__backdoor.py [took 4.3s]
  3913. - /usr/local/bin/python2.7 -u test__core_fork.py [took 2.7s]
  3914. | /usr/local/bin/python2.7 -u test__core_async.py
  3915. Watcher <async at 0x88536d6e0c8> reacted after 0.023457 seconds
  3916.  
  3917. - /usr/local/bin/python2.7 -u test__core_async.py [took 4.5s]
  3918. + /usr/local/bin/python2.7 -u test__core_loop_run_sig_mod.py
  3919. + /usr/local/bin/python2.7 -u test__core_stat.py
  3920. + /usr/local/bin/python2.7 -u test__core_timer.py
  3921. + /usr/local/bin/python2.7 -u test__core_watcher.py
  3922. | /usr/local/bin/python2.7 -u test__core_watcher.py
  3923. .
  3924. ----------------------------------------------------------------------
  3925. Ran 1 test in 0.039s
  3926.  
  3927. OK
  3928.  
  3929. - /usr/local/bin/python2.7 -u test__core_watcher.py [took 0.3s]
  3930. + /usr/local/bin/python2.7 -u test__destroy.py
  3931. | /usr/local/bin/python2.7 -u test__core_loop_run_sig_mod.py
  3932. must exit immediatelly...
  3933. ...and once more...
  3934. ..done
  3935. must exit after 0.5 seconds.
  3936.  
  3937. - /usr/local/bin/python2.7 -u test__core_loop_run_sig_mod.py [took 0.9s]
  3938. + /usr/local/bin/python2.7 -u test__doctests.py
  3939. - /usr/local/bin/python2.7 -u test__destroy.py [took 0.4s]
  3940. + /usr/local/bin/python2.7 -u test__environ.py
  3941. | /usr/local/bin/python2.7 -u test__core_stat.py
  3942. Watcher <stat at 0x199cb1ea1050> reacted after 0.0505 seconds (write)
  3943. Watcher <stat at 0x199cb1ea1050> reacted after 0.0493 seconds (unlink)
  3944.  
  3945. - /usr/local/bin/python2.7 -u test__core_stat.py [took 1.2s]
  3946. - /usr/local/bin/python2.7 -u test__core_timer.py [took 1.6s]
  3947. - /usr/local/bin/python2.7 -u test__environ.py [took 0.9s]
  3948. + /usr/local/bin/python2.7 -u test__event.py
  3949. + /usr/local/bin/python2.7 -u test__example_echoserver.py
  3950. + /usr/local/bin/python2.7 -u test__example_portforwarder.py
  3951. | /usr/local/bin/python2.7 -u test__event.py
  3952. .......................
  3953. ----------------------------------------------------------------------
  3954. Ran 23 tests in 2.793s
  3955.  
  3956. OK
  3957.  
  3958. - /usr/local/bin/python2.7 -u test__event.py [took 1.8s]
  3959. + /usr/local/bin/python2.7 -u test__example_udp_client.py
  3960. | /usr/local/bin/python2.7 -u test__example_udp_client.py
  3961. + /usr/local/bin/python2.7 -u udp_client.py Test_udp_client
  3962. Sending 15 bytes to localhost:9000
  3963. 127.0.0.1:9000: got 'reply-from-server'
  3964. - /usr/local/bin/python2.7 -u udp_client.py Test_udp_client [took 0.2s]
  3965. .
  3966. ----------------------------------------------------------------------
  3967. Ran 1 test in 0.228s
  3968.  
  3969. OK
  3970.  
  3971. - /usr/local/bin/python2.7 -u test__example_udp_client.py [took 0.5s]
  3972. + /usr/local/bin/python2.7 -u test__example_udp_server.py
  3973. | /usr/local/bin/python2.7 -u test__example_portforwarder.py
  3974. + /usr/local/bin/python2.7 -u portforwarder.py 127.0.0.1:10011 127.0.0.1:10012
  3975. Starting port forwarder 127.0.0.1:10011 -> 127.0.0.1:10012
  3976. 127.0.0.1:2461 accepted
  3977. 127.0.0.1:2461->127.0.0.1:10012: 'msg1'
  3978. got 'msg1'
  3979. Closing listener socket
  3980. 127.0.0.1:2461->127.0.0.1:10012: 'msg2'
  3981. 127.0.0.1:2461->127.0.0.1:10012: ''
  3982. got 'msg2'
  3983. got ''
  3984. .
  3985. ----------------------------------------------------------------------
  3986. Ran 1 test in 3.376s
  3987.  
  3988. OK
  3989.  
  3990. - /usr/local/bin/python2.7 -u test__example_portforwarder.py [took 3.9s]
  3991. + /usr/local/bin/python2.7 -u test__exc_info.py
  3992. | /usr/local/bin/python2.7 -u test__exc_info.py
  3993. ..
  3994. ----------------------------------------------------------------------
  3995. Ran 2 tests in 0.157s
  3996.  
  3997. OK
  3998.  
  3999. - /usr/local/bin/python2.7 -u test__exc_info.py [took 0.3s]
  4000. | /usr/local/bin/python2.7 -u test__example_echoserver.py
  4001. + /usr/local/bin/python2.7 -u echoserver.py
  4002. Starting echo server on port 16000
  4003. New connection from 127.0.0.1:1783
  4004. echoed 'hello\r\n'
  4005. New connection from 127.0.0.1:13464
  4006. echoed 'world\r\n'
  4007. client disconnected
  4008. client disconnected
  4009. .
  4010. ----------------------------------------------------------------------
  4011. Ran 1 test in 3.757s
  4012.  
  4013. OK
  4014.  
  4015. - /usr/local/bin/python2.7 -u test__example_echoserver.py [took 4.4s]
  4016. + /usr/local/bin/python2.7 -u test__execmodules.py
  4017. + /usr/local/bin/python2.7 -u test__fileobject.py
  4018. | /usr/local/bin/python2.7 -u test__fileobject.py
  4019. ......
  4020. ----------------------------------------------------------------------
  4021. Ran 6 tests in 0.044s
  4022.  
  4023. OK
  4024.  
  4025. - /usr/local/bin/python2.7 -u test__fileobject.py [took 0.3s]
  4026. + /usr/local/bin/python2.7 -u test__getaddrinfo_import.py
  4027. | /usr/local/bin/python2.7 -u test__execmodules.py
  4028. ......................................
  4029. ----------------------------------------------------------------------
  4030. Ran 38 tests in 0.489s
  4031.  
  4032. OK
  4033.  
  4034. - /usr/local/bin/python2.7 -u test__execmodules.py [took 0.6s]
  4035. + /usr/local/bin/python2.7 -u test__greenio.py
  4036. - /usr/local/bin/python2.7 -u test__getaddrinfo_import.py [took 0.4s]
  4037. | /usr/local/bin/python2.7 -u test__example_udp_server.py
  4038. + /usr/local/bin/python2.7 -u udp_server.py
  4039. Receiving datagrams on :9000
  4040. 127.0.0.1: got 'Test udp_server'
  4041. .
  4042. ----------------------------------------------------------------------
  4043. Ran 1 test in 3.848s
  4044.  
  4045. OK
  4046.  
  4047. - /usr/local/bin/python2.7 -u test__example_udp_server.py [took 4.3s]
  4048. + /usr/local/bin/python2.7 -u test__greenlet.py
  4049. + /usr/local/bin/python2.7 -u test__greenletset.py
  4050. | /usr/local/bin/python2.7 -u test__greenio.py
  4051. ..
  4052. ----------------------------------------------------------------------
  4053. Ran 2 tests in 0.267s
  4054.  
  4055. OK
  4056.  
  4057. - /usr/local/bin/python2.7 -u test__greenio.py [took 2.5s]
  4058. + /usr/local/bin/python2.7 -u test__greenness.py
  4059. | /usr/local/bin/python2.7 -u test__greenness.py
  4060. E
  4061. ======================================================================
  4062. ERROR: test_urllib2 (__main__.TestGreenness)
  4063. ----------------------------------------------------------------------
  4064. Traceback (most recent call last):
  4065. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
  4066. return method(self, *args, **kwargs)
  4067. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
  4068. return method(self, *args, **kwargs)
  4069. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
  4070. return method(self, *args, **kwargs)
  4071. File "test__greenness.py", line 50, in test_urllib2
  4072. self.httpd = BaseHTTPServer.HTTPServer(server_address, BaseHTTPServer.BaseHTTPRequestHandler)
  4073. File "/usr/local/lib/python2.7/SocketServer.py", line 420, in __init__
  4074. self.server_bind()
  4075. File "/usr/local/lib/python2.7/BaseHTTPServer.py", line 110, in server_bind
  4076. self.server_name = socket.getfqdn(host)
  4077. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socketcommon.py", line 307, in getfqdn
  4078. hostname, aliases, ipaddrs = gethostbyaddr(name)
  4079. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socketcommon.py", line 280, in gethostbyaddr
  4080. return get_hub().resolver.gethostbyaddr(ip_address)
  4081. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/resolver_thread.py", line 67, in gethostbyaddr
  4082. return self.pool.apply(_socket.gethostbyaddr, args, kwargs)
  4083. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pool.py", line 300, in apply
  4084. return self.spawn(func, *args, **kwds).get()
  4085. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/event.py", line 284, in get
  4086. result = self.hub.switch()
  4087. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 478, in switch
  4088. return _original_Hub.switch(self, *args)
  4089. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 585, in switch
  4090. return greenlet.switch(self)
  4091. Timeout: 1 second: test timed out
  4092.  
  4093. ----------------------------------------------------------------------
  4094. Ran 1 test in 1.020s
  4095.  
  4096. FAILED (errors=1)
  4097.  
  4098. ! /usr/local/bin/python2.7 -u test__greenness.py [code 1] [took 1.5s]
  4099. + /usr/local/bin/python2.7 -u test__hub.py
  4100. | /usr/local/bin/python2.7 -u test__hub.py
  4101. ........
  4102. ----------------------------------------------------------------------
  4103. Ran 8 tests in 0.679s
  4104.  
  4105. OK
  4106.  
  4107. - /usr/local/bin/python2.7 -u test__hub.py [took 0.9s]
  4108. + /usr/local/bin/python2.7 -u test__import_blocking_in_greenlet.py
  4109. - /usr/local/bin/python2.7 -u test__import_blocking_in_greenlet.py [took 0.5s]
  4110. + /usr/local/bin/python2.7 -u test__import_wait.py
  4111. | /usr/local/bin/python2.7 -u test__greenletset.py
  4112. ........
  4113. ----------------------------------------------------------------------
  4114. Ran 8 tests in 1.650s
  4115.  
  4116. OK
  4117.  
  4118. - /usr/local/bin/python2.7 -u test__greenletset.py [took 0.0s]
  4119. | /usr/local/bin/python2.7 -u test__greenlet.py
  4120. ..................................................
  4121. ----------------------------------------------------------------------
  4122. Ran 50 tests in 4.050s
  4123.  
  4124. OK
  4125.  
  4126. - /usr/local/bin/python2.7 -u test__greenlet.py [took 4.0s]
  4127. + /usr/local/bin/python2.7 -u test__issue230.py
  4128. + /usr/local/bin/python2.7 -u test__issue302monkey.py
  4129. | /usr/local/bin/python2.7 -u test__import_wait.py
  4130. Traceback (most recent call last):
  4131. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4132. result = self._run(*self.args, **self.kwargs)
  4133. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/_import_wait.py", line 20, in raise_name_error
  4134. raise NameError("ThisIsExpected")
  4135. NameError: ThisIsExpected
  4136. <Greenlet at 0x1b98c79449b0: raise_name_error> failed with NameError
  4137.  
  4138. - /usr/local/bin/python2.7 -u test__import_wait.py [took 0.6s]
  4139. + /usr/local/bin/python2.7 -u test__issue330.py
  4140. - /usr/local/bin/python2.7 -u test__issue330.py [took 0.2s]
  4141. + /usr/local/bin/python2.7 -u test__issue467.py
  4142. - /usr/local/bin/python2.7 -u test__issue230.py [took 1.0s]
  4143. - /usr/local/bin/python2.7 -u test__issue302monkey.py [took 1.3s]
  4144. + /usr/local/bin/python2.7 -u test__issue6.py
  4145. + /usr/local/bin/python2.7 -u test__issue600.py
  4146. | /usr/local/bin/python2.7 -u test__issue467.py
  4147. Traceback (most recent call last):
  4148. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4149. result = self._run(*self.args, **self.kwargs)
  4150. File "test__issue467.py", line 13, in worker
  4151. raise ValueError(i)
  4152. ValueError: 2
  4153. <Greenlet at 0x5531076fcd0: worker(2)> failed with ValueError
  4154.  
  4155. - /usr/local/bin/python2.7 -u test__issue467.py [took 0.2s]
  4156. + /usr/local/bin/python2.7 -u test__issue607.py
  4157. | /usr/local/bin/python2.7 -u test__issue607.py
  4158. ...
  4159. ----------------------------------------------------------------------
  4160. Ran 3 tests in 0.272s
  4161.  
  4162. OK
  4163.  
  4164. - /usr/local/bin/python2.7 -u test__issue607.py [took 0.0s]
  4165. - /usr/local/bin/python2.7 -u test__issue6.py [took 1.2s]
  4166. + /usr/local/bin/python2.7 -u test__issue639.py
  4167. + /usr/local/bin/python2.7 -u test__issues461_471.py
  4168. - /usr/local/bin/python2.7 -u test__issue639.py [took 0.2s]
  4169. + /usr/local/bin/python2.7 -u test__joinall.py
  4170. - /usr/local/bin/python2.7 -u test__joinall.py [took 0.2s]
  4171. | /usr/local/bin/python2.7 -u test__issues461_471.py
  4172. Traceback (most recent call last):
  4173. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4174. result = self._run(*self.args, **self.kwargs)
  4175. File "test__issues461_471.py", line 17, in task
  4176. sys.stdout.flush()
  4177. KeyboardInterrupt
  4178. <Greenlet at 0x8c89abeba50: task> failed with KeyboardInterrupt
  4179.  
  4180. - /usr/local/bin/python2.7 -u test__issues461_471.py [took 0.5s]
  4181. + /usr/local/bin/python2.7 -u test__local.py
  4182. + /usr/local/bin/python2.7 -u test__loop_callback.py
  4183. - /usr/local/bin/python2.7 -u test__loop_callback.py [took 0.2s]
  4184. - /usr/local/bin/python2.7 -u test__issue600.py [took 1.1s]
  4185. + /usr/local/bin/python2.7 -u test__makefile_ref.py
  4186. + /usr/local/bin/python2.7 -u test__memleak.py
  4187. | /usr/local/bin/python2.7 -u test__local.py
  4188. ...
  4189. ----------------------------------------------------------------------
  4190. Ran 3 tests in 0.012s
  4191.  
  4192. OK
  4193.  
  4194. - /usr/local/bin/python2.7 -u test__local.py [took 1.7s]
  4195. | /usr/local/bin/python2.7 -u test__memleak.py
  4196. ----------------------------------------------------------------------
  4197. Ran 0 tests in 0.000s
  4198.  
  4199. OK
  4200.  
  4201. - /usr/local/bin/python2.7 -u test__memleak.py [took 0.5s]
  4202. + /usr/local/bin/python2.7 -u test__monkey.py
  4203. + /usr/local/bin/python2.7 -u test__monkey_builtins_future.py
  4204. - /usr/local/bin/python2.7 -u test__monkey_builtins_future.py [took 0.3s]
  4205. + /usr/local/bin/python2.7 -u test__monkey_hub_in_thread.py
  4206. - /usr/local/bin/python2.7 -u test__monkey.py [took 0.8s]
  4207. + /usr/local/bin/python2.7 -u test__monkey_logging.py
  4208. - /usr/local/bin/python2.7 -u test__monkey_hub_in_thread.py [took 0.6s]
  4209. + /usr/local/bin/python2.7 -u test__monkey_multiple_imports.py
  4210. - /usr/local/bin/python2.7 -u test__monkey_logging.py [took 0.8s]
  4211. + /usr/local/bin/python2.7 -u test__monkey_sigchld.py
  4212. - /usr/local/bin/python2.7 -u test__monkey_multiple_imports.py [took 1.1s]
  4213. + /usr/local/bin/python2.7 -u test__monkey_sigchld_2.py
  4214. | /usr/local/bin/python2.7 -u test__makefile_ref.py
  4215. ..............
  4216. ----------------------------------------------------------------------
  4217. Ran 14 tests in 3.099s
  4218.  
  4219. OK
  4220.  
  4221. - /usr/local/bin/python2.7 -u test__makefile_ref.py [took 4.1s]
  4222. + /usr/local/bin/python2.7 -u test__nondefaultloop.py
  4223. - /usr/local/bin/python2.7 -u test__nondefaultloop.py [took 0.2s]
  4224. + /usr/local/bin/python2.7 -u test__order.py
  4225. - /usr/local/bin/python2.7 -u test__monkey_sigchld_2.py [took 0.4s]
  4226. + /usr/local/bin/python2.7 -u test__os.py
  4227. | /usr/local/bin/python2.7 -u test__order.py
  4228. .....
  4229. ----------------------------------------------------------------------
  4230. Ran 5 tests in 0.063s
  4231.  
  4232. OK
  4233.  
  4234. - /usr/local/bin/python2.7 -u test__order.py [took 0.3s]
  4235. + /usr/local/bin/python2.7 -u test__pool.py
  4236. | /usr/local/bin/python2.7 -u test__monkey_sigchld.py
  4237. Traceback (most recent call last):
  4238. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4239. result = self._run(*self.args, **self.kwargs)
  4240. File "test__monkey_sigchld.py", line 20, in handle_sigchld
  4241. raise TypeError("This should be ignored but printed")
  4242. TypeError: This should be ignored but printed
  4243. <Greenlet at 0x10ffaeac87d0: handle_sigchld(20, None)> failed with TypeError
  4244.  
  4245. Traceback (most recent call last):
  4246. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4247. result = self._run(*self.args, **self.kwargs)
  4248. File "test__monkey_sigchld.py", line 20, in handle_sigchld
  4249. raise TypeError("This should be ignored but printed")
  4250. TypeError: This should be ignored but printed
  4251. <Greenlet at 0x10ffaeac87d0: handle_sigchld(20, None)> failed with TypeError
  4252.  
  4253. - /usr/local/bin/python2.7 -u test__monkey_sigchld.py [took 2.5s]
  4254. + /usr/local/bin/python2.7 -u test__pywsgi.py
  4255. | /usr/local/bin/python2.7 -u test__pywsgi.py
  4256. No handlers could be found for logger "gevent.pywsgi"
  4257. ..............Traceback (most recent call last):
  4258. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 854, in handle_one_response
  4259. self.run_application()
  4260. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 841, in run_application
  4261. self.process_result()
  4262. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 832, in process_result
  4263. self.write(data)
  4264. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 681, in write
  4265. raise AssertionError('The %s response must have no body' % self.code)
  4266. AssertionError: The 304 response must have no body
  4267. {'GATEWAY_INTERFACE': 'CGI/1.1',
  4268. 'HTTP_CONNECTION': 'close',
  4269. 'HTTP_HOST': 'localhost',
  4270. 'PATH_INFO': '/',
  4271. 'QUERY_STRING': '',
  4272. 'REMOTE_ADDR': '127.0.0.1',
  4273. 'REMOTE_PORT': '37353',
  4274. 'REQUEST_METHOD': 'GET',
  4275. 'SCRIPT_NAME': '',
  4276. 'SERVER_NAME': 'localhost',
  4277. 'SERVER_PORT': '20642',
  4278. 'SERVER_PROTOCOL': 'HTTP/1.1',
  4279. 'SERVER_SOFTWARE': 'gevent/1.1 Python/2.7',
  4280. 'wsgi.errors': <gevent.pywsgi.LoggingLogAdapter object at 0x1e8717ef64d0>,
  4281. 'wsgi.input': <gevent.pywsgi.Input object at 0x1e86e3fb5f58>,
  4282. 'wsgi.multiprocess': False,
  4283. 'wsgi.multithread': False,
  4284. 'wsgi.run_once': False,
  4285. 'wsgi.url_scheme': 'http',
  4286. 'wsgi.version': (1, 0)} failed with AssertionError
  4287.  
  4288. ..E..............Failed to parse chunk size: ''
  4289. Response.read failed to read the body:
  4290. <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>
  4291. Traceback (most recent call last):
  4292. File "test__pywsgi.py", line 186, in read
  4293. self.chunks = list(iread_chunks(fd))
  4294. File "test__pywsgi.py", line 102, in iread_chunks
  4295. chunk_size = int(chunk_size, 16)
  4296. ValueError: invalid literal for int() with base 16: ''
  4297. ....E...127.0.0.1 - - [2016-02-09 13:53:59] "POST / HTTP/1.1" 200 123 0.001422
  4298. .127.0.0.1 - - [2016-02-09 13:53:59] "GET / HTTP/1.1" 200 115 0.001267
  4299. ...........................E..Traceback (most recent call last):
  4300. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 854, in handle_one_response
  4301. self.run_application()
  4302. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 840, in run_application
  4303. self.result = self.application(self.environ, self.start_response)
  4304. File "test__pywsgi.py", line 767, in application
  4305. ('Custom-Header', self.header)])
  4306. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 748, in start_response
  4307. raise UnicodeError("The value must be a native string", header, value)
  4308. UnicodeError: ('The value must be a native string', 'Custom-Header', u'\u1f4a3')
  4309. {'GATEWAY_INTERFACE': 'CGI/1.1',
  4310. 'PATH_INFO': '/',
  4311. 'QUERY_STRING': '',
  4312. 'REMOTE_ADDR': '127.0.0.1',
  4313. 'REMOTE_PORT': '31632',
  4314. 'REQUEST_METHOD': 'GET',
  4315. 'SCRIPT_NAME': '',
  4316. 'SERVER_NAME': 'localhost',
  4317. 'SERVER_PORT': '2187',
  4318. 'SERVER_PROTOCOL': 'HTTP/1.1',
  4319. 'SERVER_SOFTWARE': 'gevent/1.1 Python/2.7',
  4320. 'wsgi.errors': <gevent.pywsgi.LoggingLogAdapter object at 0x1e8662f975d0>,
  4321. 'wsgi.input': <gevent.pywsgi.Input object at 0x1e8622c18db8>,
  4322. 'wsgi.multiprocess': False,
  4323. 'wsgi.multithread': False,
  4324. 'wsgi.run_once': False,
  4325. 'wsgi.url_scheme': 'http',
  4326. 'wsgi.version': (1, 0)} failed with UnicodeError
  4327.  
  4328. .127.0.0.1 - - [2016-02-09 13:53:59] "GET / HTTP/1.1" 200 75 0.000411
  4329. <socket fileno=9 sock=127.0.0.1:26504 peer=127.0.0.1:5600>: Invalid request: '<policy-file-XXXuest/>'
  4330. ....Traceback (most recent call last):
  4331. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 854, in handle_one_response
  4332. self.run_application()
  4333. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 840, in run_application
  4334. self.result = self.application(self.environ, self.start_response)
  4335. File "test__pywsgi.py", line 994, in application
  4336. write('body')
  4337. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/pywsgi.py", line 681, in write
  4338. raise AssertionError('The %s response must have no body' % self.code)
  4339. AssertionError: The 304 response must have no body
  4340. {'GATEWAY_INTERFACE': 'CGI/1.1',
  4341. 'HTTP_CONNECTION': 'close',
  4342. 'HTTP_HOST': 'localhost',
  4343. 'PATH_INFO': '/',
  4344. 'QUERY_STRING': '',
  4345. 'REMOTE_ADDR': '127.0.0.1',
  4346. 'REMOTE_PORT': '43685',
  4347. 'REQUEST_METHOD': 'GET',
  4348. 'SCRIPT_NAME': '',
  4349. 'SERVER_NAME': 'localhost',
  4350. 'SERVER_PORT': '48773',
  4351. 'SERVER_PROTOCOL': 'HTTP/1.1',
  4352. 'SERVER_SOFTWARE': 'gevent/1.1 Python/2.7',
  4353. 'wsgi.errors': <gevent.pywsgi.LoggingLogAdapter object at 0x1e8662f97710>,
  4354. 'wsgi.input': <gevent.pywsgi.Input object at 0x1e8622c18db8>,
  4355. 'wsgi.multiprocess': False,
  4356. 'wsgi.multithread': False,
  4357. 'wsgi.run_once': False,
  4358. 'wsgi.url_scheme': 'http',
  4359. 'wsgi.version': (1, 0)} failed with AssertionError
  4360.  
  4361. ..E.
  4362. ======================================================================
  4363. ERROR: test_connection_close (__main__.TestBytearray)
  4364. ----------------------------------------------------------------------
  4365. Traceback (most recent call last):
  4366. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
  4367. return method(self, *args, **kwargs)
  4368. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
  4369. return method(self, *args, **kwargs)
  4370. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
  4371. return method(self, *args, **kwargs)
  4372. File "test__pywsgi.py", line 368, in test_connection_close
  4373. result = fd.readline()
  4374. File "test__pywsgi.py", line 222, in readline
  4375. result = self.obj.readline(*args)
  4376. File "/usr/local/lib/python2.7/socket.py", line 451, in readline
  4377. data = self._sock.recv(self._rbufsize)
  4378. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 266, in recv
  4379. return sock.recv(*args)
  4380. error: [Errno 54] Connection reset by peer
  4381.  
  4382. ======================================================================
  4383. ERROR: test_connection_close (__main__.TestExplicitContentLength)
  4384. ----------------------------------------------------------------------
  4385. Traceback (most recent call last):
  4386. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
  4387. return method(self, *args, **kwargs)
  4388. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
  4389. return method(self, *args, **kwargs)
  4390. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
  4391. return method(self, *args, **kwargs)
  4392. File "test__pywsgi.py", line 368, in test_connection_close
  4393. result = fd.readline()
  4394. File "test__pywsgi.py", line 222, in readline
  4395. result = self.obj.readline(*args)
  4396. File "/usr/local/lib/python2.7/socket.py", line 451, in readline
  4397. data = self._sock.recv(self._rbufsize)
  4398. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 266, in recv
  4399. return sock.recv(*args)
  4400. error: [Errno 54] Connection reset by peer
  4401.  
  4402. ======================================================================
  4403. ERROR: test_connection_close (__main__.TestNoChunks)
  4404. ----------------------------------------------------------------------
  4405. Traceback (most recent call last):
  4406. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
  4407. return method(self, *args, **kwargs)
  4408. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
  4409. return method(self, *args, **kwargs)
  4410. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
  4411. return method(self, *args, **kwargs)
  4412. File "test__pywsgi.py", line 368, in test_connection_close
  4413. result = fd.readline()
  4414. File "test__pywsgi.py", line 222, in readline
  4415. result = self.obj.readline(*args)
  4416. File "/usr/local/lib/python2.7/socket.py", line 451, in readline
  4417. data = self._sock.recv(self._rbufsize)
  4418. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 266, in recv
  4419. return sock.recv(*args)
  4420. error: [Errno 54] Connection reset by peer
  4421.  
  4422. ======================================================================
  4423. ERROR: test_connection_close (__main__.TestYield)
  4424. ----------------------------------------------------------------------
  4425. Traceback (most recent call last):
  4426. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
  4427. return method(self, *args, **kwargs)
  4428. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
  4429. return method(self, *args, **kwargs)
  4430. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 151, in wrapped
  4431. return method(self, *args, **kwargs)
  4432. File "test__pywsgi.py", line 368, in test_connection_close
  4433. result = fd.readline()
  4434. File "test__pywsgi.py", line 222, in readline
  4435. result = self.obj.readline(*args)
  4436. File "/usr/local/lib/python2.7/socket.py", line 451, in readline
  4437. data = self._sock.recv(self._rbufsize)
  4438. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 266, in recv
  4439. return sock.recv(*args)
  4440. error: [Errno 54] Connection reset by peer
  4441.  
  4442. ----------------------------------------------------------------------
  4443. Ran 79 tests in 1.441s
  4444.  
  4445. FAILED (errors=4)
  4446.  
  4447. ! /usr/local/bin/python2.7 -u test__pywsgi.py [code 1] [took 1.9s]
  4448. + /usr/local/bin/python2.7 -u test__queue.py
  4449. | /usr/local/bin/python2.7 -u test__queue.py
  4450. ............................................................
  4451. ----------------------------------------------------------------------
  4452. Ran 60 tests in 1.499s
  4453.  
  4454. OK
  4455.  
  4456. - /usr/local/bin/python2.7 -u test__queue.py [took 2.0s]
  4457. + /usr/local/bin/python2.7 -u test__real_greenlet.py
  4458. | /usr/local/bin/python2.7 -u test__os.py
  4459. ....
  4460. ----------------------------------------------------------------------
  4461. Ran 4 tests in 5.215s
  4462.  
  4463. OK
  4464.  
  4465. - /usr/local/bin/python2.7 -u test__os.py [took 5.5s]
  4466. | /usr/local/bin/python2.7 -u test__real_greenlet.py
  4467. Your greenlet version: 0.4.9
  4468.  
  4469. - /usr/local/bin/python2.7 -u test__real_greenlet.py [took 0.2s]
  4470. + /usr/local/bin/python2.7 -u test__refcount.py
  4471. + /usr/local/bin/python2.7 -u test__refcount_core.py
  4472. - /usr/local/bin/python2.7 -u test__refcount_core.py [took 0.1s]
  4473. + /usr/local/bin/python2.7 -u test__select.py
  4474. | /usr/local/bin/python2.7 -u test__select.py
  4475. FF.......
  4476. ======================================================================
  4477. FAIL: test_outer_timeout_is_not_lost (__main__.TestPollRead)
  4478. ----------------------------------------------------------------------
  4479. Traceback (most recent call last):
  4480. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 535, in test_outer_timeout_is_not_lost
  4481. raise AssertionError('must raise Timeout (returned %r)' % (result, ))
  4482. AssertionError: must raise Timeout (returned None)
  4483.  
  4484. ======================================================================
  4485. FAIL: test_returns_none_after_timeout (__main__.TestPollRead)
  4486. ----------------------------------------------------------------------
  4487. Traceback (most recent call last):
  4488. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 276, in wrapped
  4489. return method(self, *args, **kwargs)
  4490. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 265, in wrapped
  4491. return method(self, *args, **kwargs)
  4492. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 551, in test_returns_none_after_timeout
  4493. result = self._wait_and_check()
  4494. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 524, in _wait_and_check
  4495. self._default_delay_max_adj)
  4496. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 507, in _check_delay_bounds
  4497. self.assertGreaterEqual(delay, timeout - delay_min_adj)
  4498. AssertionError: 0.0005037784576416016 not greater than or equal to 0.1
  4499.  
  4500. ----------------------------------------------------------------------
  4501. Ran 9 tests in 0.506s
  4502.  
  4503. FAILED (failures=2)
  4504.  
  4505. ! /usr/local/bin/python2.7 -u test__select.py [code 1] [took 0.8s]
  4506. + /usr/local/bin/python2.7 -u test__semaphore.py
  4507. | /usr/local/bin/python2.7 -u test__refcount.py
  4508. ..
  4509. ----------------------------------------------------------------------
  4510. Ran 2 tests in 0.846s
  4511.  
  4512. OK
  4513.  
  4514. - /usr/local/bin/python2.7 -u test__refcount.py [took 1.2s]
  4515. + /usr/local/bin/python2.7 -u test__server.py
  4516. | /usr/local/bin/python2.7 -u test__semaphore.py
  4517. .....
  4518. ----------------------------------------------------------------------
  4519. Ran 5 tests in 0.399s
  4520.  
  4521. OK
  4522.  
  4523. - /usr/local/bin/python2.7 -u test__semaphore.py [took 0.9s]
  4524. + /usr/local/bin/python2.7 -u test__server_pywsgi.py
  4525. | /usr/local/bin/python2.7 -u test__server.py
  4526. .....................................
  4527. ----------------------------------------------------------------------
  4528. Ran 37 tests in 2.148s
  4529.  
  4530. OK
  4531.  
  4532. - /usr/local/bin/python2.7 -u test__server.py [took 2.6s]
  4533. + /usr/local/bin/python2.7 -u test__signal.py
  4534. | /usr/local/bin/python2.7 -u test__server_pywsgi.py
  4535. 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000682
  4536. 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000405
  4537. ...127.0.0.1 - - [2016-02-09 13:54:05] "GET / HTTP/1.0" 500 161 0.000386
  4538. .127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000361
  4539. .127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000323
  4540. .127.0.0.1 - - [2016-02-09 13:54:05] "GET / HTTP/1.0" 000 - 0.000033
  4541. .127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000317
  4542. 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000333
  4543. ..127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000412
  4544. 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000496
  4545. .127.0.0.1 - - [2016-02-09 13:54:05] "GET / HTTP/1.0" 200 98 0.000481
  4546. 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000399
  4547. 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000459
  4548. .127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000432
  4549. 127.0.0.1 - - [2016-02-09 13:54:05] "GET /ping HTTP/1.0" 200 98 0.000368
  4550. ...127.0.0.1 - - [2016-02-09 13:54:05] "GET / HTTP/1.0" 500 161 0.000550
  4551. .127.0.0.1 - - [2016-02-09 13:54:06] "GET /short HTTP/1.0" 200 94 0.508026
  4552. 127.0.0.1 - - [2016-02-09 13:54:06] "GET /ping HTTP/1.0" 200 98 0.000618
  4553. 127.0.0.1 - - [2016-02-09 13:54:06] "GET /ping HTTP/1.0" 200 98 0.000528
  4554. 127.0.0.1 - - [2016-02-09 13:54:06] "GET /ping HTTP/1.0" 200 98 0.000582
  4555. 127.0.0.1 - - [2016-02-09 13:54:06] "GET /ping HTTP/1.0" 200 98 0.000581
  4556. 127.0.0.1 - - [2016-02-09 13:54:07] "GET /long HTTP/1.0" 500 161 1.526392
  4557. .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000626
  4558. .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000560
  4559. .127.0.0.1 - - [2016-02-09 13:54:07] "GET / HTTP/1.0" 000 - 0.000052
  4560. .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000546
  4561. 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000736
  4562. ..127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000313
  4563. 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000359
  4564. .127.0.0.1 - - [2016-02-09 13:54:07] "GET / HTTP/1.0" 200 98 0.000347
  4565. 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000412
  4566. 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000317
  4567. .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000364
  4568. 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000357
  4569. ...127.0.0.1 - - [2016-02-09 13:54:07] "GET / HTTP/1.0" 500 161 0.000395
  4570. .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000357
  4571. .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000339
  4572. .127.0.0.1 - - [2016-02-09 13:54:07] "GET / HTTP/1.0" 000 - 0.000030
  4573. .127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000348
  4574. 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000376
  4575. ..127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000357
  4576. 127.0.0.1 - - [2016-02-09 13:54:07] "GET /ping HTTP/1.0" 200 98 0.000359
  4577. .127.0.0.1 - - [2016-02-09 13:54:08] "GET / HTTP/1.0" 200 98 0.000355
  4578. 127.0.0.1 - - [2016-02-09 13:54:08] "GET /ping HTTP/1.0" 200 98 0.000649
  4579. 127.0.0.1 - - [2016-02-09 13:54:08] "GET /ping HTTP/1.0" 200 98 0.000352
  4580. ..
  4581. ----------------------------------------------------------------------
  4582. Ran 35 tests in 2.751s
  4583.  
  4584. OK
  4585.  
  4586. - /usr/local/bin/python2.7 -u test__server_pywsgi.py [took 3.0s]
  4587. + /usr/local/bin/python2.7 -u test__sleep0.py
  4588. - /usr/local/bin/python2.7 -u test__sleep0.py [took 0.2s]
  4589. + /usr/local/bin/python2.7 -u test__socket.py
  4590. | /usr/local/bin/python2.7 -u test__signal.py
  4591. Traceback (most recent call last):
  4592. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 274, in handle
  4593. self.handler(*self.args, **self.kwargs)
  4594. File "test__signal.py", line 11, in raise_Expected
  4595. raise Expected('TestSignal')
  4596. Expected: TestSignal
  4597. Traceback (most recent call last):
  4598. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 274, in handle
  4599. self.handler(*self.args, **self.kwargs)
  4600. File "test__signal.py", line 11, in raise_Expected
  4601. raise Expected('TestSignal')
  4602. Expected: TestSignal
  4603. .
  4604. ----------------------------------------------------------------------
  4605. Ran 1 test in 2.020s
  4606.  
  4607. OK
  4608.  
  4609. - /usr/local/bin/python2.7 -u test__signal.py [took 2.2s]
  4610. + /usr/local/bin/python2.7 -u test__socket_close.py
  4611. | /usr/local/bin/python2.7 -u test__socket_close.py
  4612. Traceback (most recent call last):
  4613. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4614. result = self._run(*self.args, **self.kwargs)
  4615. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 272, in recv
  4616. self._wait(self._read_event)
  4617. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/_socket2.py", line 171, in _wait
  4618. self.hub.wait(watcher)
  4619. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 606, in wait
  4620. result = waiter.get()
  4621. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 854, in get
  4622. return self.hub.switch()
  4623. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/greentest.py", line 478, in switch
  4624. return _original_Hub.switch(self, *args)
  4625. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py", line 585, in switch
  4626. return greenlet.switch(self)
  4627. error: [Errno 9] File descriptor was closed in another greenlet
  4628. <Greenlet at 0xe2454d4b4b0: <bound method socket.recv of <socket at 0xe23e9cbd750 fileno=[Errno 9] Bad file descriptor>>(25)> failed with error
  4629.  
  4630. ..
  4631. ----------------------------------------------------------------------
  4632. Ran 2 tests in 0.165s
  4633.  
  4634. OK
  4635.  
  4636. - /usr/local/bin/python2.7 -u test__socket_close.py [took 0.4s]
  4637. + /usr/local/bin/python2.7 -u test__socket_dns.py
  4638. | /usr/local/bin/python2.7 -u test__socket.py
  4639. ...........
  4640. ----------------------------------------------------------------------
  4641. Ran 11 tests in 2.320s
  4642.  
  4643. OK
  4644.  
  4645. - /usr/local/bin/python2.7 -u test__socket.py [took 2.7s]
  4646. + /usr/local/bin/python2.7 -u test__socket_dns6.py
  4647. | /usr/local/bin/python2.7 -u test__pool.py
  4648. ...........Traceback (most recent call last):
  4649. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4650. result = self._run(*self.args, **self.kwargs)
  4651. File "test__pool.py", line 510, in divide_by
  4652. return 1.0 / x
  4653. ZeroDivisionError: float division by zero
  4654. <Greenlet at 0xb323a9b8b90: divide_by(0)> failed with ZeroDivisionError
  4655.  
  4656. .Traceback (most recent call last):
  4657. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4658. result = self._run(*self.args, **self.kwargs)
  4659. File "test__pool.py", line 510, in divide_by
  4660. return 1.0 / x
  4661. ZeroDivisionError: float division by zero
  4662. <Greenlet at 0xb323a9b8b90: divide_by(0)> failed with ZeroDivisionError
  4663.  
  4664. .Traceback (most recent call last):
  4665. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4666. result = self._run(*self.args, **self.kwargs)
  4667. File "test__pool.py", line 510, in divide_by
  4668. return 1.0 / x
  4669. ZeroDivisionError: float division by zero
  4670. <Greenlet at 0xb323a9b8b90: divide_by(0)> failed with ZeroDivisionError
  4671.  
  4672. ...............................................................................................
  4673. ----------------------------------------------------------------------
  4674. Ran 108 tests in 43.845s
  4675.  
  4676. OK
  4677.  
  4678. - /usr/local/bin/python2.7 -u test__pool.py [took 44.1s]
  4679. + /usr/local/bin/python2.7 -u test__socket_errors.py
  4680. | /usr/local/bin/python2.7 -u test__socket_errors.py
  4681. .
  4682. ----------------------------------------------------------------------
  4683. Ran 1 test in 0.079s
  4684.  
  4685. OK
  4686.  
  4687. - /usr/local/bin/python2.7 -u test__socket_errors.py [took 0.3s]
  4688. + /usr/local/bin/python2.7 -u test__socket_ex.py
  4689. | /usr/local/bin/python2.7 -u test__socket_ex.py
  4690. ..
  4691. ----------------------------------------------------------------------
  4692. Ran 2 tests in 0.002s
  4693.  
  4694. OK
  4695.  
  4696. - /usr/local/bin/python2.7 -u test__socket_ex.py [took 0.2s]
  4697. + /usr/local/bin/python2.7 -u test__socket_send_memoryview.py
  4698. - /usr/local/bin/python2.7 -u test__socket_send_memoryview.py [took 0.2s]
  4699. + /usr/local/bin/python2.7 -u test__socket_ssl.py
  4700. | /usr/local/bin/python2.7 -u test__socket_ssl.py
  4701. send: 'GET / HTTP/1.1\r\nHost: sdb.amazonaws.com\r\nAccept-Encoding: identity\r\n\r\n'
  4702. reply: 'HTTP/1.1 302 Moved Temporarily\r\n'
  4703. header: Location: http://www.amazon.com/b?node=342335011
  4704. header: Content-Length: 0
  4705. header: Date: Tue, 09 Feb 2016 12:55:10 GMT
  4706. header: Server: Amazon SimpleDB
  4707. ..
  4708. ----------------------------------------------------------------------
  4709. Ran 2 tests in 47.104s
  4710.  
  4711. OK
  4712.  
  4713. - /usr/local/bin/python2.7 -u test__socket_ssl.py [took 47.5s]
  4714. + /usr/local/bin/python2.7 -u test__socket_timeout.py
  4715. | /usr/local/bin/python2.7 -u test__socket_timeout.py
  4716. .
  4717. ----------------------------------------------------------------------
  4718. Ran 1 test in 0.185s
  4719.  
  4720. OK
  4721.  
  4722. - /usr/local/bin/python2.7 -u test__socket_timeout.py [took 0.4s]
  4723. + /usr/local/bin/python2.7 -u test__socketpair.py
  4724. | /usr/local/bin/python2.7 -u test__socketpair.py
  4725. ..
  4726. ----------------------------------------------------------------------
  4727. Ran 2 tests in 0.002s
  4728.  
  4729. OK
  4730.  
  4731. - /usr/local/bin/python2.7 -u test__socketpair.py [took 0.3s]
  4732. + /usr/local/bin/python2.7 -u test__ssl.py
  4733. | /usr/local/bin/python2.7 -u test__ssl.py
  4734. ..........
  4735. ----------------------------------------------------------------------
  4736. Ran 10 tests in 3.829s
  4737.  
  4738. OK
  4739.  
  4740. - /usr/local/bin/python2.7 -u test__ssl.py [took 6.6s]
  4741. + /usr/local/bin/python2.7 -u test__subprocess.py
  4742. | /usr/local/bin/python2.7 -u test__subprocess.py
  4743. .........123
  4744. ...
  4745. ----------------------------------------------------------------------
  4746. Ran 12 tests in 1.077s
  4747.  
  4748. OK
  4749.  
  4750. - /usr/local/bin/python2.7 -u test__subprocess.py [took 1.3s]
  4751. + /usr/local/bin/python2.7 -u test__subprocess_interrupted.py
  4752. - /usr/local/bin/python2.7 -u test__subprocess_interrupted.py [took 3.5s]
  4753. + /usr/local/bin/python2.7 -u test__subprocess_poll.py
  4754. | /usr/local/bin/python2.7 -u test__subprocess_poll.py
  4755. Timeout.
  4756. Exception in thread Thread-1 (most likely raised during interpreter shutdown):
  4757. Traceback (most recent call last):
  4758. File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  4759. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/greentest/util.py", line 272, in run
  4760. <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute '_exit'
  4761.  
  4762. - /usr/local/bin/python2.7 -u test__subprocess_poll.py [took 0.3s]
  4763. + /usr/local/bin/python2.7 -u test__systemerror.py
  4764. | /usr/local/bin/python2.7 -u test__systemerror.py
  4765. Traceback (most recent call last):
  4766. File "test__systemerror.py", line 8, in raise_
  4767. raise ex
  4768. Exception: regular exception must not kill the program
  4769. <callback at 0xdf2bd3b3990 args=(Exception('regular exception must not kill the program',),)> failed with Exception
  4770.  
  4771. .Traceback (most recent call last):
  4772. File "test__systemerror.py", line 8, in raise_
  4773. raise ex
  4774. KeyboardInterrupt
  4775. <callback at 0xdf2bd3b3d10 args=(<type 'exceptions.KeyboardInterrupt'>,)> failed with KeyboardInterrupt
  4776.  
  4777. ..Traceback (most recent call last):
  4778. File "test__systemerror.py", line 8, in raise_
  4779. raise ex
  4780. SystemError: should be re-raised and caught
  4781. <callback at 0xdf2bd3b3dd0 args=(SystemError('should be re-raised and caught',),)> failed with SystemError
  4782.  
  4783. .Traceback (most recent call last):
  4784. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4785. result = self._run(*self.args, **self.kwargs)
  4786. File "test__systemerror.py", line 8, in raise_
  4787. raise ex
  4788. Exception: regular exception must not kill the program
  4789. <Greenlet at 0xdf365aed5f0: raise_(Exception('regular exception must not kill the pro)> failed with Exception
  4790.  
  4791. .Traceback (most recent call last):
  4792. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4793. result = self._run(*self.args, **self.kwargs)
  4794. File "test__systemerror.py", line 8, in raise_
  4795. raise ex
  4796. KeyboardInterrupt
  4797. <Greenlet at 0xdf365aedeb0: raise_(<type 'exceptions.KeyboardInterrupt'>)> failed with KeyboardInterrupt
  4798.  
  4799. ..Traceback (most recent call last):
  4800. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  4801. result = self._run(*self.args, **self.kwargs)
  4802. File "test__systemerror.py", line 8, in raise_
  4803. raise ex
  4804. SystemError: should be re-raised and caught
  4805. <Greenlet at 0xdf3505850f0: raise_(SystemError('should be re-raised and caught',))> failed with SystemError
  4806.  
  4807. .
  4808. ----------------------------------------------------------------------
  4809. Ran 8 tests in 0.158s
  4810.  
  4811. OK
  4812.  
  4813. - /usr/local/bin/python2.7 -u test__systemerror.py [took 0.3s]
  4814. + /usr/local/bin/python2.7 -u test__threading.py
  4815. | /usr/local/bin/python2.7 -u test__threading.py
  4816. .
  4817. ----------------------------------------------------------------------
  4818. Ran 1 test in 0.219s
  4819.  
  4820. OK
  4821.  
  4822. - /usr/local/bin/python2.7 -u test__threading.py [took 0.5s]
  4823. + /usr/local/bin/python2.7 -u test__threading_before_monkey.py
  4824. | /usr/local/bin/python2.7 -u test__threading_before_monkey.py
  4825. .
  4826. ----------------------------------------------------------------------
  4827. Ran 1 test in 0.001s
  4828.  
  4829. OK
  4830.  
  4831. - /usr/local/bin/python2.7 -u test__threading_before_monkey.py [took 0.3s]
  4832. + /usr/local/bin/python2.7 -u test__threading_holding_lock_while_monkey.py
  4833. - /usr/local/bin/python2.7 -u test__threading_holding_lock_while_monkey.py [took 0.4s]
  4834. + /usr/local/bin/python2.7 -u test__threading_patched_local.py
  4835. - /usr/local/bin/python2.7 -u test__threading_patched_local.py [took 0.5s]
  4836. + /usr/local/bin/python2.7 -u test__threading_vs_settrace.py
  4837. | /usr/local/bin/python2.7 -u test__threading_vs_settrace.py
  4838. ..thread started....finishing.....finishing......
  4839. ----------------------------------------------------------------------
  4840. Ran 5 tests in 0.940s
  4841.  
  4842. OK
  4843.  
  4844. - /usr/local/bin/python2.7 -u test__threading_vs_settrace.py [took 1.2s]
  4845. + /usr/local/bin/python2.7 -u test__timeout.py
  4846. | /usr/local/bin/python2.7 -u test__timeout.py
  4847. ......TypeError: exceptions must be classes, or instances, not object
  4848. <timer at 0x1f0a98377650 callback=<built-in method throw of greenlet.greenlet object at 0x1f0a98373f50> args=(<object object at 0x1f0b5e5460f0>,)> failed with TypeError
  4849.  
  4850. .....
  4851. ----------------------------------------------------------------------
  4852. Ran 11 tests in 0.538s
  4853.  
  4854. OK
  4855.  
  4856. - /usr/local/bin/python2.7 -u test__timeout.py [took 0.8s]
  4857. + /usr/local/bin/python2.7 -u test_ares_timeout.py
  4858. | /usr/local/bin/python2.7 -u test_ares_timeout.py
  4859. /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/__init__.pyc
  4860. ('\x96H\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00\x03www\x06google\x03com\x00\x00\x01\x00\x01', ('127.0.0.1', 49066))
  4861.  
  4862. - /usr/local/bin/python2.7 -u test_ares_timeout.py [took 1.3s]
  4863. + /usr/local/bin/python2.7 -u test_close_backend_fd.py
  4864. | /usr/local/bin/python2.7 -u test_close_backend_fd.py
  4865. Traceback (most recent call last):
  4866. File "test_close_backend_fd.py", line 13, in <module>
  4867. fileno = hub.loop.fileno()
  4868. AttributeError: 'gevent.corecext.loop' object has no attribute 'fileno'
  4869.  
  4870. ! /usr/local/bin/python2.7 -u test_close_backend_fd.py [code 1] [took 0.1s]
  4871. + /usr/local/bin/python2.7 -u test_hub_join.py
  4872. - /usr/local/bin/python2.7 -u test_hub_join.py [took 0.9s]
  4873. + /usr/local/bin/python2.7 -u test_hub_join_timeout.py
  4874. - /usr/local/bin/python2.7 -u test_hub_join_timeout.py [took 1.5s]
  4875. + /usr/local/bin/python2.7 -u test_issue112.py
  4876. - /usr/local/bin/python2.7 -u test_issue112.py [took 0.3s]
  4877. + /usr/local/bin/python2.7 -u test_queue.py
  4878. | /usr/local/bin/python2.7 -u test_queue.py
  4879. test_queue_join (__main__.QueueTest) ... ok
  4880. test_queue_task_done (__main__.QueueTest) ... ok
  4881. test_queue_task_done_with_items (__main__.QueueTest) ... ok
  4882. test_simple_queue (__main__.QueueTest) ... ok
  4883. test_queue_join (__main__.LifoQueueTest) ... ok
  4884. test_queue_task_done (__main__.LifoQueueTest) ... ok
  4885. test_queue_task_done_with_items (__main__.LifoQueueTest) ... ok
  4886. test_simple_queue (__main__.LifoQueueTest) ... ok
  4887. test_queue_join (__main__.PriorityQueueTest) ... ok
  4888. test_queue_task_done (__main__.PriorityQueueTest) ... ok
  4889. test_queue_task_done_with_items (__main__.PriorityQueueTest) ... ok
  4890. test_simple_queue (__main__.PriorityQueueTest) ... ok
  4891. test_failing_queue (__main__.FailingQueueTest) ... ok
  4892.  
  4893. ----------------------------------------------------------------------
  4894. Ran 13 tests in 1.655s
  4895.  
  4896. OK
  4897.  
  4898. - /usr/local/bin/python2.7 -u test_queue.py [took 2.0s]
  4899. + /usr/local/bin/python2.7 -u test_threading_2.py
  4900. | /usr/local/bin/python2.7 -u test_threading_2.py
  4901. test_acquire_contended (__main__.LockTests) ... ok
  4902. test_acquire_destroy (__main__.LockTests) ... ok
  4903. test_acquire_release (__main__.LockTests) ... ok
  4904. test_constructor (__main__.LockTests) ... ok
  4905. test_different_thread (__main__.LockTests) ... ok
  4906. test_reacquire (__main__.LockTests) ... ok
  4907. test_thread_leak (__main__.LockTests) ... ok
  4908. test_try_acquire (__main__.LockTests) ... ok
  4909. test_try_acquire_contended (__main__.LockTests) ... ok
  4910. test_with (__main__.LockTests) ... ok
  4911. test__is_owned (__main__.RLockTests) ... ok
  4912. test_acquire_contended (__main__.RLockTests) ... ok
  4913. test_acquire_destroy (__main__.RLockTests) ... ok
  4914. test_acquire_release (__main__.RLockTests) ... ok
  4915. test_constructor (__main__.RLockTests) ... ok
  4916. test_different_thread (__main__.RLockTests) ... ok
  4917. test_reacquire (__main__.RLockTests) ... ok
  4918. test_release_unacquired (__main__.RLockTests) ... ok
  4919. test_thread_leak (__main__.RLockTests) ... ok
  4920. test_try_acquire (__main__.RLockTests) ... ok
  4921. test_try_acquire_contended (__main__.RLockTests) ... ok
  4922. test_with (__main__.RLockTests) ... ok
  4923. test_is_set (__main__.EventTests) ... ok
  4924. test_notify (__main__.EventTests) ... ok
  4925. test_timeout (__main__.EventTests) ... ok
  4926. test__is_owned (__main__.ConditionAsRLockTests) ... ok
  4927. test_acquire_contended (__main__.ConditionAsRLockTests) ... ok
  4928. test_acquire_destroy (__main__.ConditionAsRLockTests) ... ok
  4929. test_acquire_release (__main__.ConditionAsRLockTests) ... ok
  4930. test_constructor (__main__.ConditionAsRLockTests) ... ok
  4931. test_different_thread (__main__.ConditionAsRLockTests) ... ok
  4932. test_reacquire (__main__.ConditionAsRLockTests) ... ok
  4933. test_release_unacquired (__main__.ConditionAsRLockTests) ... ok
  4934. test_thread_leak (__main__.ConditionAsRLockTests) ... ok
  4935. test_try_acquire (__main__.ConditionAsRLockTests) ... ok
  4936. test_try_acquire_contended (__main__.ConditionAsRLockTests) ... ok
  4937. test_with (__main__.ConditionAsRLockTests) ... ok
  4938. test_acquire (__main__.ConditionTests) ... ok
  4939. test_notify (__main__.ConditionTests) ... ok
  4940. test_timeout (__main__.ConditionTests) ... ok
  4941. test_unacquired_notify (__main__.ConditionTests) ... ok
  4942. test_unacquired_wait (__main__.ConditionTests) ... ok
  4943. test_acquire (__main__.SemaphoreTests) ... ok
  4944. test_acquire_contended (__main__.SemaphoreTests) ... ok
  4945. test_acquire_destroy (__main__.SemaphoreTests) ... ok
  4946. test_constructor (__main__.SemaphoreTests) ... ok
  4947. test_default_value (__main__.SemaphoreTests) ... ok
  4948. test_release_unacquired (__main__.SemaphoreTests) ... ok
  4949. test_try_acquire (__main__.SemaphoreTests) ... ok
  4950. test_try_acquire_contended (__main__.SemaphoreTests) ... ok
  4951. test_with (__main__.SemaphoreTests) ... ok
  4952. test_acquire (__main__.BoundedSemaphoreTests) ... ok
  4953. test_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
  4954. test_acquire_destroy (__main__.BoundedSemaphoreTests) ... ok
  4955. test_constructor (__main__.BoundedSemaphoreTests) ... ok
  4956. test_default_value (__main__.BoundedSemaphoreTests) ... ok
  4957. test_release_unacquired (__main__.BoundedSemaphoreTests) ... ok
  4958. test_try_acquire (__main__.BoundedSemaphoreTests) ... ok
  4959. test_try_acquire_contended (__main__.BoundedSemaphoreTests) ... ok
  4960. test_with (__main__.BoundedSemaphoreTests) ... ok
  4961. test_enumerate_after_join (__main__.ThreadTests) ... ok
  4962. test_finalize_runnning_thread (__main__.ThreadTests) ... ok
  4963. test_foreign_thread (__main__.ThreadTests) ... ok
  4964. test_ident_of_no_threading_threads (__main__.ThreadTests) ... ok
  4965. test_join_nondaemon_on_shutdown (__main__.ThreadTests) ... ok
  4966. test_limbo_cleanup (__main__.ThreadTests) ... ok
  4967. test_no_refcycle_through_target (__main__.ThreadTests) ... ok
  4968. test_various_ops (__main__.ThreadTests) ... task <thread 0> will run for 30.8 usec
  4969. 1 tasks are running
  4970. task <thread 1> will run for 22.3 usec
  4971. 2 tasks are running
  4972. task <thread 2> will run for 99.3 usec
  4973. 3 tasks are running
  4974. task <thread 3> will run for 29.1 usec
  4975. task <thread 4> will run for 33.9 usec
  4976. task <thread 5> will run for 0.9 usec
  4977. task <thread 6> will run for 5.4 usec
  4978. task <thread 7> will run for 19.4 usec
  4979. task <thread 8> will run for 45.5 usec
  4980. task <thread 9> will run for 44.7 usec
  4981. waiting for all tasks to complete
  4982. task <thread 0> done
  4983. <thread 0> is finished. 2 tasks are running
  4984. task <thread 1> done
  4985. <thread 1> is finished. 1 tasks are running
  4986. task <thread 2> done
  4987. <thread 2> is finished. 0 tasks are running
  4988. 1 tasks are running
  4989. 2 tasks are running
  4990. 3 tasks are running
  4991. task <thread 3> done
  4992. <thread 3> is finished. 2 tasks are running
  4993. task <thread 4> done
  4994. <thread 4> is finished. 1 tasks are running
  4995. task <thread 5> done
  4996. <thread 5> is finished. 0 tasks are running
  4997. 1 tasks are running
  4998. 2 tasks are running
  4999. 3 tasks are running
  5000. task <thread 6> done
  5001. <thread 6> is finished. 2 tasks are running
  5002. task <thread 7> done
  5003. <thread 7> is finished. 1 tasks are running
  5004. task <thread 8> done
  5005. <thread 8> is finished. 0 tasks are running
  5006. 1 tasks are running
  5007. task <thread 9> done
  5008. <thread 9> is finished. 0 tasks are running
  5009. all tasks done
  5010. ok
  5011. test_various_ops_large_stack (__main__.ThreadTests) ... with 1MB thread stack size...
  5012. task <thread 0> will run for 28.1 usec
  5013. 1 tasks are running
  5014. task <thread 1> will run for 3.5 usec
  5015. 2 tasks are running
  5016. task <thread 2> will run for 73.9 usec
  5017. 3 tasks are running
  5018. task <thread 3> will run for 38.9 usec
  5019. task <thread 4> will run for 44.9 usec
  5020. task <thread 5> will run for 90.7 usec
  5021. task <thread 6> will run for 82.2 usec
  5022. task <thread 7> will run for 95.2 usec
  5023. task <thread 8> will run for 67.8 usec
  5024. task <thread 9> will run for 23.4 usec
  5025. waiting for all tasks to complete
  5026. task <thread 0> done
  5027. <thread 0> is finished. 2 tasks are running
  5028. task <thread 1> done
  5029. <thread 1> is finished. 1 tasks are running
  5030. task <thread 2> done
  5031. <thread 2> is finished. 0 tasks are running
  5032. 1 tasks are running
  5033. 2 tasks are running
  5034. 3 tasks are running
  5035. task <thread 3> done
  5036. <thread 3> is finished. 2 tasks are running
  5037. task <thread 4> done
  5038. <thread 4> is finished. 1 tasks are running
  5039. task <thread 5> done
  5040. <thread 5> is finished. 0 tasks are running
  5041. 1 tasks are running
  5042. 2 tasks are running
  5043. 3 tasks are running
  5044. task <thread 6> done
  5045. <thread 6> is finished. 2 tasks are running
  5046. task <thread 7> done
  5047. <thread 7> is finished. 1 tasks are running
  5048. task <thread 8> done
  5049. <thread 8> is finished. 0 tasks are running
  5050. 1 tasks are running
  5051. task <thread 9> done
  5052. <thread 9> is finished. 0 tasks are running
  5053. all tasks done
  5054. ok
  5055. test_various_ops_small_stack (__main__.ThreadTests) ... with 256kB thread stack size...
  5056. task <thread 0> will run for 64.1 usec
  5057. 1 tasks are running
  5058. task <thread 1> will run for 72.9 usec
  5059. 2 tasks are running
  5060. task <thread 2> will run for 12.2 usec
  5061. 3 tasks are running
  5062. task <thread 3> will run for 67.9 usec
  5063. task <thread 4> will run for 20.2 usec
  5064. task <thread 5> will run for 17.0 usec
  5065. task <thread 6> will run for 87.4 usec
  5066. task <thread 7> will run for 22.9 usec
  5067. task <thread 8> will run for 14.9 usec
  5068. task <thread 9> will run for 93.2 usec
  5069. waiting for all tasks to complete
  5070. task <thread 0> done
  5071. <thread 0> is finished. 2 tasks are running
  5072. task <thread 1> done
  5073. <thread 1> is finished. 1 tasks are running
  5074. task <thread 2> done
  5075. <thread 2> is finished. 0 tasks are running
  5076. 1 tasks are running
  5077. 2 tasks are running
  5078. 3 tasks are running
  5079. task <thread 3> done
  5080. <thread 3> is finished. 2 tasks are running
  5081. task <thread 4> done
  5082. <thread 4> is finished. 1 tasks are running
  5083. task <thread 5> done
  5084. <thread 5> is finished. 0 tasks are running
  5085. 1 tasks are running
  5086. 2 tasks are running
  5087. 3 tasks are running
  5088. task <thread 6> done
  5089. <thread 6> is finished. 2 tasks are running
  5090. task <thread 7> done
  5091. <thread 7> is finished. 1 tasks are running
  5092. task <thread 8> done
  5093. <thread 8> is finished. 0 tasks are running
  5094. 1 tasks are running
  5095. task <thread 9> done
  5096. <thread 9> is finished. 0 tasks are running
  5097. all tasks done
  5098. ok
  5099. test_1_join_on_shutdown (__main__.ThreadJoinOnShutdown) ... ok
  5100. test_2_join_in_forked_process (__main__.ThreadJoinOnShutdown) ... ok
  5101. test_3_join_in_forked_from_thread (__main__.ThreadJoinOnShutdown) ... ok
  5102. test_daemonize_active_thread (__main__.ThreadingExceptionTests) ... ok
  5103. test_joining_current_thread (__main__.ThreadingExceptionTests) ... ok
  5104. test_joining_inactive_thread (__main__.ThreadingExceptionTests) ... ok
  5105. test_start_thread_again (__main__.ThreadingExceptionTests) ... ok
  5106.  
  5107. ----------------------------------------------------------------------
  5108. Ran 77 tests in 4.860s
  5109.  
  5110. OK
  5111.  
  5112. - /usr/local/bin/python2.7 -u test_threading_2.py [took 5.2s]
  5113. | /usr/local/bin/python2.7 -u test__doctests.py
  5114. /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent
  5115. gevent.event (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/event.py): 1 tests
  5116. gevent.hub (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/hub.py): 1 tests
  5117. gevent.local (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/local.py): 1 tests
  5118. gevent.queue (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/queue.py): 1 tests
  5119. gevent.subprocess (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/subprocess.py): 1 tests
  5120. gevent.timeout (from /usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/timeout.py): 2 tests
  5121. Total: 7 tests in 6 modules
  5122. AsyncResult (gevent.event)
  5123. Doctest: gevent.event.AsyncResult ...
  5124.  
  5125. ! /usr/local/bin/python2.7 -u test__doctests.py [code TIMEOUT] [took 180.0s]
  5126. | /usr/local/bin/python2.7 -u test__socket_dns.py
  5127. Resolver: <gevent.resolver_thread.Resolver at 0x112c8e562e90 pool=<ThreadPool at 0x112d6bf4f610 0/0/10>>
  5128. .
  5129. WARNING: quite slow: gevent:gethostbyaddr('1.2.3.4',) took 21063ms versus 20913ms stdlib
  5130. .........
  5131.  
  5132. ! /usr/local/bin/python2.7 -u test__socket_dns.py [code TIMEOUT] [took 180.0s]
  5133. | /usr/local/bin/python2.7 -u test__socket_dns6.py
  5134. Resolver: <gevent.resolver_thread.Resolver at 0x1331c8bc2f50 pool=<ThreadPool at 0x1332978f7a90 0/0/10>>
  5135.  
  5136. WARNING: quite slow: gevent:getaddrinfo('aaaa.test-ipv6.com', 'http') took 84068ms versus 83638ms stdlib
  5137. .
  5138.  
  5139. ! /usr/local/bin/python2.7 -u test__socket_dns6.py [code TIMEOUT] [took 180.0s]
  5140. + /usr/local/bin/python2.7 -u test__examples.py
  5141. | /usr/local/bin/python2.7 -u test__examples.py
  5142. + /usr/local/bin/python2.7 -u concurrent_download.py
  5143. Starting http://www.google.com
  5144. Starting http://www.yandex.ru
  5145. Starting http://www.python.org
  5146. http://www.google.com: 10206 bytes: '<!doctype html><html itemscope="" itemtype="http:/'
  5147. Traceback (most recent call last):
  5148. File "/usr/ports/pobj/py-gevent-1.1rc3/gevent-1.1rc3/gevent/greenlet.py", line 522, in run
  5149. result = self._run(*self.args, **self.kwargs)
  5150. File "concurrent_download.py", line 25, in print_head
  5151. data = urlopen(url).read()
  5152. File "/usr/local/lib/python2.7/urllib2.py", line 154, in urlopen
  5153. return opener.open(url, data, timeout)
  5154. File "/usr/local/lib/python2.7/urllib2.py", line 437, in open
  5155. response = meth(req, response)
  5156. File "/usr/local/lib/python2.7/urllib2.py", line 550, in http_response
  5157. 'http', request, response, code, msg, hdrs)
  5158. File "/usr/local/lib/python2.7/urllib2.py", line 469, in error
  5159. result = self._call_chain(*args)
  5160. File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
  5161. result = func(*args)
  5162. File "/usr/local/lib/python2.7/urllib2.py", line 656, in http_error_302
  5163. return self.parent.open(new, timeout=req.timeout)
  5164. File "/usr/local/lib/python2.7/urllib2.py", line 431, in open
  5165. response = self._open(req, data)
  5166. File "/usr/local/lib/python2.7/urllib2.py", line 449, in _open
  5167. '_open', req)
  5168. File "/usr/local/lib/python2.7/urllib2.py", line 409, in _call_chain
  5169. result = func(*args)
  5170. File "/usr/local/lib/python2.7/urllib2.py", line 1240, in https_open
  5171. context=self._context)
  5172. File "/usr/local/lib/python2.7/urllib2.py", line 1197, in do_open
  5173. raise URLError(err)
  5174. URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
  5175. <Greenlet at 0x150467387870: print_head('http://www.yandex.ru')> failed with URLError
  5176.  
  5177. http://www.python.org: 46991 bytes: '<!doctype html>\n<!--[if lt IE 7]> <html class="n'
  5178. - /usr/local/bin/python2.7 -u concurrent_download.py [took 3.7s]
  5179. + /usr/local/bin/python2.7 -u dns_mass_resolve.py
  5180. 10.com = 60.248.110.115
  5181. 12.com = 185.53.177.8
  5182. 20.com = 50.63.202.20
  5183. finished within 2 seconds: 3/1000
  5184. - /usr/local/bin/python2.7 -u dns_mass_resolve.py [took 2.2s]
  5185. + /usr/local/bin/python2.7 -u processes.py
  5186. uname: 'OpenBSD\n'
  5187. 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'
  5188. - /usr/local/bin/python2.7 -u processes.py [took 0.2s]
  5189. + /usr/local/bin/python2.7 -u threadpool.py
  5190. Running "time.sleep(1)" 4 times with 3 threads. Should take about 2 seconds: 2.017s
  5191. - /usr/local/bin/python2.7 -u threadpool.py [took 2.2s]
  5192.  
  5193. - /usr/local/bin/python2.7 -u test__examples.py [took 8.5s]
  5194. + /usr/local/bin/python2.7 -u test__threadpool.py
  5195. | /usr/local/bin/python2.7 -u test__threadpool.py
  5196. ..................................................................
  5197. ----------------------------------------------------------------------
  5198. Ran 66 tests in 30.260s
  5199.  
  5200. OK
  5201.  
  5202. - /usr/local/bin/python2.7 -u test__threadpool.py [took 30.5s]
  5203.  
  5204. Longest-running tests:
  5205. 180.0 seconds: /usr/local/bin/python2.7 -u test__socket_dns.py
  5206. 180.0 seconds: /usr/local/bin/python2.7 -u test__socket_dns6.py
  5207. 180.0 seconds: /usr/local/bin/python2.7 -u test__doctests.py
  5208. 120.0 seconds: /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py
  5209. 120.0 seconds: /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py
  5210.  
  5211. 25/145 tests failed in 11:39
  5212.  
  5213. 1/145 expected failures
  5214. - /usr/local/bin/python2.7 -u test__socket_dns6.py
  5215.  
  5216. 24/145 unexpected failures
  5217. - /usr/local/bin/python2.7 -u test___example_servers.py
  5218. - /usr/local/bin/python2.7 -u -m monkey_test test_httpservers.py
  5219. - /usr/local/bin/python2.7 -u -m monkey_test test_threading.py
  5220. - /usr/local/bin/python2.7 -u -m monkey_test test_ssl.py
  5221. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_ftplib.py
  5222. - /usr/local/bin/python2.7 -u test_close_backend_fd.py
  5223. - /usr/local/bin/python2.7 -u -m monkey_test test_ftplib.py
  5224. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_smtplib.py
  5225. - /usr/local/bin/python2.7 -u test__socket_dns.py
  5226. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_urllib2.py
  5227. - /usr/local/bin/python2.7 -u -m monkey_test test_smtplib.py
  5228. - /usr/local/bin/python2.7 -u -m monkey_test test_urllib2.py
  5229. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_httpservers.py
  5230. - /usr/local/bin/python2.7 -u -m monkey_test test_threading_local.py
  5231. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading_local.py
  5232. - /usr/local/bin/python2.7 -u test__select.py
  5233. - /usr/local/bin/python2.7 -u test__greenness.py
  5234. - /usr/local/bin/python2.7 -u test__doctests.py
  5235. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_signal.py
  5236. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_socket.py
  5237. - /usr/local/bin/python2.7 -u test__pywsgi.py
  5238. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_threading.py
  5239. - /usr/local/bin/python2.7 -u -m monkey_test test_socket.py
  5240. - /usr/local/bin/python2.7 -u -m monkey_test --Event test_ssl.py
  5241. thread pool size: 4
  5242. *** Error 24 in . (Makefile:36 'do-test')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement