Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2889

pymongocrypt macOS python 3.5 tests failing due to "tlsv1 alert protocol version"

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • pymongocrypt-1.1.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      pymongocrypt macOS python 3.5 tests are failing with this error:

      [2021/08/27 15:44:25.347] Running test with python: /Library/Frameworks/Python.framework/Versions/3.5/bin/python3
      [2021/08/27 15:44:25.432] 3.5.4 (v3.5.4:3f56838976, Aug  7 2017, 12:56:33)
      [2021/08/27 15:44:25.432] [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
      [2021/08/27 15:44:25.435] + createvirtualenv /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 .venv
      [2021/08/27 15:44:25.435] + PYTHON=/Library/Frameworks/Python.framework/Versions/3.5/bin/python3
      [2021/08/27 15:44:25.435] + VENVPATH=.venv
      [2021/08/27 15:44:25.435] + /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 -m virtualenv --version
      [2021/08/27 15:44:25.486] /Library/Frameworks/Python.framework/Versions/3.5/bin/python3: No module named virtualenv
      [2021/08/27 15:44:25.575] + /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 -m venv -h
      [2021/08/27 15:44:25.575] + VIRTUALENV='/Library/Frameworks/Python.framework/Versions/3.5/bin/python3 -m venv --system-site-packages'
      [2021/08/27 15:44:25.575] + /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 -m venv --system-site-packages .venv
      [2021/08/27 15:44:27.341] + '[' Windows_NT = '' ']'
      [2021/08/27 15:44:27.341] + . .venv/bin/activate
      [2021/08/27 15:44:27.341] ++ deactivate nondestructive
      [2021/08/27 15:44:27.341] ++ '[' -n '' ']'
      [2021/08/27 15:44:27.341] ++ '[' -n '' ']'
      [2021/08/27 15:44:27.341] ++ '[' -n /bin/bash -o -n '' ']'
      [2021/08/27 15:44:27.341] ++ hash -r
      [2021/08/27 15:44:27.341] ++ '[' -n '' ']'
      [2021/08/27 15:44:27.341] ++ unset VIRTUAL_ENV
      [2021/08/27 15:44:27.341] ++ '[' '!' nondestructive = nondestructive ']'
      [2021/08/27 15:44:27.341] ++ VIRTUAL_ENV=/data/mci/b6a1e6e776013e2d75d5e93d5fbf83a6/libmongocrypt/bindings/python/.venv
      [2021/08/27 15:44:27.341] ++ export VIRTUAL_ENV
      [2021/08/27 15:44:27.341] ++ _OLD_VIRTUAL_PATH=/Users/mci/.yarn/bin:/Users/mci/.config/yarn/global/node_modules/.bin:/opt/node/bin:/usr/sbin:/usr/local/opt/python@2/bin:/usr/local/opt/ant@1.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/go/bin
      [2021/08/27 15:44:27.341] ++ PATH=/data/mci/b6a1e6e776013e2d75d5e93d5fbf83a6/libmongocrypt/bindings/python/.venv/bin:/Users/mci/.yarn/bin:/Users/mci/.config/yarn/global/node_modules/.bin:/opt/node/bin:/usr/sbin:/usr/local/opt/python@2/bin:/usr/local/opt/ant@1.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/go/bin
      [2021/08/27 15:44:27.342] ++ export PATH
      [2021/08/27 15:44:27.342] ++ '[' -n '' ']'
      [2021/08/27 15:44:27.342] ++ '[' -z '' ']'
      [2021/08/27 15:44:27.342] ++ _OLD_VIRTUAL_PS1='(.venv) '
      [2021/08/27 15:44:27.342] ++ '[' 'x(.venv) ' '!=' x ']'
      [2021/08/27 15:44:27.342] ++ PS1='(.venv) (.venv) '
      [2021/08/27 15:44:27.342] ++ export PS1
      [2021/08/27 15:44:27.342] ++ '[' -n /bin/bash -o -n '' ']'
      [2021/08/27 15:44:27.342] ++ hash -r
      [2021/08/27 15:44:27.342] + python -m pip install --upgrade pip setuptools wheel
      [2021/08/27 15:44:27.770] Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) - skipping
      [2021/08/27 15:44:27.799] Cache entry deserialization failed, entry ignored
      [2021/08/27 15:44:27.799] Cache entry deserialization failed, entry ignored
      [2021/08/27 15:44:27.809] Requirement already up-to-date: pip in ./.venv/lib/python3.5/site-packages
      [2021/08/27 15:44:27.809] Could not fetch URL https://pypi.org/simple/setuptools/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) - skipping
      [2021/08/27 15:44:27.810] Requirement already up-to-date: setuptools in ./.venv/lib/python3.5/site-packages
      [2021/08/27 15:44:27.845] Could not fetch URL https://pypi.org/simple/wheel/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) - skipping
      [2021/08/27 15:44:27.847] Requirement already up-to-date: wheel in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages
      [2021/08/27 15:44:27.913] Cache entry deserialization failed, entry ignored
      [2021/08/27 15:44:27.913] + python -m pip install --prefer-binary -r test-requirements.txt
      [2021/08/27 15:44:28.191] Usage:
      [2021/08/27 15:44:28.191]   /data/mci/b6a1e6e776013e2d75d5e93d5fbf83a6/libmongocrypt/bindings/python/.venv/bin/python -m pip install [options] <requirement specifier> [package-index-options] ...
      [2021/08/27 15:44:28.192]   /data/mci/b6a1e6e776013e2d75d5e93d5fbf83a6/libmongocrypt/bindings/python/.venv/bin/python -m pip install [options] -r <requirements file> [package-index-options] ...
      [2021/08/27 15:44:28.192]   /data/mci/b6a1e6e776013e2d75d5e93d5fbf83a6/libmongocrypt/bindings/python/.venv/bin/python -m pip install [options] [-e] <vcs project url> ...
      [2021/08/27 15:44:28.192]   /data/mci/b6a1e6e776013e2d75d5e93d5fbf83a6/libmongocrypt/bindings/python/.venv/bin/python -m pip install [options] [-e] <local project path> ...
      [2021/08/27 15:44:28.192]   /data/mci/b6a1e6e776013e2d75d5e93d5fbf83a6/libmongocrypt/bindings/python/.venv/bin/python -m pip install [options] <archive url/path> ...
      [2021/08/27 15:44:28.192] no such option: --prefer-binary
      [2021/08/27 15:44:28.211] Command failed: command encountered problem: error waiting on process 'b8a5e235-63a8-4853-9cab-432fe2804e7e': exit status 2
      [2021/08/27 15:44:28.211] Task completed - FAILURE.
      

      https://evergreen.mongodb.com/task/libmongocrypt_macos_test_python_4bdea3ac3396afec027458c83fc7d6358c27dc00_21_08_27_15_39_44

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: