Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
Description
Related to MONGOCRYPT-276, a PyPy 2 task failed in a patch build here:
https://evergreen.mongodb.com/task/libmongocrypt_rhel_62_64_bit_test_python_patch_a22da92f5d0fe2fea1e9ffcb7b584e8b44dca25d_5f57aa6c61837d5a554d1f87_20_09_08_15_59_40
[2020/09/08 16:35:35.510] + /opt/python/pypy/bin/pypy -c 'import sys; print(sys.version)'
|
[2020/09/08 16:35:40.112] running build_ext
|
[2020/09/08 16:35:40.112] 2.7.13 (d0d41085a83c, Apr 06 2020, 17:09:17)
|
[2020/09/08 16:35:40.112] [PyPy 7.3.1 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
|
[2020/09/08 16:35:42.954] + /opt/python/pypy/bin/pypy setup.py test
|
[2020/09/08 16:35:42.954] WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
|
[2020/09/08 16:35:44.994] DEPRECATION: pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
|
[2020/09/08 16:35:57.616] DEPRECATION: pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
|
[2020/09/08 16:36:01.773] running test
|
[2020/09/08 16:36:01.773] running egg_info
|
[2020/09/08 16:36:01.773] writing pymongocrypt.egg-info/PKG-INFO
|
[2020/09/08 16:36:01.773] writing dependency_links to pymongocrypt.egg-info/dependency_links.txt
|
[2020/09/08 16:36:01.773] writing requirements to pymongocrypt.egg-info/requires.txt
|
[2020/09/08 16:36:01.773] writing top-level names to pymongocrypt.egg-info/top_level.txt
|
[2020/09/08 16:36:01.781] reading manifest file 'pymongocrypt.egg-info/SOURCES.txt'
|
[2020/09/08 16:36:01.781] writing manifest file 'pymongocrypt.egg-info/SOURCES.txt'
|
[2020/09/08 16:36:02.333] test_libmongocrypt_version (test.test_binding.TestBinding) ... ok
|
[2020/09/08 16:36:02.333] test_mongocrypt_binary_new (test.test_binding.TestBinding) ... ok
|
[2020/09/08 16:36:02.334] test_mongocrypt_new (test.test_binding.TestBinding) ... ok
|
[2020/09/08 16:36:02.334] test_mongocrypt_status_new (test.test_binding.TestBinding) ... ok
|
[2020/09/08 16:36:02.334] test_pymongocrypt_version (test.test_binding.TestBinding) ... ok
|
[2020/09/08 16:36:02.486] test_data_key_creation (test.test_mongocrypt.TestExplicitEncryption) ... ERROR
|
[2020/09/08 16:36:02.492] test_encrypt_decrypt (test.test_mongocrypt.TestExplicitEncryption) ... ERROR
|
[2020/09/08 16:36:02.505] test_encrypt_decrypt_key_alt_name (test.test_mongocrypt.TestExplicitEncryption) ... ERROR
|
[2020/09/08 16:36:02.510] test_decrypt (test.test_mongocrypt.TestMongoCrypt) ... ERROR
|
[2020/09/08 16:36:02.516] test_encrypt (test.test_mongocrypt.TestMongoCrypt) ... ERROR
|
[2020/09/08 16:36:02.516] test_mongocrypt (test.test_mongocrypt.TestMongoCrypt) ... ok
|
[2020/09/08 16:36:02.517] test_mongocrypt_validation (test.test_mongocrypt.TestMongoCrypt) ... ok
|
[2020/09/08 16:36:02.517] test_mongocrypt_binary_in (test.test_mongocrypt.TestMongoCryptBinary) ... ok
|
[2020/09/08 16:36:02.517] test_mongocrypt_binary_out (test.test_mongocrypt.TestMongoCryptBinary) ... ok
|
[2020/09/08 16:36:02.521] test_decrypt (test.test_mongocrypt.TestMongoCryptCallback) ... ERROR
|
[2020/09/08 16:36:02.525] test_encrypt (test.test_mongocrypt.TestMongoCryptCallback) ... ERROR
|
[2020/09/08 16:36:02.526] test_mongocrypt_options (test.test_mongocrypt.TestMongoCryptOptions) ... ok
|
[2020/09/08 16:36:02.529] test_mongocrypt_options_validation (test.test_mongocrypt.TestMongoCryptOptions) ... ok
|
[2020/09/08 16:36:02.529] ======================================================================
|
[2020/09/08 16:36:02.529] ERROR: test_data_key_creation (test.test_mongocrypt.TestExplicitEncryption)
|
[2020/09/08 16:36:02.529] ----------------------------------------------------------------------
|
[2020/09/08 16:36:02.529] Traceback (most recent call last):
|
[2020/09/08 16:36:02.529] File "/data/mci/57104ab8cf322b9af3becabcf5a02e51/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 337, in test_data_key_creation
|
[2020/09/08 16:36:02.529] key_alt_names=key_alt_names)
|
[2020/09/08 16:36:02.529] File "pymongocrypt/explicit_encrypter.py", line 112, in create_data_key
|
[2020/09/08 16:36:02.529] with self.mongocrypt.data_key_context(kms_provider, opts) as ctx:
|
[2020/09/08 16:36:02.529] File "pymongocrypt/mongocrypt.py", line 228, in data_key_context
|
[2020/09/08 16:36:02.529] return DataKeyContext(self._create_context(), kms_provider, opts)
|
[2020/09/08 16:36:02.529] File "pymongocrypt/mongocrypt.py", line 472, in __init__
|
[2020/09/08 16:36:02.529] self._raise_from_status()
|
[2020/09/08 16:36:02.529] File "pymongocrypt/mongocrypt.py", line 269, in _raise_from_status
|
[2020/09/08 16:36:02.529] raise exc
|
[2020/09/08 16:36:02.529] MongoCryptError: Traceback (most recent call last):
|
[2020/09/08 16:36:02.529] File "pymongocrypt/crypto.py", line 53, in aes_256_cbc_encrypt
|
[2020/09/08 16:36:02.529] backend=default_backend())
|
[2020/09/08 16:36:02.529] File "/data/mci/57104ab8cf322b9af3becabcf5a02e51/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py2.7-linux-x86_64.egg/cryptography/hazmat/backends/__init__.py", line 15, in default_backend
|
[2020/09/08 16:36:02.529] from cryptography.hazmat.backends.openssl.backend import backend
|
[2020/09/08 16:36:02.529] File "/data/mci/57104ab8cf322b9af3becabcf5a02e51/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py2.7-linux-x86_64.egg/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
|
[2020/09/08 16:36:02.529] from cryptography.hazmat.backends.openssl.backend import backend
|
[2020/09/08 16:36:02.529] File "/data/mci/57104ab8cf322b9af3becabcf5a02e51/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py2.7-linux-x86_64.egg/cryptography/hazmat/backends/openssl/backend.py", line 75, in <module>
|
[2020/09/08 16:36:02.529] from cryptography.hazmat.bindings.openssl import binding
|
[2020/09/08 16:36:02.529] File "/data/mci/57104ab8cf322b9af3becabcf5a02e51/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/openssl/binding.py", line 205, in <module>
|
[2020/09/08 16:36:02.529] _verify_openssl_version(Binding.lib)
|
[2020/09/08 16:36:02.529] File "/data/mci/57104ab8cf322b9af3becabcf5a02e51/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py2.7-linux-x86_64.egg/cryptography/hazmat/bindings/openssl/binding.py", line 169, in _verify_openssl_version
|
[2020/09/08 16:36:02.529] "You are linking against OpenSSL 1.0.1, which is no longer "
|
[2020/09/08 16:36:02.529] RuntimeError: You are linking against OpenSSL 1.0.1, which is no longer supported by the OpenSSL project. You need to upgrade to a newer version of OpenSSL.
|
Pypy 3 also fails with the same error:
[2020/11/18 19:00:16.902] + /opt/python/pypy3.6/bin/pypy3 -c 'import sys; print(sys.version)'
|
[2020/11/18 19:00:21.701] running build_ext
|
[2020/11/18 19:00:21.701] 3.6.9 (d38cd66c14b8, Sep 23 2020, 08:01:17)
|
[2020/11/18 19:00:21.701] [PyPy 7.3.2 with GCC 7.3.1 20180303 (Red Hat 7.3.1-5)]
|
[2020/11/18 19:00:26.147] + /opt/python/pypy3.6/bin/pypy3 setup.py test
|
[2020/11/18 19:00:26.147] WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
|
[2020/11/18 19:00:53.895] running test
|
[2020/11/18 19:00:53.895] running egg_info
|
[2020/11/18 19:00:53.895] writing pymongocrypt.egg-info/PKG-INFO
|
[2020/11/18 19:00:53.895] writing dependency_links to pymongocrypt.egg-info/dependency_links.txt
|
[2020/11/18 19:00:53.896] writing requirements to pymongocrypt.egg-info/requires.txt
|
[2020/11/18 19:00:53.896] writing top-level names to pymongocrypt.egg-info/top_level.txt
|
[2020/11/18 19:00:53.906] reading manifest file 'pymongocrypt.egg-info/SOURCES.txt'
|
[2020/11/18 19:00:53.906] writing manifest file 'pymongocrypt.egg-info/SOURCES.txt'
|
[2020/11/18 19:00:54.736] test_libmongocrypt_version (test.test_binding.TestBinding) ... ok
|
[2020/11/18 19:00:54.736] test_mongocrypt_binary_new (test.test_binding.TestBinding) ... ok
|
[2020/11/18 19:00:54.737] test_mongocrypt_new (test.test_binding.TestBinding) ... ok
|
[2020/11/18 19:00:54.738] test_mongocrypt_status_new (test.test_binding.TestBinding) ... ok
|
[2020/11/18 19:00:54.739] test_parse_version (test.test_binding.TestBinding) ... ok
|
[2020/11/18 19:00:54.739] test_pymongocrypt_version (test.test_binding.TestBinding) ... ok
|
[2020/11/18 19:00:54.895] test_sign_rsaes_pkcs1_v1_5 (test.test_crypto.TestCrypto) ... FAIL
|
[2020/11/18 19:00:54.912] test_data_key_creation (test.test_mongocrypt.TestExplicitEncryption) ... ERROR
|
[2020/11/18 19:00:54.926] test_encrypt_decrypt (test.test_mongocrypt.TestExplicitEncryption) ... ERROR
|
[2020/11/18 19:00:54.936] test_encrypt_decrypt_key_alt_name (test.test_mongocrypt.TestExplicitEncryption) ... ERROR
|
[2020/11/18 19:00:54.947] test_decrypt (test.test_mongocrypt.TestMongoCrypt) ... ERROR
|
[2020/11/18 19:00:54.961] test_encrypt (test.test_mongocrypt.TestMongoCrypt) ... ERROR
|
[2020/11/18 19:00:54.962] test_mongocrypt (test.test_mongocrypt.TestMongoCrypt) ... ok
|
[2020/11/18 19:00:54.963] test_mongocrypt_validation (test.test_mongocrypt.TestMongoCrypt) ... ok
|
[2020/11/18 19:00:54.966] test_setopt_kms_provider_base64_or_bytes (test.test_mongocrypt.TestMongoCrypt) ... ok
|
[2020/11/18 19:00:54.967] test_mongocrypt_binary_in (test.test_mongocrypt.TestMongoCryptBinary) ... ok
|
[2020/11/18 19:00:54.967] test_mongocrypt_binary_out (test.test_mongocrypt.TestMongoCryptBinary) ... ok
|
[2020/11/18 19:00:54.978] test_decrypt (test.test_mongocrypt.TestMongoCryptCallback) ... ERROR
|
[2020/11/18 19:00:54.994] test_encrypt (test.test_mongocrypt.TestMongoCryptCallback) ... ERROR
|
[2020/11/18 19:00:54.995] test_mongocrypt_options (test.test_mongocrypt.TestMongoCryptOptions) ... ok
|
[2020/11/18 19:00:54.997] test_mongocrypt_options_validation (test.test_mongocrypt.TestMongoCryptOptions) ... ok
|
[2020/11/18 19:00:54.997] ======================================================================
|
[2020/11/18 19:00:54.997] ERROR: test_data_key_creation (test.test_mongocrypt.TestExplicitEncryption)
|
[2020/11/18 19:00:54.997] ----------------------------------------------------------------------
|
[2020/11/18 19:00:54.997] Traceback (most recent call last):
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 410, in test_data_key_creation
|
[2020/11/18 19:00:54.997] key_alt_names=key_alt_names)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/explicit_encrypter.py", line 134, in create_data_key
|
[2020/11/18 19:00:54.997] with self.mongocrypt.data_key_context(kms_provider, opts) as ctx:
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 279, in data_key_context
|
[2020/11/18 19:00:54.997] self.__callback)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 540, in __init__
|
[2020/11/18 19:00:54.997] self._raise_from_status()
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 320, in _raise_from_status
|
[2020/11/18 19:00:54.997] raise exc
|
[2020/11/18 19:00:54.997] pymongocrypt.errors.MongoCryptError: Traceback (most recent call last):
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/crypto.py", line 55, in aes_256_cbc_encrypt
|
[2020/11/18 19:00:54.997] backend=default_backend())
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py3.6-linux-x86_64.egg/cryptography/hazmat/backends/__init__.py", line 15, in default_backend
|
[2020/11/18 19:00:54.997] from cryptography.hazmat.backends.openssl.backend import backend
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py3.6-linux-x86_64.egg/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module>
|
[2020/11/18 19:00:54.997] from cryptography.hazmat.backends.openssl.backend import backend
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py3.6-linux-x86_64.egg/cryptography/hazmat/backends/openssl/backend.py", line 75, in <module>
|
[2020/11/18 19:00:54.997] from cryptography.hazmat.bindings.openssl import binding
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py3.6-linux-x86_64.egg/cryptography/hazmat/bindings/openssl/binding.py", line 205, in <module>
|
[2020/11/18 19:00:54.997] _verify_openssl_version(Binding.lib)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/.eggs/cryptography-2.9.2-py3.6-linux-x86_64.egg/cryptography/hazmat/bindings/openssl/binding.py", line 169, in _verify_openssl_version
|
[2020/11/18 19:00:54.997] "You are linking against OpenSSL 1.0.1, which is no longer "
|
[2020/11/18 19:00:54.997] RuntimeError: You are linking against OpenSSL 1.0.1, which is no longer supported by the OpenSSL project. You need to upgrade to a newer version of OpenSSL.
|
[2020/11/18 19:00:54.997] ======================================================================
|
[2020/11/18 19:00:54.997] ERROR: test_encrypt_decrypt (test.test_mongocrypt.TestExplicitEncryption)
|
[2020/11/18 19:00:54.997] ----------------------------------------------------------------------
|
[2020/11/18 19:00:54.997] Traceback (most recent call last):
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 386, in test_encrypt_decrypt
|
[2020/11/18 19:00:54.997] self._test_encrypt_decrypt(key_id=key_id.bytes)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 375, in _test_encrypt_decrypt
|
[2020/11/18 19:00:54.997] encoded_val, algo, key_id=key_id, key_alt_name=key_alt_name)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/explicit_encrypter.py", line 162, in encrypt
|
[2020/11/18 19:00:54.997] return run_state_machine(ctx, self.callback)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/state_machine.py", line 145, in run_state_machine
|
[2020/11/18 19:00:54.997] ctx.add_mongo_operation_result(key)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 337, in add_mongo_operation_result
|
[2020/11/18 19:00:54.997] self._raise_from_status()
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 320, in _raise_from_status
|
[2020/11/18 19:00:54.997] raise exc
|
[2020/11/18 19:00:54.997] pymongocrypt.errors.MongoCryptError: failed to create KMS message
|
[2020/11/18 19:00:54.997] ======================================================================
|
[2020/11/18 19:00:54.997] ERROR: test_encrypt_decrypt_key_alt_name (test.test_mongocrypt.TestExplicitEncryption)
|
[2020/11/18 19:00:54.997] ----------------------------------------------------------------------
|
[2020/11/18 19:00:54.997] Traceback (most recent call last):
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 390, in test_encrypt_decrypt_key_alt_name
|
[2020/11/18 19:00:54.997] self._test_encrypt_decrypt(key_alt_name=key_alt_name)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 375, in _test_encrypt_decrypt
|
[2020/11/18 19:00:54.997] encoded_val, algo, key_id=key_id, key_alt_name=key_alt_name)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/explicit_encrypter.py", line 162, in encrypt
|
[2020/11/18 19:00:54.997] return run_state_machine(ctx, self.callback)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/state_machine.py", line 145, in run_state_machine
|
[2020/11/18 19:00:54.997] ctx.add_mongo_operation_result(key)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 337, in add_mongo_operation_result
|
[2020/11/18 19:00:54.997] self._raise_from_status()
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 320, in _raise_from_status
|
[2020/11/18 19:00:54.997] raise exc
|
[2020/11/18 19:00:54.997] pymongocrypt.errors.MongoCryptError: failed to create KMS message
|
[2020/11/18 19:00:54.997] ======================================================================
|
[2020/11/18 19:00:54.997] ERROR: test_decrypt (test.test_mongocrypt.TestMongoCrypt)
|
[2020/11/18 19:00:54.997] ----------------------------------------------------------------------
|
[2020/11/18 19:00:54.997] Traceback (most recent call last):
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 264, in test_decrypt
|
[2020/11/18 19:00:54.997] self._test_kms_context(ctx)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 209, in _test_kms_context
|
[2020/11/18 19:00:54.997] ctx.add_mongo_operation_result(bson_data('key-document.json'))
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 337, in add_mongo_operation_result
|
[2020/11/18 19:00:54.997] self._raise_from_status()
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 320, in _raise_from_status
|
[2020/11/18 19:00:54.997] raise exc
|
[2020/11/18 19:00:54.997] pymongocrypt.errors.MongoCryptError: failed to create KMS message
|
[2020/11/18 19:00:54.997] ======================================================================
|
[2020/11/18 19:00:54.997] ERROR: test_encrypt (test.test_mongocrypt.TestMongoCrypt)
|
[2020/11/18 19:00:54.997] ----------------------------------------------------------------------
|
[2020/11/18 19:00:54.997] Traceback (most recent call last):
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 247, in test_encrypt
|
[2020/11/18 19:00:54.997] self._test_kms_context(ctx)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 209, in _test_kms_context
|
[2020/11/18 19:00:54.997] ctx.add_mongo_operation_result(bson_data('key-document.json'))
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 337, in add_mongo_operation_result
|
[2020/11/18 19:00:54.997] self._raise_from_status()
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 320, in _raise_from_status
|
[2020/11/18 19:00:54.997] raise exc
|
[2020/11/18 19:00:54.997] pymongocrypt.errors.MongoCryptError: failed to create KMS message
|
[2020/11/18 19:00:54.997] ======================================================================
|
[2020/11/18 19:00:54.997] ERROR: test_decrypt (test.test_mongocrypt.TestMongoCryptCallback)
|
[2020/11/18 19:00:54.997] ----------------------------------------------------------------------
|
[2020/11/18 19:00:54.997] Traceback (most recent call last):
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 338, in test_decrypt
|
[2020/11/18 19:00:54.997] bson_data('encrypted-command-reply.json'))
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/auto_encrypter.py", line 56, in decrypt
|
[2020/11/18 19:00:54.997] return run_state_machine(ctx, self.callback)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/state_machine.py", line 145, in run_state_machine
|
[2020/11/18 19:00:54.997] ctx.add_mongo_operation_result(key)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 337, in add_mongo_operation_result
|
[2020/11/18 19:00:54.997] self._raise_from_status()
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 320, in _raise_from_status
|
[2020/11/18 19:00:54.997] raise exc
|
[2020/11/18 19:00:54.997] pymongocrypt.errors.MongoCryptError: failed to create KMS message
|
[2020/11/18 19:00:54.997] ======================================================================
|
[2020/11/18 19:00:54.997] ERROR: test_encrypt (test.test_mongocrypt.TestMongoCryptCallback)
|
[2020/11/18 19:00:54.997] ----------------------------------------------------------------------
|
[2020/11/18 19:00:54.997] Traceback (most recent call last):
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_mongocrypt.py", line 325, in test_encrypt
|
[2020/11/18 19:00:54.997] encrypted = encrypter.encrypt('text', bson_data('command.json'))
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/auto_encrypter.py", line 44, in encrypt
|
[2020/11/18 19:00:54.997] return run_state_machine(ctx, self.callback)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/state_machine.py", line 145, in run_state_machine
|
[2020/11/18 19:00:54.997] ctx.add_mongo_operation_result(key)
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 337, in add_mongo_operation_result
|
[2020/11/18 19:00:54.997] self._raise_from_status()
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/pymongocrypt/mongocrypt.py", line 320, in _raise_from_status
|
[2020/11/18 19:00:54.997] raise exc
|
[2020/11/18 19:00:54.997] pymongocrypt.errors.MongoCryptError: failed to create KMS message
|
[2020/11/18 19:00:54.997] ======================================================================
|
[2020/11/18 19:00:54.997] FAIL: test_sign_rsaes_pkcs1_v1_5 (test.test_crypto.TestCrypto)
|
[2020/11/18 19:00:54.997] ----------------------------------------------------------------------
|
[2020/11/18 19:00:54.997] Traceback (most recent call last):
|
[2020/11/18 19:00:54.997] File "/data/mci/b5abf8934b017a9c8e009eedaa513ecc/libmongocrypt/bindings/python/test/test_crypto.py", line 43, in test_sign_rsaes_pkcs1_v1_5
|
[2020/11/18 19:00:54.997] self.assertTrue(retval)
|
[2020/11/18 19:00:54.997] AssertionError: False is not true
|
[2020/11/18 19:00:54.997] ----------------------------------------------------------------------
|
[2020/11/18 19:00:54.997] Ran 21 tests in 0.261s
|
[2020/11/18 19:00:54.997] FAILED (failures=1, errors=7)
|
[2020/11/18 19:00:54.997] Test failed: <unittest.runner.TextTestResult run=21 errors=7 failures=1>
|
[2020/11/18 19:00:55.034] running build_ext
|
[2020/11/18 19:00:55.034] error: Test failed: <unittest.runner.TextTestResult run=21 errors=7 failures=1>
|
[2020/11/18 19:00:55.034] Command failed: command encountered problem: error waiting on process '56f0d0b1-32b4-4eb2-9cf7-fd9bcf85bb44': exit status 1
|
[2020/11/18 19:00:55.034] Task completed - FAILURE.
|
Attachments
Issue Links
- depends on
-
PYTHON-2449 Ensure cryptography can be installed across system configurations
-
- Closed
-
- related to
-
MONGOCRYPT-276 test-python PyPy 3 task failing on RHEL 6.2 undefined symbol: d2i_DHxparams
-
- Closed
-