gpg 2.2.8: Test FAILures

Claus Assmann ca+gnupg-devel at esmtp.org
Sat Jun 9 03:48:02 CEST 2018


I don't know if these are important, but maybe it's worth sending
to the list (removed the "PASS" entries to reduce the amount of
data).

Making check in gpgscm
...
Checking decryption of supplied files 
    > plain-1 gpg: encrypted with 1024-bit ELG key, ID ABAB28A247BE2775, created 2003-12-31
      "Test one (pp=def) <one at example.com>"
gpg: uncompressing failed: Unknown compression algorithm
: (() ((throw (:stderr result)) (call-popen cmd input)))
0: #<CLOSURE>
1: tests.scm:443: (apply throw error)
FAIL: tests/openpgp/decrypt.scm 
Checking decryption of supplied files using --multifile. 
("SOMEDIR/gnupg-2.2.8/g10/gpg" --no-permission-warning --always-trust --decrypt --multifile "plain-1.asc" "plain-2.asc" "plain-3.asc" "plain-large.asc") failed: gpg: encrypted with 1024-bit ELG key, ID ABAB28A247BE2775, created 2003-12-31
      "Test one (pp=def) <one at example.com>"
gpg: uncompressing failed: Unknown compression algorithm
gpg: encrypted with 1024-bit ELG key, ID ABAB28A247BE2775, created 2003-12-31
      "Test one (pp=def) <one at example.com>"
gpg: uncompressing failed: Unknown compression algorithm
gpg: encrypted with 1024-bit ELG key, ID ABAB28A247BE2775, created 2003-12-31
      "Test one (pp=def) <one at example.com>"
gpg: uncompressing failed: Unknown compression algorithm
gpg: encrypted with 1024-bit ELG key, ID ABAB28A247BE2775, created 2003-12-31
      "Test one (pp=def) <one at example.com>"
gpg: uncompressing failed: Unknown compression algorithm

0: tests.scm:122: (throw (string-append (stringify what) " failed") (:stderr result))
1: decrypt-multifile.scm:38: (call-check `(, at gpg --decrypt --multifile , at encrypted-files))
FAIL: tests/openpgp/decrypt-multifile.scm 
Checking decryption of supplied DSA encrypted file 
    > plain-1 gpg: encrypted with 768-bit ELG key, ID 5B7A02F0CB879DE9, created 1998-03-17
      "pgp5 test <pgp5 at dev.null>"
gpg: uncompressing failed: Unknown compression algorithm
gpg: WARNING: message was not integrity protected
: (() ((throw (:stderr result)) (call-popen cmd input)))
0: #<CLOSURE>
1: tests.scm:443: (apply throw error)
FAIL: tests/openpgp/decrypt-dsa.scm 
Checking decryption of supplied files using the session key. 
    > plain-1 gpg: encrypted with 1024-bit ELG key, ID ABAB28A247BE2775, created 2003-12-31
      "Test one (pp=def) <one at example.com>"
gpg: session key: '2:93E759AAACAE2A1A3D6C13AF185F846ACF803D684C0DB6BE'
gpg: uncompressing failed: Unknown compression algorithm

0: tests.scm:129: (throw (:stderr result))
1: decrypt-session-key.scm:25: (call-popen `(, at gpg --status-fd=1 --decrypt --show-session-key --output ,sink ,filename) "")
FAIL: tests/openpgp/decrypt-session-key.scm 
Checking unwrapping the encryption. 
    > encsig-2-keys-3 ("SOMEDIR/gnupg-2.2.8/g10/gpg" --no-permission-warning --always-trust --verify "/tmp/gpgscm-20180609T013249-decrypt-unwrap-verify-fblHp2/unwrapped") failed: gpg: uncompressing failed: Unknown compression algorithm
gpg: verify signatures failed: Unknown compression algorithm

0: tests.scm:122: (throw (string-append (stringify what) " failed") (:stderr result))
1: decrypt-unwrap-verify.scm:40: (call-check `(, at gpg --verify ,unwrapped))
2: init.scm:443: (thunk)
FAIL: tests/openpgp/decrypt-unwrap-verify.scm 

    > plain-1 plain-2 plain-3 plain-large data-500 data-9000 data-32000 data-80000 <  
Checking bug 537: MDC problem with old style compressed packets. 
gpg: encrypted with 1024-bit ELG key, ID ABAB28A247BE2775, created 2003-12-31
      "Test one (pp=def) <one at example.com>"
gpg: uncompressing failed: Unknown compression algorithm

...

0: tests.scm:129: (throw (:stderr result))
1: signencrypt.scm:35: (call-popen `(, at gpg --yes --passphrase-fd "0" --output ,tmp --decrypt ,(in-srcdir "tests" "openpgp" "bug537-test.data.asc")) usrpass1)
FAIL: tests/openpgp/signencrypt.scm 

