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

Test Failure - MONGODB-AWS Auth Ubuntu 18.04

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.13, 4.1
    • Affects Version/s: None
    • Component/s: Tests
    • None

      AWS auth tests are failing on Ubuntu 18 because the test is unable to install python3-pip for virtualenv:

       [2022/02/28 19:30:32.956] sh2287| sh127| + command -v virtualenv
       [2022/02/28 19:30:32.956] sh2287| sh127| + echo 'Installing virtualenv...'
       [2022/02/28 19:30:32.956] sh2287| sh127| Installing virtualenv...
       [2022/02/28 19:30:32.956] sh2287| sh127| + apt install python3-pip -y
       [2022/02/28 19:30:32.959] sh2287| sh127|
       [2022/02/28 19:30:32.959] sh2287| sh127| WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
       [2022/02/28 19:30:32.959] sh2287| sh127|
       [2022/02/28 19:30:34.083] sh2287| sh127| Reading package lists...
       [2022/02/28 19:30:34.083] sh2287| sh127| Building dependency tree...
       [2022/02/28 19:30:34.083] sh2287| sh127| Reading state information...
       [2022/02/28 19:30:34.205] sh2287| sh127| The following additional packages will be installed:
       [2022/02/28 19:30:34.205] sh2287| sh127|   build-essential cpp cpp-7 dh-python dirmngr dpkg-dev fakeroot g++ g++-7 gcc
       [2022/02/28 19:30:34.205] sh2287| sh127|   gcc-7 gcc-7-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
       [2022/02/28 19:30:34.205] sh2287| sh127|   gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl
       [2022/02/28 19:30:34.205] sh2287| sh127|   libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan0
       [2022/02/28 19:30:34.205] sh2287| sh127|   libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libexpat1-dev libfakeroot
       [2022/02/28 19:30:34.205] sh2287| sh127|   libfile-fcntllock-perl libgcc-7-dev libgomp1 libisl19 libitm1 libksba8
       [2022/02/28 19:30:34.205] sh2287| sh127|   liblocale-gettext-perl liblsan0 libmpc3 libmpfr6 libmpx2 libnpth0
       [2022/02/28 19:30:34.205] sh2287| sh127|   libpython3-dev libpython3.6 libpython3.6-dev libquadmath0 libstdc++-7-dev
       [2022/02/28 19:30:34.205] sh2287| sh127|   libtsan0 libubsan0 make patch pinentry-curses python-pip-whl
       [2022/02/28 19:30:34.205] sh2287| sh127|   python3-asn1crypto python3-cffi-backend python3-crypto python3-cryptography
       [2022/02/28 19:30:34.205] sh2287| sh127|   python3-dev python3-distutils python3-keyring python3-keyrings.alt
       [2022/02/28 19:30:34.205] sh2287| sh127|   python3-lib2to3 python3-secretstorage python3-setuptools python3-wheel
       [2022/02/28 19:30:34.206] sh2287| sh127|   python3-xdg python3.6-dev
       [2022/02/28 19:30:34.206] sh2287| sh127| Suggested packages:
       [2022/02/28 19:30:34.206] sh2287| sh127|   cpp-doc gcc-7-locales dbus-user-session pinentry-gnome3 tor debian-keyring
       [2022/02/28 19:30:34.206] sh2287| sh127|   g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib autoconf
       [2022/02/28 19:30:34.206] sh2287| sh127|   automake libtool flex bison gdb gcc-doc gcc-7-multilib libgcc1-dbg
       [2022/02/28 19:30:34.206] sh2287| sh127|   libgomp1-dbg libitm1-dbg libatomic1-dbg libasan4-dbg liblsan0-dbg
       [2022/02/28 19:30:34.206] sh2287| sh127|   libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg
       [2022/02/28 19:30:34.206] sh2287| sh127|   parcimonie xloadimage scdaemon git bzr libstdc++-7-doc make-doc ed
       [2022/02/28 19:30:34.206] sh2287| sh127|   diffutils-doc pinentry-doc python-crypto-doc python-cryptography-doc
       [2022/02/28 19:30:34.206] sh2287| sh127|   python3-cryptography-vectors gnome-keyring libkf5wallet-bin
       [2022/02/28 19:30:34.206] sh2287| sh127|   gir1.2-gnomekeyring-1.0 python-secretstorage-doc python-setuptools-doc
       [2022/02/28 19:30:34.336] sh2287| sh127| The following NEW packages will be installed:
       [2022/02/28 19:30:34.336] sh2287| sh127|   build-essential cpp cpp-7 dh-python dirmngr dpkg-dev fakeroot g++ g++-7 gcc
       [2022/02/28 19:30:34.336] sh2287| sh127|   gcc-7 gcc-7-base gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
       [2022/02/28 19:30:34.336] sh2287| sh127|   gpg-wks-server gpgconf gpgsm libalgorithm-diff-perl
       [2022/02/28 19:30:34.336] sh2287| sh127|   libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libassuan0
       [2022/02/28 19:30:34.336] sh2287| sh127|   libatomic1 libcc1-0 libcilkrts5 libdpkg-perl libexpat1-dev libfakeroot
       [2022/02/28 19:30:34.336] sh2287| sh127|   libfile-fcntllock-perl libgcc-7-dev libgomp1 libisl19 libitm1 libksba8
       [2022/02/28 19:30:34.336] sh2287| sh127|   liblocale-gettext-perl liblsan0 libmpc3 libmpfr6 libmpx2 libnpth0
       [2022/02/28 19:30:34.336] sh2287| sh127|   libpython3-dev libpython3.6 libpython3.6-dev libquadmath0 libstdc++-7-dev
       [2022/02/28 19:30:34.337] sh2287| sh127|   libtsan0 libubsan0 make patch pinentry-curses python-pip-whl
       [2022/02/28 19:30:34.337] sh2287| sh127|   python3-asn1crypto python3-cffi-backend python3-crypto python3-cryptography
       [2022/02/28 19:30:34.337] sh2287| sh127|   python3-dev python3-distutils python3-keyring python3-keyrings.alt
       [2022/02/28 19:30:34.337] sh2287| sh127|   python3-lib2to3 python3-pip python3-secretstorage python3-setuptools
       [2022/02/28 19:30:34.571] sh2287| sh127|   python3-wheel python3-xdg python3.6-dev
       [2022/02/28 19:30:34.571] sh2287| sh127| 0 upgraded, 70 newly installed, 0 to remove and 0 not upgraded.
       [2022/02/28 19:30:34.571] sh2287| sh127| Need to get 87.0 MB of archives.
       [2022/02/28 19:30:34.571] sh2287| sh127| After this operation, 222 MB of additional disk space will be used.
       [2022/02/28 19:30:34.572] sh2287| sh127| Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblocale-gettext-perl amd64 1.07-3build2 [16.6 kB]
       [2022/02/28 19:30:34.718] sh2287| sh127| Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7-base amd64 7.5.0-3ubuntu1~18.04 [18.3 kB]
       [2022/02/28 19:30:34.746] sh2287| sh127| Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB]
       [2022/02/28 19:30:35.040] sh2287| sh127| Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpfr6 amd64 4.0.1-1 [243 kB]
       [2022/02/28 19:30:35.078] sh2287| sh127| Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB]
       [2022/02/28 19:30:35.084] sh2287| sh127| Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04 [8591 kB]
       [2022/02/28 19:30:35.576] sh2287| sh127| Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp amd64 4:7.4.0-1ubuntu2.3 [27.7 kB]
       [2022/02/28 19:30:35.576] sh2287| sh127| Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.4.0-1ubuntu1~18.04 [39.4 kB]
       [2022/02/28 19:30:35.577] sh2287| sh127| Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.4.0-1ubuntu1~18.04 [76.5 kB]
       [2022/02/28 19:30:35.578] sh2287| sh127| Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.4.0-1ubuntu1~18.04 [27.9 kB]
       [2022/02/28 19:30:35.579] sh2287| sh127| Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.4.0-1ubuntu1~18.04 [9192 B]
       [2022/02/28 19:30:35.579] sh2287| sh127| Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.5.0-3ubuntu1~18.04 [358 kB]
       [2022/02/28 19:30:35.584] sh2287| sh127| Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.4.0-1ubuntu1~18.04 [133 kB]
       [2022/02/28 19:30:35.586] sh2287| sh127| Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.4.0-1ubuntu1~18.04 [288 kB]
       [2022/02/28 19:30:35.590] sh2287| sh127| Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.5.0-3ubuntu1~18.04 [126 kB]
       [2022/02/28 19:30:35.650] sh2287| sh127| Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.5.0-3ubuntu1~18.04 [42.5 kB]
       [2022/02/28 19:30:35.723] sh2287| sh127| Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.4.0-1ubuntu1~18.04 [11.6 kB]
       [2022/02/28 19:30:35.724] sh2287| sh127| Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.4.0-1ubuntu1~18.04 [134 kB]
       [2022/02/28 19:30:35.728] sh2287| sh127| Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.5.0-3ubuntu1~18.04 [2378 kB]
       [2022/02/28 19:30:35.813] sh2287| sh127| Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04 [9381 kB]
       [2022/02/28 19:30:36.319] sh2287| sh127| Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5184 B]
       [2022/02/28 19:30:36.334] sh2287| sh127| Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.5.0-3ubuntu1~18.04 [1471 kB]
       [2022/02/28 19:30:36.352] sh2287| sh127| Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.5.0-3ubuntu1~18.04 [9697 kB]
       [2022/02/28 19:30:36.852] sh2287| sh127| Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1568 B]
       [2022/02/28 19:30:36.852] sh2287| sh127| Get:25 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB]
       [2022/02/28 19:30:36.853] sh2287| sh127| Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.3 [211 kB]
       [2022/02/28 19:30:36.856] sh2287| sh127| Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 patch amd64 2.7.6-2ubuntu1.1 [102 kB]
       [2022/02/28 19:30:36.858] sh2287| sh127| Get:28 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.3 [607 kB]
       [2022/02/28 19:30:36.865] sh2287| sh127| Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]
       [2022/02/28 19:30:36.866] sh2287| sh127| Get:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-lib2to3 all 3.6.9-1~18.04 [77.4 kB]
       [2022/02/28 19:30:36.867] sh2287| sh127| Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-distutils all 3.6.9-1~18.04 [144 kB]
       [2022/02/28 19:30:36.869] sh2287| sh127| Get:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 dh-python all 3.20180325ubuntu2 [89.2 kB]
       [2022/02/28 19:30:36.926] sh2287| sh127| Get:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 libassuan0 amd64 2.5.1-2 [35.0 kB]
       [2022/02/28 19:30:36.926] sh2287| sh127| Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgconf amd64 2.2.4-1ubuntu1.4 [123 kB]
       [2022/02/28 19:30:36.999] sh2287| sh127| Get:35 http://archive.ubuntu.com/ubuntu bionic/main amd64 libksba8 amd64 1.3.5-2 [92.6 kB]
       [2022/02/28 19:30:37.001] sh2287| sh127| Get:36 http://archive.ubuntu.com/ubuntu bionic/main amd64 libnpth0 amd64 1.5-3 [7668 B]
       [2022/02/28 19:30:37.001] sh2287| sh127| Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dirmngr amd64 2.2.4-1ubuntu1.4 [316 kB]
       [2022/02/28 19:30:37.010] sh2287| sh127| Get:38 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]
       [2022/02/28 19:30:37.011] sh2287| sh127| Get:39 http://archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]
       [2022/02/28 19:30:37.014] sh2287| sh127| Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-l10n all 2.2.4-1ubuntu1.4 [49.8 kB]
       [2022/02/28 19:30:37.015] sh2287| sh127| Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg-utils amd64 2.2.4-1ubuntu1.4 [128 kB]
       [2022/02/28 19:30:37.019] sh2287| sh127| Get:42 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg amd64 2.2.4-1ubuntu1.4 [467 kB]
       [2022/02/28 19:30:37.072] sh2287| sh127| Get:43 http://archive.ubuntu.com/ubuntu bionic/main amd64 pinentry-curses amd64 1.1.0-1 [35.8 kB]
       [2022/02/28 19:30:37.073] sh2287| sh127| Get:44 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-agent amd64 2.2.4-1ubuntu1.4 [227 kB]
       [2022/02/28 19:30:37.145] sh2287| sh127| Get:45 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-client amd64 2.2.4-1ubuntu1.4 [91.8 kB]
       [2022/02/28 19:30:37.148] sh2287| sh127| Get:46 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpg-wks-server amd64 2.2.4-1ubuntu1.4 [85.0 kB]
       [2022/02/28 19:30:37.149] sh2287| sh127| Get:47 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gpgsm amd64 2.2.4-1ubuntu1.4 [215 kB]
       [2022/02/28 19:30:37.156] sh2287| sh127| Get:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gnupg amd64 2.2.4-1ubuntu1.4 [249 kB]
       [2022/02/28 19:30:37.163] sh2287| sh127| Get:49 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
       [2022/02/28 19:30:37.165] sh2287| sh127| Get:50 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]
       [2022/02/28 19:30:37.165] sh2287| sh127| Get:51 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
       [2022/02/28 19:30:37.165] sh2287| sh127| Ign:52 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1-dev amd64 2.2.5-3ubuntu0.2
       [2022/02/28 19:30:37.203] sh2287| sh127| Err:52 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1-dev amd64 2.2.5-3ubuntu0.2
       [2022/02/28 19:30:37.203] sh2287| sh127|   404  Not Found [IP: 91.189.88.152 80]
       [2022/02/28 19:30:37.218] sh2287| sh127| Get:53 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]
       [2022/02/28 19:30:37.219] sh2287| sh127| Get:54 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6 amd64 3.6.9-1~18.04ubuntu1.6 [1414 kB]
       [2022/02/28 19:30:37.291] sh2287| sh127| Get:55 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04ubuntu1.6 [44.9 MB]
       [2022/02/28 19:30:39.155] sh2287| sh127| Get:56 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3-dev amd64 3.6.7-1~18.04 [7328 B]
       [2022/02/28 19:30:39.163] sh2287| sh127| Get:57 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.5 [1653 kB]
       [2022/02/28 19:30:39.184] sh2287| sh127| Get:58 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-asn1crypto all 0.24.0-1 [72.8 kB]
       [2022/02/28 19:30:39.185] sh2287| sh127| Get:59 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-cffi-backend amd64 1.11.5-1 [64.6 kB]
       [2022/02/28 19:30:39.196] sh2287| sh127| Get:60 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-crypto amd64 2.6.1-8ubuntu2 [244 kB]
       [2022/02/28 19:30:39.198] sh2287| sh127| Get:61 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-cryptography amd64 2.1.4-1ubuntu1.4 [220 kB]
       [2022/02/28 19:30:39.201] sh2287| sh127| Get:62 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.9-1~18.04ubuntu1.6 [508 kB]
       [2022/02/28 19:30:39.208] sh2287| sh127| Get:63 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-dev amd64 3.6.7-1~18.04 [1288 B]
       [2022/02/28 19:30:39.208] sh2287| sh127| Get:64 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-secretstorage all 2.3.1-2 [12.1 kB]
       [2022/02/28 19:30:39.237] sh2287| sh127| Get:65 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-keyring all 10.6.0-1 [26.7 kB]
       [2022/02/28 19:30:39.310] sh2287| sh127| Get:66 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-keyrings.alt all 3.0-1 [16.6 kB]
       [2022/02/28 19:30:39.310] sh2287| sh127| Get:67 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-pip all 9.0.1-2.3~ubuntu1.18.04.5 [114 kB]
       [2022/02/28 19:30:39.313] sh2287| sh127| Get:68 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-setuptools all 39.0.1-2 [248 kB]
       [2022/02/28 19:30:39.316] sh2287| sh127| Get:69 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-wheel all 0.30.0-0.2 [36.5 kB]
       [2022/02/28 19:30:39.317] sh2287| sh127| Get:70 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-xdg all 0.25-4ubuntu1.1 [31.3 kB]
       [2022/02/28 19:30:39.321] sh2287| sh127| Fetched 86.9 MB in 5s (17.5 MB/s)
       [2022/02/28 19:30:39.321] sh2287| sh127| E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/e/expat/libexpat1-dev_2.2.5-3ubuntu0.2_amd64.deb  404  Not Found [IP: 91.189.88.152 80]
       [2022/02/28 19:30:39.321] sh2287| sh127| E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
      

      https://evergreen.mongodb.com/task/mongo_python_driver_aws_auth_test__platform~ubuntu_18.04_python_version~system_python3_aws_auth_test_5.0_a3f0f9158814ba0d4881bedc2cb78be52986ddfa_22_02_25_18_36_05

      We should use get-pip instead.

            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: