Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595952 - net-libs/glib-networking-2.48.2 with net-libs/gnutls-3.5.4[-sslv3] fails tests - assertion failed (error == NULL): Error performing TLS handshake: No or insufficient priorities were set.
Summary: net-libs/glib-networking-2.48.2 with net-libs/gnutls-3.5.4[-sslv3] fails test...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: gnutls-3.5-breakage
  Show dependency tree
 
Reported: 2016-10-02 16:54 UTC by eroen
Modified: 2017-05-20 05:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,69.84 KB, text/plain)
2016-10-02 16:54 UTC, eroen
Details
test-suite.log (test-suite.log,4.63 KB, text/plain)
2016-10-02 16:55 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2016-10-02 16:54:30 UTC
Created attachment 448856 [details]
build.log

PASS: connection 28 /tls/connection/output-stream-close
ERROR: connection - too few tests run (expected 30, got 28)
ERROR: connection - exited with status 134 (terminated by signal 6?)
============================================================================
Testsuite summary for glib-networking 2.48.2
============================================================================
# TOTAL: 58
# PASS:  56
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 2
============================================================================
See tls/tests/test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=glib&component=network
============================================================================
Makefile:1153: recipe for target 'test-suite.log' failed
make[5]: *** [test-suite.log] Error 1
make[5]: Leaving directory '/var/tmp/portage/net-libs/glib-networking-2.48.2/work/glib-networking-2.48.2-abi_x86_64.amd64/tls/tests'
Makefile:1259: recipe for target 'check-TESTS' failed
make[4]: *** [check-TESTS] Error 2
make[4]: Leaving directory '/var/tmp/portage/net-libs/glib-networking-2.48.2/work/glib-networking-2.48.2-abi_x86_64.amd64/tls/tests'
Makefile:1374: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '/var/tmp/portage/net-libs/glib-networking-2.48.2/work/glib-networking-2.48.2-abi_x86_64.amd64/tls/tests'
Makefile:1378: recipe for target 'check' failed
make[2]: *** [check] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-libs/glib-networking-2.48.2/work/glib-networking-2.48.2-abi_x86_64.amd64/tls/tests'
Makefile:973: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/glib-networking-2.48.2/work/glib-networking-2.48.2-abi_x86_64.amd64'
Makefile:1420: recipe for target 'check' failed
make: *** [check] Error 2
emake failed
 * ERROR: net-libs/glib-networking-2.48.2::gentoo failed (test phase):
 *   Failed to run 'emake check'
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_test
 *   environment, line 3588:  Called multilib-minimal_src_test
 *   environment, line 2863:  Called multilib_foreach_abi 'multilib-minimal_abi_src_test'
 *   environment, line 3035:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test'
 *   environment, line 2728:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_test'
 *   environment, line 2726:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_test'
 *   environment, line  472:  Called multilib-minimal_abi_src_test
 *   environment, line 2857:  Called multilib_src_test
 *   environment, line 3256:  Called virtx 'emake' 'check'
 *   environment, line 4416:  Called die
 * The specific snippet of code:
 *       [[ ${retval} -ne 0 ]] && die "Failed to run '$@'";
Comment 1 eroen 2016-10-02 16:55:56 UTC
Created attachment 448858 [details]
test-suite.log

**
GLib-Net:ERROR:/var/tmp/portage/net-libs/glib-networking-2.48.2/work/glib-networking-2.48.2/tls/tests/connection.c:1875:test_fallback: child process (/tls/connection/fallback/subprocess/NORMAL:+VERS-SSL3.0 [26342]) failed unexpectedly
# Start of fallback tests
# child process (/tls/connection/fallback/subprocess/NORMAL:+VERS-SSL3.0 [26342]) stdout: ""
# child process (/tls/connection/fallback/subprocess/NORMAL:+VERS-SSL3.0 [26342]) stderr: "**\nGLib-Net:ERROR:/var/tmp/portage/net-libs/glib-networking-2.48.2/work/glib-networking-2.48.2/tls/tests/connection.c:1858:quit_on_handshake_complete: assertion failed (error == NULL): Error performing TLS handshake: No or insufficient priorities were set. (g-tls-error-quark, 1)\n"
/var/tmp/portage/net-libs/glib-networking-2.48.2/work/glib-networking-2.48.2/tap-test: line 5: 26329 Aborted                 $1 -k --tap
# GLib-Net:ERROR:/var/tmp/portage/net-libs/glib-networking-2.48.2/work/glib-networking-2.48.2/tls/tests/connection.c:1875:test_fallback: child process (/tls/connection/fallback/subprocess/NORMAL:+VERS-SSL3.0 [26342]) failed unexpectedly
ERROR: connection - too few tests run (expected 30, got 28)
ERROR: connection - exited with status 134 (terminated by signal 6?)
Comment 2 eroen 2016-10-02 17:00:09 UTC
localhost ~ # emerge --info '=net-libs/glib-networking-2.48.2::gentoo'
Portage 2.3.0 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.22-r4, 4.4.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     4043380 total,   3514552 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 01 Oct 2016 00:45:01 +0000
sh bash 4.3_p46-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p46-r1::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21.7::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline seccomp session sse sse2 ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

localhost ~ # emerge -pqv '=net-libs/glib-networking-2.48.2::gentoo'
[ebuild  N    ] net-libs/glib-networking-2.48.2  USE="libproxy ssl {test} -gnome -smartcard" ABI_X86="(64) -32 (-x32)" 

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 3 Pacho Ramos gentoo-dev 2016-10-08 07:49:36 UTC
Please report to upstream and paste here the link to let us track the issue -> bugzilla.gnome.org
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2017-03-04 00:32:29 UTC
Hi,
Any news?
Last issue with suspected gnutls-3.5.
Thanks!
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2017-04-08 18:23:47 UTC
(In reply to Alon Bar-Lev from comment #4)
> Hi,
> Any news?
> Last issue with suspected gnutls-3.5.
> Thanks!

Anything?
Comment 6 Mart Raudsepp gentoo-dev 2017-04-08 18:30:33 UTC
Does it still fail with glib-networking-2.50.0? Has this been reported upstream if still relevant on latest release (potentially not packaged in Gentoo), as requested in comment #3? It it perhaps fixed in a newer version than 2.50.0?
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2017-04-20 08:21:04 UTC
Hi @gnome,
I would like to push gnutls-3.5 into stable.
If that is a test only issue, please patch out this test.
If that is a generic issue, please add sslv3 USE dependency.
Thanks!
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2017-04-20 19:18:38 UTC
(In reply to Alon Bar-Lev from comment #7)
> Hi @gnome,
> I would like to push gnutls-3.5 into stable.
> If that is a test only issue, please patch out this test.
> If that is a generic issue, please add sslv3 USE dependency.
> Thanks!

For some reason I cannot see bugzilla send notifications... trying again.
Comment 9 Alon Bar-Lev (RETIRED) gentoo-dev 2017-04-23 19:29:56 UTC
Hi,
In lack of response I will add sslv3 USE dependency in few days.
Thanks,
Alon
Comment 10 Mart Raudsepp gentoo-dev 2017-04-23 21:05:21 UTC
The lack of response is from you about comment #6, not us. Please look into that, and most definitely you may NOT touch a core gnome package like glib without authorization and review. I am not in a position to go install gnutls-3.5 for this, while you already should have it and easy to recheck.
Comment 11 Mart Raudsepp gentoo-dev 2017-04-23 23:19:32 UTC
also this is just a test failure. I don't think it should block you unmasking gnutls-3.5, if the functionality itself doesn't break, just tests because they ask for SSLv3 explicitly.
Comment 12 Alon Bar-Lev (RETIRED) gentoo-dev 2017-04-24 06:39:51 UTC
(In reply to Mart Raudsepp from comment #10)
> The lack of response is from you about comment #6, not us. 

Do you mean I should install gnome and test something I do not actually use/understand? How does it make sense?

(In reply to Mart Raudsepp from comment #11)
> also this is just a test failure. I don't think it should block you
> unmasking gnutls-3.5, if the functionality itself doesn't break, just tests
> because they ask for SSLv3 explicitly.

OK, continuing with stabilization, if I had been you I would have patch this test out, otherwise we will get lots of dups.
Comment 13 Mart Raudsepp gentoo-dev 2017-04-24 07:18:15 UTC
oh, you are stabilizing. Yeah, it's fine, just go ahead, I'll follow-up with this once I get around to actually upgrading gnutls from 4.4 to 4.5 and get to looking through glib-networking updates for gnome 3.24. The main point was in comment #3 - it needs to get properly reported upstream if no-one else has already. We don't want to just locally patch things forever.
Comment 14 Mart Raudsepp gentoo-dev 2017-04-24 07:19:33 UTC
(In reply to Alon Bar-Lev from comment #12)
> (In reply to Mart Raudsepp from comment #10)
> > The lack of response is from you about comment #6, not us. 
> 
> Do you mean I should install gnome and test something I do not actually
> use/understand? How does it make sense?

It's a test failure you could have tested if still happens by simply installing this. It's only dependencies are basically glib and gnutls.. but nevermind, I checked through changes from 2.48 to 2.50 already, and no relevant fixes there.
Comment 15 Mart Raudsepp gentoo-dev 2017-05-20 05:41:40 UTC
commit c4ae272b2ce102619120516d95199604e0fede1c
Author: Mart Raudsepp <leio@gentoo.org>
Date:   Sat May 20 08:40:17 2017 +0300

    net-libs/glib-networking: Fix tests with gnutls[-sslv3]
    
    Gentoo-bug: 595952