Processed: Re: Bug#970935: glib-networking breaks libsoup2.4 autopkgtest: libsoup-2.4/ssl-test.test (Child process killed by signal 5)

2020-09-27 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + confirmed
Bug #970935 [src:glib-networking, src:libsoup2.4] glib-networking breaks 
libsoup2.4 autopkgtest: libsoup-2.4/ssl-test.test (Child process killed by 
signal 5)
Added tag(s) confirmed.

-- 
970935: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970935
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#970935: glib-networking breaks libsoup2.4 autopkgtest: libsoup-2.4/ssl-test.test (Child process killed by signal 5)

2020-09-27 Thread Simon McVittie
Control: tags -1 + confirmed

On Fri, 25 Sep 2020 at 21:50:53 +0200, Paul Gevers wrote:
> With a recent upload of glib-networking the autopkgtest of libsoup2.4
> fails in testing when that autopkgtest is run with the binary packages
> of glib-networking from unstable. It passes when run with only packages
> from testing.

The build-time tests have the same behaviour, and libsoup 2.72.0-1 from
experimental fails in the same way, so these might be easier steps to
reproduce:

* be on a pure bullseye/testing system
- glib-networking is version 2.64.3-2
* have libsoup2.4_2.70.0-1 source (from testing) or 2.72.0-1
  (from experimental)
* build from source
- tests pass
* upgrade glib-networking and dependent packages to 2.66.0
* build from source
- tests fail

I'll try to bisect glib-networking. Bisecting libsoup looks unlikely to
be useful (but the solution might end up being a fix in libsoup and a
versioned Breaks, even if it's a glib-networking change that triggers it).

https://gitlab.gnome.org/GNOME/libsoup/-/issues/193 and
https://gitlab.gnome.org/GNOME/libsoup/-/issues/188 might be related.
In particular, libsoup#188 indicates that ssl-test was not completely
reliable even before upgrading glib-networking, so we might have to mark
it as flaky.

smcv



Bug#970935: glib-networking breaks libsoup2.4 autopkgtest: libsoup-2.4/ssl-test.test (Child process killed by signal 5)

2020-09-25 Thread Paul Gevers
Source: glib-networking, libsoup2.4
Control: found -1 glib-networking/2.66.0-1
Control: found -1 libsoup2.4/2.70.0-1
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian...@lists.debian.org
User: debian...@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of glib-networking the autopkgtest of libsoup2.4
fails in testing when that autopkgtest is run with the binary packages
of glib-networking from unstable. It passes when run with only packages
from testing. In tabular form:

   passfail
glib-networkingfrom testing2.66.0-1
libsoup2.4 from testing2.70.0-1
all others from testingfrom testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of glib-networking
to testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=glib-networking

https://ci.debian.net/data/autopkgtest/testing/amd64/libs/libsoup2.4/7182493/log.gz

Running test: libsoup-2.4/ssl-test.test
# random seed: R02S0708d54b4a1a80d57044bd9d7e4d6122
# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation
gnutls (GTlsBackendGnutls) for ‘gio-tls-backend’
**
ERROR:../tests/ssl-test.c:451:main: assertion failed (error == NULL):
Failed to populate trust list from /dev/null: No certificate was found.
(g-tls-error-quark, 1)
# ERROR:../tests/ssl-test.c:451:main: assertion failed (error == NULL):
Failed to populate trust list from /dev/null: No certificate was found.
(g-tls-error-quark, 1)
1..12
# Start of ssl tests
# Bug Reference: https://bugzilla.gnome.org/673678
ok 1 /ssl/session-properties
ok 2 /ssl/tls-interaction # SKIP Not reliable?
https://gitlab.gnome.org/GNOME/libsoup/issues/120
# Start of message-properties tests
# 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: Connection successful!
# Bug Reference: https://bugzilla.gnome.org/665182
ok 3 /ssl/message-properties/async
# Bug Reference: https://bugzilla.gnome.org/665182
ok 4 /ssl/message-properties/sync
# End of message-properties tests
# Start of strictness tests
# Start of async tests
# Start of strict tests
# 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: Connection successful!
# Bug Reference: https://bugzilla.gnome.org/690176
# Bug Reference: https://bugzilla.gnome.org/665182
ok 5 /ssl/strictness/async/strict/with-ca
# 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: Connection successful!
**
ERROR:../tests/ssl-test.c:115:do_strictness_test: Unexpected status 200
OK (expected 6 SSL handshake failed)
# ERROR:../tests/ssl-test.c:115:do_strictness_test: Unexpected status
200 OK (expected 6 SSL handshake failed)
# Bug Reference: https://bugzilla.gnome.org/690176
# Bug Reference: https://bugzilla.gnome.org/665182
not ok 6 /ssl/strictness/async/strict/without-ca
# End of strict tests
# Start of non-strict tests
# 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: Connection successful!
# Bug Reference: https://bugzilla.gnome.org/690176
# Bug Reference: https://bugzilla.gnome.org/665182
ok 7 /ssl/strictness/async/non-strict/with-ca
# 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: