New tests failure
Updating from 3.38.1 to 3.40 in Debian and Ubuntu the build fails on tests failure
https://launchpadlibrarian.net/541867707/buildlog_ubuntu-impish-amd64.gcr_3.40.0-1_BUILDING.txt.gz
The output from the failed tests:
28/43 gcr:gcr-base / certificate-chain FAIL 0.83s (killed by signal 6 SIGABRT)
--- command ---
10:14:37 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/gcr/test-certificate-chain
--- Listing only the last 100 lines from a long log. ---
# DEBUG: utf8String utf8String: decoded tag did not match expected
# DEBUG: bmpString bmpString: decoded tag did not match expected
# DEBUG: ia5String ia5String: decoded tag did not match expected
# Gcr-DEBUG: first certificate: CN=dhansak.collabora.co.uk, EMAIL=sysadmin@collabora.co.uk
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: teletexString teletexString: decoded tag did not match expected
# DEBUG: universalString universalString: decoded tag did not match expected
# DEBUG: utf8String utf8String: decoded tag did not match expected
# DEBUG: bmpString bmpString: decoded tag did not match expected
# DEBUG: ia5String ia5String: decoded tag did not match expected
# DEBUG: teletexString teletexString: decoded tag did not match expected
# DEBUG: universalString universalString: decoded tag did not match expected
# DEBUG: utf8String utf8String: decoded tag did not match expected
# DEBUG: bmpString bmpString: decoded tag did not match expected
# DEBUG: ia5String ia5String: decoded tag did not match expected
# Gcr-DEBUG: next certificate: O=Collabora Ltd, OU=Certificate Authority, EMAIL=sysadmin@collabora.co.uk
# Gcr-DEBUG: searching for certificate anchor in 1 slots
# Gck-DEBUG: for = slots, tokens = pkcs11:, objects = (4) [ { CKA_CLASS = CKO_X_TRUST_ASSERTION }, { CKA_X_ASSERTION_TYPE = CKT_X_ANCHORED_CERTIFICATE }, { CKA_X_CERTIFICATE_VALUE = (1536) "0\x82\x05\xfc0\x82\x03\xe4\xa0\x03\x02\x01\x02\x02\x01\x010\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000a1\x160\x14\x06\x03U\x04\n\x13\rCollabora Ltd1\x1e0\x1c\x06\x03U\x04\x0b\x13\x15Certificate Authority1'0%\x06\t*\x86H\x86\xf7\r\x01\t\x01\x16\x18sysadmin@collabora.co...." }, { CKA_X_PURPOSE = (17) "1.3.6.1.5.5.7.3.2" } ]
# Gck-DEBUG: matching all tokens: TEST LABEL
# Gck-DEBUG: opened read-only session
# Gck-DEBUG: no authentication necessary, skipping
# Gck-DEBUG: finding objects matching: (4) [ { CKA_CLASS = CKO_X_TRUST_ASSERTION }, { CKA_X_ASSERTION_TYPE = CKT_X_ANCHORED_CERTIFICATE }, { CKA_X_CERTIFICATE_VALUE = (1536) "0\x82\x05\xfc0\x82\x03\xe4\xa0\x03\x02\x01\x02\x02\x01\x010\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000a1\x160\x14\x06\x03U\x04\n\x13\rCollabora Ltd1\x1e0\x1c\x06\x03U\x04\x0b\x13\x15Certificate Authority1'0%\x06\t*\x86H\x86\xf7\r\x01\t\x01\x16\x18sysadmin@collabora.co...." }, { CKA_X_PURPOSE = (17) "1.3.6.1.5.5.7.3.2" } ]
# Gck-DEBUG: matched 1 objects
# Gck-DEBUG: finding objects completed with: CKR_OK
# Gck-DEBUG: wanted 1 objects, returned 1 objects
# Gcr-DEBUG: found certificate anchor
# Gcr-DEBUG: found anchored certificate
ok 8 /gcr/certificate-chain/with_anchor
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: teletexString teletexString: decoded tag did not match expected
# DEBUG: universalString universalString: decoded tag did not match expected
# DEBUG: utf8String utf8String: decoded tag did not match expected
# DEBUG: bmpString bmpString: decoded tag did not match expected
# DEBUG: ia5String ia5String: decoded tag did not match expected
# Gcr-DEBUG: first certificate: CN=dhansak.collabora.co.uk, EMAIL=sysadmin@collabora.co.uk
# Gck-DEBUG: for = modules, tokens = pkcs11:, objects = (3) [ { CKA_CLASS = CKO_CERTIFICATE }, { CKA_CERTIFICATE_TYPE = CKC_X_509 }, { CKA_SUBJECT = (99) "0a1\x160\x14\x06\x03U\x04\n\x13\rCollabora Ltd1\x1e0\x1c\x06\x03U\x04\x0b\x13\x15Certificate Authority1'0%\x06\t*\x86H\x86\xf7\r\x01\t\x01\x16\x18sysadmin@collabora.co.uk" } ]
# Gck-DEBUG: enumerating into module: TEST LIBRARY
# Gck-DEBUG: matching all tokens: TEST LABEL
# Gck-DEBUG: opened read-only session
# Gck-DEBUG: no authentication necessary, skipping
# Gck-DEBUG: finding objects matching: (3) [ { CKA_CLASS = CKO_CERTIFICATE }, { CKA_CERTIFICATE_TYPE = CKC_X_509 }, { CKA_SUBJECT = (99) "0a1\x160\x14\x06\x03U\x04\n\x13\rCollabora Ltd1\x1e0\x1c\x06\x03U\x04\x0b\x13\x15Certificate Authority1'0%\x06\t*\x86H\x86\xf7\r\x01\t\x01\x16\x18sysadmin@collabora.co.uk" } ]
# Gck-DEBUG: matched 1 objects
# Gck-DEBUG: finding objects completed with: CKR_OK
# Gck-DEBUG: wanted 1 objects, returned 1 objects
# Gcr-DEBUG: initialized library
# Gcr-DEBUG: initialized library
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: teletexString teletexString: decoded tag did not match expected
# DEBUG: universalString universalString: decoded tag did not match expected
# DEBUG: utf8String utf8String: decoded tag did not match expected
# DEBUG: bmpString bmpString: decoded tag did not match expected
# DEBUG: ia5String ia5String: decoded tag did not match expected
# DEBUG: teletexString teletexString: decoded tag did not match expected
# DEBUG: universalString universalString: decoded tag did not match expected
# DEBUG: utf8String utf8String: decoded tag did not match expected
# DEBUG: bmpString bmpString: decoded tag did not match expected
# DEBUG: ia5String ia5String: decoded tag did not match expected
# Gcr-DEBUG: found issuer certificate: O=Collabora Ltd, OU=Certificate Authority, EMAIL=sysadmin@collabora.co.uk
# Gcr-DEBUG: searching for certificate anchor in 1 slots
# Gck-DEBUG: for = slots, tokens = pkcs11:, objects = (4) [ { CKA_CLASS = CKO_X_TRUST_ASSERTION }, { CKA_X_ASSERTION_TYPE = CKT_X_ANCHORED_CERTIFICATE }, { CKA_X_CERTIFICATE_VALUE = (1536) "0\x82\x05\xfc0\x82\x03\xe4\xa0\x03\x02\x01\x02\x02\x01\x010\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000a1\x160\x14\x06\x03U\x04\n\x13\rCollabora Ltd1\x1e0\x1c\x06\x03U\x04\x0b\x13\x15Certificate Authority1'0%\x06\t*\x86H\x86\xf7\r\x01\t\x01\x16\x18sysadmin@collabora.co...." }, { CKA_X_PURPOSE = (17) "1.3.6.1.5.5.7.3.2" } ]
# Gck-DEBUG: matching all tokens: TEST LABEL
# Gck-DEBUG: opened read-only session
# Gck-DEBUG: no authentication necessary, skipping
# Gck-DEBUG: finding objects matching: (4) [ { CKA_CLASS = CKO_X_TRUST_ASSERTION }, { CKA_X_ASSERTION_TYPE = CKT_X_ANCHORED_CERTIFICATE }, { CKA_X_CERTIFICATE_VALUE = (1536) "0\x82\x05\xfc0\x82\x03\xe4\xa0\x03\x02\x01\x02\x02\x01\x010\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000a1\x160\x14\x06\x03U\x04\n\x13\rCollabora Ltd1\x1e0\x1c\x06\x03U\x04\x0b\x13\x15Certificate Authority1'0%\x06\t*\x86H\x86\xf7\r\x01\t\x01\x16\x18sysadmin@collabora.co...." }, { CKA_X_PURPOSE = (17) "1.3.6.1.5.5.7.3.2" } ]
# Gck-DEBUG: matched 1 objects
# Gck-DEBUG: finding objects completed with: CKR_OK
# Gck-DEBUG: wanted 1 objects, returned 1 objects
# Gcr-DEBUG: found certificate anchor
# Gcr-DEBUG: found anchored certificate
ok 9 /gcr/certificate-chain/with_anchor_and_lookup_ca
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: generalTime generalTime: decoded tag did not match expected
# DEBUG: teletexString teletexString: decoded tag did not match expected
# DEBUG: universalString universalString: decoded tag did not match expected
# DEBUG: utf8String utf8String: decoded tag did not match expected
# DEBUG: bmpString bmpString: decoded tag did not match expected
# DEBUG: ia5String ia5String: decoded tag did not match expected
# Gcr-DEBUG: first certificate: CN=dhansak.collabora.co.uk, EMAIL=sysadmin@collabora.co.uk
# Gcr-DEBUG: searching for pinned certificate in 1 slots
# Gck-DEBUG: for = slots, tokens = pkcs11:, objects = (5) [ { CKA_CLASS = CKO_X_TRUST_ASSERTION }, { CKA_X_ASSERTION_TYPE = CKT_X_PINNED_CERTIFICATE }, { CKA_X_CERTIFICATE_VALUE = (1200) "0\x82\x04\xac0\x82\x02\x94\xa0\x03\x02\x01\x02\x02\x01(0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000a1\x160\x14\x06\x03U\x04\n\x13\rCollabora Ltd1\x1e0\x1c\x06\x03U\x04\x0b\x13\x15Certificate Authority1'0%\x06\t*\x86H\x86\xf7\r\x01\t\x01\x16\x18sysadmin@collabora.co...." }, { CKA_X_PURPOSE = (17) "1.3.6.1.5.5.7.3.2" }, { CKA_X_PEER = (18) "pinned.example.com" } ]
# Gck-DEBUG: matching all tokens: TEST LABEL
# Gck-DEBUG: opened read-only session
# Gck-DEBUG: no authentication necessary, skipping
# Gck-DEBUG: finding objects matching: (5) [ { CKA_CLASS = CKO_X_TRUST_ASSERTION }, { CKA_X_ASSERTION_TYPE = CKT_X_PINNED_CERTIFICATE }, { CKA_X_CERTIFICATE_VALUE = (1200) "0\x82\x04\xac0\x82\x02\x94\xa0\x03\x02\x01\x02\x02\x01(0\r\x06\t*\x86H\x86\xf7\r\x01\x01\x0b\x05\x000a1\x160\x14\x06\x03U\x04\n\x13\rCollabora Ltd1\x1e0\x1c\x06\x03U\x04\x0b\x13\x15Certificate Authority1'0%\x06\t*\x86H\x86\xf7\r\x01\t\x01\x16\x18sysadmin@collabora.co...." }, { CKA_X_PURPOSE = (17) "1.3.6.1.5.5.7.3.2" }, { CKA_X_PEER = (18) "pinned.example.com" } ]
# Gck-DEBUG: matched 1 objects
# Gck-DEBUG: finding objects completed with: CKR_OK
# Gck-DEBUG: wanted 1 objects, returned 1 objects
# Gcr-DEBUG: found certificate anchor
# Gcr-DEBUG: found pinned certificate for peer 'pinned.example.com', truncating chain
Bail out! Gcr:ERROR:../gcr/test-certificate-chain.c:79:mock_certificate_finalize: assertion failed: (self->created_on == g_thread_self ())
--- stderr ---
**
Gcr:ERROR:../gcr/test-certificate-chain.c:79:mock_certificate_finalize: assertion failed: (self->created_on == g_thread_self ())
-------
Building 3.38.1 still works with no failing tests