Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 450900 Details for
Bug 597700
dev-python/pytest-xdist-1.15.0 fails test test_n1_import_error.py - 'No module named __import_of_missing_module'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 9.66 KB, created by
eroen
on 2016-10-21 14:26:24 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
eroen
Created:
2016-10-21 14:26:24 UTC
Size:
9.66 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/pytest-xdist-1.15.0 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU >[32;01m * [39;49;00mFEATURES: 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 ... > [32;01m*[0m 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. > > [32;01m*[0m 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 > [32;01m*[0m 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 = <acceptance_test.TestDistribution instance at 0x7f059e143c20> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0')> > > 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 ====================== > [31;01m*[0m ERROR: dev-python/pytest-xdist-1.15.0::gentoo failed (test phase): > [31;01m*[0m Tests failed under python2.7 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 115: Called src_test > [31;01m*[0m environment, line 3649: Called distutils-r1_src_test > [31;01m*[0m environment, line 974: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 311: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3167: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2276: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2274: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 582: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 906: Called python_test > [31;01m*[0m environment, line 3528: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m py.test -vv -x || die "Tests failed under ${EPYTHON}" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/pytest-xdist-1.15.0::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/pytest-xdist-1.15.0::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0' > [31;01m*[0m S: '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 597700
: 450900 |
462928
|
464320