[MONGOCRYPT-357] build-and-test-asan failing on SLES 15 64-bit Created: 04/Nov/21  Updated: 28/Oct/23  Resolved: 19/Aug/22

Status: Closed
Project: Libmongocrypt
Component/s: None
Affects Version/s: None
Fix Version/s: 1.6.0

Type: Task Priority: Unknown
Reporter: Kevin Albertson Assignee: Colby Pike
Resolution: Fixed Votes: 0
Labels: failing-on-waterfall
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Example failure with logs:

2021/11/04 14:57:28.317] + echo 'Running kms-message tests.'
[2021/11/04 14:57:28.317] + cd libmongocrypt/kms-message
[2021/11/04 14:57:28.470] + .././cmake-build/kms-message/test_kms_request
[2021/11/04 14:57:28.470] =================================================================
[2021/11/04 14:57:28.471] ==30707==ERROR: LeakSanitizer: detected memory leaks
[2021/11/04 14:57:28.471] Direct leak of 56 byte(s) in 1 object(s) allocated from:
[2021/11/04 14:57:28.471]     #0 0x7fb34301e500 in malloc (/usr/lib64/libasan.so.4+0xdc500)
[2021/11/04 14:57:28.471]     #1 0x7fb3429a9e18 in CRYPTO_zalloc (/usr/lib64/libcrypto.so.1.1+0x169e18)
[2021/11/04 14:57:28.473] Running kms-message tests.
[2021/11/04 14:57:28.473] SUMMARY: AddressSanitizer: 56 byte(s) leaked in 1 allocation(s).
[2021/11/04 14:57:28.473] Command failed: command encountered problem: error waiting on process 'e46155f1-f417-407f-b0c3-f7fe2d658876': exit status 1
[2021/11/04 14:57:28.473] Task completed - FAILURE.

This first appeared on the waterfall in 53068ae710, which included no code changes.



 Comments   
Comment by Kevin Albertson [ 19/Aug/22 ]

Resolved by https://github.com/mongodb/libmongocrypt/commit/2d1ae17668be91063c230719e0d3827ca4a11774

Comment by Kevin Albertson [ 19/Aug/22 ]

Agreed. Thank you for checking. Closing.

Comment by Roberto Sanchez [ 18/Aug/22 ]

kevin.albertson@mongodb.com a suppression was added in 2d1ae17668be91063c230719e0d3827ca4a11774 that causes this task to now succeed. Perhaps this ticket might be closed now?

CC: colby.pike@mongodb.com

Generated at Thu Feb 08 09:08:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.