180 tests run, 172 succeeded, 2 failed, 0 failed expectedly, 0 succeeded unexpectedly, 6 skipped. Failed tests: <extended-key-format>tests/openpgp/quick-key-manipulation.scm tests/openpgp/quick-key-manipulation.scm Skipped tests: <extended-key-format>tests/openpgp/issue2929.scm <extended-key-format>tests/openpgp/tofu.scm <use-keyring>tests/openpgp/issue2929.scm <use-keyring>tests/openpgp/tofu.scm tests/openpgp/issue2929.scm tests/openpgp/tofu.scm Portage 2.3.8 (python 2.7.14-final-0, default/linux/sparc/13.0, gcc-5.4.0, glibc-2.25-r8, 4.13.8 sparc64) ================================================================= System Settings ================================================================= System uname: Linux-4.13.8-sparc64-sun4v-with-gentoo-2.3 KiB Mem: 33133648 total, 21520048 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 31 Oct 2017 01:15:01 +0000 Head commit of repository gentoo: 02b5792147ed6252828d30762ac91212148202e2 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1 app-shells/bash: 4.3_p48-r1::gentoo dev-lang/perl: 5.24.3::gentoo dev-lang/python: 2.7.14::gentoo, 3.4.5::gentoo dev-util/cmake: 3.8.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.32.1::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.28.1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 ACCEPT_KEYWORDS="sparc" ACCEPT_LICENSE="* -@EULA" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=niagara2 -pipe" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -mcpu=niagara2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="" 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="" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j20" 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 berkdb big-endian bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pam pcre readline session sparc ssl tcpd unicode xattr zlib" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" 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" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga r128 radeon sunbw2 suncg14 suncg3 suncg6 sunffb sunleo tdfx dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-crypt/gnupg-2.2.0::gentoo was built with the following: USE="bzip2 doc gnutls ldap nls readline smartcard tofu tools usb wks-server (-selinux)" Reproducible: Always
Hi, Can you please attach build.log and tests/openpgp/*.log (the log that we can see the failure in). Thanks!
Created attachment 501690 [details] Build and test logs
$ cat quick-key-manipulation.scm.log Checking quick key generation... Checking that we can add a user ID... Checking that we can mark an user ID as primary. Checking that we get an error making non-existent user ID the primary one. Checking that we can revoke a user ID... Checking that we get an error revoking a non-existent user ID. Checking that we get an error revoking the last valid user ID. Checking that we can change the expiration time. Checking that we can add subkeys... > () (- - -) (default default never) (rsa sign auth encr seconds=600) (rsa auth,encr 2) (rsa sign 2038-01-01) (rsa sign 20380101T115500) (rsa sign 2d) (rsa1024 sign 2w) (rsa2048 encr 2m) (rsa4096 sign,auth 2y) /var/tmp/portage/app-crypt/gnupg-2.2.0/work/gnupg-2.2.0/tests/openpgp/quick-key-manipulation.scm:219: Assertion failed: : ((time-matches? (+ (get-time) (years->seconds 2)) (string->number (:expire subkey)) (minutes->seconds 5)))
Created attachment 513612 [details] build.log for 2.2.4
Same with 2.2.4-r2
*** Bug 641450 has been marked as a duplicate of this bug. ***
So, this is not sparc related as it happens on AMD64, too (see dupes). I also had one run with: Failed tests: <extended-key-format>tests/openpgp/quick-key-manipulation.scm <use-keyring>tests/openpgp/quick-key-manipulation.scm tests/openpgp/quick-key-manipulation.scm And I had one of these errors also with 2.2.7. I'm currently in #gnupg and someone may look into this, but if someone wants to file a proper upstream bugreport just go ahead.
Same with 2.2.8.
please check if it is related to https://dev.gnupg.org/T3393
I don't think so: /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin
(In reply to Rolf Eike Beer from comment #10) > I don't think so: > > /etc/localtime -> /usr/share/zoneinfo/Europe/Berlin Hi Rolf Eike, is this still an issue in 2.2.10?
Results with 2.2.10: 180 tests run, 171 succeeded, 3 failed, 0 failed expectedly, 0 succeeded unexpectedly, 6 skipped. Failed tests: <extended-key-format>tests/openpgp/quick-key-manipulation.scm <use-keyring>tests/openpgp/quick-key-manipulation.scm tests/openpgp/quick-key-manipulation.scm Skipped tests: <extended-key-format>tests/openpgp/issue2929.scm <extended-key-format>tests/openpgp/tofu.scm <use-keyring>tests/openpgp/issue2929.scm <use-keyring>tests/openpgp/tofu.scm tests/openpgp/issue2929.scm tests/openpgp/tofu.scm
I removed the duplication for other bug as I want to treat this separately given the different error messages Could you please provide output of make -Ctests/openpgp check verbose=3 XTESTS=quick-key-manipulation.scm ?
(In reply to Kristian Fiskerstrand from comment #13) > I removed the duplication for other bug as I want to treat this separately > given the different error messages > > Could you please provide output of make -Ctests/openpgp check verbose=3 > XTESTS=quick-key-manipulation.scm ? Ok, it being a sparc issue seems strengthened by me being able to replicate this failure on bender. ) (stderr )) (rsa4096 sign,auth 2y) Executing: '/home/k_f/gnupg/gnupg-2.2.10/g10/gpg' '--no-permission-warning' '--always-trust' '--quick-add-key' 'DA6BFD3A8350F2E7EF952E1606D3EDFEE97BFF3A' 'rsa4096' 'sign,auth' '2y' Child 29952 returned: ((command ("/home/k_f/gnupg/gnupg-2.2.10/g10/gpg" --no-permission-warning --always-trust --quick-add-key "DA6BFD3A8350F2E7EF952E1606D3EDFEE97BFF3A" rsa4096 sign,auth "2y")) (status 0) (stdout ) (stderr )) Executing: '/home/k_f/gnupg/gnupg-2.2.10/g10/gpg' '--no-permission-warning' '--always-trust' '--with-colons' '-k' 'DA6BFD3A8350F2E7EF952E1606D3EDFEE97BFF3A' Child 30008 returned: ((command ("/home/k_f/gnupg/gnupg-2.2.10/g10/gpg" --no-permission-warning --always-trust --with-colons -k "DA6BFD3A8350F2E7EF952E1606D3EDFEE97BFF3A")) (status 0) (stdout tru:ot:1:1541188724:1:3:1:5 pub:-:2048:1:06D3EDFEE97BFF3A:1541188627:1572724736::u:::scESCA::::::23::0: fpr:::::::::DA6BFD3A8350F2E7EF952E1606D3EDFEE97BFF3A: uid:-::::1541188736::F75B1420CC5881F4005333379355CFF5873094DE::Bravo <bravo@invalid.example.net>::::::::::0: uid:r::::::7D92DC8B93C049912A333472570E06ABB8C657AD::Alpha <alpha@invalid.example.net>::::::::::0: sub:-:2048:1:8421BB386348EF85:1541188627::::::e::::::23: fpr:::::::::E50E978097970131DB52B3B48421BB386348EF85: sub:-:2048:1:BEE02A35D7C1A64A:1541188737::::::e::::::23: fpr:::::::::5664E5B068432C54478F7473BEE02A35D7C1A64A: sub:-:2048:1:0F4721744ACE5FF2:1541188786::::::e::::::23: fpr:::::::::00C26A5687F930E86805CDD10F4721744ACE5FF2: sub:-:2048:1:F1BD6C7A3DE493C5:1541188822::::::e::::::23: fpr:::::::::80BCDAA4D0BAD9A7103110B5F1BD6C7A3DE493C5: sub:e:2048:1:0E25071379F757FE:1541188888:1541189488:::::esa::::::23: fpr:::::::::4BE8D163EC36B0FB944312580E25071379F757FE: sub:-:2048:1:D5A924661F86D1F8:1541188911:1541361711:::::ea::::::23: fpr:::::::::0D737300188D42578D8B04C3D5A924661F86D1F8: sub:-:2048:1:E465C1B4214794B4:1541188933:2145960000:::::s::::::23: fpr:::::::::2D0749970156ED0B91D6885AE465C1B4214794B4: sub:-:2048:1:779A541D5FBEC389:1541188986:2145959700:::::s::::::23: fpr:::::::::6B1BCF657D3A2BF60471D310779A541D5FBEC389: sub:-:2048:1:66978213ED2724B7:1541189071:1541361871:::::s::::::23: fpr:::::::::DCBC150EF29A8E84FCCC027566978213ED2724B7: sub:-:1024:1:7DEB9FC48C6A05AE:1541189099:1542398699:::::s::::::: fpr:::::::::0D48EA9376D9E3E68C9402167DEB9FC48C6A05AE: sub:-:2048:1:8B5CF9381817C04F:1541189105:1546373105:::::e::::::23: fpr:::::::::ECB652EF1337080EA283A47D8B5CF9381817C04F: sub:-:4096:1:376D37E324EDFBAF:1541189170:1604261170:::::sa::::::23: fpr:::::::::F5B136A695FF3F341385EB1B376D37E324EDFBAF: ) (stderr )) /home/k_f/gnupg/gnupg-2.2.10/tests/openpgp/quick-key-manipulation.scm:219: Assertion failed: : ((time-matches? (+ (get-time) (years->seconds 2)) (string->number (:expire subkey)) (minutes->seconds 5)))
Seems to be irrelevant now, at least I checked both current versions on sparc and all the tests have passed.
I can still reproduce this with 2.2.20-r1 on my machine (sparc32 on 64 bit kernel).
(In reply to Rolf Eike Beer from comment #16) > I can still reproduce this with 2.2.20-r1 on my machine (sparc32 on 64 bit > kernel). But what about 2.2.23? (weird, botth were fine for me).