* Package: dev-python/google-auth-1.0.1 * Repository: gentoo * Maintainer: zmedico@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking google-auth-1.0.1.tar.gz to /var/tmp/portage/dev-python/google-auth-1.0.1/work >>> Source unpacked in /var/tmp/portage/dev-python/google-auth-1.0.1/work >>> Preparing source in /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google copying google/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/oauth2 copying google/oauth2/service_account.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/oauth2 copying google/oauth2/id_token.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/oauth2 copying google/oauth2/credentials.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/oauth2 copying google/oauth2/_client.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/oauth2 copying google/oauth2/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/oauth2 creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/jwt.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/iam.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/exceptions.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/environment_vars.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/crypt.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/credentials.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/app_engine.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/_service_account_info.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/_oauth2client.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/_helpers.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/_default.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/_cloud_sdk.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth copying google/auth/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/transport copying google/auth/transport/urllib3.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/transport copying google/auth/transport/requests.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/transport copying google/auth/transport/grpc.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/transport copying google/auth/transport/_http_client.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/transport copying google/auth/transport/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/transport creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/compute_engine copying google/auth/compute_engine/credentials.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/compute_engine copying google/auth/compute_engine/_metadata.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/compute_engine copying google/auth/compute_engine/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python2_7/lib/google/auth/compute_engine warning: build_py: byte-compiling is disabled, skipping. * python3_4: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.4 setup.py build running build running build_py creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google copying google/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/oauth2 copying google/oauth2/service_account.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/oauth2 copying google/oauth2/id_token.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/oauth2 copying google/oauth2/credentials.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/oauth2 copying google/oauth2/_client.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/oauth2 copying google/oauth2/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/oauth2 creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/jwt.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/iam.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/exceptions.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/environment_vars.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/crypt.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/credentials.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/app_engine.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/_service_account_info.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/_oauth2client.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/_helpers.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/_default.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/_cloud_sdk.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth copying google/auth/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/transport copying google/auth/transport/urllib3.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/transport copying google/auth/transport/requests.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/transport copying google/auth/transport/grpc.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/transport copying google/auth/transport/_http_client.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/transport copying google/auth/transport/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/transport creating /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/compute_engine copying google/auth/compute_engine/credentials.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/compute_engine copying google/auth/compute_engine/_metadata.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/compute_engine copying google/auth/compute_engine/__init__.py -> /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1-python3_4/lib/google/auth/compute_engine warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/google-auth-1.0.1 * python2_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 metadata: {'Python': '2.7.14', 'Platform': 'Linux-4.13.10-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.4.1', 'Packages': {'py': '1.4.34', 'pytest': u'3.2.2', 'pluggy': '0.4.0'}, 'Plugins': {'cython': '0.1.0', 'localserver': '0.3.7', 'cov': '2.5.1', 'pythonpath': '0.7.1', 'xdist': '1.15.0', 'xprocess': '0.12.1', 'pep8': '1.0.6', 'capturelog': '0.7', 'forked': '0.2', 'flake8': '0.8.1', 'metadata': '1.3.0'}} rootdir: /var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1, inifile: plugins: xprocess-0.12.1, xdist-1.15.0, pythonpath-0.7.1, pep8-1.0.6, metadata-1.3.0, localserver-0.3.7, forked-0.2, flake8-0.8.1, cython-0.1.0, cov-2.5.1, capturelog-0.7 collected 234 items tests/test__cloud_sdk.py ........... tests/test__default.py ........................ tests/test__helpers.py .................. tests/test__oauth2client.py ...F..... tests/test__service_account_info.py .... tests/test_app_engine.py ............. tests/test_credentials.py ........ tests/test_crypt.py .................... tests/test_iam.py .... tests/test_jwt.py ............................................ tests/compute_engine/test__metadata.py ............ tests/compute_engine/test_credentials.py ..... tests/oauth2/test__client.py .......... tests/oauth2/test_credentials.py ... tests/oauth2/test_id_token.py ...... tests/oauth2/test_service_account.py ............... tests/transport/test__http_client.py ..... tests/transport/test_grpc.py ssss tests/transport/test_requests.py ........ tests/transport/test_urllib3.py ........... =================================== FAILURES =================================== _________________ test__convert_gce_app_assertion_credentials __________________ def test__convert_gce_app_assertion_credentials(): old_credentials = oauth2client.contrib.gce.AppAssertionCredentials( email='some_email') new_credentials = _oauth2client._convert_gce_app_assertion_credentials( > old_credentials) tests/test__oauth2client.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ google/auth/_oauth2client.py:100: in _convert_gce_app_assertion_credentials service_account_email=credentials.service_account_email) /usr/lib64/python2.7/site-packages/oauth2client/contrib/gce.py:187: in service_account_email failure, email = _get_service_account_email() /usr/lib64/python2.7/site-packages/oauth2client/contrib/gce.py:67: in _get_service_account_email _DEFAULT_EMAIL_METADATA, headers={'Metadata-Flavor': 'Google'}) /usr/lib64/python2.7/site-packages/httplib2/__init__.py:1658: in request (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) /usr/lib64/python2.7/site-packages/httplib2/__init__.py:1398: in _request (response, content) = self._conn_request(conn, request_uri, method, body, headers) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = conn = request_uri = '/computeMetadata/v1/instance/service-accounts/default/email' method = 'GET', body = None headers = {'accept-encoding': 'gzip, deflate', 'metadata-flavor': 'Google', 'user-agent': 'Python-httplib2/0.10.3 (gzip)'} def _conn_request(self, conn, request_uri, method, body, headers): i = 0 seen_bad_status_line = False while i < RETRIES: i += 1 try: if hasattr(conn, 'sock') and conn.sock is None: conn.connect() conn.request(method, request_uri, body, headers) except socket.timeout: raise except socket.gaierror: conn.close() > raise ServerNotFoundError("Unable to find the server at %s" % conn.host) E ServerNotFoundError: Unable to find the server at metadata.google.internal /usr/lib64/python2.7/site-packages/httplib2/__init__.py:1324: ServerNotFoundError =============================== warnings summary =============================== :171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. -- Docs: http://doc.pytest.org/en/latest/warnings.html ========= 1 failed, 229 passed, 4 skipped, 3 warnings in 6.16 seconds ========== * ERROR: dev-python/google-auth-1.0.1::gentoo failed (test phase): * Tests failed under python2.7 * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2742: Called distutils-r1_src_test * environment, line 907: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 353: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2255: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1561: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1559: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 577: Called distutils-r1_run_phase 'python_test' * environment, line 838: Called python_test * environment, line 2622: Called die * The specific snippet of code: * py.test || die "Tests failed under ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/google-auth-1.0.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/google-auth-1.0.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:google-auth-1.0.1:20171029-112947.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/google-auth-1.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/google-auth-1.0.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1' * S: '/var/tmp/portage/dev-python/google-auth-1.0.1/work/google-auth-1.0.1'