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 Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1713098
Title:
Frequent DEP8 test failures related to ftp
Status in gvfs package in Ubuntu:
New
Bug description:
There are somewhat constant, but intermittent, DEP8 test failures in the gvfs
package. They seem to always be around ftp:
tp:// anonymous (API with flag) ... FAIL
----- dbus stdout -----
----- dbus stderr -----
test_anonymous_api_user (__main__.Ftp)
ftp:// anonymous (API with user) ... ok
test_anonymous_cli_option (__main__.Ftp)
ftp:// anonymous (CLI with option) ... Error mounting location: Location is
already mounted
ERROR
----- dbus stdout -----
----- dbus stderr -----
test_anonymous_cli_user (__main__.Ftp)
ftp:// anonymous (CLI with user) ... ok
test_authenticated_api (__main__.Ftp)
ftp:// authenticated (API) ... FAIL
----- dbus stdout -----
----- dbus stderr -----
test_authenticated_cli (__main__.Ftp)
ftp:// authenticated (CLI) ... FAIL
----- dbus stdout -----
----- dbus stderr -----
Here is a link:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/amd64/g/gvfs/20170825_135452_c32a9@/log.gz
This bug is to investigate these ftp tests, determine why they are
flaky, and fix them if possible.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1713098/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp