Bug#953766: glib-networking: tests fail with GLib 2.64: tls/tests/connection.c:2035:quit_on_handshake_complete: assertion failed (error == (g-tls-error-quark, 3)): error is NULL
Simon McVittie
smcv at debian.org
Fri Mar 13 08:34:05 GMT 2020
Source: glib-networking
Version: 2.62.3-1
Severity: serious
Tags: ftbfs bullseye sid
Justification: fails to build from source (but built successfully in the past)
glib-networking fails to build from source, and fails its autopkgtests,
now that GLib 2.64 is in unstable. Log below.
This is either a regression in GLib, or a bug in glib-networking that has
been uncovered by the new GLib, or a behaviour change that made a too-strict
test fail. Regardless of which one it is, it will need fixing before GLib
can migrate.
smcv
--- command ---
08:29:31 G_TEST_SRCDIR='/<<PKGBUILDDIR>>/tls/tests' GIO_MODULE_DIR='/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tls/gnutls' G_TEST_BUILDDIR='/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tls/tests' /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tls/tests/connection-gnutls
--- stdout ---
# random seed: R02S52f1e5ffd86a7d2d97139d053e112c7d
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ?gio-tls-backend?
1..37
# Start of tls tests
# Start of gnutls tests
# Start of connection tests
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
ok 1 /tls/gnutls/connection/basic
ok 2 /tls/gnutls/connection/verified
ok 3 /tls/gnutls/connection/verified-chain
ok 4 /tls/gnutls/connection/verified-chain-with-redundant-root-cert
ok 5 /tls/gnutls/connection/verified-chain-with-duplicate-server-cert
ok 6 /tls/gnutls/connection/verified-unordered-chain
ok 7 /tls/gnutls/connection/verified-chain-with-alternative-ca-cert
ok 8 /tls/gnutls/connection/invalid-chain-with-alternative-ca-cert
ok 9 /tls/gnutls/connection/client-auth
ok 10 /tls/gnutls/connection/client-auth-rehandshake
ok 11 /tls/gnutls/connection/client-auth-failure
# Bug Reference: http://bugzilla.gnome.org/793712
ok 12 /tls/gnutls/connection/client-auth-fail-missing-client-private-key
ok 13 /tls/gnutls/connection/client-auth-request-cert
ok 14 /tls/gnutls/connection/client-auth-request-fail
ok 15 /tls/gnutls/connection/client-auth-request-none
ok 16 /tls/gnutls/connection/no-database
ok 17 /tls/gnutls/connection/failed
# GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
# GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
# GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
# GLib-GIO-DEBUG: GSocketClient: TCP connection successful
# GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
# GLib-GIO-DEBUG: GSocketClient: Starting TLS handshake
# GLib-GIO-DEBUG: GSocketClient: TLS handshake succeeded
# GLib-GIO-DEBUG: GSocketClient: Connection successful!
ok 18 /tls/gnutls/connection/socket-client
# GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
# GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
# GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
# GLib-GIO-DEBUG: GSocketClient: TCP connection successful
# GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
# GLib-GIO-DEBUG: GSocketClient: Starting TLS handshake
# GLib-GIO-DEBUG: GSocketClient: TLS handshake failed: Unacceptable TLS certificate
# GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
# GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
# GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
# GLib-GIO-DEBUG: GSocketClient: Connection failed: Unacceptable TLS certificate
ok 19 /tls/gnutls/connection/socket-client-failed
# GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
# GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
# GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
# GLib-GIO-DEBUG: GSocketClient: TCP connection successful
# GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
# GLib-GIO-DEBUG: GSocketClient: Starting TLS handshake
# GLib-GIO-DEBUG: GSocketClient: TLS handshake succeeded
# GLib-GIO-DEBUG: GSocketClient: Connection successful!
ok 20 /tls/gnutls/connection/read-time-out-then-write
ok 21 /tls/gnutls/connection/simultaneous-async
ok 22 /tls/gnutls/connection/simultaneous-sync
ok 23 /tls/gnutls/connection/simultaneous-async-rehandshake
ok 24 /tls/gnutls/connection/simultaneous-sync-rehandshake
ok 25 /tls/gnutls/connection/close-immediately
# GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
# GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
# GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
# GLib-GIO-DEBUG: GSocketClient: TCP connection successful
# GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
# GLib-GIO-DEBUG: GSocketClient: Starting TLS handshake
# GLib-GIO-DEBUG: GSocketClient: TLS handshake succeeded
# GLib-GIO-DEBUG: GSocketClient: Connection successful!
# GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
# GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
# GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
# GLib-GIO-DEBUG: GSocketClient: TCP connection successful
# GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
# GLib-GIO-DEBUG: GSocketClient: Starting TLS handshake
# GLib-GIO-DEBUG: GSocketClient: TLS handshake succeeded
# GLib-GIO-DEBUG: GSocketClient: Connection successful!
ok 26 /tls/gnutls/connection/unclean-close-by-server
# Bug Reference: http://bugzilla.gnome.org/710691
ok 27 /tls/gnutls/connection/async-implicit-handshake
ok 28 /tls/gnutls/connection/output-stream-close
Bail out! GLib-Net:ERROR:../tls/tests/connection.c:2035:quit_on_handshake_complete: assertion failed (error == (g-tls-error-quark, 3)): error is NULL
--- stderr ---
**
GLib-Net:ERROR:../tls/tests/connection.c:2035:quit_on_handshake_complete: assertion failed (error == (g-tls-error-quark, 3)): error is NULL
-------
More information about the pkg-gnome-maintainers
mailing list