Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 528178 Details for
Bug 653728
dev-python/pytest-3.4.1-r1 fails several tests - KeyError: <Function 'test_func'> - UnicodeEncodeError: 'ascii' codec can't encode character u'\xf4' in position 0: ordinal not in range(128)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python/pytest-3.4.1-r1:20180421-204553.log
pytest-3.4.1-r1:20180421-204553.log (text/plain), 191.20 KB, created by
eroen
on 2018-04-21 21:19:53 UTC
(
hide
)
Description:
dev-python/pytest-3.4.1-r1:20180421-204553.log
Filename:
MIME Type:
Creator:
eroen
Created:
2018-04-21 21:19:53 UTC
Size:
191.20 KB
patch
obsolete
> * Package: dev-python/pytest-3.4.1-r1 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 test userland_GNU > * FEATURES: compressdebug installsources network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pytest-3.4.1.tar.gz to /var/tmp/portage/dev-python/pytest-3.4.1-r1/work >>>> Source unpacked in /var/tmp/portage/dev-python/pytest-3.4.1-r1/work >>>> Preparing source in /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.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 >copying pytest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/terminal.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/_argcomplete.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/python_api.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/debugging.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/mark.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/recwarn.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/freeze_support.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/cacheprovider.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/_version.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/python.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/setupplan.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/unittest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/compat.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/junitxml.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/outcomes.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/monkeypatch.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/main.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/hookspec.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/resultlog.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/helpconfig.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/capture.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/skipping.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/fixtures.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/pytester.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/tmpdir.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/warnings.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/doctest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/logging.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/runner.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/nose.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/deprecated.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/pastebin.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/setuponly.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/config.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >copying _pytest/nodes.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/assertion >copying _pytest/assertion/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/assertion >copying _pytest/assertion/util.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/assertion >copying _pytest/assertion/rewrite.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/assertion >copying _pytest/assertion/truncate.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/assertion >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/_code >copying _pytest/_code/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/_code >copying _pytest/_code/_py2traceback.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/_code >copying _pytest/_code/code.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/_code >copying _pytest/_code/source.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/_code >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 >copying pytest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/terminal.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/_argcomplete.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/python_api.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/debugging.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/mark.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/recwarn.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/freeze_support.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/cacheprovider.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/_version.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/python.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/setupplan.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/unittest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/compat.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/junitxml.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/outcomes.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/monkeypatch.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/main.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/hookspec.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/resultlog.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/helpconfig.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/capture.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/skipping.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/fixtures.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/pytester.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/tmpdir.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/warnings.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/doctest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/logging.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/runner.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/nose.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/deprecated.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/pastebin.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/setuponly.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/config.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >copying _pytest/nodes.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/assertion >copying _pytest/assertion/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/assertion >copying _pytest/assertion/util.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/assertion >copying _pytest/assertion/rewrite.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/assertion >copying _pytest/assertion/truncate.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/assertion >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/_code >copying _pytest/_code/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/_code >copying _pytest/_code/_py2traceback.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/_code >copying _pytest/_code/code.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/_code >copying _pytest/_code/source.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_4/lib/_pytest/_code >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 >copying pytest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/terminal.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/_argcomplete.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/python_api.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/debugging.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/mark.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/recwarn.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/freeze_support.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/cacheprovider.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/_version.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/python.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/setupplan.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/unittest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/compat.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/junitxml.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/outcomes.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/monkeypatch.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/main.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/hookspec.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/resultlog.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/helpconfig.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/capture.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/skipping.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/fixtures.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/pytester.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/tmpdir.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/warnings.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/doctest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/logging.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/runner.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/nose.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/deprecated.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/pastebin.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/setuponly.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/config.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >copying _pytest/nodes.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/assertion >copying _pytest/assertion/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/assertion >copying _pytest/assertion/util.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/assertion >copying _pytest/assertion/rewrite.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/assertion >copying _pytest/assertion/truncate.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/assertion >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/_code >copying _pytest/_code/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/_code >copying _pytest/_code/_py2traceback.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/_code >copying _pytest/_code/code.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/_code >copying _pytest/_code/source.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_5/lib/_pytest/_code >warning: build_py: byte-compiling is disabled, skipping. > > * python3_6: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.6 setup.py build >running build >running build_py >copying pytest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/terminal.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/_argcomplete.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/python_api.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/debugging.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/mark.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/recwarn.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/freeze_support.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/cacheprovider.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/_version.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/python.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/setupplan.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/unittest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/compat.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/junitxml.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/outcomes.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/monkeypatch.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/main.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/hookspec.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/resultlog.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/helpconfig.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/capture.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/skipping.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/fixtures.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/pytester.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/tmpdir.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/warnings.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/doctest.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/logging.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/runner.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/nose.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/deprecated.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/pastebin.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/setuponly.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/config.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >copying _pytest/nodes.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/assertion >copying _pytest/assertion/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/assertion >copying _pytest/assertion/util.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/assertion >copying _pytest/assertion/rewrite.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/assertion >copying _pytest/assertion/truncate.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/assertion >creating /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/_code >copying _pytest/_code/__init__.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/_code >copying _pytest/_code/_py2traceback.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/_code >copying _pytest/_code/code.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/_code >copying _pytest/_code/source.py -> /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python3_6/lib/_pytest/_code >warning: build_py: byte-compiling is disabled, skipping. > > * python3_6: running distutils-r1_run_phase python_compile_all >>>> Source compiled. >>>> Test phase: dev-python/pytest-3.4.1-r1 > * python2_7: running distutils-r1_run_phase python_test >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1, inifile: tox.ini >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 2016 items > >testing/acceptance_test.py .................................................x..........s... [ 3%] >testing/deprecated_test.py .......s.. [ 3%] >testing/test_argcomplete.py .. [ 3%] >testing/test_assertion.py .....................................................................s........ [ 7%] >... [ 7%] >testing/test_assertrewrite.py ...............s.................s....................... [ 10%] >testing/test_cacheprovider.py ............................. [ 12%] >testing/test_capture.py ...........x..................s...................s..s.......................... [ 16%] >............................ [ 17%] >testing/test_collection.py ..............................x............................ [ 20%] >testing/test_compat.py ..ss.. [ 20%] >testing/test_config.py .........x.....s................................................................. [ 24%] >. [ 24%] >testing/test_conftest.py .................................................. [ 27%] >testing/test_doctest.py ................................................................................ [ 31%] >................ [ 31%] >testing/test_entry_points.py ... [ 32%] >testing/test_helpconfig.py ....... [ 32%] >testing/test_junitxml.py ...............................................x..... [ 35%] >testing/test_mark.py ...............................................x.x.......x.........x............. [ 39%] >testing/test_modimport.py ......................................... [ 41%] >testing/test_monkeypatch.py ................................ [ 42%] >testing/test_nodes.py ........ [ 43%] >testing/test_nose.py ................... [ 44%] >testing/test_parseopt.py ...........................s [ 45%] >testing/test_pastebin.py .... [ 45%] >testing/test_pluginmanager.py .................s........ [ 46%] >testing/test_pytester.py x...................... [ 48%] >testing/test_recwarn.py .................................. [ 49%] >testing/test_resultlog.py ........... [ 50%] >testing/test_runner.py .....FFFFFFF....FFFFsssssss....ssss......x.....................FFFF [ 53%] >testing/test_runner_xunit.py ............... [ 54%] >testing/test_session.py ................. [ 55%] >testing/test_skipping.py .........FFFF.F.......................................................... [ 58%] >testing/test_terminal.py ........................................FF..................................... [ 62%] >...........................F......F [ 64%] >testing/test_tmpdir.py ...........s [ 65%] >testing/test_unittest.py ............................................ [ 67%] >testing/test_warnings.py ......s...... [ 67%] >testing/code/test_code.py ............... [ 68%] >testing/code/test_excinfo.py ........................................................................... [ 72%] >..ssss......... [ 73%] >testing/code/test_source.py ................................................................. [ 76%] >testing/code/test_source_multiline_block.py . [ 76%] >testing/freeze/tests/test_doctest.txt . [ 76%] >testing/freeze/tests/test_trivial.py .. [ 76%] >testing/logging/test_fixture.py ......... [ 76%] >testing/logging/test_formatter.py . [ 77%] >testing/logging/test_reporting.py ..................... [ 78%] >testing/python/approx.py ................................... [ 79%] >testing/python/collect.py ..........................................................F................... [ 83%] >. [ 83%] >testing/python/fixture.py ........................................................................x..... [ 87%] >........................................................................................ [ 91%] >testing/python/integration.py ....F......F....... [ 92%] >testing/python/metafunc.py .............F.F.F.F......................................................... [ 96%] >......x............. [ 97%] >testing/python/raises.py .............. [ 98%] >testing/python/setup_only.py ........................ [ 99%] >testing/python/setup_plan.py . [ 99%] >testing/python/show_fixtures_per_test.py ...... [ 99%] >testing/python/test_deprecations.py . [100%] >===Flaky Test Report=== > > >===End Flaky Test Report=== >=========================================== short test summary info ============================================ >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_passfunction >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_failfunction >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_skipfunction >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_skip_in_setup_function >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_failure_in_setup_function >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_failure_in_teardown_function >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_custom_failure_repr >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_failure_in_setup_function_ignores_custom_repr >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_systemexit_does_not_bail_out >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_exit_propagates >FAIL testing/test_runner.py::TestExecutionNonForked::()::test_keyboardinterrupt_propagates >FAIL testing/test_runner.py::TestReportContents::()::test_longreprtext_pass >FAIL testing/test_runner.py::TestReportContents::()::test_longreprtext_failure >FAIL testing/test_runner.py::TestReportContents::()::test_captured_text >FAIL testing/test_runner.py::TestReportContents::()::test_no_captured_text >FAIL testing/test_skipping.py::TestXFail::()::test_xfail_simple[True] >FAIL testing/test_skipping.py::TestXFail::()::test_xfail_simple[False] >FAIL testing/test_skipping.py::TestXFail::()::test_xfail_xpassed >FAIL testing/test_skipping.py::TestXFail::()::test_xfail_xpassed_strict >FAIL testing/test_skipping.py::TestXFail::()::test_xfail_evalfalse_but_fails >FAIL testing/test_terminal.py::TestTerminalFunctional::()::test_quiet_reporting >FAIL testing/test_terminal.py::TestTerminalFunctional::()::test_more_quiet_reporting >FAIL testing/test_terminal.py::TestProgress::()::test_xdist_normal >FAIL testing/test_terminal.py::TestProgressWithTeardown::()::test_xdist_normal >FAIL testing/python/collect.py::TestTracebackCutting::()::test_traceback_argsetup >FAIL testing/python/integration.py::TestMockDecoration::()::test_wrapped_getfuncargnames_patching >FAIL testing/python/integration.py::TestReRunTests::()::test_rerun >FAIL testing/python/metafunc.py::TestMetafunc::()::test_idval_hypothesis >FAIL testing/python/metafunc.py::TestMetafunc::()::test_bytes_idval >FAIL testing/python/metafunc.py::TestMetafunc::()::test_idmaker_autoname >FAIL testing/python/metafunc.py::TestMetafunc::()::test_idmaker_native_strings >SKIP [1] /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1/testing/acceptance_test.py:868: could not import 'zipapp' >SKIP [1] testing/code/test_excinfo.py:1018: condition: sys.version_info[0] < 3 >SKIP [1] testing/test_compat.py:61: async syntax available in Python 3.5+ >SKIP [1] /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1/testing/deprecated_test.py:110: xdist workers disable the terminal reporter plugin >SKIP [1] /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1/testing/test_parseopt.py:303: bash provided no output, argcomplete not available? >SKIP [1] testing/test_capture.py:759: python2 has no buffer >SKIP [1] testing/test_assertion.py:879: Python 3.4+ shows chained exceptions on multiprocess >SKIP [1] /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_plugin_skip0/skipping1.py:3: hello >SKIP [2] testing/code/test_excinfo.py:1126: condition: sys.version_info[0] < 3 >SKIP [11] /var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1/testing/test_runner.py:364: could not import 'xdist.boxed' >SKIP [1] testing/test_config.py:143: condition: sys.version_info[0] < 3 >SKIP [1] testing/test_assertrewrite.py:369: condition: sys.version_info < (3,5) >SKIP [1] testing/code/test_excinfo.py:1096: condition: sys.version_info[0] < 3 >SKIP [1] testing/test_warnings.py:118: warnings message is unicode is ok in python3 >SKIP [1] testing/test_capture.py:727: python 3 only behaviour >SKIP [1] testing/test_compat.py:42: asyncio available in Python 3.4+ >SKIP [1] testing/test_capture.py:473: only have capsysbinary in python 3 >SKIP [1] testing/test_assertrewrite.py:676: packages without __init__.py not supported on python 2 >SKIP [1] testing/test_tmpdir.py:179: win only >XFAIL testing/acceptance_test.py::TestInvocationVariants::()::test_noclass_discovery_if_not_testcase > decide: feature or bug >XFAIL testing/test_capture.py::TestPerTestCapturing::()::test_capture_scope_cache > unimplemented feature >XFAIL testing/test_collection.py::TestPrunetraceback::()::test_collect_report_postprocessing > other mechanism for adding to reporting needed >XFAIL testing/test_config.py::TestParseIni::()::test_confcutdir > probably not needed >XFAIL testing/test_junitxml.py::test_runs_twice_xdist > reason: [NOTRUN] hangs >XFAIL testing/test_mark.py::TestFunctional::()::test_merging_markers_deep > unfixed >XFAIL testing/test_mark.py::TestFunctional::()::test_mark_should_not_pass_to_siebling_class > markers smear on methods of base classes >XFAIL testing/test_mark.py::TestFunctional::()::test_mark_from_parameters > callspec2.setmulti misuses keywords >XFAIL testing/test_mark.py::TestKeywordSelection::()::test_keyword_extra_dash >XFAIL testing/test_pytester.py::test_make_hook_recorder > reason: internal reportrecorder tests need refactoring >XFAIL testing/test_runner.py::test_runtest_in_module_ordering >XFAIL testing/python/fixture.py::TestAutouseDiscovery::()::test_setup_enabled_functionnode > 'enabled' feature not implemented >XFAIL testing/python/metafunc.py::TestMarkersWithParametrization::()::test_nested_marks > is this important to support?? > >=================================================== FAILURES =================================================== >___________________________________ TestExecutionNonForked.test_passfunction ___________________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff627817590> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_passfunction0')> > > def test_passfunction(self, testdir): > reports = testdir.runitem(""" > def test_func(): > pass >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_passfunction0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >___________________________________ TestExecutionNonForked.test_failfunction ___________________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff62792a150> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_failfunction0')> > > def test_failfunction(self, testdir): > reports = testdir.runitem(""" > def test_func(): > assert 0 >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:98: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_failfunction0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >___________________________________ TestExecutionNonForked.test_skipfunction ___________________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff6266a3a50> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_skipfunction0')> > > def test_skipfunction(self, testdir): > reports = testdir.runitem(""" > import pytest > def test_func(): > pytest.skip("hello") >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:112: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_skipfunction0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >______________________________ TestExecutionNonForked.test_skip_in_setup_function ______________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff62885da90> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_skip_in_setup_function0')> > > def test_skip_in_setup_function(self, testdir): > reports = testdir.runitem(""" > import pytest > def setup_function(func): > pytest.skip("hello") > def test_func(): > pass >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:132: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup' >call_info = <CallInfo when='setup' exception: hello> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_skip_in_setup_function0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >____________________________ TestExecutionNonForked.test_failure_in_setup_function _____________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff627e18c90> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_failure_in_setup_function0')> > > def test_failure_in_setup_function(self, testdir): > reports = testdir.runitem(""" > import pytest > def setup_function(func): > raise ValueError(42) > def test_func(): > pass >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:151: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' exception: 42> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_failure_in_setup_function0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >___________________________ TestExecutionNonForked.test_failure_in_teardown_function ___________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff6265ade50> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_failure_in_teardown_function0')> > > def test_failure_in_teardown_function(self, testdir): > reports = testdir.runitem(""" > import pytest > def teardown_function(func): > raise ValueError(42) > def test_func(): > pass >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:166: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_failure_in_teardown_function0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >_______________________________ TestExecutionNonForked.test_custom_failure_repr ________________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff626184ed0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_custom_failure_repr0')> > > def test_custom_failure_repr(self, testdir): > testdir.makepyfile(conftest=""" > import pytest > class Function(pytest.Function): > def repr_failure(self, excinfo): > return "hello" > """) > reports = testdir.runitem(""" > import pytest > def test_func(): > assert 0 >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:188: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_custom_failure_repr0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >__________________ TestExecutionNonForked.test_failure_in_setup_function_ignores_custom_repr ___________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff6258590d0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_failure_in_setup_function_ignores_custom_repr0')> > > def test_failure_in_setup_function_ignores_custom_repr(self, testdir): > testdir.makepyfile(conftest=""" > import pytest > class Function(pytest.Function): > def repr_failure(self, excinfo): > assert 0 > """) > reports = testdir.runitem(""" > def setup_function(func): > raise ValueError(42) > def test_func(): > pass >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:303: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' exception: 42> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_failure_in_setup_function_ignores_custom_repr0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >___________________________ TestExecutionNonForked.test_systemexit_does_not_bail_out ___________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff625f61a50> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_systemexit_does_not_bail_out0')> > > def test_systemexit_does_not_bail_out(self, testdir): > try: > reports = testdir.runitem(""" > def test_func(): > raise SystemExit(42) >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:320: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_systemexit_does_not_bail_out0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >_________________________________ TestExecutionNonForked.test_exit_propagates __________________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff6265e6a90> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_exit_propagates0')> > > def test_exit_propagates(self, testdir): > try: > testdir.runitem(""" > import pytest > def test_func(): > raise pytest.exit.Exception() >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:333: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_exit_propagates0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >___________________________ TestExecutionNonForked.test_keyboardinterrupt_propagates ___________________________ > >self = <test_runner.TestExecutionNonForked object at 0x7ff6263ca510> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_keyboardinterrupt_propagates0')> > > def test_keyboardinterrupt_propagates(self, testdir): > try: > testdir.runitem(""" > def test_func(): > raise KeyboardInterrupt("fake") >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:351: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:343: in f > return runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_keyboardinterrupt_propagates0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >__________________________________ TestReportContents.test_longreprtext_pass ___________________________________ > >self = <test_runner.TestReportContents object at 0x7ff624951b90> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_longreprtext_pass0')> > > def test_longreprtext_pass(self, testdir): > reports = testdir.runitem(""" > def test_func(): > pass >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:779: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:773: in <lambda> > return lambda item: runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_longreprtext_pass0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >_________________________________ TestReportContents.test_longreprtext_failure _________________________________ > >self = <test_runner.TestReportContents object at 0x7ff62405b890> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_longreprtext_failure0')> > > def test_longreprtext_failure(self, testdir): > reports = testdir.runitem(""" > def test_func(): > x = 1 > assert x == 4 >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:788: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:773: in <lambda> > return lambda item: runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_longreprtext_failure0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >____________________________________ TestReportContents.test_captured_text _____________________________________ > >self = <test_runner.TestReportContents object at 0x7ff62408b850> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_captured_text0')> > > def test_captured_text(self, testdir): > reports = testdir.runitem(""" > import pytest > import sys > > @pytest.fixture > def fix(): > sys.stdout.write('setup: stdout\\n') > sys.stderr.write('setup: stderr\\n') > yield > sys.stdout.write('teardown: stdout\\n') > sys.stderr.write('teardown: stderr\\n') > assert 0 > > def test_func(fix): > sys.stdout.write('call: stdout\\n') > sys.stderr.write('call: stderr\\n') > assert 0 >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:810: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:773: in <lambda> > return lambda item: runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_captured_text0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >___________________________________ TestReportContents.test_no_captured_text ___________________________________ > >self = <test_runner.TestReportContents object at 0x7ff624945e50> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_no_captured_text0')> > > def test_no_captured_text(self, testdir): > reports = testdir.runitem(""" > def test_func(): > pass >> """) > >../../../../work/pytest-3.4.1/testing/test_runner.py:824: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:666: in runitem > return runner(item) >../../../../work/pytest-3.4.1/testing/test_runner.py:773: in <lambda> > return lambda item: runner.runtestprotocol(item, log=False) >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_no_captured_text0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >______________________________________ TestXFail.test_xfail_simple[True] _______________________________________ > >self = <test_skipping.TestXFail object at 0x7ff61e799550> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_simple0')> >strict = True > > @pytest.mark.parametrize('strict', [True, False]) > def test_xfail_simple(self, testdir, strict): > item = testdir.getitem(""" > import pytest > @pytest.mark.xfail(strict=%s) > def test_func(): > assert 0 > """ % strict) >> reports = runtestprotocol(item, log=False) > >../../../../work/pytest-3.4.1/testing/test_skipping.py:140: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_simple0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >______________________________________ TestXFail.test_xfail_simple[False] ______________________________________ > >self = <test_skipping.TestXFail object at 0x7ff61e799a90> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_simple1')> >strict = False > > @pytest.mark.parametrize('strict', [True, False]) > def test_xfail_simple(self, testdir, strict): > item = testdir.getitem(""" > import pytest > @pytest.mark.xfail(strict=%s) > def test_func(): > assert 0 > """ % strict) >> reports = runtestprotocol(item, log=False) > >../../../../work/pytest-3.4.1/testing/test_skipping.py:140: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_simple1, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >_________________________________________ TestXFail.test_xfail_xpassed _________________________________________ > >self = <test_skipping.TestXFail object at 0x7ff61e6511d0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_xpassed0')> > > def test_xfail_xpassed(self, testdir): > item = testdir.getitem(""" > import pytest > @pytest.mark.xfail(reason="this is an xfail") > def test_func(): > assert 1 > """) >> reports = runtestprotocol(item, log=False) > >../../../../work/pytest-3.4.1/testing/test_skipping.py:153: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_xpassed0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >_____________________________________ TestXFail.test_xfail_xpassed_strict ______________________________________ > >self = <test_skipping.TestXFail object at 0x7ff61e4c9150> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_xpassed_strict0')> > > def test_xfail_xpassed_strict(self, testdir): > item = testdir.getitem(""" > import pytest > @pytest.mark.xfail(strict=True, reason="nope") > def test_func(): > assert 1 > """) >> reports = runtestprotocol(item, log=False) > >../../../../work/pytest-3.4.1/testing/test_skipping.py:166: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_xpassed_strict0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >___________________________________ TestXFail.test_xfail_evalfalse_but_fails ___________________________________ > >self = <test_skipping.TestXFail object at 0x7ff61e6de450> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_evalfalse_but_fails0')> > > def test_xfail_evalfalse_but_fails(self, testdir): > item = testdir.getitem(""" > import pytest > @pytest.mark.xfail('False') > def test_func(): > assert 0 > """) >> reports = runtestprotocol(item, log=False) > >../../../../work/pytest-3.4.1/testing/test_skipping.py:196: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/runner.py:73: in runtestprotocol > rep = call_and_report(item, "setup", log) >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:118: in call_and_report > call = self.call_runtest_hook(item, when, **kwds) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <flaky.flaky_pytest_plugin.FlakyPlugin object at 0x7ff62ef0add0>, item = <Function 'test_func'> >when = 'setup', kwds = {}, hookname = 'pytest_runtest_setup', call_info = <CallInfo when='setup' result: []> > > def call_runtest_hook(self, item, when, **kwds): > """ > Monkey patched from the runner plugin. Responsible for running > the test. Had to be patched to pass additional info to the > CallInfo so the tests can be rerun if necessary. > > :param item: > py.test wrapper for the test function to be run > :type item: > :class:`Function` > """ > hookname = "pytest_runtest_" + when > ihook = getattr(item.ihook, hookname) > call_info = CallInfo( > lambda: ihook(item=item, **kwds), > when=when, > ) >> self._call_infos[item][when] = call_info >E KeyError: <Function 'test_func'> > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xfail_evalfalse_but_fails0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 0 items > >===Flaky Test Report=== > > >===End Flaky Test Report=== >=============================================== warnings summary =============================================== >None > Module already imported so cannot be rewritten: pytest_xprocess > Module already imported so cannot be rewritten: xprocess > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: xdist > Module already imported so cannot be rewritten: pytest_virtualenv > Module already imported so cannot be rewritten: pytest_subtesthack > Module already imported so cannot be rewritten: pytest_shutil > Module already imported so cannot be rewritten: pytest_localserver > Module already imported so cannot be rewritten: pytest_isort > Module already imported so cannot be rewritten: pytest_flake8 > Module already imported so cannot be rewritten: pytest_expect > Module already imported so cannot be rewritten: flaky > Module already imported so cannot be rewritten: betamax > Module already imported so cannot be rewritten: backports > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================= 14 warnings in 0.00 seconds ========================================== >_________________________________ TestTerminalFunctional.test_quiet_reporting __________________________________ > >self = <test_terminal.TestTerminalFunctional object at 0x7ff61e29ce90> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_quiet_reporting0')> > > def test_quiet_reporting(self, testdir): > p1 = testdir.makepyfile("def test_pass(): pass") > result = testdir.runpytest(p1, '-q') > s = result.stdout.str() > assert 'test session starts' not in s > assert p1.basename not in s >> assert "===" not in s >E AssertionError: assert '===' not in '. [100%]\n===Flaky Test Report===\n\n\n===End Flaky Test Report===\n1 passed in 0.01 seconds\n' > >../../../../work/pytest-3.4.1/testing/test_terminal.py:545: AssertionError >--------------------------------------------- Captured stdout call --------------------------------------------- >. [100%] >===Flaky Test Report=== > > >===End Flaky Test Report=== >1 passed in 0.01 seconds >_______________________________ TestTerminalFunctional.test_more_quiet_reporting _______________________________ > >self = <test_terminal.TestTerminalFunctional object at 0x7ff61e2b40d0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_more_quiet_reporting0')> > > def test_more_quiet_reporting(self, testdir): > p1 = testdir.makepyfile("def test_pass(): pass") > result = testdir.runpytest(p1, '-qq') > s = result.stdout.str() > assert 'test session starts' not in s > assert p1.basename not in s >> assert "===" not in s >E AssertionError: assert '===' not in '. [100%]\n===Flaky Test Report===\n\n\n===End Flaky Test Report===\n' > >../../../../work/pytest-3.4.1/testing/test_terminal.py:554: AssertionError >--------------------------------------------- Captured stdout call --------------------------------------------- >. [100%] >===Flaky Test Report=== > > >===End Flaky Test Report=== >________________________________________ TestProgress.test_xdist_normal ________________________________________ > >self = <test_terminal.TestProgress object at 0x7ff62493fcd0>, many_tests_files = None >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xdist_normal0')> > > def test_xdist_normal(self, many_tests_files, testdir): > pytest.importorskip('xdist') > output = testdir.runpytest('-n2') > output.stdout.re_match_lines([ >> r'\.{20} \s+ \[100%\]', > ]) > >../../../../work/pytest-3.4.1/testing/test_terminal.py:1029: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.pytester.LineMatcher object at 0x7ff61df04290>, lines2 = ['\\.{20} \\s+ \\[100%\\]'] > > def re_match_lines(self, lines2): > """Search captured text for matching lines using ``re.match``. > > The argument is a list of lines which have to match using ``re.match``. > If they do not match a pytest.fail() is called. > > The matches and non-matches are also printed on stdout. > > """ >> self._match_lines(lines2, lambda name, pat: re.match(pat, name), 're.match') >E Failed: nomatch: '\\.{20} \\s+ \\[100%\\]' >E and: u'============================================= test session starts ==============================================' >E and: u'platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xdist_normal0, inifile:' >E and: u'plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3' >E and: u'gw0 I / gw1 I' >E and: u'gw0 [20] / gw1 [20]' >E and: u'' >E and: u'scheduling tests via LoadScheduling' >E and: u'....................' >E and: u'===Flaky Test Report===' >E and: u'' >E and: u'' >E and: u'===End Flaky Test Report===' >E and: u'========================================== 20 passed in 1.65 seconds ===========================================' >E and: u'' >E remains unmatched: '\\.{20} \\s+ \\[100%\\]' > >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:1186: Failed >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xdist_normal0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >gw0 I / gw1 I >gw0 [20] / gw1 [20] > >scheduling tests via LoadScheduling >.................... >===Flaky Test Report=== > > >===End Flaky Test Report=== >========================================== 20 passed in 1.65 seconds =========================================== >__________________________________ TestProgressWithTeardown.test_xdist_normal __________________________________ > >self = <test_terminal.TestProgressWithTeardown object at 0x7ff61e25fb10>, many_files = None >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xdist_normal1')> > > def test_xdist_normal(self, many_files, testdir): > pytest.importorskip('xdist') > output = testdir.runpytest('-n2') > output.stdout.re_match_lines([ >> r'[\.E]{40} \s+ \[100%\]', > ]) > >../../../../work/pytest-3.4.1/testing/test_terminal.py:1121: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.pytester.LineMatcher object at 0x7ff61e4031d0>, lines2 = ['[\\.E]{40} \\s+ \\[100%\\]'] > > def re_match_lines(self, lines2): > """Search captured text for matching lines using ``re.match``. > > The argument is a list of lines which have to match using ``re.match``. > If they do not match a pytest.fail() is called. > > The matches and non-matches are also printed on stdout. > > """ >> self._match_lines(lines2, lambda name, pat: re.match(pat, name), 're.match') >E Failed: nomatch: '[\\.E]{40} \\s+ \\[100%\\]' >E and: u'============================================= test session starts ==============================================' >E and: u'platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xdist_normal1, inifile:' >E and: u'plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3' >E and: u'gw0 I / gw1 I' >E and: u'gw0 [20] / gw1 [20]' >E and: u'' >E and: u'scheduling tests via LoadScheduling' >E and: u'..EE.E..EE..EE..EE..EE..EE..EE..EE.E..EE' >E and: u'===Flaky Test Report===' >E and: u'' >E and: u'' >E and: u'===End Flaky Test Report===' >E and: u'==================================================== ERRORS ====================================================' >E and: u'_______________________________________ ERROR at teardown of test_bar[0] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_bar[1] _______________________________________' >E and: u'[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_bar[2] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_bar[4] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_bar[3] _______________________________________' >E and: u'[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[0] _______________________________________' >E and: u'[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[2] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[3] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[1] _______________________________________' >E and: u'[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[5] _______________________________________' >E and: u'[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[4] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[6] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[7] _______________________________________' >E and: u'[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[9] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'_______________________________________ ERROR at teardown of test_foo[8] _______________________________________' >E and: u'[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'______________________________________ ERROR at teardown of test_foo[10] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'______________________________________ ERROR at teardown of test_foo[11] _______________________________________' >E and: u'[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'______________________________________ ERROR at teardown of test_foo[12] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'______________________________________ ERROR at teardown of test_foo[13] _______________________________________' >E and: u'[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'______________________________________ ERROR at teardown of test_foo[14] _______________________________________' >E and: u'[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7' >E and: u'' >E and: u'> lambda: ihook(item=item, **kwds),' >E and: u' when=when,' >E and: u' )' >E and: u'' >E and: u'/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: ' >E and: u'_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ' >E and: u'' >E and: u' @pytest.fixture' >E and: u' def fail_teardown():' >E and: u' yield' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'conftest.py:6: AssertionError' >E and: u'===================================== 20 passed, 20 error in 1.93 seconds ======================================' >E and: u'' >E remains unmatched: '[\\.E]{40} \\s+ \\[100%\\]' > >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:1186: Failed >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_xdist_normal1, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >gw0 I / gw1 I >gw0 [20] / gw1 [20] > >scheduling tests via LoadScheduling >..EE.E..EE..EE..EE..EE..EE..EE..EE.E..EE >===Flaky Test Report=== > > >===End Flaky Test Report=== >==================================================== ERRORS ==================================================== >_______________________________________ ERROR at teardown of test_bar[0] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_bar[1] _______________________________________ >[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_bar[2] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_bar[4] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_bar[3] _______________________________________ >[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[0] _______________________________________ >[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[2] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[3] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[1] _______________________________________ >[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[5] _______________________________________ >[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[4] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[6] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[7] _______________________________________ >[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[9] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >_______________________________________ ERROR at teardown of test_foo[8] _______________________________________ >[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >______________________________________ ERROR at teardown of test_foo[10] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >______________________________________ ERROR at teardown of test_foo[11] _______________________________________ >[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >______________________________________ ERROR at teardown of test_foo[12] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >______________________________________ ERROR at teardown of test_foo[13] _______________________________________ >[gw1] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >______________________________________ ERROR at teardown of test_foo[14] _______________________________________ >[gw0] linux2 -- Python 2.7.14 /usr/bin/python2.7 > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > @pytest.fixture > def fail_teardown(): > yield >> assert False >E assert False > >conftest.py:6: AssertionError >===================================== 20 passed, 20 error in 1.93 seconds ====================================== >_________________________________ TestTracebackCutting.test_traceback_argsetup _________________________________ > >self = <collect.TestTracebackCutting object at 0x7ff61c1401d0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_traceback_argsetup0')> > > def test_traceback_argsetup(self, testdir): > testdir.makeconftest(""" > import pytest > > @pytest.fixture > def hello(request): > raise ValueError("xyz") > """) > p = testdir.makepyfile("def test(hello): pass") > result = testdir.runpytest(p) > assert result.ret != 0 > out = result.stdout.str() > assert "xyz" in out > assert "conftest.py:5: ValueError" in out > numentries = out.count("_ _ _") # separator for traceback entries >> assert numentries == 0 >E assert 18 == 0 > >../../../../work/pytest-3.4.1/testing/python/collect.py:957: AssertionError >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_traceback_argsetup0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 1 item > >test_traceback_argsetup.py E [100%] >===Flaky Test Report=== > > >===End Flaky Test Report=== > >==================================================== ERRORS ==================================================== >____________________________________________ ERROR at setup of test ____________________________________________ > >> lambda: ihook(item=item, **kwds), > when=when, > ) > >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:273: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >request = <SubRequest 'hello' for <Function 'test'>> > > @pytest.fixture > def hello(request): >> raise ValueError("xyz") >E ValueError: xyz > >conftest.py:5: ValueError >=========================================== 1 error in 0.03 seconds ============================================ >___________________________ TestMockDecoration.test_wrapped_getfuncargnames_patching ___________________________ > >self = <integration.TestMockDecoration object at 0x7ff61c08bd90> > > def test_wrapped_getfuncargnames_patching(self): > from _pytest.compat import getfuncargnames > > def wrap(f): > def func(): > pass > func.__wrapped__ = f > func.patchings = ["qwe"] > return func > > @wrap > def f(x, y, z): > pass > >> values = getfuncargnames(f) > >../../../../../work/pytest-3.4.1/testing/python/integration.py:113: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/compat.py:126: in getfuncargnames > arg_names = arg_names[num_mock_patch_args(function):] >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >function = <function func at 0x7ff61f75b500> > > def num_mock_patch_args(function): > """ return number of arguments used up by mock arguments (if any) """ > patchings = getattr(function, "patchings", None) > if not patchings: > return 0 > mock_modules = [sys.modules.get("mock"), sys.modules.get("unittest.mock")] > if any(mock_modules): > sentinels = [m.DEFAULT for m in mock_modules if m is not None] > return len([p for p in patchings >> if not p.attribute_name and p.new in sentinels]) >E AttributeError: 'str' object has no attribute 'attribute_name' > >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/compat.py:86: AttributeError >__________________________________________ TestReRunTests.test_rerun ___________________________________________ > >self = <integration.TestReRunTests object at 0x7ff61e0d1bd0> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_rerun0')> > > def test_rerun(self, testdir): > testdir.makeconftest(""" > from _pytest.runner import runtestprotocol > def pytest_runtest_protocol(item, nextitem): > runtestprotocol(item, log=False, nextitem=nextitem) > runtestprotocol(item, log=True, nextitem=nextitem) > """) > testdir.makepyfile(""" > import pytest > count = 0 > req = None > @pytest.fixture > def fix(request): > global count, req > assert request != req > req = request > print ("fix count %s" % count) > count += 1 > def test_fix(fix): > pass > """) > result = testdir.runpytest("-s") > result.stdout.fnmatch_lines(""" > *fix count 0* > *fix count 1* >> """) > >../../../../work/pytest-3.4.1/testing/python/integration.py:267: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.pytester.LineMatcher object at 0x7ff61f72ac50> >lines2 = '\n *fix count 0*\n *fix count 1*\n ' > > def fnmatch_lines(self, lines2): > """Search captured text for matching lines using ``fnmatch.fnmatch``. > > The argument is a list of lines which have to match and can use glob > wildcards. If they do not match a pytest.fail() is called. The > matches and non-matches are also printed on stdout. > > """ >> self._match_lines(lines2, fnmatch, 'fnmatch') >E Failed: nomatch: '*fix count 0*' >E and: u'============================================= test session starts ==============================================' >E and: u'platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_rerun0, inifile:' >E and: u'plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3' >E and: u'collected 1 item' >E fnmatch: '*fix count 0*' >E with: u'fix count 0' >E nomatch: '*fix count 1*' >E and: u'INTERNALERROR> Traceback (most recent call last):' >E and: u'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/main.py", line 100, in wrap_session' >E and: u'INTERNALERROR> session.exitstatus = doit(config, session) or 0' >E and: u'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/main.py", line 138, in _main' >E and: u'INTERNALERROR> config.hook.pytest_runtestloop(session=session)' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 617, in __call__' >E and: u'INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 222, in _hookexec' >E and: u'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 182, in __call__' >E and: u'INTERNALERROR> return outcome.get_result()' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 77, in get_result' >E and: u'INTERNALERROR> _reraise(*ex) # noqa' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 48, in from_call' >E and: u'INTERNALERROR> result = func()' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 180, in <lambda>' >E and: u'INTERNALERROR> outcome = _Result.from_call(lambda: self.oldcall(hook, hook_impls, kwargs))' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 216, in <lambda>' >E and: u"INTERNALERROR> firstresult=hook.spec_opts.get('firstresult')," >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 201, in _multicall' >E and: u'INTERNALERROR> return outcome.get_result()' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 77, in get_result' >E and: u'INTERNALERROR> _reraise(*ex) # noqa' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 180, in _multicall' >E and: u'INTERNALERROR> res = hook_impl.function(*args)' >E and: u'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/main.py", line 161, in pytest_runtestloop' >E and: u'INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 617, in __call__' >E and: u'INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 222, in _hookexec' >E and: u'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 182, in __call__' >E and: u'INTERNALERROR> return outcome.get_result()' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 77, in get_result' >E and: u'INTERNALERROR> _reraise(*ex) # noqa' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 48, in from_call' >E and: u'INTERNALERROR> result = func()' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 180, in <lambda>' >E and: u'INTERNALERROR> outcome = _Result.from_call(lambda: self.oldcall(hook, hook_impls, kwargs))' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 216, in <lambda>' >E and: u"INTERNALERROR> firstresult=hook.spec_opts.get('firstresult')," >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 201, in _multicall' >E and: u'INTERNALERROR> return outcome.get_result()' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 77, in get_result' >E and: u'INTERNALERROR> _reraise(*ex) # noqa' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 180, in _multicall' >E and: u'INTERNALERROR> res = hook_impl.function(*args)' >E and: u'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_rerun0/conftest.py", line 3, in pytest_runtest_protocol' >E and: u'INTERNALERROR> runtestprotocol(item, log=False, nextitem=nextitem)' >E and: u'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/runner.py", line 73, in runtestprotocol' >E and: u'INTERNALERROR> rep = call_and_report(item, "setup", log)' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py", line 118, in call_and_report' >E and: u'INTERNALERROR> call = self.call_runtest_hook(item, when, **kwds)' >E and: u'INTERNALERROR> File "/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py", line 276, in call_runtest_hook' >E and: u'INTERNALERROR> self._call_infos[item][when] = call_info' >E and: u"INTERNALERROR> KeyError: <Function 'test_fix'>" >E and: u'' >E and: u'========================================= no tests ran in 0.01 seconds =========================================' >E and: u'' >E remains unmatched: '*fix count 1*' > >../../../../work/pytest-3.4.1-python2_7/lib/_pytest/pytester.py:1175: Failed >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 >rootdir: /var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_rerun0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, forked-0.2, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 1 item >fix count 0 >INTERNALERROR> Traceback (most recent call last): >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/main.py", line 100, in wrap_session >INTERNALERROR> session.exitstatus = doit(config, session) or 0 >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/main.py", line 138, in _main >INTERNALERROR> config.hook.pytest_runtestloop(session=session) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 617, in __call__ >INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 222, in _hookexec >INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 182, in __call__ >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 77, in get_result >INTERNALERROR> _reraise(*ex) # noqa >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 48, in from_call >INTERNALERROR> result = func() >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 180, in <lambda> >INTERNALERROR> outcome = _Result.from_call(lambda: self.oldcall(hook, hook_impls, kwargs)) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 216, in <lambda> >INTERNALERROR> firstresult=hook.spec_opts.get('firstresult'), >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 201, in _multicall >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 77, in get_result >INTERNALERROR> _reraise(*ex) # noqa >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 180, in _multicall >INTERNALERROR> res = hook_impl.function(*args) >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/main.py", line 161, in pytest_runtestloop >INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 617, in __call__ >INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 222, in _hookexec >INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 182, in __call__ >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 77, in get_result >INTERNALERROR> _reraise(*ex) # noqa >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 48, in from_call >INTERNALERROR> result = func() >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 180, in <lambda> >INTERNALERROR> outcome = _Result.from_call(lambda: self.oldcall(hook, hook_impls, kwargs)) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/__init__.py", line 216, in <lambda> >INTERNALERROR> firstresult=hook.spec_opts.get('firstresult'), >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 201, in _multicall >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 77, in get_result >INTERNALERROR> _reraise(*ex) # noqa >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pluggy/callers.py", line 180, in _multicall >INTERNALERROR> res = hook_impl.function(*args) >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/pytest-of-portage/pytest-0/test_rerun0/conftest.py", line 3, in pytest_runtest_protocol >INTERNALERROR> runtestprotocol(item, log=False, nextitem=nextitem) >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1-python2_7/lib/_pytest/runner.py", line 73, in runtestprotocol >INTERNALERROR> rep = call_and_report(item, "setup", log) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py", line 118, in call_and_report >INTERNALERROR> call = self.call_runtest_hook(item, when, **kwds) >INTERNALERROR> File "/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py", line 276, in call_runtest_hook >INTERNALERROR> self._call_infos[item][when] = call_info >INTERNALERROR> KeyError: <Function 'test_fix'> > >========================================= no tests ran in 0.01 seconds ========================================= >______________________________________ TestMetafunc.test_idval_hypothesis ______________________________________ > >self = <metafunc.TestMetafunc object at 0x7ff61e0e8910> > > @hypothesis.given(strategies.text() | strategies.binary()) >> def test_idval_hypothesis(self, value): > >../../../../../work/pytest-3.4.1/testing/python/metafunc.py:191: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib64/python2.7/site-packages/hypothesis/core.py:581: in execute > result = self.test_runner(data, run) >/usr/lib64/python2.7/site-packages/hypothesis/executors.py:58: in default_new_style_executor > return function(data) >/usr/lib64/python2.7/site-packages/hypothesis/core.py:573: in run > return test(*args, **kwargs) >../../../../../work/pytest-3.4.1/testing/python/metafunc.py:191: in test_idval_hypothesis > def test_idval_hypothesis(self, value): >/usr/lib64/python2.7/site-packages/hypothesis/core.py:520: in test > result = self.test(*args, **kwargs) >../../../../../work/pytest-3.4.1/testing/python/metafunc.py:193: in test_idval_hypothesis > escaped = _idval(value, 'a', 6, None) >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/python.py:937: in _idval > return ascii_escaped(val) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >val = '\xc2\x80' > > def ascii_escaped(val): > """In py2 bytes and str are the same type, so return if it's a bytes > object, return it unchanged if it is a full ascii string, > otherwise escape it into its binary form. > > If it's a unicode string, change the unicode characters into > unicode escapes. > > """ > if isinstance(val, bytes): > try: >> return val.encode('ascii') >E UnicodeEncodeError: 'ascii' codec can't encode character u'\x80' in position 0: ordinal not in range(128) > >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/compat.py:184: UnicodeEncodeError >-------------------------------------------------- Hypothesis -------------------------------------------------- >Falsifying example: test_idval_hypothesis(self=<metafunc.TestMetafunc at 0x7ff61e0e8910>, value='\xc2\x80') > >You can reproduce this example by temporarily adding @reproduce_failure('3.50.1', 'AAEBwgGAAA==') as a decorator on your test case >________________________________________ TestMetafunc.test_bytes_idval _________________________________________ > >self = <metafunc.TestMetafunc object at 0x7ff61c08b6d0> > > def test_bytes_idval(self): > """unittest for the expected behavior to obtain ids for parametrized > bytes values: > - python2: non-ascii strings are considered bytes and formatted using > "binary escape", where any byte < 127 is escaped into its hex form. > - python3: bytes objects are always escaped using "binary escape". > """ > from _pytest.python import _idval > values = [ > (b'', ''), > (b'\xc3\xb4\xff\xe4', '\\xc3\\xb4\\xff\\xe4'), > (b'ascii', 'ascii'), > (u'αÏά'.encode('utf-8'), '\\xce\\xb1\\xcf\\x81\\xce\\xac'), > ] > for val, expected in values: >> assert _idval(val, 'a', 6, None) == expected > >../../../../../work/pytest-3.4.1/testing/python/metafunc.py:248: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/python.py:937: in _idval > return ascii_escaped(val) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >val = '\xce\xb1\xcf\x81\xce\xac' > > def ascii_escaped(val): > """In py2 bytes and str are the same type, so return if it's a bytes > object, return it unchanged if it is a full ascii string, > otherwise escape it into its binary form. > > If it's a unicode string, change the unicode characters into > unicode escapes. > > """ > if isinstance(val, bytes): > try: >> return val.encode('ascii') >E UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128) > >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/compat.py:184: UnicodeEncodeError >______________________________________ TestMetafunc.test_idmaker_autoname ______________________________________ > >self = <metafunc.TestMetafunc object at 0x7ff61f7b2310> > > @pytest.mark.issue250 > def test_idmaker_autoname(self): > from _pytest.python import idmaker > result = idmaker(("a", "b"), [pytest.param("string", 1.0), > pytest.param("st-ring", 2.0)]) > assert result == ["string-1.0", "st-ring-2.0"] > > result = idmaker(("a", "b"), [pytest.param(object(), 1.0), > pytest.param(object(), object())]) > assert result == ["a0-1.0", "a1-b1"] > # unicode mixing, issue250 > result = idmaker( > (py.builtin._totext("a"), "b"), >> [pytest.param({}, b'\xc3\xb4')]) > >../../../../../work/pytest-3.4.1/testing/python/metafunc.py:282: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/python.py:962: in idmaker > for valindex, parameterset in enumerate(parametersets)] >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/python.py:954: in _idvalset > for val, argname in zip(parameterset.values, argnames)] >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/python.py:937: in _idval > return ascii_escaped(val) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >val = '\xc3\xb4' > > def ascii_escaped(val): > """In py2 bytes and str are the same type, so return if it's a bytes > object, return it unchanged if it is a full ascii string, > otherwise escape it into its binary form. > > If it's a unicode string, change the unicode characters into > unicode escapes. > > """ > if isinstance(val, bytes): > try: >> return val.encode('ascii') >E UnicodeEncodeError: 'ascii' codec can't encode character u'\xf4' in position 0: ordinal not in range(128) > >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/compat.py:184: UnicodeEncodeError >___________________________________ TestMetafunc.test_idmaker_native_strings ___________________________________ > >self = <metafunc.TestMetafunc object at 0x7ff61e1d9c50> > > def test_idmaker_native_strings(self): > from _pytest.python import idmaker > totext = py.builtin._totext > result = idmaker(("a", "b"), [ > pytest.param(1.0, -1.1), > pytest.param(2, -202), > pytest.param("three", "three hundred"), > pytest.param(True, False), > pytest.param(None, None), > pytest.param(re.compile('foo'), re.compile('bar')), > pytest.param(str, int), > pytest.param(list("six"), [66, 66]), > pytest.param(set([7]), set("seven")), > pytest.param(tuple("eight"), (8, -8, 8)), > pytest.param(b'\xc3\xb4', b"name"), >> pytest.param(b'\xc3\xb4', totext("other")), > ]) > >../../../../../work/pytest-3.4.1/testing/python/metafunc.py:305: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/python.py:962: in idmaker > for valindex, parameterset in enumerate(parametersets)] >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/python.py:954: in _idvalset > for val, argname in zip(parameterset.values, argnames)] >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/python.py:937: in _idval > return ascii_escaped(val) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >val = '\xc3\xb4' > > def ascii_escaped(val): > """In py2 bytes and str are the same type, so return if it's a bytes > object, return it unchanged if it is a full ascii string, > otherwise escape it into its binary form. > > If it's a unicode string, change the unicode characters into > unicode escapes. > > """ > if isinstance(val, bytes): > try: >> return val.encode('ascii') >E UnicodeEncodeError: 'ascii' codec can't encode character u'\xf4' in position 0: ordinal not in range(128) > >../../../../../work/pytest-3.4.1-python2_7/lib/_pytest/compat.py:184: UnicodeEncodeError >=============================================== warnings summary =============================================== >None > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0. > Please use Metafunc.parametrize instead. > >testing/test_config.py::TestOverrideIniArgs::()::test_addopts_before_initini > ***** 2 FD leakage detected > (u'8', u'/dev/null') > (u'11', u'/dev/null') > *** Before: > (u'rtd', u'/') > (u'0', u'/dev/null') > (u'3', u'/dev/null') > (u'4', u'/dev/null') > (u'10', u'/dev/urandom') > *** After: > (u'rtd', u'/') > (u'0', u'/dev/null') > (u'3', u'/dev/null') > (u'4', u'/dev/null') > (u'8', u'/dev/null') > (u'10', u'/dev/urandom') > (u'11', u'/dev/null') > ***** 2 FD leakage detected > *** function testing/test_config.py:857: TestOverrideIniArgs.test_addopts_before_initini > See issue #2366 > >testing/test_config.py::TestOverrideIniArgs::()::test_override_ini_does_not_contain_paths > ***** 2 FD leakage detected > (u'15', u'/dev/null') > (u'17', u'/dev/null') > *** Before: > (u'rtd', u'/') > (u'0', u'/dev/null') > (u'3', u'/dev/null') > (u'4', u'/dev/null') > (u'8', u'/dev/null') > (u'10', u'/dev/urandom') > (u'11', u'/dev/null') > *** After: > (u'rtd', u'/') > (u'0', u'/dev/null') > (u'3', u'/dev/null') > (u'4', u'/dev/null') > (u'8', u'/dev/null') > (u'10', u'/dev/urandom') > (u'11', u'/dev/null') > (u'15', u'/dev/null') > (u'17', u'/dev/null') > ***** 2 FD leakage detected > *** function testing/test_config.py:865: TestOverrideIniArgs.test_override_ini_does_not_contain_paths > See issue #2366 > >testing/test_warnings.py::test_normal_flow > /usr/lib64/python2.7/site-packages/py/_std.py:19: PyStdIsDeprecatedWarning: py.std is deprecated, plase import _pytestfixturefunction directly > category=PyStdIsDeprecatedWarning) > >testing/test_warnings.py::test_setup_teardown_warnings > /usr/lib64/python2.7/site-packages/py/_std.py:19: PyStdIsDeprecatedWarning: py.std is deprecated, plase import _pytestfixturefunction directly > category=PyStdIsDeprecatedWarning) > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >================ 31 failed, 1942 passed, 30 skipped, 13 xfailed, 32 warnings in 461.12 seconds ================= > * ERROR: dev-python/pytest-3.4.1-r1::gentoo failed (test phase): > * tests failed with python2.7 > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 2697: Called distutils-r1_src_test > * environment, line 926: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 388: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2226: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1580: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1578: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 600: Called distutils-r1_run_phase 'python_test' > * environment, line 857: Called python_test > * environment, line 2598: Called die > * The specific snippet of code: > * "${PYTHON}" "${BUILD_DIR}"/lib/pytest.py --lsof -rfsxX testing || die "tests failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/pytest-3.4.1-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pytest-3.4.1-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/build/dev-python/pytest-3.4.1-r1:20180421-204553.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-3.4.1-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1' > * S: '/var/tmp/portage/dev-python/pytest-3.4.1-r1/work/pytest-3.4.1'
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 653728
: 528178