gpgme 1.12.0 make check fails
Open, NormalPublic

Description

As requested by the make check output, I am reporting a failed test:

********* Start testing of TestVarious *********
Config: Using QtTest library 5.5.1, Qt 5.5.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.4.0 20160609)
PASS   : TestVarious::initTestCase()
PASS   : TestVarious::testDN()
PASS   : TestVarious::testKeyFromFile()
PASS   : TestVarious::testDataRewind()
FAIL!  : TestVarious::testQuickUid() 'key.numUserIDs() == 4' returned FALSE. ()
   Loc: [t-various.cpp(147)]
PASS   : TestVarious::testVersion()
PASS   : TestVarious::cleanupTestCase()
Totals: 6 passed, 1 failed, 0 skipped, 0 blacklisted
********* Finished testing of TestVarious *********
FAIL: t-various

Linux Ubuntu 16.04, GCC 6.4, libgpg-error 1.32, libasuan 2.5.1, configured with only --prefix set. In case more info is needed please ask.

Details

Version
gpgme 1.12.0
werner added a subscriber: werner.

Thanks for the report. I would also like to see what

gpg --version

shows.

@werner Hi, the version output is as follows:

gpg (GnuPG) 2.2.10
libgcrypt 1.8.3
Copyright (C) 2018 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/.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

@werner And perhaps it's worth mentioning that in my case it is gpg2 --version; gpg is 1.4.23. I have no idea whether that might play any role.

werner assigned this task to aheinecke.Oct 16 2018, 11:55 PM

It seems to be a cpp problem. Andre, would you mind to take this bug?

aheinecke triaged this task as Normal priority.Oct 17 2018, 8:21 AM

That is a strange failure. I don't see how that can happen without a legitimate bug.

Could you please:

  • go into your build directory under lang/qt/tests
  • run make-check once
  • Execute:
GPGME_DEBUG=9:./gpgme.log GNUPGHOME=. ./t-various testQuickUid
  • Attach the "gpgme.log" that will be created in that directory to this issue.

Thanks!

Here goes.