This is the first test that fails: ====================================================================== FAIL: test_anonymous_api_user (__main__.Ftp) ftp:// anonymous (API with user) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/gvfs-testbed-script", line 676, in test_anonymous_api_user self.unmount_api(gfile) File "/home/gvfs-testbed-script", line 287, in unmount_api self.assertNotEqual(self.cb_result, None, 'operation timed out') AssertionError: None == None : operation timed out
The code does: def test_anonymous_api_user(self): '''ftp:// anonymous (API with user)''' uri = 'ftp://anonymous@localhost:2121' gfile = Gio.File.new_for_uri(uri) self.assertEqual(self.mount_api(gfile), True) try: self.do_mount_check_api(gfile, True) finally: self.unmount_api(gfile) It's failing in the "finally" clause, with a timeout. It's never unmounted. Then the next test comes along, and fails because the thing is still mounted: test_anonymous_cli_user (__main__.Ftp) ftp:// anonymous (CLI with user) ... gio: ftp://anonymous@localhost:2121/: Location is already mounted (...) ERROR: test_anonymous_cli_user (__main__.Ftp) ftp:// anonymous (CLI with user) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/gvfs-testbed-script", line 601, in test_anonymous_cli_user subprocess.check_call(['gio', 'mount', uri]) File "/usr/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['gio', 'mount', 'ftp://anonymous@localhost:2121']' returned non-zero exit status 2. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1713098 Title: Frequent DEP8 test failures related to ftp To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1713098/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs