Summary: | app-crypt/gnupg-2.2.*: test failures (quick-key-manipulation.scm) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | alonbl, base-system, crypto+disabled, jstein, polynomial-c |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=641450 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 631124, 643618 | ||
Attachments: |
Build and test logs
build.log for 2.2.4 |
Description
Rolf Eike Beer
![]() 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). |