-
Type:
Build Failure
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: pymongocrypt
-
Python Drivers
Name of Failure:
TestMongoCryptCallback::test_crypt_shared - AssertionError: unexpectedly None
Link to task:
Context of when and why the failure occurred:
Started failing on macOS m1 on 20 Feb, but there were no relevant changes to drivers-tools or pymongo that day.
Stack trace:
[2025/02/20 16:34:30.389] =================================== FAILURES =================================== [2025/02/20 16:34:30.389] ___________________ TestMongoCryptCallback.test_crypt_shared ___________________ [2025/02/20 16:34:30.389] self = <test.test_mongocrypt.TestMongoCryptCallback testMethod=test_crypt_shared> [2025/02/20 16:34:30.389] @unittest.skipUnless( [2025/02/20 16:34:30.389] os.getenv("TEST_CRYPT_SHARED"), "this test requires TEST_CRYPT_SHARED=1" [2025/02/20 16:34:30.389] ) [2025/02/20 16:34:30.389] def test_crypt_shared(self): [2025/02/20 16:34:30.389] kms_providers = { [2025/02/20 16:34:30.389] "aws": {"accessKeyId": "example", "secretAccessKey": "example"}, [2025/02/20 16:34:30.389] "local": {"key": b"\x00" * 96}, [2025/02/20 16:34:30.389] } [2025/02/20 16:34:30.389] mc = MongoCrypt(MongoCryptOptions(kms_providers), MockCallback()) [2025/02/20 16:34:30.389] self.addCleanup(mc.close) [2025/02/20 16:34:30.389] > self.assertIsNotNone(mc.crypt_shared_lib_version) [2025/02/20 16:34:30.389] E AssertionError: unexpectedly None [2025/02/20 16:34:30.389] test/test_mongocrypt.py:516: AssertionError [2025/02/20 16:34:30.389] ________________ TestAsyncMongoCryptCallback.test_crypt_shared _________________ [2025/02/20 16:34:30.389] self = <test.test_mongocrypt.TestAsyncMongoCryptCallback testMethod=test_crypt_shared> [2025/02/20 16:34:30.389] @unittest.skipUnless( [2025/02/20 16:34:30.389] os.getenv("TEST_CRYPT_SHARED"), "this test requires TEST_CRYPT_SHARED=1" [2025/02/20 16:34:30.389] ) [2025/02/20 16:34:30.389] async def test_crypt_shared(self): [2025/02/20 16:34:30.389] kms_providers = { [2025/02/20 16:34:30.389] "aws": {"accessKeyId": "example", "secretAccessKey": "example"}, [2025/02/20 16:34:30.389] "local": {"key": b"\x00" * 96}, [2025/02/20 16:34:30.389] } [2025/02/20 16:34:30.389] mc = MongoCrypt(MongoCryptOptions(kms_providers), MockAsyncCallback()) [2025/02/20 16:34:30.389] self.addCleanup(mc.close) [2025/02/20 16:34:30.389] > self.assertIsNotNone(mc.crypt_shared_lib_version) [2025/02/20 16:34:30.389] E AssertionError: unexpectedly None [2025/02/20 16:34:30.389] test/test_mongocrypt.py:647: AssertionError
- depends on
-
SERVER-101020 Running mongod on macOS 13 results in "Symbol not found"
-
- Open
-