On 30/11/2021 03:23, ci@xxxxxxxxxxxxxxx wrote:
UBSAN Linux Build - Build # 2217 - Still Failing: Identified problems: * cppunit failure: the cppunit test CppunitTest_desktop_lib failed * Indication 1: <https://ci.libreoffice.org//job/lo_ubsan/2217/consoleFull#-1103831567d893063f-7f3d-4b7e-b56f-4e0f225817cd>
...due to
[_RUN_____] DesktopLOKTest::testInsertCertificate_DER_ODT WPSDocument::isFileFormatSupported() Throwing InvalidHeaderException Throwing InvalidHeaderException WPSDocument::isFileFormatSupported() Throwing InvalidHeaderException WPSDocument::isFileFormatSupported() Throwing InvalidHeaderException AbiDocument::isFileFormatSupported Found xml parser severity error Document is empty Throwing InvalidHeaderException WPSDocument::isFileFormatSupported() WPSDocument::isFileFormatSupported() WPSDocument::isFileFormatSupported() WPSDocument::isFileFormatSupported() warn:sfx.sidebar:17850:17850:sfx2/source/sidebar/ResourceManager.cxx:471: Expecting 2 values separated by comma warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx:824: Can't get the private key from the certificate. warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: keys.c:1253: xmlSecKeysMngrGetKey() '' 'xmlSecKeysMngrFindKey' 1 ' ' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: xmldsig.c:793: xmlSecDSigCtxProcessKeyInfoNode() '' '' 45 'details=NULL' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: xmldsig.c:508: xmlSecDSigCtxProcessSignatureNode() '' 'xmlSecDSigCtxProcessKeyInfoNode' 1 ' ' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: xmldsig.c:291: xmlSecDSigCtxSign() '' 'xmlSecDSigCtxProcessSignatureNode' 1 ' ' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx:824: Can't get the private key from the certificate. warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: digests.c:219: xmlSecNssDigestVerify() 'sha256' '' 12 'invalid data: actual value 'dataSize'=0, actual value 'dgstSize'=32 and expected dataSize == dgstSize' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: digests.c:219: xmlSecNssDigestVerify() 'sha256' '' 12 'invalid data: actual value 'dataSize'=0, actual value 'dgstSize'=32 and expected dataSize == dgstSize' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: digests.c:219: xmlSecNssDigestVerify() 'sha256' '' 12 'invalid data: actual value 'dataSize'=0, actual value 'dgstSize'=32 and expected dataSize == dgstSize' /home/tdf/lode/jenkins/workspace/lo_ubsan/desktop/qa/desktop_lib/test_desktop_lib.cxx:2614:DesktopLOKTest::testInsertCertificate_DER_ODT equality assertion failed - Expected: 1 - Actual : 2 DesktopLOKTest::testInsertCertificate_DER_ODT finished in: 9018ms [_RUN_____] DesktopLOKTest::testInsertCertificate_PEM_ODT WPSDocument::isFileFormatSupported() Throwing InvalidHeaderException Throwing InvalidHeaderException WPSDocument::isFileFormatSupported() Throwing InvalidHeaderException WPSDocument::isFileFormatSupported() Throwing InvalidHeaderException AbiDocument::isFileFormatSupported Found xml parser severity error Document is empty Throwing InvalidHeaderException WPSDocument::isFileFormatSupported() WPSDocument::isFileFormatSupported() WPSDocument::isFileFormatSupported() WPSDocument::isFileFormatSupported() warn:sfx.sidebar:17850:17850:sfx2/source/sidebar/ResourceManager.cxx:471: Expecting 2 values separated by comma warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx:824: Can't get the private key from the certificate. warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: keys.c:1253: xmlSecKeysMngrGetKey() '' 'xmlSecKeysMngrFindKey' 1 ' ' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: xmldsig.c:793: xmlSecDSigCtxProcessKeyInfoNode() '' '' 45 'details=NULL' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: xmldsig.c:508: xmlSecDSigCtxProcessSignatureNode() '' 'xmlSecDSigCtxProcessKeyInfoNode' 1 ' ' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: xmldsig.c:291: xmlSecDSigCtxSign() '' 'xmlSecDSigCtxProcessSignatureNode' 1 ' ' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx:824: Can't get the private key from the certificate. warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: digests.c:219: xmlSecNssDigestVerify() 'sha256' '' 12 'invalid data: actual value 'dataSize'=0, actual value 'dgstSize'=32 and expected dataSize == dgstSize' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: digests.c:219: xmlSecNssDigestVerify() 'sha256' '' 12 'invalid data: actual value 'dataSize'=0, actual value 'dgstSize'=32 and expected dataSize == dgstSize' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: digests.c:219: xmlSecNssDigestVerify() 'sha256' '' 12 'invalid data: actual value 'dataSize'=0, actual value 'dgstSize'=32 and expected dataSize == dgstSize' /home/tdf/lode/jenkins/workspace/lo_ubsan/desktop/qa/desktop_lib/test_desktop_lib.cxx:2672:DesktopLOKTest::testInsertCertificate_PEM_ODT equality assertion failed - Expected: 1 - Actual : 2 DesktopLOKTest::testInsertCertificate_PEM_ODT finished in: 8774ms [_RUN_____] DesktopLOKTest::testInsertCertificate_PEM_DOCX warn:xmloff:17850:17850:sax/source/fastparser/fastparser.cxx:1324: unknown element xsi:type http://www.w3.org/2001/XMLSchema-instance warn:legacy.osl:17850:17850:oox/source/helper/storagebase.cxx:66: StorageBase::StorageBase - missing base input stream WPSDocument::isFileFormatSupported() Throwing InvalidHeaderException Throwing InvalidHeaderException WPSDocument::isFileFormatSupported() warn:xmloff:17850:17850:sax/source/fastparser/fastparser.cxx:1324: unknown element xsi:type http://www.w3.org/2001/XMLSchema-instance warn:legacy.osl:17850:17850:oox/source/helper/storagebase.cxx:66: StorageBase::StorageBase - missing base input stream warn:sfx.sidebar:17850:17850:sfx2/source/sidebar/ResourceManager.cxx:471: Expecting 2 values separated by comma warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx:824: Can't get the private key from the certificate. warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: keys.c:1253: xmlSecKeysMngrGetKey() '' 'xmlSecKeysMngrFindKey' 1 ' ' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: xmldsig.c:793: xmlSecDSigCtxProcessKeyInfoNode() '' '' 45 'details=NULL' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: xmldsig.c:508: xmlSecDSigCtxProcessSignatureNode() '' 'xmlSecDSigCtxProcessKeyInfoNode' 1 ' ' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: xmldsig.c:291: xmlSecDSigCtxSign() '' 'xmlSecDSigCtxProcessSignatureNode' 1 ' ' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.cxx:824: Can't get the private key from the certificate. warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: digests.c:219: xmlSecNssDigestVerify() 'sha256' '' 12 'invalid data: actual value 'dataSize'=0, actual value 'dgstSize'=32 and expected dataSize == dgstSize' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: digests.c:219: xmlSecNssDigestVerify() 'sha256' '' 12 'invalid data: actual value 'dataSize'=0, actual value 'dgstSize'=32 and expected dataSize == dgstSize' warn:xmlsecurity.xmlsec:17850:17850:xmlsecurity/source/xmlsec/errorcallback.cxx:53: digests.c:219: xmlSecNssDigestVerify() 'sha256' '' 12 'invalid data: actual value 'dataSize'=0, actual value 'dgstSize'=32 and expected dataSize == dgstSize' /home/tdf/lode/jenkins/workspace/lo_ubsan/desktop/qa/desktop_lib/test_desktop_lib.cxx:2729:DesktopLOKTest::testInsertCertificate_PEM_DOCX equality assertion failed - Expected: 5 - Actual : 2 DesktopLOKTest::testInsertCertificate_PEM_DOCX finished in: 7154ms [_RUN_____] DesktopLOKTest::testSignDocument_PEM_PDF warn:xmlsecurity.helper:17850:17850:xmlsecurity/source/helper/xmlsignaturehelper.cxx:78: SetStorage - empty storage! warn:svl.crypto:17850:17850:svl/source/crypto/cryptosign.cxx:1299: NSS_CMSEncoder_Finish failed warn:vcl.filter:17850:17850:vcl/source/filter/ipdf/pdfdocument.cxx:951: PDFDocument::Sign: PDFWriter::Sign() failed warn:xmlsecurity.helper:17850:17850:xmlsecurity/source/helper/pdfsignaturehelper.cxx:576: failed to sign warn:xmlsecurity.helper:17850:17850:xmlsecurity/source/helper/documentsignaturemanager.cxx:364: PDFSignatureHelper::Sign() failed /home/tdf/lode/jenkins/workspace/lo_ubsan/desktop/qa/desktop_lib/test_desktop_lib.cxx:2785:DesktopLOKTest::testSignDocument_PEM_PDF assertion failed - Expression: bResult DesktopLOKTest::testSignDocument_PEM_PDF finished in: 4307ms
I cannot reproduce that with my own local ASan+UBSan build. Does anybody have an idea what is going wrong here?
Unfortunately, the last preceding build with a (successful)
[build CUT] desktop_lib
is <https://ci.libreoffice.org/job/lo_ubsan/2212> (the intermediate builds failed for some other reasons before they would have run that test), so we are looking at the range ddc57169ac8d1de00403dbb09fef5221beaa0f3d..e9332dcdc8f2ea268d1b17c73d43a8834cf75365 of 162 commits.