gvfs test failure with glibc 2.29
- gvfs 1.39.90
Ubuntu 19.04 has recently switched to glibc 2.29. This has caused the gvfs tests to fail.
Logs
http://autopkgtest.ubuntu.com/packages/g/gvfs/disco/amd64
Log Excerpt
sftp://localhost with RSA authentication ... ok
test_unknown_host (__main__.Sftp)
sftp:// with RSA authentication for unknown host ... FAIL
----- dbus stdout -----
(gvfsd:7831): GLib-DEBUG: 23:15:34.903: posix_spawn avoided (fd close requested)
sftp: Added new job source 0x55dec97330a0 (GVfsBackendSftp)
sftp: Queued new job 0x55dec97146d0 (GVfsJobMount)
(process:8856): GLib-DEBUG: 23:15:34.913: posix_spawn avoided (fd close requested)
sftp: spawn_ssh: sftp: /usr/bin/ssh sftp: -oForwardX11 no sftp: -oForwardAgent
no sftp: -oPermitLocalCommand no sftp: -oClearAllForwardings yes sftp: -oProtocol 2
sftp: -oNoHostAuthenticationForLocalhost yes sftp: -p sftp: 22222 sftp: -s sftp: 10.220.47.158
sftp: sftp sftp:
sftp: handle_login #1 initial_connection = 1 - user: (null), host: 10.220.47.158
, port: 22222
sftp: handle_login #1 - password_save: 0
sftp: handle_login #1 - ret_val: 1
sftp: stderr: ssh: Could not resolve hostname 10.220.47.158
sftp: stderr: : Name or service not known
sftp: send_reply(0x55dec97146d0), failed=1 (Hostname not known)
** (gvfsd:7831): DEBUG: 23:15:34.926: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount():
Hostname not known
----- dbus stderr -----
** (process:8856): WARNING **: 23:15:34.918: Failed to setup SSH evironment: The name
org.gnome.keyring was not provided by any .service files (g-dbus-error-quark, 2)
** (process:8856): WARNING **: 23:15:34.925: Ignored send_command error
----- sshd log -----
/tmp/tmp8qqsz2ar/sshd_config line 3: Deprecated option UsePrivilegeSeparation
debug1: sshd version OpenSSH_7.9, OpenSSL 1.1.1a 20 Nov 2018
debug1: private host key #0: ssh-rsa SHA256:QapOCfRLoC3jaG1QssAJYlszoE8MdgKW1DrIf9UCo9M
debug1: setgroups() failed: Operation not permitted
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-Dde'
debug1: rexec_argv[2]='-f'
debug1: rexec_argv[3]='/tmp/tmp8qqsz2ar/sshd_config'
debug1: Set /proc/self/oom_score_adj from 0 to -1000
debug1: Bind to port 22222 on 0.0.0.0.
Server listening on 0.0.0.0 port 22222.
debug1: Bind to port 22222 on ::.
Server listening on :: port 22222.
Received signal 15; terminating.
------
test_anonymous (__main__.Smb)
smb:// anonymous ... ok
test_authenticated (__main__.Smb)
smb:// authenticated ... ok
test_deletion_with_same_path (__main__.Trash)
trash:// deletion of two files with the same path ... ok
test_file_in_home_api (__main__.Trash)
trash:// deletion, attributes, restoring for a file in $HOME (API) ... ok
test_file_in_home_cli (__main__.Trash)
trash:// deletion, attributes, restoring for a file in $HOME (CLI) ... ok
test_file_in_system (__main__.Trash)
trash:// deletion for system location ... ok
======================================================================
FAIL: test_unknown_host (__main__.Sftp)
sftp:// with RSA authentication for unknown host
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gvfs-testbed-script", line 535, in test_unknown_host
self.assertTrue('Login dialog cancelled' in err, err)
AssertionError: False is not true : gio: sftp://10.220.47.158%0A:22222/: Hostname not known
----------------------------------------------------------------------