* Package: dev-python/safety-1.4.1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking safety-1.4.1.tar.gz to /var/tmp/portage/dev-python/safety-1.4.1/work >>> Source unpacked in /var/tmp/portage/dev-python/safety-1.4.1/work >>> Preparing source in /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.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/safety-1.4.1/work/safety-1.4.1-python2_7/lib/safety copying safety/util.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python2_7/lib/safety copying safety/safety.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python2_7/lib/safety copying safety/formatter.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python2_7/lib/safety copying safety/errors.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python2_7/lib/safety copying safety/constants.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python2_7/lib/safety copying safety/cli.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python2_7/lib/safety copying safety/__main__.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python2_7/lib/safety copying safety/__init__.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python2_7/lib/safety running egg_info creating safety.egg-info writing requirements to safety.egg-info/requires.txt writing safety.egg-info/PKG-INFO writing top-level names to safety.egg-info/top_level.txt writing dependency_links to safety.egg-info/dependency_links.txt writing entry points to safety.egg-info/entry_points.txt writing manifest file 'safety.egg-info/SOURCES.txt' reading manifest file 'safety.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS.rst' warning: no files found matching 'CONTRIBUTING.rst' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no files found matching '*.rst' under directory 'docs' warning: no files found matching 'conf.py' under directory 'docs' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching 'make.bat' under directory 'docs' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' writing manifest file 'safety.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. * python3_5: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.5 setup.py build running build running build_py creating /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python3_5/lib/safety copying safety/util.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python3_5/lib/safety copying safety/safety.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python3_5/lib/safety copying safety/formatter.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python3_5/lib/safety copying safety/errors.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python3_5/lib/safety copying safety/constants.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python3_5/lib/safety copying safety/cli.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python3_5/lib/safety copying safety/__main__.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python3_5/lib/safety copying safety/__init__.py -> /var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1-python3_5/lib/safety running egg_info writing requirements to safety.egg-info/requires.txt writing entry points to safety.egg-info/entry_points.txt writing safety.egg-info/PKG-INFO writing top-level names to safety.egg-info/top_level.txt writing dependency_links to safety.egg-info/dependency_links.txt reading manifest file 'safety.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS.rst' warning: no files found matching 'CONTRIBUTING.rst' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no files found matching '*.rst' under directory 'docs' warning: no files found matching 'conf.py' under directory 'docs' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching 'make.bat' under directory 'docs' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' writing manifest file 'safety.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/safety-1.4.1 * python2_7: running distutils-r1_run_phase python_test /usr/bin/python2.7 setup.py test running test running egg_info writing requirements to safety.egg-info/requires.txt writing safety.egg-info/PKG-INFO writing top-level names to safety.egg-info/top_level.txt writing dependency_links to safety.egg-info/dependency_links.txt writing entry points to safety.egg-info/entry_points.txt reading manifest file 'safety.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'AUTHORS.rst' warning: no files found matching 'CONTRIBUTING.rst' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no files found matching '*.rst' under directory 'docs' warning: no files found matching 'conf.py' under directory 'docs' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching 'make.bat' under directory 'docs' warning: no files found matching '*.jpg' under directory 'docs' warning: no files found matching '*.gif' under directory 'docs' writing manifest file 'safety.egg-info/SOURCES.txt' running build_ext test_get_terminal_size (tests.test_safety.TestFormatter) ... stty: 'standard input': Inappropriate ioctl for device ok test_report_json (tests.test_safety.TestFormatter) ... ok test_check_from_file (tests.test_safety.TestSafety) ... ok test_check_live (tests.test_safety.TestSafety) ... ERROR test_check_live_cached (tests.test_safety.TestSafety) ... ERROR test_command_line_interface (tests.test_safety.TestSafetyCLI) ... ok ====================================================================== ERROR: test_check_live (tests.test_safety.TestSafety) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1/tests/test_safety.py", line 82, in test_check_live ignore_ids=[] File "/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1/safety/safety.py", line 127, in check db = fetch_database(key=key, db=db_mirror, cached=cached) File "/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1/safety/safety.py", line 108, in fetch_database data = fetch_database_url(mirror, db_name=db_name, key=key, cached=cached) File "/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1/safety/safety.py", line 79, in fetch_database_url r = requests.get(url=url, timeout=REQUEST_TIMEOUT, headers=headers) File "/usr/lib64/python2.7/site-packages/requests/api.py", line 72, in get return request('get', url, params=params, **kwargs) File "/usr/lib64/python2.7/site-packages/requests/api.py", line 58, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib64/python2.7/site-packages/requests/sessions.py", line 508, in request resp = self.send(prep, **send_kwargs) File "/usr/lib64/python2.7/site-packages/requests/sessions.py", line 618, in send r = adapter.send(request, **kwargs) File "/usr/lib64/python2.7/site-packages/requests/adapters.py", line 508, in send raise ConnectionError(e, request=request) ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /pyupio/safety-db/master/data/insecure.json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) ====================================================================== ERROR: test_check_live_cached (tests.test_safety.TestSafety) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1/tests/test_safety.py", line 95, in test_check_live_cached ignore_ids=[] File "/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1/safety/safety.py", line 127, in check db = fetch_database(key=key, db=db_mirror, cached=cached) File "/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1/safety/safety.py", line 108, in fetch_database data = fetch_database_url(mirror, db_name=db_name, key=key, cached=cached) File "/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1/safety/safety.py", line 79, in fetch_database_url r = requests.get(url=url, timeout=REQUEST_TIMEOUT, headers=headers) File "/usr/lib64/python2.7/site-packages/requests/api.py", line 72, in get return request('get', url, params=params, **kwargs) File "/usr/lib64/python2.7/site-packages/requests/api.py", line 58, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib64/python2.7/site-packages/requests/sessions.py", line 508, in request resp = self.send(prep, **send_kwargs) File "/usr/lib64/python2.7/site-packages/requests/sessions.py", line 618, in send r = adapter.send(request, **kwargs) File "/usr/lib64/python2.7/site-packages/requests/adapters.py", line 508, in send raise ConnectionError(e, request=request) ConnectionError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /pyupio/safety-db/master/data/insecure.json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) ---------------------------------------------------------------------- Ran 6 tests in 0.062s FAILED (errors=2) Test failed: error: Test failed: * ERROR: dev-python/safety-1.4.1::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2698: Called distutils-r1_src_test * environment, line 874: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 320: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2222: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1528: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1526: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 544: Called distutils-r1_run_phase 'python_test' * environment, line 805: Called python_test * environment, line 2578: Called esetup.py 'test' * environment, line 1073: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/safety-1.4.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/safety-1.4.1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:safety-1.4.1:20171206-130047.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/safety-1.4.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/safety-1.4.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1' * S: '/var/tmp/portage/dev-python/safety-1.4.1/work/safety-1.4.1'