Source: softhsm2 Version: 2.6.1-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211023 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[6]: Entering directory '/<<PKGBUILDDIR>>/src/lib/test' > FAIL: p11test > ================================================ > SoftHSM 2.6.1: src/lib/test/test-suite.log > ================================================ > > # TOTAL: 1 > # PASS: 0 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > > .. contents:: :depth: 2 > > FAIL: p11test > ============= > > ....................F...........F...F..F.............F..F...................F..................F.....F.F.F.F.F.F..F..F...F.F.F..F......F.F.F..F...F...F.F.....................F...F............F.............F....F..F.F....F..F.F.F.F...F.F.F.F.F.F...............F.....F....F.F > > > !!!FAILURES!!! > Test Results: > Run: 77 Failures: 13 Errors: 0 > > > 1) test: InfoTests::testGetSlotInfo (F) line: 142 InfoTests.cpp > assertion failed > - Expression: rv == CKR_ARGUMENTS_BAD > > > 2) test: InfoTests::testWaitForSlotEvent (F) line: 124 TestsNoPINInitBase.cpp > setUp() failed > - equality assertion failed > - Expected: 0 > - Actual : 48 > > > 3) test: ObjectTests::testCopyObject (F) line: 939 ObjectTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 4) test: ObjectTests::testDestroyObject (F) line: 124 TestsNoPINInitBase.cpp > setUp() failed > - equality assertion failed > - Expected: 0 > - Actual : 48 > > > 5) test: ObjectTests::testSetAttributeValue (F) line: 1322 ObjectTests.cpp > assertion failed > - Expression: rv==CKR_OK > > > 6) test: ObjectTests::testGenerateKeys (F) line: 1511 ObjectTests.cpp > assertion failed > - Expression: rv==CKR_OK > > > 7) test: ObjectTests::testGetInvalidAttribute (F) line: 1954 ObjectTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 8) test: SignVerifyTests::testEcSignVerify (F) line: 530 SignVerifyTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 9) test: SignVerifyTests::testEdSignVerify with parameter: Ed25519 (F) line: > 247 SignVerifyTests.cpp > assertion failed > - Expression: rv==CKR_OK > > > 10) test: SignVerifyTests::testMacSignVerify (F) line: 770 SignVerifyTests.cpp > assertion failed > - Expression: rv==CKR_OK > > > 11) test: SymmetricAlgorithmTests::testAesEncryptDecrypt (F) line: 728 > SymmetricAlgorithmTests.cpp > assertion failed > - Expression: rv==CKR_OK > > > 12) test: SymmetricAlgorithmTests::testDesEncryptDecrypt (F) line: 48 > TestsBase.cpp > setUp() failed > - assertion failed > - Expression: CRYPTOKI_F_PTR( C_InitPIN(hSession, m_userPin1, > m_userPin1Length)==CKR_OK ) > > > 13) test: UserTests::testSetPIN (F) line: 239 UserTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > ....F......... > > > !!!FAILURES!!! > Test Results: > Run: 77 Failures: 17 Errors: 0 > > > 1) test: InfoTests::testGetSlotInfo (F) line: 124 TestsNoPINInitBase.cpp > setUp() failed > - equality assertion failed > - Expected: 0 > - Actual : 48 > > > 2) test: InfoTests::testGetSlotInfoAlt (F) line: 187 InfoTests.cpp > assertion failed > - Expression: rv == CKR_ARGUMENTS_BAD > > > 3) test: ObjectTests::testCreateObject (F) line: 754 ObjectTests.cpp > assertion failed > - Expression: rv==CKR_OK > > > 4) test: ObjectTests::testDestroyObject (F) line: 1119 ObjectTests.cpp > assertion failed > - Expression: rv == CKR_SESSION_READ_ONLY > > > 5) test: ObjectTests::testGetObjectSize (F) line: 124 TestsNoPINInitBase.cpp > setUp() failed > - equality assertion failed > - Expected: 0 > - Actual : 5 > > > 6) test: ObjectTests::testGetAttributeValue (F) line: 1214 ObjectTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 7) test: ObjectTests::testSetAttributeValue (F) line: 79 > TestsNoPINInitBase.cpp > setUp() failed > - assertion failed > - Expression: CRYPTOKI_F_PTR( C_GetTokenInfo(*i, &tokenInfo)==CKR_OK ) > > > 8) test: ObjectTests::testFindObjects (F) line: 1432 ObjectTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 9) test: ObjectTests::testGenerateKeys (F) line: 48 TestsBase.cpp > setUp() failed > - assertion failed > - Expression: CRYPTOKI_F_PTR( C_InitPIN(hSession, m_userPin1, > m_userPin1Length)==CKR_OK ) > > > 10) test: ObjectTests::testDefaultDataAttributes (F) line: 1615 > ObjectTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 11) test: ObjectTests::testDefaultX509CertAttributes (F) line: 1656 > ObjectTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 12) test: ObjectTests::testDefaultRSAPrivAttributes (F) line: 1772 > ObjectTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 13) test: ObjectTests::testReAuthentication (F) line: 2005 ObjectTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 14) test: SignVerifyTests::testEcSignVerify (F) line: 247 SignVerifyTests.cpp > assertion failed > - Expression: rv==CKR_OK > > > 15) test: SignVerifyTests::testEdSignVerify with parameter: Ed448 (F) line: > 601 SignVerifyTests.cpp > assertion failed > - Expression: rv == CKR_OK > > > 16) test: SignVerifyTests::testMacSignVerify (F) line: 713 SignVerifyTests.cpp > assertion failed > - Expression: rv==CKR_OK > > > 17) test: SymmetricAlgorithmTests::testDesEncryptDecrypt (F) line: 827 > SymmetricAlgorithmTests.cpp > assertion failed > - Expression: rv==CKR_OK > > > FAIL p11test (exit status: 1) > > ============================================================================ > Testsuite summary for SoftHSM 2.6.1 > ============================================================================ > # TOTAL: 1 > # PASS: 0 > # SKIP: 0 > # XFAIL: 0 > # FAIL: 1 > # XPASS: 0 > # ERROR: 0 > ============================================================================ > See src/lib/test/test-suite.log > ============================================================================ > make[6]: *** [Makefile:811: test-suite.log] Error 1 > make[6]: Leaving directory '/<<PKGBUILDDIR>>/src/lib/test' > make[5]: *** [Makefile:919: check-TESTS] Error 2 > make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/lib/test' > make[4]: *** [Makefile:992: check-am] Error 2 > make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/lib/test' > make[3]: *** [Makefile:641: check-recursive] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/lib' > make[2]: *** [Makefile:403: check-recursive] Error 1 > make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' > make[1]: *** [Makefile:565: check-recursive] Error 1 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test: error: make -j4 check VERBOSE=1 returned exit code 2 The full build log is available from: http://qa-logs.debian.net/2021/10/23/softhsm2_2.6.1-2_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.