https://bugs.kde.org/show_bug.cgi?id=373374
Bug ID: 373374 Summary: Test failures with gnupg-2.1.16 Product: trojita Version: git Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Cryptography Assignee: trojita-b...@kde.org Reporter: j...@kde.org Target Milestone: --- Continuing from https://bugzilla.redhat.com/show_bug.cgi?id=1401716 . It seems that signature verification of our internal supposed-to-be-valid signature doesn't conclude for some reason. Debug patch: diff --git a/tests/Cryptography/test_Cryptography_PGP.cpp b/tests/Cryptography/test_Cryptography_PGP.cpp index 2d33a4d..bd9628c 100644 --- a/tests/Cryptography/test_Cryptography_PGP.cpp +++ b/tests/Cryptography/test_Cryptography_PGP.cpp @@ -110,6 +110,8 @@ void CryptographyPGPTest::testDecryption() } // allow for event processing, so that the model can retrieve the results QCoreApplication::processEvents(); + // ensure that we're done now + QVERIFY(!data.data(Imap::Mailbox::RolePartCryptoNotFinishedYet).toBool()); if (!qcaErrorSpy.isEmpty() && successful) { qDebug() << "Unexpected failure in crypto"; jkt@kolibrik ~/work/prog/_trojita-build/qt5 $ ninja && ctest -R test_Cryptography_PGP -VV [53/53] Linking CXX executable test_Cryptography_PGP UpdateCTestConfiguration from :/home/jkt/work/prog/_trojita-build/qt5/DartConfiguration.tcl UpdateCTestConfiguration from :/home/jkt/work/prog/_trojita-build/qt5/DartConfiguration.tcl Test project /home/jkt/work/prog/_trojita-build/qt5 Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 24 Start 24: test_Cryptography_PGP 24: Test command: /home/jkt/work/prog/_trojita-build/qt5/test_Cryptography_PGP 24: Environment variables: 24: UBSAN_OPTIONS=suppressions=/home/jkt/work/prog/trojita/tests/ubsan.supp 24: Test timeout computed to be: 9.99988e+06 24: ********* Start testing of CryptographyPGPTest ********* 24: Config: Using QtTest library 5.7.1, Qt 5.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 4.9.3) 24: PASS : CryptographyPGPTest::initTestCase() 24: FAIL! : CryptographyPGPTest::testDecryption(valid) '!data.data(Imap::Mailbox::RolePartCryptoNotFinishedYet).toBool()' returned FALSE. () 24: Loc: [/home/jkt/work/prog/trojita/tests/Cryptography/test_Cryptography_PGP.cpp(114)] 24: QDEBUG : CryptographyPGPTest::testDecryption(valid) We have 1 orphaned crypto tasks 24: PASS : CryptographyPGPTest::testDecryption(invalid) 24: FAIL! : CryptographyPGPTest::testDecryption(expiredKey) '!data.data(Imap::Mailbox::RolePartCryptoNotFinishedYet).toBool()' returned FALSE. () 24: Loc: [/home/jkt/work/prog/trojita/tests/Cryptography/test_Cryptography_PGP.cpp(114)] 24: QDEBUG : CryptographyPGPTest::testDecryption(expiredKey) We have 1 orphaned crypto tasks 24: PASS : CryptographyPGPTest::testDecryption(unknownKey) 24: PASS : CryptographyPGPTest::testDecryptWithoutEnvelope() 24: PASS : CryptographyPGPTest::testVerification(valid-me) 24: PASS : CryptographyPGPTest::testVerification(my-signature-different-identity) 24: PASS : CryptographyPGPTest::testVerification(my-signature-different-data) 24: PASS : CryptographyPGPTest::testVerification(invalid-implicit-content-type) 24: PASS : CryptographyPGPTest::testMalformed(signed-missing-protocol-micalg) 24: PASS : CryptographyPGPTest::testMalformed(signed-ml-stripped-gpg-signature) 24: PASS : CryptographyPGPTest::testOffline(signed) 24: PASS : CryptographyPGPTest::testOffline(encrypted) 24: PASS : CryptographyPGPTest::cleanupTestCase() 24: Totals: 13 passed, 2 failed, 0 skipped, 0 blacklisted, 21125ms 24: ********* Finished testing of CryptographyPGPTest ********* 1/1 Test #24: test_Cryptography_PGP ............***Failed 21.14 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 21.14 sec The following tests FAILED: 24 - test_Cryptography_PGP (Failed) Errors while running CTest -- You are receiving this mail because: You are watching all bug changes.