....

Checking bogus signature 
    > #x2d #xca <  
Checking that a valid signature is verified as such 
    > msg_ols_asc msg_cols_asc (((SOMEDIR/gnupg-2.2.8/g10/gpg --no-permission-warning --always-trust --verify) 6446 2))
FAIL: tests/openpgp/verify.scm 
Checking verification of supplied files using --multifile. 
gpg: Signature made Wed Jun 22 10:00:38 2016 CEST
gpg:                using RSA key AA43F1DCC7FED1B7
gpg:                issuer "steve.biko at example.net"
gpg: Good signature from "steve.biko at example.net" [unknown]
gpg: WARNING: Using untrusted key!
gpg: uncompressing failed: Unknown compression algorithm

0: tests.scm:129: (throw (:stderr result))
1: verify-multifile.scm:28: (call-popen `(, at gpg --verify --multifile --status-fd=1 ,@(map (lambda (name) (in-srcdir "tests" "openpgp" "samplemsgs" name)) files)) "")
FAIL: tests/openpgp/verify-multifile.scm 
Checking bogus signature 
    > #x2d #xca <  
Checking that a valid signature is verified as such 
    > msg_ols_asc msg_cols_asc (((SOMEDIR/gnupg-2.2.8/g10/gpgv --keyring pubring.kbx) 6483 2))
FAIL: tests/openpgp/gpgv.scm 
....
Checking armored_key_8192 
Importing alpha_seckey 
Checking for bug #1179 
(((SOMEDIR/gnupg-2.2.8/g10/gpg --no-permission-warning --always-trust --output - --decrypt -) 6519 2))
FAIL: tests/openpgp/armor.scm 
....
Preparing for ECC test 
Importing ECC public keys 
Checking opaque ECDSA signatures 
    > msg_opaque_signed_256 ("SOMEDIR/gnupg-2.2.8/g10/gpg" --output "/tmp/gpgscm-20180609T013352-ecc-WhAF3Q/y" --verify "/tmp/gpgscm-20180609T013352-ecc-OgUWUX/x") failed: gpg: uncompressing failed: Unknown compression algorithm
gpg: verify signatures failed: Unknown compression algorithm

0: tests.scm:122: (throw (string-append (stringify what) " failed") (:stderr result))
1: ecc.scm:79: (call-check `(,(tool 'gpg) --output ,y --verify ,x))
2: init.scm:429: (func (let ((current-ws *active-windings*)) (lambda (x) (set-active-windings! current-ws) (continuation x))))
3: #<CLOSURE>
4: init.scm:422: (old-c/cc (lambda (continuation) (func (let ((current-ws *active-windings*)) (lambda (x) (set-active-windings! current-ws) (continuation x))))))
5: (call/cc (lambda (**exit**) (push-handler (lambda *error* (**exit** (begin (remove-temporary-file y) (rethrow *error*))))) (let ((gensym-44 (begin (begin (call-with-output-file x (lambda (p) (display (eval test (current-environment)) p))) (call-check `(,(tool 'gpg) --output ,y --verify ,x)) (unless (file=? y z) (fail "mismatch")))))) (pop-handler) gensym-44)))
FAIL: tests/openpgp/ecc.scm 
....
gpgscm: error running '/etc/ssh': probably not installed
(wait-process "/etc/ssh" 6898 #t): Configuration error
0: ffi.scm:39: (throw (get-output-string args') message)
1: ffi.scm:30: (ffi-fail name args (strerror (car result)))
2: <unknown>:1: (ffi-apply "wait-process" _-wait-process a)
3: tests.scm:103: (wait-process (car what) (:pid h) #t)
4: ssh-import.scm:40: (call-with-io `(,ssh "-V") "")
FAIL: tests/openpgp/ssh-import.scm 
....
=================== 
60 tests run, 45 succeeded, 12 failed, 0 failed expectedly, 0 succeeded unexpectedly, 3 skipped. 
Failed tests: tests/openpgp/ssh-import.scm tests/openpgp/ecc.scm tests/openpgp/armor.scm tests/openpgp/gpgv.scm tests/openpgp/verify-multifile.scm tests/openpgp/verify.scm tests/openpgp/signencrypt.scm tests/openpgp/decrypt-unwrap-verify.scm tests/openpgp/decrypt-session-key.scm tests/openpgp/decrypt-dsa.scm tests/openpgp/decrypt-multifile.scm tests/openpgp/decrypt.scm 
Skipped tests: tests/openpgp/issue2929.scm tests/openpgp/tofu.scm tests/openpgp/4gb-packet.scm 
=================== 



More information about the Gnupg-devel mailing list