Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593734 - app-crypt/gcr-3.20.0 fails tests
Summary: app-crypt/gcr-3.20.0 fails tests
Status: CONFIRMED
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:
 
Reported: 2016-09-14 13:38 UTC by Paolo Pedroni
Modified: 2018-04-03 21:56 UTC (History)
3 users (show)

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


Attachments
gcr-3.20.0:20160914-132413.log.gz (gcr-3.20.0:20160914-132413.log.gz,44.81 KB, application/gzip)
2016-09-14 13:38 UTC, Paolo Pedroni
Details
test-suite.log (test-suite.log,429.18 KB, text/x-log)
2016-09-14 13:39 UTC, Paolo Pedroni
Details
test-suite.log with /bin/sh -> bash (test-suite.log,429.98 KB, text/x-log)
2016-10-17 14:49 UTC, Paolo Pedroni
Details
emerge-info.txt (emerge-info.txt,14.43 KB, text/plain)
2017-12-18 18:48 UTC, Toralf Förster
Details
app-crypt:gcr-3.20.0:20171218-175642.log (app-crypt:gcr-3.20.0:20171218-175642.log,509.84 KB, text/plain)
2017-12-18 18:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,31.98 KB, text/plain)
2017-12-18 18:48 UTC, Toralf Förster
Details
environment (environment,145.19 KB, text/plain)
2017-12-18 18:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.59 KB, application/x-bzip)
2017-12-18 18:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,47.56 KB, application/x-bzip)
2017-12-18 18:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,54.52 KB, application/x-bzip)
2017-12-18 18:48 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2016-09-14 13:38:50 UTC
Created attachment 445686 [details]
gcr-3.20.0:20160914-132413.log.gz

**
ERROR:gcr/test-gnupg-process.c:197:test_run_simple_output: assertion failed ("simple-output\n" == test->output_buf->str): ("simple-output\n" == "-n simple-\n-n outp\nut\n")
PASS: test-parser 19 /gcr/parser/usr0052_firefox_p12
PASS: test-parser 20 /gcr/parser/test_x509_swiss_p7b
PASS: test-parser 21 /gcr/parser/startcom_intermediate_cer
PASS: test-parser 22 /gcr/parser/rsa_security_2048_v3_pem
PASS: test-parser 23 /gcr/parser/pem_rsa_2048_req
PASS: test-parser 24 /gcr/parser/pem_with_attributes_req
FAIL: test-gnupg-process 2 /gcr/gnupg-process/run_simple_output
[...]
**
ERROR:gcr/test-gnupg-process.c:223:test_run_simple_error: assertion failed ("line 1: more line 1\nline 2\nline 3\n" == test->error_buf->str): ("line 1: more line 1\nline 2\nline 3\n" == "-n line 1: \nmore line 1\nline 2\nline 3\n")
PASS: test-parser 28 /gcr/parser/rsa_security_1024_v3_pem
PASS: test-parser 29 /gcr/parser/generic_dsa_spk
PASS: test-parser 30 /gcr/parser/cacert_org_pem
PASS: test-gnupg-collection 1 /gcr/gnupg-collection/properties
gpg: please do a --check-trustdb
PASS: test-parser 31 /gcr/parser/der_key_v2_des_p8
PASS: test-parser 32 /gcr/parser/ecc_strong_spk
FAIL: test-gnupg-process 3 /gcr/gnupg-process/run_simple_error
[...]
**
ERROR:gcr/test-gnupg-process.c:349:test_run_arguments_and_environment: assertion failed ("VALUE1VALUE2\n" == test->error_buf->str): ("VALUE1VALUE2\n" == "-n VALUE1\nVALUE2\n")
FAIL: test-gnupg-process 6 /gcr/gnupg-process/run_arguments_and_environment
[...]
gpg: porting secret keys from '/tmp/gcr-tests.H3CPNY/secring.gpg' to gpg-agent
gpg: key 4842D952AFC000FD: secret key imported
gpg: key 268FEE686262C395: secret key imported
gpg: migration succeeded
gpg: please do a --check-trustdb
rm: cannot remove ‘/tmp/gcr-tests.H3CPNY/private-keys-v1.d’: Is a directory
**
ERROR:gcr/test-gnupg-collection.c:120:teardown: assertion failed (error == NULL): Child process exited with code 1 (g-spawn-exit-error-quark, 1)
FAIL: test-gnupg-collection 2 /gcr/gnupg-collection/load
gpg: please do a --check-trustdb
gpg: starting migration from earlier GnuPG versions
**
ERROR:gcr/test-gnupg-collection.c:206:test_reload: assertion failed: (test->result)
FAIL: test-gnupg-collection 3 /gcr/gnupg-collection/reload
ERROR: test-gnupg-collection process failed: 250
PASS: test-system-prompt 14 /gcr/system-prompt/close
PASS: test-system-prompt 15 /gcr/system-prompt/close-cancels
PASS: test-system-prompt 16 /gcr/system-prompt/after-close-dismisses
PASS: test-system-prompt 17 /gcr/system-prompt/close-from-prompter
PASS: test-system-prompt 18 /gcr/system-prompt/watch-cancels
============================================================================
Testsuite summary for gcr 3.20.0
============================================================================
# TOTAL: 597
# PASS:  591
# SKIP:  0
# XFAIL: 0
# FAIL:  5
# XPASS: 0
# ERROR: 1
============================================================================
See ./test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-keyring&component=gcr
============================================================================

# emerge --info =app-crypt/gcr-3.20.0
Portage 2.2.28 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.22-r4, 4.7.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.7.3-gentoo-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.2
KiB Mem:    12273184 total,   7794940 free
KiB Swap:    8351740 total,   8351740 free
Timestamp of repository gentoo: Wed, 14 Sep 2016 07:15:01 +0000
sh dash 0.5.8.2
ld GNU gold (Gentoo 2.25.1 p1.1 2.25.1) 1.11
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::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.3::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r1::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.europe.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10 -msahf -mlzcnt -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -flto=5 -fuse-linker-plugin -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -fgraphite-identity -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=amdfam10 -msahf -mlzcnt -mpopcnt --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -flto=5 -fuse-linker-plugin -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -fgraphite-identity -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup compress-build-logs config-protect-if-modified distcc distlocks ebuild-locks ipc-sandbox merge-sync news parallel-fetch protect-owned sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -flto=5 -fuse-linker-plugin -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -fgraphite-identity -ftree-vectorize"
MAKEOPTS="-j12 -l4"
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="3dnow X a52 aac aalib acl acpi alsa amd64 ao audiofile bash-completion bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus dga djvu dri dts dvd dvdr emboss encode exif expat fbcon ffmpeg fftw flac fontconfig fortran ftp gd gdbm gif glamor gmp gnutls gpm graphviz gtk iconv icu idn ieee1394 imagemagick imlib inotify introspection ipv6 jbig jpeg jpeg2k kde lame lcms libass libcaca libnotify libsamplerate lm_sensors lua lzma lzo mad mmap mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl nsplugin offensive ogg openal openexr opengl openmp pam pango pcre pdf png policykit postscript ppds pulseaudio qt3support qt4 rdesktop readline samba sctp sdl seccomp session sndfile speex spell sqlite sse sse2 ssl startup-notification svg symlink syslog systemd taglib theora threads tiff truetype udev udisks unicode upower usb vaapi vcd vdpau vim-syntax vorbis wavpack wayland win32codecs wmf wxwidgets x264 xattr xcb xcomposite xine xinerama xml xpm xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel virmidi" 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="kodak ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="gnutls" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it it_IT" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 pypy pypy3" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

