Hi,
I'm working on updating the OpenBSD gpgme package to 1.9.0. It builds fine, but the test suite hangs like this:
Making check in src gmake[1]: Entering directory '/usr/ports/pobj/gpgme-1.9.0/gpgme-1.9.0/src' gmake[1]: Nothing to be done for 'check'. gmake[1]: Leaving directory '/usr/ports/pobj/gpgme-1.9.0/gpgme-1.9.0/src' Making check in tests gmake[1]: Entering directory '/usr/ports/pobj/gpgme-1.9.0/gpgme-1.9.0/tests' Making check in gpg gmake[2]: Entering directory '/usr/ports/pobj/gpgme-1.9.0/gpgme-1.9.0/tests/gpg' gmake check-TESTS check-local gmake[3]: Entering directory '/usr/ports/pobj/gpgme-1.9.0/gpgme-1.9.0/tests/gpg' starting gpg-agent.. gpg-connect-agent: no running gpg-agent - starting '/usr/local/bin/gpg-agent|--debug-quick-random' gpg-connect-agent: waiting for the agent to come up ... (5s) gpg-connect-agent: connection to agent established OK PASS: initial.test -----BEGIN PGP MESSAGE----- hQEOA2rm1+5GqHH4EAP9E9VJ72p/XKkN00gzhZbpt4CJmrwgRbxGuR6IzbCqJ2dY jqo4rJnYXDQFl4Dcg0IgjPRgcYNjiVom7aOQC1pbKaIcUxjrm2Kolsio9EsOTnIo 6i/o3zoFAfWomqXxbskIPxtH2HSKRuxCuQf8Q6/BWuqo4i/tbAng+Y2dE86mj9cD /imRn1F1glTMhK45+HF9xXHnnqn9QwaWQnurXQVR4P3t/LBiNUJPCuyEE9/cywdd asKF8ARNmeb3g66A7Uy3rdW/BDlpcJ0R8kjAxTJxVo00emujYAmJamZL+cZySL/f wkQGfFD/3ouHqpsOasFh+KBokHbFnW4ULkU0nhWtPNqOhQEOA1OB6k7im6N/EAP+ L1ZdzAkjdmu8tE7zW3zCsDZ5xKGazuMsDK/TJp4ZFXusDKg2ilM85+Kpf85AkKVY k9nbBBwEgSSs3sDTbFOyd3ULt/yz5d4rNDks/QGTkD5NhORvU1ZB/MD+Y3Pkr64N cwlq85j0/KmwZ0hK2EKhgOmZkSkA/6qEput976CJkbgD/0aTBSybhac+Fpi3VilE 98GeZQePEm9NyNV1t26/J8r72yOUUnldWxh3RhhNQkMeIXmpnAzGxJ03Hf7O352k SZODJ97HnGSzrNcSo34qHXxXW2NuJnr9062pXWFlNORd8d8G++HRfOtVVE8HJ3Dd LcXQrD+iT0xZ3n47Tf1se/mO0kcBpsUOGgUhUIoeMZYylJm5zjSsftMdx9j5yalH L86rf4Ma8j/9+MyXnUMiC0jZkzfEGbJo9p4z+VA0fkFPvax5V7KRs/NOQg== =U26Q -----END PGP MESSAGE----- PASS: t-encrypt
At this point it seems the tests hang forever.
This is with:
$ gpg2 --version gpg (GnuPG) 2.2.1 libgcrypt 1.8.1 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: /home/edd/.gnupg Supported algorithms: Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2
On OpenBSD-current.
I also tried with GnuPG-2.1.23. It was a similar outcome, expect that gpg-agent would spin at 100% CPU consumption during the hang. Weird. I guess that was a separate bug which has been fixed in 2.2.1.
Due to all the IPC involved, I'm not really sure about how to start debugging this. Any tips?
Thanks