* Package: dev-python/backports-unittest-mock-1.4 * Repository: gentoo * Maintainer: sbraz@gentoo.org python@gentoo.org * Upstream: https://github.com/jaraco/backports.unittest_mock/issues * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking backports.unittest_mock-1.4.tar.gz to /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work >>> Source unpacked in /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work >>> Preparing source in /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4-python2_7/lib/backports copying backports/__init__.py -> /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4-python2_7/lib/backports creating /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4-python2_7/lib/backports/unittest_mock copying backports/unittest_mock/__init__.py -> /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4-python2_7/lib/backports/unittest_mock running egg_info writing requirements to backports.unittest_mock.egg-info/requires.txt writing backports.unittest_mock.egg-info/PKG-INFO writing namespace_packages to backports.unittest_mock.egg-info/namespace_packages.txt writing top-level names to backports.unittest_mock.egg-info/top_level.txt writing dependency_links to backports.unittest_mock.egg-info/dependency_links.txt writing entry points to backports.unittest_mock.egg-info/entry_points.txt reading manifest file 'backports.unittest_mock.egg-info/SOURCES.txt' writing manifest file 'backports.unittest_mock.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build -j 1 running build running build_py creating /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4-python3_6/lib/backports copying backports/__init__.py -> /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4-python3_6/lib/backports creating /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4-python3_6/lib/backports/unittest_mock copying backports/unittest_mock/__init__.py -> /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4-python3_6/lib/backports/unittest_mock running egg_info writing backports.unittest_mock.egg-info/PKG-INFO writing dependency_links to backports.unittest_mock.egg-info/dependency_links.txt writing entry points to backports.unittest_mock.egg-info/entry_points.txt writing namespace_packages to backports.unittest_mock.egg-info/namespace_packages.txt writing requirements to backports.unittest_mock.egg-info/requires.txt writing top-level names to backports.unittest_mock.egg-info/top_level.txt reading manifest file 'backports.unittest_mock.egg-info/SOURCES.txt' writing manifest file 'backports.unittest_mock.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. * python3_6: running distutils-r1_run_phase python_compile_all >>> Source compiled. >>> Test phase: dev-python/backports-unittest-mock-1.4 * python2_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.6.3, py-1.5.3, pluggy-0.6.0 -- /usr/bin/python2.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4, inifile: pytest.ini plugins: xdist-1.15.0, mock-1.10.0, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, hypothesis-3.59.1, flaky-3.4.0, case-1.5.3 collecting ... collected 1 item tests/test_unittest_mock.py::test_installed FAILED [100%] =================================== FAILURES =================================== ________________________________ test_installed ________________________________ def test_installed(): """ Because tests are run under pytest, and because the pytest plugin would have been invoked before running this test, the import of `unittest.mock` should always succeed. """ > __import__('unittest.mock') E ImportError: No module named mock tests/test_unittest_mock.py:7: ImportError ===Flaky Test Report=== ===End Flaky Test Report=== =============================== warnings summary =============================== pytest-capturelog plugin has been merged into the core, please remove it from your requirements. -- Docs: http://doc.pytest.org/en/latest/warnings.html ===================== 1 failed, 1 warnings in 0.11 seconds ===================== * ERROR: dev-python/backports-unittest-mock-1.4::gentoo failed (test phase): * tests failed with python2.7 * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2773: Called distutils-r1_src_test * environment, line 1012: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 463: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2301: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1666: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1664: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 675: Called distutils-r1_run_phase 'python_test' * environment, line 943: Called python_test * environment, line 2675: Called die * The specific snippet of code: * py.test -v --override-ini="addopts=--doctest-modules" || die "tests failed with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/backports-unittest-mock-1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/backports-unittest-mock-1.4::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:backports-unittest-mock-1.4:20180803-164849.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/backports-unittest-mock-1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/backports-unittest-mock-1.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4' * S: '/var/tmp/portage/dev-python/backports-unittest-mock-1.4/work/backports.unittest_mock-1.4'