# emerge -1pqv =app-crypt/gcr-3.20.0
[ebuild     U ] app-crypt/gcr-3.20.0 [3.18.0] USE="gtk introspection {test*} -debug -vala"
Comment 1 Paolo Pedroni 2016-09-14 13:39:21 UTC
Created attachment 445688 [details]
test-suite.log
Comment 2 Gilles Dartiguelongue gentoo-dev 2016-09-30 18:30:57 UTC
It seems you are running stable.
Could you list the gnupg and gpgme versions you are using ?
Comment 3 Paolo Pedroni 2016-10-04 09:59:13 UTC
(In reply to Gilles Dartiguelongue from comment #2)
> It seems you are running stable.
> Could you list the gnupg and gpgme versions you are using ?

At the time of the bug report it was: gnupg-2.1.14-r1

I have no gpgme package installed.
Comment 4 Gilles Dartiguelongue gentoo-dev 2016-10-16 21:14:44 UTC
Is it still failing with =app-crypt/gnupg-2.1.15 ? The output of gnupg seems to be different than expected on your system.
Comment 5 Paolo Pedroni 2016-10-17 13:52:51 UTC
(In reply to Gilles Dartiguelongue from comment #4)
> Is it still failing with =app-crypt/gnupg-2.1.15 ?

Yes, it is. Same failures and errors...

> The output of gnupg seems to be different than expected on your system.

Could it be a matter of USE flags?

# equery u app-vim/gnupg
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for app-crypt/gnupg-2.1.15:
 U I
 + + bzip2     : Use the bzlib compression library
 - - doc       : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + gnutls    : Add support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support)
 - - ldap      : Add LDAP support (Lightweight Directory Access Protocol)
 + + nls       : Add Native Language Support (using gettext - GNU locale utilities)
 + + readline  : Enable support for libreadline, a GNU line-editing library that almost everyone wants
 - - smartcard : Build scdaemon software. Enables usage of OpenPGP cards. For other type of smartcards, try
                 app-crypt/gnupg-pkcs11-scd. Bring in dev-libs/libusb as a dependency; enable scdaemon. 
 - - tofu      : Enable support for Trust of First use trust model; requires dev-db/sqlite. 
 - - tools     : Install extra tools. 
 + + usb       : Build direct CCID access for scdaemon; requires dev-libs/libusb.
Comment 6 Paolo Pedroni 2016-10-17 13:54:56 UTC
(In reply to Paolo Pedroni from comment #5)
> # equery u app-vim/gnupg

It is, of course, app-crypt/gnupg: cut'n'paste error.
Comment 7 Paolo Pedroni 2016-10-17 14:49:57 UTC
Created attachment 450568 [details]
test-suite.log with /bin/sh -> bash

This is interesting: setting /bin/sh as bash reduces errors somehow. All the test-gnu-process tests now succeed and just the test-gnupg-collection tests still fail:

PASS: test-gnupg-process 1 /gcr/gnupg-process/create
PASS: test-gnupg-process 2 /gcr/gnupg-process/run_simple_output
PASS: test-gnupg-process 3 /gcr/gnupg-process/run_simple_error
[...]
PASS: test-gnupg-process 6 /gcr/gnupg-process/run_arguments_and_environment
PASS: test-gnupg-process 7 /gcr/gnupg-process/run_with_homedir
PASS: test-gnupg-process 8 /gcr/gnupg-process/run_with_input_and_output
PASS: test-gnupg-process 9 /gcr/gnupg-process/run_fail_exit
[...]
gpg: porting secret keys from '/tmp/gcr-tests.A71EPY/secring.gpg' to gpg-agent
gpg: key 4842D952AFC000FD: secret key imported
gpg: key 268FEE686262C395: secret key imported
gpg: migration succeeded
gpg: please do a --check-trustdb
rm: cannot remove ‘/tmp/gcr-tests.A71EPY/private-keys-v1.d’: Is a directory
**
ERROR:gcr/test-gnupg-collection.c:120:teardown: assertion failed (error == NULL): Child process exited with code 1 (g-spawn-exit-error-quark, 1)
FAIL: test-gnupg-collection 2 /gcr/gnupg-collection/load
gpg: please do a --check-trustdb
gpg: starting migration from earlier GnuPG versions
**
ERROR:gcr/test-gnupg-collection.c:206:test_reload: assertion failed: (test->result)
FAIL: test-gnupg-collection 3 /gcr/gnupg-collection/reload
ERROR: test-gnupg-collection process failed: 250
PASS: test-system-prompt 14 /gcr/system-prompt/close
PASS: test-system-prompt 15 /gcr/system-prompt/close-cancels
PASS: test-system-prompt 16 /gcr/system-prompt/after-close-dismisses
PASS: test-system-prompt 17 /gcr/system-prompt/close-from-prompter
PASS: test-system-prompt 18 /gcr/system-prompt/watch-cancels
============================================================================
Testsuite summary for gcr 3.20.0
============================================================================
# TOTAL: 597
# PASS:  594
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 1
============================================================================
See ./test-suite.log
Please report to http://bugzilla.gnome.org/enter_bug.cgi?product=gnome-keyring&component=gcr
============================================================================
Comment 8 Toralf Förster gentoo-dev 2017-12-18 18:47:57 UTC
appeared recently at the tinderbox image 17.0-desktop-gnome_test_20171217-170547
Comment 9 Toralf Förster gentoo-dev 2017-12-18 18:48:00 UTC
Created attachment 510776 [details]
emerge-info.txt
Comment 10 Toralf Förster gentoo-dev 2017-12-18 18:48:04 UTC
Created attachment 510778 [details]
app-crypt:gcr-3.20.0:20171218-175642.log
Comment 11 Toralf Förster gentoo-dev 2017-12-18 18:48:07 UTC
Created attachment 510780 [details]
emerge-history.txt
Comment 12 Toralf Förster gentoo-dev 2017-12-18 18:48:10 UTC
Created attachment 510782 [details]
environment
Comment 13 Toralf Förster gentoo-dev 2017-12-18 18:48:13 UTC
Created attachment 510784 [details]
etc.portage.tbz2
Comment 14 Toralf Förster gentoo-dev 2017-12-18 18:48:17 UTC
Created attachment 510786 [details]
logs.tbz2
Comment 15 Toralf Förster gentoo-dev 2017-12-18 18:48:20 UTC
Created attachment 510788 [details]
temp.tbz2
Comment 16 ahudson.news 2018-04-03 21:56:39 UTC
It's failing the gnupg tests for me as well, but for a completely different reason: I may be missing something, but could it be that the package doesn't depend on gnupg (to be installed) at all? At least there is no direct mention of gnupg in gcr-3.20.0.ebuild

Build/test output excerpt below:

PASS: test-gnupg-collection 1 /gcr/gnupg-collection/properties
**
ERROR:gcr/test-gnupg-collection.c:161:test_load: assertion failed (error == NULL): Failed to execute child process ?gpg? (No such file or directory) (g-exec-error-quark, 8)
FAIL: test-gnupg-collection 2 /gcr/gnupg-collection/load
FAIL: test-gnupg-collection 3 /gcr/gnupg-collection/reload
**
ERROR:gcr/test-gnupg-collection.c:208:test_reload: assertion failed (error == NULL): Failed to execute child process ?gpg? (No such file or directory) (g-exec-error-quark, 8)
ERROR: test-gnupg-collection process failed: 250
PASS: test-gnupg-process 1 /gcr/gnupg-process/create