* Package: dev-python/pytest-xdist-1.15.0  * Repository: gentoo  * Maintainer: python@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU  * FEATURES: preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking pytest-xdist-1.15.0.tar.gz to /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work >>> Source unpacked in /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work >>> Preparing source in /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0 ... * 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/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist copying xdist/dsession.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist copying xdist/boxed.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist copying xdist/newhooks.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist copying xdist/remote.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist copying xdist/_version.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist copying xdist/slavemanage.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist copying xdist/looponfail.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist copying xdist/plugin.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist copying xdist/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist 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/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist copying xdist/dsession.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist copying xdist/boxed.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist copying xdist/newhooks.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist copying xdist/remote.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist copying xdist/_version.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist copying xdist/slavemanage.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist copying xdist/looponfail.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist copying xdist/plugin.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist copying xdist/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/pytest-xdist-1.15.0 * python2_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux2 -- Python 2.7.10, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 -- /usr/bin/python2.7 cachedir: .cache rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0, inifile: tox.ini plugins: xdist-1.15.0 collecting ... collected 110 items testing/acceptance_test.py::TestDistribution::test_n1_pass PASSED testing/acceptance_test.py::TestDistribution::test_n1_fail PASSED testing/acceptance_test.py::TestDistribution::test_n1_import_error FAILED =========================== short test summary info ============================ FAIL testing/acceptance_test.py::TestDistribution::()::test_n1_import_error =================================== FAILURES =================================== ____________________ TestDistribution.test_n1_import_error _____________________ self = testdir = def test_n1_import_error(self, testdir): p1 = testdir.makepyfile(""" import __import_of_missing_module def test_import(): pass """) result = testdir.runpytest(p1, "-n1") assert result.ret == 1 result.stdout.fnmatch_lines([ > "E ImportError: *__import_of_missing_module*", ]) E Failed: nomatch: 'E ImportError: *__import_of_missing_module*' E and: u'============================= test session starts ==============================' E and: u'platform linux2 -- Python 2.7.10, pytest-3.0.3, py-1.4.30, pluggy-0.4.0' E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0, inifile: ' E and: u'plugins: xdist-1.15.0' E and: u'gw0 I' E and: u'gw0 [0]' E and: u'' E and: u'scheduling tests via LoadScheduling' E and: u'' E and: u'==================================== ERRORS ====================================' E and: u'___________________ ERROR collecting test_n1_import_error.py ___________________' E and: u"ImportError while importing test module '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0/test_n1_import_error.py'." E and: u'Original error message:' E and: u"'No module named __import_of_missing_module'" E and: u'Make sure your test modules/packages have valid Python names.' E and: u'=========================== 1 error in 0.32 seconds ============================' E and: u'' E remains unmatched: 'E ImportError: *__import_of_missing_module*' ../../../../../work/pytest-xdist-1.15.0/testing/acceptance_test.py:33: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux2 -- Python 2.7.10, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0, inifile: plugins: xdist-1.15.0 gw0 I gw0 [0] scheduling tests via LoadScheduling ==================================== ERRORS ==================================== ___________________ ERROR collecting test_n1_import_error.py ___________________ ImportError while importing test module '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0/test_n1_import_error.py'. Original error message: 'No module named __import_of_missing_module' Make sure your test modules/packages have valid Python names. =========================== 1 error in 0.32 seconds ============================ !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!! ====================== 1 failed, 2 passed in 1.60 seconds ====================== * ERROR: dev-python/pytest-xdist-1.15.0::gentoo failed (test phase): * Tests failed under python2.7 * * Call stack: * ebuild.sh, line 115: Called src_test * environment, line 3649: Called distutils-r1_src_test * environment, line 974: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 311: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 3167: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2276: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2274: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 582: Called distutils-r1_run_phase 'python_test' * environment, line 906: Called python_test * environment, line 3528: Called die * The specific snippet of code: * py.test -vv -x || die "Tests failed under ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/pytest-xdist-1.15.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pytest-xdist-1.15.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0' * S: '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0'