Subject: xmlsec has test failures

From: Björn Höfling <[email-masked]>
Date: Mon, 11 Feb 2019 06:57:57 +0100

commit: 50a93adc05b611836e740c4b55571890f4c6770a

Package xmlsec has test failures:

--- detailed log is written to  /tmp/testDSig.sh.20190211_054329-21153.log
--- TOTAL OK: 144; TOTAL FAILED: 38; TOTAL SKIPPED: 13
Test: /aleksey-xmldsig-01/enveloping-dsa-x509chain (success)
/tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/apps/xmlsec1 check-transforms  --crypto gnutls --crypto-config /tmp/xmlsec-crypto-config sha1 dsa-
Transforms "sha1" found
Transforms "dsa-sha1" found
/tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/apps/xmlsec1 check-key-data  --crypto gnutls --crypto-config /tmp/xmlsec-crypto-config dsa x509
Key data "dsa" found
Key data "x509" found
 /tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/apps/xmlsec1 verify  --crypto gnutls --crypto-config /tmp/xmlsec-crypto-config --trusted-der /tmp
func=xmlSecGnuTLSX509StoreVerify:file=x509vfy.c:line=354:obj=unknown:subj=unknown:error=71:certificate verification failed:gnutls_x509_crt_list_verif
func=xmlSecKeysMngrGetKey:file=keys.c:line=1253:obj=unknown:subj=xmlSecKeysMngrFindKey:error=1:xmlsec library function failed: 
func=xmlSecDSigCtxProcessKeyInfoNode:file=xmldsig.c:line=793:obj=unknown:subj=unknown:error=45:key is not found:details=NULL
func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=508:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlsec library function faile
func=xmlSecDSigCtxVerify:file=xmldsig.c:line=346:obj=unknown:subj=xmlSecDSigCtxProcessSignatureNode:error=1:xmlsec library function failed: 
Error: signature failed 
ERROR
SignedInfo References (ok/all): 0/0
Manifests References (ok/all): 0/0
Error: failed to verify file "/tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/tests/aleksey-xmldsig-01/enveloping-dsa-x509chain.xml"
 /tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/apps/xmlsec1 sign  --crypto gnutls --crypto-config /tmp/xmlsec-crypto-config --pkcs12 /tmp/guix-b
 /tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/apps/xmlsec1 verify  --crypto gnutls --crypto-config /tmp/xmlsec-crypto-config --trusted-der /tmp
func=xmlSecGnuTLSX509StoreVerify:file=x509vfy.c:line=354:obj=unknown:subj=unknown:error=71:certificate verification failed:gnutls_x509_crt_list_verif
func=xmlSecKeysMngrGetKey:file=keys.c:line=1253:obj=unknown:subj=xmlSecKeysMngrFindKey:error=1:xmlsec library function failed: 
func=xmlSecDSigCtxProcessKeyInfoNode:file=xmldsig.c:line=793:obj=unknown:subj=unknown:error=45:key is not found:details=NULL
func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=508:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlsec library function faile
func=xmlSecDSigCtxVerify:file=xmldsig.c:line=346:obj=unknown:subj=xmlSecDSigCtxProcessSignatureNode:error=1:xmlsec library function failed: 
Error: signature failed 
ERROR

[...]

ERROR
SignedInfo References (ok/all): 0/0
Manifests References (ok/all): 0/0
Error: failed to verify file "signature-dsa-enveloped.xml"
Test: phaos-xmldsig-three/signature-dsa-enveloping in folder  /tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/tests/phaos-xmldsig-three  (success)
/tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/apps/xmlsec1 check-transforms  --crypto gnutls --crypto-config /tmp/xmlsec-crypto-config sha1 dsa-
Transforms "sha1" found
Transforms "dsa-sha1" found
/tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/apps/xmlsec1 check-key-data  --crypto gnutls --crypto-config /tmp/xmlsec-crypto-config dsa x509
Key data "dsa" found
Key data "x509" found
 /tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27/apps/xmlsec1 verify  --crypto gnutls --crypto-config /tmp/xmlsec-crypto-config --trusted-der cert
func=xmlSecGnuTLSX509StoreVerify:file=x509vfy.c:line=354:obj=unknown:subj=unknown:error=71:certificate verification failed:gnutls_x509_crt_list_verif
func=xmlSecKeysMngrGetKey:file=keys.c:line=1253:obj=unknown:subj=xmlSecKeysMngrFindKey:error=1:xmlsec library function failed: 
func=xmlSecDSigCtxProcessKeyInfoNode:file=xmldsig.c:line=793:obj=unknown:subj=unknown:error=45:key is not found:details=NULL
func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=508:obj=unknown:subj=xmlSecDSigCtxProcessKeyInfoNode:error=1:xmlsec library function faile
func=xmlSecDSigCtxVerify:file=xmldsig.c:line=346:obj=unknown:subj=xmlSecDSigCtxProcessSignatureNode:error=1:xmlsec library function failed: 
Error: signature failed 
ERROR
SignedInfo References (ok/all): 0/0
Manifests References (ok/all): 0/0
Error: failed to verify file "signature-dsa-enveloping.xml"
make[1]: *** [Makefile:1182: check-crypto-gnutls] Error 38
make[1]: Leaving directory '/tmp/guix-build-xmlsec-1.2.27.drv-0/xmlsec1-1.2.27'
make: *** [Makefile:1177: check-all] Error 1

Test suite failed, dumping logs.
Backtrace:
           4 (primitive-load "/gnu/store/v9r18cvjhkzpgvqr13v02rippas…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
   863:16  2 (every1 #<procedure 705320 at /gnu/store/gfprsx2m62cvq…> …)
In /gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/gnu-build-system.scm:
   799:28  1 (_ _)
    369:6  0 (check #:target _ #:make-flags _ #:tests? _ # _ # _ # _)

/gnu/store/gfprsx2m62cvqbh7ysc9ay9slhijvmal-module-import/guix/build/gnu-build-system.scm:369:6: In procedure check:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "make" arguments: ("check" "-j" "4") exit-status: 2 term-signal: #f stop-signa
builder for `/gnu/store/13f6ryg4cj0a64dj9v6c8fb6ill274gx-xmlsec-1.2.27.drv' failed with exit code 1
build of /gnu/store/13f6ryg4cj0a64dj9v6c8fb6ill274gx-xmlsec-1.2.27.drv failed
View build log at '/var/log/guix/drvs/13/f6ryg4cj0a64dj9v6c8fb6ill274gx-xmlsec-1.2.27.drv.bz2'.
guix build: error: build of `/gnu/store/13f6ryg4cj0a64dj9v6c8fb6ill274gx-xmlsec-1.2.27.drv' failed

Full log attached.

Björn

PS: Hydra hasn't yet built this