* Package: dev-python/oauth2client-4.1.3-r1 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/8b569aacf9b6aa365f8cbcf3ae502d4abcb54ddf @@@@@ END @@@@@ >>> Unpacking source... >>> Unpacking oauth2client-4.1.3.tar.gz to /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work >>> Preparing source in /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3 ... * Applying oauth2client-4.1.3-py38.patch ... [ ok ] * Will copy sources from /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3 * python3_7: copying to /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7 * python3_7: running distutils-r1_run_phase python_prepare >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 16 running build running build_py creating /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/_pure_python_crypt.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/service_account.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/tools.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/transport.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/file.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/_helpers.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/client.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/crypt.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/_openssl_crypt.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/_pycrypto_crypt.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/__init__.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/clientsecrets.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client copying oauth2client/_pkce.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client creating /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/flask_util.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/_appengine_ndb.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/appengine.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/_metadata.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/dictionary_storage.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/multiprocess_file_storage.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/keyring_storage.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/gce.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/devshell.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/xsrfutil.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/sqlalchemy.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib copying oauth2client/contrib/__init__.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib creating /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib/django_util copying oauth2client/contrib/django_util/models.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib/django_util copying oauth2client/contrib/django_util/views.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib/django_util copying oauth2client/contrib/django_util/decorators.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib/django_util copying oauth2client/contrib/django_util/apps.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib/django_util copying oauth2client/contrib/django_util/site.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib/django_util copying oauth2client/contrib/django_util/signals.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib/django_util copying oauth2client/contrib/django_util/storage.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib/django_util copying oauth2client/contrib/django_util/__init__.py -> /var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/build/lib/oauth2client/contrib/django_util warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/oauth2client-4.1.3-r1 * python3_7: running distutils-r1_run_phase python_test Failure: ModuleNotFoundError (No module named 'mock') ... ERROR test_constructor_defaults (tests.contrib.test_dictionary_storage.DictionaryStorageTests) ... ok test_constructor_explicit (tests.contrib.test_dictionary_storage.DictionaryStorageTests) ... ok test_delete (tests.contrib.test_dictionary_storage.DictionaryStorageTests) ... ok test_get (tests.contrib.test_dictionary_storage.DictionaryStorageTests) ... ok test_put (tests.contrib.test_dictionary_storage.DictionaryStorageTests) ... ok Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR test_from_string_bad_key (tests.test__pycrypto_crypt.TestPyCryptoSigner) ... ERROR test_from_string_unicode_key (tests.test__pycrypto_crypt.TestPyCryptoVerifier) ... ERROR test_verify_bad_key (tests.test__pycrypto_crypt.TestPyCryptoVerifier) ... ERROR test_verify_failure (tests.test__pycrypto_crypt.TestPyCryptoVerifier) ... ERROR test_verify_success (tests.test__pycrypto_crypt.TestPyCryptoVerifier) ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR test_cache_hit (tests.test_clientsecrets.CachedClientsecretsTests) ... ok test_cache_miss (tests.test_clientsecrets.CachedClientsecretsTests) ... ok test_validation (tests.test_clientsecrets.CachedClientsecretsTests) ... ok test_without_cache (tests.test_clientsecrets.CachedClientsecretsTests) ... ok test_load_by_filename_missing_file (tests.test_clientsecrets.OAuth2CredentialsTests) ... ok test_validate_error (tests.test_clientsecrets.OAuth2CredentialsTests) ... ok test_bad_json (tests.test_clientsecrets.Test__loadfile) ... ok test_non_existent (tests.test_clientsecrets.Test__loadfile) ... ok test_success (tests.test_clientsecrets.Test__loadfile) ... ok test_invalid_client_type (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_missing_required_type_installed (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_missing_required_type_web (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_string_not_configured_type_installed (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_string_not_configured_type_web (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_success_type_installed (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_success_type_web (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_with_non_dictionary (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_with_none (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok test_with_other_than_one_key (tests.test_clientsecrets.Test__validate_clientsecrets) ... ok Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR Failure: ModuleNotFoundError (No module named 'mock') ... ERROR ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/contrib/test_devshell.py", line 24, in import mock ModuleNotFoundError: No module named 'mock' -------------------- >> begin captured logging << -------------------- keyring.backend: DEBUG: Loading KWallet keyring.backend: DEBUG: Loading SecretService keyring.backend: DEBUG: Loading Windows keyring.backend: DEBUG: Loading chainer keyring.backend: DEBUG: Loading macOS --------------------- >> end captured logging << --------------------- ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/contrib/test_flask_util.py", line 23, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/contrib/test_gce.py", line 22, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/contrib/test_keyring_storage.py", line 22, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/contrib/test_metadata.py", line 19, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/contrib/test_sqlalchemy.py", line 18, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/contrib/test_xsrfutil.py", line 20, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test__helpers.py", line 19, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test__pkce.py", line 17, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test__pure_python_crypt.py", line 20, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: test_from_string_bad_key (tests.test__pycrypto_crypt.TestPyCryptoSigner) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test__pycrypto_crypt.py", line 72, in test_from_string_bad_key crypt.PyCryptoSigner.from_string(key_bytes) AttributeError: 'NoneType' object has no attribute 'from_string' ====================================================================== ERROR: test_from_string_unicode_key (tests.test__pycrypto_crypt.TestPyCryptoVerifier) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test__pycrypto_crypt.py", line 62, in test_from_string_unicode_key verifier = crypt.PyCryptoVerifier.from_string( AttributeError: 'NoneType' object has no attribute 'from_string' ====================================================================== ERROR: test_verify_bad_key (tests.test__pycrypto_crypt.TestPyCryptoVerifier) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test__pycrypto_crypt.py", line 54, in test_verify_bad_key verifier = crypt.PyCryptoVerifier.from_string( AttributeError: 'NoneType' object has no attribute 'from_string' ====================================================================== ERROR: test_verify_failure (tests.test__pycrypto_crypt.TestPyCryptoVerifier) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test__pycrypto_crypt.py", line 48, in test_verify_failure verifier = crypt.PyCryptoVerifier.from_string( AttributeError: 'NoneType' object has no attribute 'from_string' ====================================================================== ERROR: test_verify_success (tests.test__pycrypto_crypt.TestPyCryptoVerifier) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test__pycrypto_crypt.py", line 39, in test_verify_success signer = crypt.PyCryptoSigner.from_string( AttributeError: 'NoneType' object has no attribute 'from_string' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test_client.py", line 28, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test_crypt.py", line 19, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test_file.py", line 27, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test_jwt.py", line 22, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test_service_account.py", line 26, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test_tools.py", line 21, in import mock ModuleNotFoundError: No module named 'mock' ====================================================================== ERROR: Failure: ModuleNotFoundError (No module named 'mock') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest raise self.exc_val.with_traceback(self.tb) File "/usr/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/usr/lib/python3.7/imp.py", line 234, in load_module return load_source(name, filename, file) File "/usr/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7/tests/test_transport.py", line 18, in import mock ModuleNotFoundError: No module named 'mock' ---------------------------------------------------------------------- Ran 46 tests in 0.278s FAILED (errors=22) * ERROR: dev-python/oauth2client-4.1.3-r1::gentoo failed (test phase): * tests fail with python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 3012: Called distutils-r1_src_test * environment, line 1312: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 488: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2619: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2094: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2092: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 900: Called distutils-r1_run_phase 'python_test' * environment, line 1249: Called python_test * environment, line 2972: Called die * The specific snippet of code: * nosetests -v -e appengine -e django_util -e test_multiprocess_file_storage -e test_bad_positional || die "tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/oauth2client-4.1.3-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/oauth2client-4.1.3-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-python/oauth2client-4.1.3-r1:20200717-122925.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3-python3_7' * S: '/var/tmp/portage/dev-python/oauth2client-4.1.3-r1/work/oauth2client-4.1.3' emerge --info: Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.4.0-1018-aws x86_64) ================================================================= System uname: Linux-5.4.0-1018-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-gentoo-2.7 KiB Mem: 64359960 total, 29579728 free KiB Swap: 0 total, 0 free sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.8-r1::gentoo, 3.8.4::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0-r2::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j16 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS