Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 671958

Summary: gnome-base/gnome-keyring fails test test-data-der and test-gnome2-private-key on 32-bit arches
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal CC: whissi
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.gnome.org/show_bug.cgi?id=767122
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
test-suite.log
emerge --info
build.log (3.31.91-r1)
build.log (3.36.0, ppc)
emerge --info
test-suite.log (3.36.0, ppc)

Description ernsteiswuerfel archtester 2018-11-26 14:08:19 UTC
Created attachment 556288 [details]
build.log

FAIL: test-data-der 18 /gkm/data-der/write_pkcs8_encrypted
ERROR: test-data-der process failed: 250
FAIL: test-gnome2-private-key 2 /gnome2-store/private-key/save
ERROR: test-gnome2-private-key process failed: 250
============================================================================
Testsuite summary for gnome-keyring 3.28.2
============================================================================
# TOTAL: 641
# PASS:  627
# SKIP:  10
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 2

Same tests fail on stable gnome-keyring-3.20.1, so at least it's no regression.
Comment 1 ernsteiswuerfel archtester 2018-11-26 14:08:40 UTC
Created attachment 556290 [details]
test-suite.log
Comment 2 ernsteiswuerfel archtester 2018-11-26 14:09:46 UTC
Created attachment 556292 [details]
emerge --info
Comment 3 Mart Raudsepp gentoo-dev 2019-09-23 10:48:22 UTC
I once hit the test-data-der test failure, though the details looked different. Looks to be a race issue, that maybe 3.31.91-r1 improves on. Not sure what the other one is about.
Comment 4 ernsteiswuerfel archtester 2019-10-08 19:01:31 UTC
Created attachment 592264 [details]
build.log (3.31.91-r1)

Nope, 3.31.91-r1 does not improve the situation.
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-30 12:28:25 UTC
Seeing both failure during gnome-keyring-3.36.0 stabilization on x86:

[...]
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: DSAPrivateKey DSAPrivateKey: decoded tag did not match expected
# DEBUG: implicitlyCA implicitlyCA: decoded tag did not match expected
ok 17 /gkm/data-der/write_pkcs8_plain
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
Bail out! ERROR:pkcs11/gkm/test-data-der.c:639:test_write_pkcs8_encrypted: assertion failed: (res == GKM_DATA_SUCCESS)
**
ERROR:pkcs11/gkm/test-data-der.c:639:test_write_pkcs8_encrypted: assertion failed: (res == GKM_DATA_SUCCESS)

and

ERROR: test-gnome2-private-key
==============================

# ./build/tap-driver --test-name test-gnome2-private-key --log-file test-gnome2-private-key.log --trs-file test-gnome2-private-key.trs --color-tests yes --enable-hard-errors yes --expect-failure no --format=tap -- sh -c exec "$0" "$@" --tap ./test-gnome2-private-key
# random seed: R02S417ccfc9265748d1c6cc6324ed4d4b4e
1..2
# Start of gnome2-store tests
# Start of private-key tests
ok 1 /gnome2-store/private-key/load
Bail out! ERROR:pkcs11/gnome2-store/test-gnome2-private-key.c:147:test_save_private_key: assertion failed: (gkm_data_der_read_private_pkcs8_crypted (data, "booo", 4, &sexp) == GKM_DATA_SUCCESS)
**
ERROR:pkcs11/gnome2-store/test-gnome2-private-key.c:147:test_save_private_key: assertion failed: (gkm_data_der_read_private_pkcs8_crypted (data, "booo", 4, &sexp) == GKM_DATA_SUCCESS)
Comment 6 Pacho Ramos gentoo-dev 2020-09-19 19:19:21 UTC
please retry with gnome-keyring-3.36.0-r1
Comment 7 ernsteiswuerfel archtester 2020-10-20 00:40:50 UTC
Created attachment 667241 [details]
build.log (3.36.0, ppc)

Seems the same 2 tests fail but are only rated as error now, not as failure.

[...]
ERROR: test-data-der process failed: -6
ERROR:pkcs11/gnome2-store/test-gnome2-private-key.c:147:test_save_private_key: assertion failed: (gkm_data_der_read_private_pkcs8_crypted (data, "booo", 4, &sexp) == GKM_DATA_SUCCESS)
ERROR: test-gnome2-private-key process failed: -6

============================================================================
Testsuite summary for gnome-keyring 3.36.0
============================================================================
# TOTAL: 643
# PASS:  629
# SKIP:  12
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 2
Comment 8 ernsteiswuerfel archtester 2020-10-20 00:41:23 UTC
Created attachment 667244 [details]
emerge --info
Comment 9 ernsteiswuerfel archtester 2020-10-20 00:41:58 UTC
Created attachment 667247 [details]
test-suite.log (3.36.0, ppc)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-06 01:16:44 UTC
Same on x86 still w/ 42.1.