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

Test failure - Amazon Linux encryption: no such option: --prefer-binary

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.12
    • Tests
    • None

    Description

      Amazon Linux Python 2.7 encryption tests are failing on this line:

          python -m pip install --prefer-binary -r .evergreen/test-encryption-requirements.txt
      

      With this error:

       [2021/02/09 01:33:49.448] Running command 'shell.exec' in "run tests" (step 2.2 of 2)
       [2021/02/09 01:33:49.534] New python executable in /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/pymongotestvenv/bin/python2.7
       [2021/02/09 01:33:49.534] Also creating executable in /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/pymongotestvenv/bin/python
       [2021/02/09 01:33:52.916] /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/pymongotestvenv/bin/python: No module named virtualenv
       [2021/02/09 01:33:52.925] /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/pymongotestvenv/bin/python: No module named venv
       [2021/02/09 01:33:53.032] Installing setuptools, pip, wheel...done.
       [2021/02/09 01:33:53.032] /usr/local/bin/virtualenv
       [2021/02/09 01:33:53.032] Using real prefix '/usr'
       [2021/02/09 01:33:53.032] New python executable in /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/venv-encryption/bin/python
       [2021/02/09 01:33:54.787] Installing setuptools, pip, wheel...done.
       [2021/02/09 01:33:54.787] Running virtualenv with interpreter /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/pymongotestvenv/bin/python
       [2021/02/09 01:33:55.327] Requirement already up-to-date: pip<21 in ./pymongotestvenv/lib/python2.7/dist-packages
       [2021/02/09 01:33:55.408] You are using pip version 20.3.4, however version 21.0.1 is available.
       [2021/02/09 01:33:55.408] You should consider upgrading via the 'pip install --upgrade pip' command.
       [2021/02/09 01:33:56.703] Requirement already up-to-date: setuptools in ./pymongotestvenv/lib/python2.7/dist-packages
       [2021/02/09 01:33:56.834] Requirement already up-to-date: wheel in ./pymongotestvenv/lib/python2.7/dist-packages
       [2021/02/09 01:33:56.877] You are using pip version 20.3.4, however version 21.0.1 is available.
       [2021/02/09 01:33:56.877] You should consider upgrading via the 'pip install --upgrade pip' command.
       [2021/02/09 01:33:56.905]   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       [2021/02/09 01:33:56.905]                                  Dload  Upload   Total   Spent    Left  Speed
       [2021/02/09 01:33:57.156] 
        0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
      100 5432k  100 5432k    0     0  21.1M      0 --:--:-- --:--:-- --:--:-- 21.1M
       [2021/02/09 01:33:57.305] total 4
       [2021/02/09 01:33:57.305] drwxrwxr-x  6 ec2-user ec2-user   68 Feb  9 01:33 .
       [2021/02/09 01:33:57.305] drwxrwxr-x 13 ec2-user ec2-user 4096 Feb  9 01:33 ..
       [2021/02/09 01:33:57.305] drwxrwxr-x  4 ec2-user ec2-user   43 Feb  9 01:33 include
       [2021/02/09 01:33:57.305] drwxrwxr-x  4 ec2-user ec2-user  288 Feb  9 01:33 lib64
       [2021/02/09 01:33:57.305] drwxrwxr-x  4 ec2-user ec2-user   34 Feb  9 01:33 nocrypto
       [2021/02/09 01:33:57.305] drwxrwxr-x  4 ec2-user ec2-user   34 Feb  9 01:33 sharedbson
       [2021/02/09 01:33:57.306] total 0
       [2021/02/09 01:33:57.306] drwxrwxr-x 4 ec2-user ec2-user  34 Feb  9 01:33 .
       [2021/02/09 01:33:57.306] drwxrwxr-x 6 ec2-user ec2-user  68 Feb  9 01:33 ..
       [2021/02/09 01:33:57.306] drwxrwxr-x 4 ec2-user ec2-user  43 Feb  9 01:33 include
       [2021/02/09 01:33:57.306] drwxrwxr-x 4 ec2-user ec2-user 260 Feb  9 01:33 lib64
       [2021/02/09 01:33:58.275] Cloning into 'libmongocrypt_git'...
       [2021/02/09 01:33:58.275] Usage:
       [2021/02/09 01:33:58.275]   /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/venv-encryption/bin/python -m pip install [options] <requirement specifier> [package-index-options] ...
       [2021/02/09 01:33:58.275]   /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/venv-encryption/bin/python -m pip install [options] -r <requirements file> [package-index-options] ...
       [2021/02/09 01:33:58.275]   /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/venv-encryption/bin/python -m pip install [options] [-e] <vcs project url> ...
       [2021/02/09 01:33:58.275]   /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/venv-encryption/bin/python -m pip install [options] [-e] <local project path> ...
       [2021/02/09 01:33:58.275]   /data/mci/2ba640d7d953f8a03379f4ecbe219bf6/src/venv-encryption/bin/python -m pip install [options] <archive url/path> ...
       [2021/02/09 01:33:58.275] no such option: --prefer-binary
      

      https://evergreen.mongodb.com/task/mongo_python_driver_3.11_tests_all_encryption__platform~awslinux_auth_ssl~auth_ssl_encryption~encryption_test_4.4_standalone_b47a1aa7915801e3a24c77324f16648d080d543d_21_02_03_01_30_32

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: