Cryptographical errors on several unit tests in FreeBSD 14 when running under ASAN
Since we moved from FreeBSD 13 to 14 in Jenkins, we started seeing in ut-asan a lot of new errors which all seem to have in common SSL or more generally to be related to cryptography.
Example job: https://jenkins.aws.isc.org/job/kea-dev/job/ut-asan/1026/
Breakdown:
Click for list of exceptions.
unknown file C++ exception with description "Authentication plugin 'caching_sha2_password' reported error: Failed to generate scramble" thrown in SetUp().
dhcp4_test_utils.cc:860 Expected: { CfgDbAccessPtr cfg_db = CfgMgr::instance().getStagingCfg()->getCfgDbAccess(); cfg_db->setAppendedParameters("universe=4"); cfg_db->createManagers(); } doesn't throw an exception. Actual: it throws.
dhcp6_test_utils.cc:1024 Expected: { CfgDbAccessPtr cfg_db = CfgMgr::instance().getStagingCfg()->getCfgDbAccess(); cfg_db->setAppendedParameters("universe=6"); cfg_db->createManagers(); } doesn't throw an exception. Actual: it throws.
kea_controller_unittest.cc:1081 Expected: static_cast(LeaseMgrFactory::instance()) doesn't throw an exception. Actual: it throws.
kea_controller_unittest.cc:1061 Expected: srv->init(TEST_FILE) doesn't throw an exception. Actual: it throws.
d2_update_message_unittests.cc:676 Expected: msg.toWire(renderer, context.get()) doesn't throw an exception. Actual: it throws.
unknown file C++ exception with description "OpenSSL EVP_DigestSignInit() failed" thrown in the test body.
tsig_unittest.cc:1005 Expected equality of these values: 88 tsig_ctx->getTSIGLength() Which is: 56
Click for list of failing tests.
| 4 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-D2UpdateMessageTest.allValidTSIG | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 5 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-DORAMySQLTest.multiStageBoot | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 6 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-DORAMySQLTest.multiStageBootMultiThreading | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 7 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-DeclineTest.basicMySQL | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 8 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-DeclineTest.declineNoIdentifierChangeMySQL | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 9 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-Dhcpv4SrvTest.checkConfigFiles | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 10 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-Dhcpv6SrvTest.checkConfigFiles | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 11 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-HMACTest.HMACSigLengthArgument | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 12 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-HMACTest.HMAC_SHA224_RFC4231_SIGN | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 13 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-HMACTest.HMAC_SHA256_RFC2202_SIGN_TRUNCATED | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 14 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-HMACTest.HMAC_SHA256_RFC4231_SIGN | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 15 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-HMACTest.HMAC_SHA384_RFC4231_SIGN | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 16 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-HMACTest.HMAC_SHA512_RFC4231_SIGN | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 17 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-HMACTest.HashAlgorithm | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 18 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-JSONFileBackendMySQLTest.reconfigureBackendMemfileToMySQL | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 19 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-JSONFileBackendMySQLTest.reconfigureBackendMySQLToUndefined | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 20 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-JSONFileBackendMySQLTest.reconfigureBackendUndefinedToMySQL | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 21 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery4ProcessTest.byClientId | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 22 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery4ProcessTest.byHWAddr | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 23 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery4ProcessTest.byRelayId1 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 24 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery4ProcessTest.byRelayId100 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 25 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery4ProcessTest.byRelayId2 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 26 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery4ProcessTest.byRemoteId1 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 27 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery4ProcessTest.byRemoteId100 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 28 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery4ProcessTest.byRemoteId2 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 29 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byLinkAddressEmptyLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 30 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byLinkAddressLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 31 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byLinkAddressLink1 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 32 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byLinkAddressLink2 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 33 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byLinkAddressMultiple | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 34 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byLinkAddressMultiple1 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 35 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byLinkAddressMultiple2 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 36 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byLinkAddressNoActive | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 37 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byLinkAddressUnknownLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 38 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRelayIdEmptyLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 39 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRelayIdLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 40 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRelayIdLink1 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 41 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRelayIdLink2 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 42 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRelayIdNoLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 43 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRelayIdNoLink1 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 44 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRelayIdNoLink2 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 45 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRelayIdUnknownLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 46 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRemoteIdEmptyLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 47 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRemoteIdLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 48 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRemoteIdLink1 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 49 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRemoteIdLink2 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 50 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRemoteIdNoLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 51 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRemoteIdNoLink1 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 52 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRemoteIdNoLink2 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 53 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.byRemoteIdUnknownLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 54 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.extendedInfoTables | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 55 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.noExtendedInfoTables | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 56 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.queryByClientIdActiveLeases | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 57 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.queryByClientIdMultipleLinks | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 58 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.queryByClientIdNoActiveLease | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 59 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.queryByIpAddressActiveLease | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 60 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.queryByIpAddressActivePDLease | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 61 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLBulkLeaseQuery6ProcessTest.queryByIpAddressNoActiveLease | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 62 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQuery4Test.dhcpLeaseQueryActive | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 63 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQuery4Test.dhcpLeaseQueryUnassigned | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 64 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQuery4Test.dhcpLeaseQueryUnknown | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 65 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQuery4Test.notLeaseQuery | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 66 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQuery4Test.processingFails | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 67 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.makeClientOptionMultipleLinks | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 68 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.makeClientOptionSingleLink | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 69 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.makeRelayOptionNoRelayInfo | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 70 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.makeRelayOptionRelayInfo | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 71 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.oldMakeRelayOptionRelayInfo | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 72 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.queryByClientIdActiveLeases | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 73 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.queryByClientIdMultipleLinks | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 74 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.queryByClientIdNoActiveLease | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 75 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.queryByIpAddressActiveLease | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 76 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySQLLeaseQueryImpl6ProcessTest.queryByIpAddressNoActiveLease | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 77 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySqlSchemaTest.checkVersion | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 78 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySqlSecureConnectionTest.Tcp | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 79 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySqlSecureConnectionTest.Tls | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 80 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySqlSecureConnectionTest.TlsInvalidKey | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 81 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySqlSecureConnectionTest.TlsInvalidPassword | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 82 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySqlSecureConnectionTest.TlsNoCrypto | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 83 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-MySqlSecureConnectionTest.TlsNoKey | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 84 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-NameChangeTransactionTest.tsigAllValid | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 85 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-TSIGTest.getTSIGLength | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 86 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-TSIGTest.signUsingHMACSHA224 | 1026 latest | | 0/5 | 0/20 | 0/2 | |
| 87 | all-freebsd-14.0-amd64-null-freebsd-14.0-amd64-null results-TSIGTest.truncatedMAC | 1026 latest | | 0/5 | 0/20 | 0/2 | |