test_fs2ftp (__main__.TestAbstractedFS) ... ok test_ftp2fs (__main__.TestAbstractedFS) ... ok test_ftpnorm (__main__.TestAbstractedFS) ... ok test_validpath (__main__.TestAbstractedFS) ... ok test_validpath_external_symlink (__main__.TestAbstractedFS) ... ok test_validpath_validlink (__main__.TestAbstractedFS) ... ok test_common_methods (__main__.TestDummyAuthorizer) ... ok test_override_perm_interface (__main__.TestDummyAuthorizer) ... ok test_override_perm_not_recursive_paths (__main__.TestDummyAuthorizer) ... ok test_override_perm_recursive_paths (__main__.TestDummyAuthorizer) ... ok test_cancel (__main__.TestCallLater) ... ok test_delay (__main__.TestCallLater) ... FAIL test_interface (__main__.TestCallLater) ... ok test_order (__main__.TestCallLater) ... FAIL test_reset (__main__.TestCallLater) ... FAIL test_anon_auth (__main__.TestFtpAuthentication) ... ok test_auth_failed (__main__.TestFtpAuthentication) ... ERROR test_auth_ok (__main__.TestFtpAuthentication) ... ok test_max_auth (__main__.TestFtpAuthentication) ... ERROR test_rein (__main__.TestFtpAuthentication) ... ok test_rein_during_transfer (__main__.TestFtpAuthentication) ... ok test_user (__main__.TestFtpAuthentication) ... ok test_user_during_transfer (__main__.TestFtpAuthentication) ... ok test_allo (__main__.TestFtpDummyCmds) ... ok test_help (__main__.TestFtpDummyCmds) ... ok test_mode (__main__.TestFtpDummyCmds) ... ok test_noop (__main__.TestFtpDummyCmds) ... ok test_opts_feat (__main__.TestFtpDummyCmds) ... ok test_quit (__main__.TestFtpDummyCmds) ... ok test_rest (__main__.TestFtpDummyCmds) ... ok test_site (__main__.TestFtpDummyCmds) ... ok test_site_help (__main__.TestFtpDummyCmds) ... ok test_stru (__main__.TestFtpDummyCmds) ... ok test_syst (__main__.TestFtpDummyCmds) ... ok test_type (__main__.TestFtpDummyCmds) ... ok test_arg_cmds (__main__.TestFtpCmdsSemantic) ... ok test_auth_cmds (__main__.TestFtpCmdsSemantic) ... ok test_no_arg_cmds (__main__.TestFtpCmdsSemantic) ... ok test_no_auth_cmds (__main__.TestFtpCmdsSemantic) ... ok test_cdup (__main__.TestFtpFsOperations) ... ok test_cwd (__main__.TestFtpFsOperations) ... ok test_dele (__main__.TestFtpFsOperations) ... FAIL test_mdtm (__main__.TestFtpFsOperations) ... ok test_mkd (__main__.TestFtpFsOperations) ... ok test_pwd (__main__.TestFtpFsOperations) ... ok test_rmd (__main__.TestFtpFsOperations) ... ok test_rnfr_rnto (__main__.TestFtpFsOperations) ... ok test_size (__main__.TestFtpFsOperations) ... ok test_unforseen_mdtm_event (__main__.TestFtpFsOperations) ... ok test_appe (__main__.TestFtpStoreData) ... ok test_appe_rest (__main__.TestFtpStoreData) ... ok test_failing_rest_on_stor (__main__.TestFtpStoreData) ... ok test_rest_on_stor (__main__.TestFtpStoreData) ... ok test_stor (__main__.TestFtpStoreData) ... ok test_stor_active (__main__.TestFtpStoreData) ... ok test_stor_ascii (__main__.TestFtpStoreData) ... ok test_stou (__main__.TestFtpStoreData) ... ok test_stou_orphaned_file (__main__.TestFtpStoreData) ... ok test_stou_rest (__main__.TestFtpStoreData) ... ok test_restore_on_retr (__main__.TestFtpRetrieveData) ... ok test_retr (__main__.TestFtpRetrieveData) ... ok test_retr_ascii (__main__.TestFtpRetrieveData) ... ok test_list (__main__.TestFtpListingCmds) ... ok test_mlsd (__main__.TestFtpListingCmds) ... ok test_mlst (__main__.TestFtpListingCmds) ... ok test_nlst (__main__.TestFtpListingCmds) ... ok test_stat (__main__.TestFtpListingCmds) ... ok test_abor_during_transfer (__main__.TestFtpAbort) ... ok test_abor_no_data (__main__.TestFtpAbort) ... ok test_abor_pasv (__main__.TestFtpAbort) ... ok test_abor_port (__main__.TestFtpAbort) ... ok test_data_timeout (__main__.TestTimeouts) ... ok test_disabled_data_timeout (__main__.TestTimeouts) ... ok test_disabled_idle_timeout (__main__.TestTimeouts) ... ok test_disabled_pasv_timeout (__main__.TestTimeouts) ... ok test_disabled_port_timeout (__main__.TestTimeouts) ... ok test_idle_data_timeout1 (__main__.TestTimeouts) ... ok test_idle_data_timeout2 (__main__.TestTimeouts) ... ok test_idle_timeout (__main__.TestTimeouts) ... ok test_pasv_timeout (__main__.TestTimeouts) ... ERROR test_banner (__main__.TestConfigurableOptions) ... ok test_masquerade_address (__main__.TestConfigurableOptions) ... ok test_max_connections (__main__.TestConfigurableOptions) ... ok test_max_login_attempts (__main__.TestConfigurableOptions) ... ERROR test_passive_ports (__main__.TestConfigurableOptions) ... ok test_permit_privileged_ports (__main__.TestConfigurableOptions) ... ERROR test_on_file_received (__main__.TestCallbacks) ... ok test_on_file_sent (__main__.TestCallbacks) ... ok test_eprt (__main__.TestIPv4Environment) ... ok test_eprt_v4 (__main__.TestIPv4Environment) ... ok test_epsv (__main__.TestIPv4Environment) ... ok test_epsv_all (__main__.TestIPv4Environment) ... ok test_pasv_v4 (__main__.TestIPv4Environment) ... ok test_port_v4 (__main__.TestIPv4Environment) ... ok ====================================================================== ERROR: test_auth_failed (__main__.TestFtpAuthentication) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_ftpd.py", line 533, in test_auth_failed self.assertRaises(ftplib.error_perm, self.client.login, USER, 'wrong') File "/home/kfitch/jython/dist/Lib/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/home/kfitch/jython/dist/Lib/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/home/kfitch/jython/dist/Lib/ftplib.py", line 373, in login if resp[0] == '3': resp = self.sendcmd('PASS ' + passwd) File "/home/kfitch/jython/dist/Lib/ftplib.py", line 241, in sendcmd return self.getresp() File "/home/kfitch/jython/dist/Lib/ftplib.py", line 207, in getresp resp = self.getmultiline() File "/home/kfitch/jython/dist/Lib/ftplib.py", line 193, in getmultiline line = self.getline() File "/home/kfitch/jython/dist/Lib/ftplib.py", line 180, in getline line = self.file.readline() File "/home/kfitch/jython/dist/Lib/socket.py", line 1309, in readline data = self._sock.recv(self._rbufsize) File "/home/kfitch/jython/dist/Lib/socket.py", line 860, in recv raise _map_exception(jlx) timeout: timed out ====================================================================== ERROR: test_max_auth (__main__.TestFtpAuthentication) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_ftpd.py", line 538, in test_max_auth self.assertRaises(ftplib.error_perm, self.client.login, USER, 'wrong') File "/home/kfitch/jython/dist/Lib/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/home/kfitch/jython/dist/Lib/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/home/kfitch/jython/dist/Lib/ftplib.py", line 373, in login if resp[0] == '3': resp = self.sendcmd('PASS ' + passwd) File "/home/kfitch/jython/dist/Lib/ftplib.py", line 241, in sendcmd return self.getresp() File "/home/kfitch/jython/dist/Lib/ftplib.py", line 207, in getresp resp = self.getmultiline() File "/home/kfitch/jython/dist/Lib/ftplib.py", line 193, in getmultiline line = self.getline() File "/home/kfitch/jython/dist/Lib/ftplib.py", line 180, in getline line = self.file.readline() File "/home/kfitch/jython/dist/Lib/socket.py", line 1309, in readline data = self._sock.recv(self._rbufsize) File "/home/kfitch/jython/dist/Lib/socket.py", line 860, in recv raise _map_exception(jlx) timeout: timed out ====================================================================== ERROR: test_pasv_timeout (__main__.TestTimeouts) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_ftpd.py", line 1538, in test_pasv_timeout data = self.client.sock.recv(1024) File "/home/kfitch/jython/dist/Lib/socket.py", line 860, in recv raise _map_exception(jlx) timeout: timed out ====================================================================== ERROR: test_max_login_attempts (__main__.TestConfigurableOptions) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_ftpd.py", line 1638, in test_max_login_attempts self.assertRaises(ftplib.error_perm, self.client.login, 'wrong', 'wrong') File "/home/kfitch/jython/dist/Lib/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/home/kfitch/jython/dist/Lib/unittest.py", line 320, in failUnlessRaises callableObj(*args, **kwargs) File "/home/kfitch/jython/dist/Lib/ftplib.py", line 373, in login if resp[0] == '3': resp = self.sendcmd('PASS ' + passwd) File "/home/kfitch/jython/dist/Lib/ftplib.py", line 241, in sendcmd return self.getresp() File "/home/kfitch/jython/dist/Lib/ftplib.py", line 207, in getresp resp = self.getmultiline() File "/home/kfitch/jython/dist/Lib/ftplib.py", line 193, in getmultiline line = self.getline() File "/home/kfitch/jython/dist/Lib/ftplib.py", line 180, in getline line = self.file.readline() File "/home/kfitch/jython/dist/Lib/socket.py", line 1309, in readline data = self._sock.recv(self._rbufsize) File "/home/kfitch/jython/dist/Lib/socket.py", line 860, in recv raise _map_exception(jlx) timeout: timed out ====================================================================== ERROR: test_permit_privileged_ports (__main__.TestConfigurableOptions) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_ftpd.py", line 1670, in test_permit_privileged_ports socket.getservbyport(port) File "test/test_ftpd.py", line 1670, in test_permit_privileged_ports socket.getservbyport(port) File "/home/kfitch/jython/dist/Lib/socket.py", line 541, in getservbyport raise NotImplementedError("getservbyport not yet supported on jython.") NotImplementedError: getservbyport not yet supported on jython. ====================================================================== FAIL: test_delay (__main__.TestCallLater) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_ftpd.py", line 471, in test_delay self.assertEqual(l, [0.06, 0.03, 0.04, 0.05, 0.01, 0.02]) AssertionError: [0.01, 0.02, 0.03, 0.04, 0.05, 0.06] != [0.06, 0.03, 0.04, 0.05, 0.01, 0.02] ====================================================================== FAIL: test_order (__main__.TestCallLater) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_ftpd.py", line 459, in test_order self.assertEqual(l, [0.01, 0.02, 0.03, 0.04, 0.05]) AssertionError: [0.05, 0.04, 0.03, 0.02, 0.01] != [0.01, 0.02, 0.03, 0.04, 0.05] ====================================================================== FAIL: test_reset (__main__.TestCallLater) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_ftpd.py", line 487, in test_reset self.assertEqual(l, [0.01, 0.02, 0.03, 0.05, 0.04]) AssertionError: [0.01, 0.02, 0.03, 0.04, 0.05] != [0.01, 0.02, 0.03, 0.05, 0.04] ====================================================================== FAIL: test_dele (__main__.TestFtpFsOperations) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/test_ftpd.py", line 866, in test_dele self.assertRaises(ftplib.error_perm, self.client.delete, self.tempdir) AssertionError: error_perm not raised ---------------------------------------------------------------------- Ran 94 tests in 26.356s FAILED (failures=4, errors=5)