Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2423

Power8 CSFLE tasks failing to install cryptography in pip

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.7.0
    • Affects Version/s: None
    • Component/s: None

      Example failure. Relevant logs:

      [2021/12/16 13:26:09.299]       self.run_setup()
      [2021/12/16 13:26:09.299]     File "/data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/pip-build-env-72paua6_/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 158, in run_setup
      [2021/12/16 13:26:09.299]       exec(compile(code, __file__, 'exec'), locals())
      [2021/12/16 13:26:09.299]     File "setup.py", line 152, in <module>
      [2021/12/16 13:26:09.299]       rust_extensions=rust_extensions,
      [2021/12/16 13:26:09.299]     File "/data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/pip-build-env-72paua6_/overlay/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
      [2021/12/16 13:26:09.299]       return distutils.core.setup(**attrs)
      [2021/12/16 13:26:09.299]     File "/usr/lib64/python3.6/distutils/core.py", line 108, in setup
      [2021/12/16 13:26:09.299]       _setup_distribution = dist = klass(attrs)
      [2021/12/16 13:26:09.299]     File "/data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/pip-build-env-72paua6_/overlay/lib/python3.6/site-packages/setuptools/dist.py", line 463, in __init__
      [2021/12/16 13:26:09.299]       for k, v in attrs.items()
      [2021/12/16 13:26:09.300]     File "/usr/lib64/python3.6/distutils/dist.py", line 281, in __init__
      [2021/12/16 13:26:09.300]       self.finalize_options()
      [2021/12/16 13:26:09.300]     File "/data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/pip-build-env-72paua6_/overlay/lib/python3.6/site-packages/setuptools/dist.py", line 837, in finalize_options
      [2021/12/16 13:26:09.300]       ep(self)
      [2021/12/16 13:26:09.300]     File "/data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/pip-build-env-72paua6_/overlay/lib/python3.6/site-packages/setuptools/dist.py", line 858, in _finalize_setup_keywords
      [2021/12/16 13:26:09.300]       ep.load()(self, ep.name, value)
      [2021/12/16 13:26:09.300]     File "/data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/pip-build-env-72paua6_/overlay/lib64/python3.6/site-packages/cffi/setuptools_ext.py", line 219, in cffi_modules
      [2021/12/16 13:26:09.300]       add_cffi_module(dist, cffi_module)
      [2021/12/16 13:26:09.300]     File "/data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/pip-build-env-72paua6_/overlay/lib64/python3.6/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
      [2021/12/16 13:26:09.300]       execfile(build_file_name, mod_vars)
      [2021/12/16 13:26:09.300]     File "/data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/pip-build-env-72paua6_/overlay/lib64/python3.6/site-packages/cffi/setuptools_ext.py", line 25, in execfile
      [2021/12/16 13:26:09.300]       exec(code, glob, glob)
      [2021/12/16 13:26:09.300]     File "src/_cffi_src/build_openssl.py", line 119, in <module>
      [2021/12/16 13:26:09.300]       extra_link_args=extra_link_args(compiler_type()),
      [2021/12/16 13:26:09.300]     File "src/_cffi_src/utils.py", line 59, in build_ffi_for_binding
      [2021/12/16 13:26:09.300]       extra_link_args=extra_link_args,
      [2021/12/16 13:26:09.300]     File "src/_cffi_src/utils.py", line 73, in build_ffi
      [2021/12/16 13:26:09.300]       ffi = FFI()
      [2021/12/16 13:26:09.300]     File "/data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/pip-build-env-72paua6_/overlay/lib64/python3.6/site-packages/cffi/api.py", line 48, in __init__
      [2021/12/16 13:26:09.300]       import _cffi_backend as backend
      [2021/12/16 13:26:09.300]   ModuleNotFoundError: No module named '_cffi_backend'
      [2021/12/16 13:26:09.300]   ----------------------------------------
      [2021/12/16 13:26:09.302] WARNING: Discarding https://files.pythonhosted.org/packages/cc/98/8a258ab4787e6f835d350639792527d2eb7946ff9fc0caca9c3f4cf5dcfe/cryptography-3.4.8.tar.gz#sha256=94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c (from https://pypi.org/simple/cryptography/) (requires-python:>=3.6). Command errored out with exit status 1: /data/mci/63d8796a0a23c6ec0f22da803e1a92f1/drivers-evergreen-tools/.evergreen/csfle/kmstlsvenv/bin/python3 /data/mci/63d8796a0a23c6ec0f22da803e1a92f1/drivers-evergreen-tools/.evergreen/csfle/kmstlsvenv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /data/mci/63d8796a0a23c6ec0f22da803e1a92f1/tmp/tmpapikfvai Check the logs for full command output.
      [2021/12/16 13:26:09.308] ERROR: Could not find a version that satisfies the requirement cryptography~=3.4.8 (from versions: 0.1, 0.2, 0.2.1, 0.2.2, 0.3, 0.4, 0.5, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6, 0.6.1, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.8.2, 0.9, 0.9.1, 0.9.2, 0.9.3, 1.0, 1.0.1, 1.0.2, 1.1, 1.1.1, 1.1.2, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.3, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.4, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.6, 1.7, 1.7.1, 1.7.2, 1.8, 1.8.1, 1.8.2, 1.9, 2.0, 2.0.1, 2.0.2, 2.0.3, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2, 2.2.1, 2.2.2, 2.3, 2.3.1, 2.4, 2.4.1, 2.4.2, 2.5, 2.6, 2.6.1, 2.7, 2.8, 2.9, 2.9.1, 2.9.2, 3.0, 3.1, 3.1.1, 3.2, 3.2.1, 3.3, 3.3.1, 3.3.2, 3.4, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.4.6, 3.4.7, 3.4.8, 35.0.0, 36.0.0, 36.0.1)
      [2021/12/16 13:26:54.585] Waiting for mock KMS servers to start...
      [2021/12/16 13:26:54.585] Could not detect mock KMS server on port 7999
      [2021/12/16 13:26:54.586] Command failed: command encountered problem: error waiting on process '7c567f2a-1e65-4299-ba7f-8eaf8175e1cb': exit status 1
      [2021/12/16 13:26:54.587] Task completed - FAILURE.
      

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: