Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 508372 Details for
Bug 639964
dev-python/pytest-timeout-1.2.1 : [TEST] E Failed: remains unmatched: timeout: 1.0s method:*
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:pytest-timeout-1.2.1:20171205-071934.log
dev-python:pytest-timeout-1.2.1:20171205-071934.log (text/plain), 97.95 KB, created by
Toralf Förster
on 2017-12-05 16:20:07 UTC
(
hide
)
Description:
dev-python:pytest-timeout-1.2.1:20171205-071934.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2017-12-05 16:20:07 UTC
Size:
97.95 KB
patch
obsolete
> * Package: dev-python/pytest-timeout-1.2.1 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pytest-timeout-1.2.1.tar.gz to /var/tmp/portage/dev-python/pytest-timeout-1.2.1/work >>>> Source unpacked in /var/tmp/portage/dev-python/pytest-timeout-1.2.1/work >>>> Preparing source in /var/tmp/portage/dev-python/pytest-timeout-1.2.1/work/pytest-timeout-1.2.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pytest-timeout-1.2.1/work/pytest-timeout-1.2.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pytest-timeout-1.2.1/work/pytest-timeout-1.2.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_timeout.py -> /var/tmp/portage/dev-python/pytest-timeout-1.2.1/work/pytest-timeout-1.2.1-python2_7/lib >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_timeout.py -> /var/tmp/portage/dev-python/pytest-timeout-1.2.1/work/pytest-timeout-1.2.1-python3_5/lib >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/pytest-timeout-1.2.1 > * python2_7: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python2.7 >cachedir: .cache >rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/work/pytest-timeout-1.2.1, inifile: tox.ini >plugins: timeout-1.2.1, xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0 >collecting ... collected 31 items > >test_pytest_timeout.py::test_header FAILED >test_pytest_timeout.py::test_sigalrm FAILED >test_pytest_timeout.py::test_thread FAILED >test_pytest_timeout.py::test_timeout_env FAILED >test_pytest_timeout.py::test_fix_setup[function-signal] FAILED >test_pytest_timeout.py::test_fix_setup[function-thread] FAILED >test_pytest_timeout.py::test_fix_setup[class-signal] FAILED >test_pytest_timeout.py::test_fix_setup[class-thread] FAILED >test_pytest_timeout.py::test_fix_setup[module-signal] FAILED >test_pytest_timeout.py::test_fix_setup[module-thread] FAILED >test_pytest_timeout.py::test_fix_setup[session-signal] FAILED >test_pytest_timeout.py::test_fix_setup[session-thread] FAILED >test_pytest_timeout.py::test_fix_finalizer[function-signal] FAILED >test_pytest_timeout.py::test_fix_finalizer[function-thread] FAILED >test_pytest_timeout.py::test_fix_finalizer[class-signal] FAILED >test_pytest_timeout.py::test_fix_finalizer[class-thread] FAILED >test_pytest_timeout.py::test_fix_finalizer[module-signal] FAILED >test_pytest_timeout.py::test_fix_finalizer[module-thread] FAILED >test_pytest_timeout.py::test_fix_finalizer[session-signal] FAILED >test_pytest_timeout.py::test_fix_finalizer[session-thread] FAILED >test_pytest_timeout.py::test_timeout_mark_sigalrm FAILED >test_pytest_timeout.py::test_timeout_mark_timer FAILED >test_pytest_timeout.py::test_timeout_mark_non_int FAILED >test_pytest_timeout.py::test_timeout_mark_non_number FAILED >test_pytest_timeout.py::test_timeout_mark_args FAILED >test_pytest_timeout.py::test_timeout_mark_method_nokw FAILED >test_pytest_timeout.py::test_timeout_mark_noargs FAILED >test_pytest_timeout.py::test_ini_timeout FAILED >test_pytest_timeout.py::test_ini_method PASSED >test_pytest_timeout.py::test_marker_help FAILED >test_pytest_timeout.py::test_suppresses_timeout_when_pdb_is_entered PASSED >=========================== short test summary info ============================ >FAIL test_pytest_timeout.py::test_header >FAIL test_pytest_timeout.py::test_sigalrm >FAIL test_pytest_timeout.py::test_thread >FAIL test_pytest_timeout.py::test_timeout_env >FAIL test_pytest_timeout.py::test_fix_setup[function-signal] >FAIL test_pytest_timeout.py::test_fix_setup[function-thread] >FAIL test_pytest_timeout.py::test_fix_setup[class-signal] >FAIL test_pytest_timeout.py::test_fix_setup[class-thread] >FAIL test_pytest_timeout.py::test_fix_setup[module-signal] >FAIL test_pytest_timeout.py::test_fix_setup[module-thread] >FAIL test_pytest_timeout.py::test_fix_setup[session-signal] >FAIL test_pytest_timeout.py::test_fix_setup[session-thread] >FAIL test_pytest_timeout.py::test_fix_finalizer[function-signal] >FAIL test_pytest_timeout.py::test_fix_finalizer[function-thread] >FAIL test_pytest_timeout.py::test_fix_finalizer[class-signal] >FAIL test_pytest_timeout.py::test_fix_finalizer[class-thread] >FAIL test_pytest_timeout.py::test_fix_finalizer[module-signal] >FAIL test_pytest_timeout.py::test_fix_finalizer[module-thread] >FAIL test_pytest_timeout.py::test_fix_finalizer[session-signal] >FAIL test_pytest_timeout.py::test_fix_finalizer[session-thread] >FAIL test_pytest_timeout.py::test_timeout_mark_sigalrm >FAIL test_pytest_timeout.py::test_timeout_mark_timer >FAIL test_pytest_timeout.py::test_timeout_mark_non_int >FAIL test_pytest_timeout.py::test_timeout_mark_non_number >FAIL test_pytest_timeout.py::test_timeout_mark_args >FAIL test_pytest_timeout.py::test_timeout_mark_method_nokw >FAIL test_pytest_timeout.py::test_timeout_mark_noargs >FAIL test_pytest_timeout.py::test_ini_timeout >FAIL test_pytest_timeout.py::test_marker_help > >=================================== FAILURES =================================== >_________________________________ test_header __________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_header0')> > > def test_header(testdir): > testdir.makepyfile(""" > def test_x(): pass > """) > result = testdir.runpytest('--timeout=1') > result.stdout.fnmatch_lines([ >> 'timeout: 1.0s method:*' > ]) >E Failed: remains unmatched: 'timeout: 1.0s method:*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:29: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_header0/runpytest-0 --timeout=1 > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_header0 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_header0 >_________________________________ test_sigalrm _________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_sigalrm0')> > > @have_sigalrm > def test_sigalrm(testdir): > testdir.makepyfile(""" > import time > > def test_foo(): > time.sleep(2) > """) > result = testdir.runpytest('--timeout=1.5') > result.stdout.fnmatch_lines([ >> '*Failed: Timeout >1.5s*' > ]) >E Failed: remains unmatched: '*Failed: Timeout >1.5s*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:43: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_sigalrm0/runpytest-0 --timeout=1.5 > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_sigalrm0 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1.5 > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_sigalrm0 >_________________________________ test_thread __________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_thread0')> > > def test_thread(testdir): > testdir.makepyfile(""" > import time > > def test_foo(): > time.sleep(2) > """) > result = testdir.runpytest('--timeout=1', '--timeout_method=thread') > result.stderr.fnmatch_lines([ > '*++ Timeout ++*', > '*~~ Stack of MainThread* ~~*', > '*File *, line *, in *', >> '*++ Timeout ++*', > ]) >E Failed: nomatch: '*++ Timeout ++*' >E and: u'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]' >E and: u'pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread' >E and: u' inifile: None' >E and: u' rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_thread0' >E remains unmatched: '*++ Timeout ++*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:59: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_thread0/runpytest-0 --timeout=1 --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_thread0 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_thread0 >_______________________________ test_timeout_env _______________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_env0')> >monkeypatch = <_pytest.monkeypatch.MonkeyPatch instance at 0x7fc6235248c0> > > def test_timeout_env(testdir, monkeypatch): > testdir.makepyfile(""" > import time > > def test_foo(): > time.sleep(2) > """) > monkeypatch.setitem(os.environ, 'PYTEST_TIMEOUT', '1') > result = testdir.runpytest() >> assert result.ret > 0 >E assert 0 > 0 >E + where 0 = <_pytest.pytester.RunResult instance at 0x7fc623524a28>.ret > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:73: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_env0/runpytest-0 > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_env0 >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_env0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0 >collected 1 item > >test_timeout_env.py . > >=============================== warnings summary =============================== >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >None > pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >===================== 1 passed, 3 warnings in 2.02 seconds ===================== >_______________________ test_fix_setup[function-signal] ________________________ > >meth = 'signal', scope = 'function' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup0')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_setup(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self): > time.sleep(2) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup0') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353d758>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353d758>> = <_pytest.pytester.LineMatcher instance at 0x7fc62353d758>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62353d758> = <_pytest.pytester.RunResult instance at 0x7fc62353d908>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup0' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353df38>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353df38>> = <_pytest.pytester.LineMatcher instance at 0x7fc62353df38>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62353df38> = <_pytest.pytester.RunResult instance at 0x7fc62353d908>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:112: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup0/runpytest-0 --timeout=1 --timeout_method=signal > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup0 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=signal > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup0 >_______________________ test_fix_setup[function-thread] ________________________ > >meth = 'thread', scope = 'function' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup1')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_setup(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self): > time.sleep(2) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup1') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353a518>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353a518>> = <_pytest.pytester.LineMatcher instance at 0x7fc62353a518>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62353a518> = <_pytest.pytester.RunResult instance at 0x7fc62353a560>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup1' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353a6c8>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353a6c8>> = <_pytest.pytester.LineMatcher instance at 0x7fc62353a6c8>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62353a6c8> = <_pytest.pytester.RunResult instance at 0x7fc62353a560>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:112: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup1/runpytest-0 --timeout=1 --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup1 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup1 >_________________________ test_fix_setup[class-signal] _________________________ > >meth = 'signal', scope = 'class' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup2')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_setup(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self): > time.sleep(2) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup2') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6236507a0>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6236507a0>> = <_pytest.pytester.LineMatcher instance at 0x7fc6236507a0>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6236507a0> = <_pytest.pytester.RunResult instance at 0x7fc6236502d8>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup2' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623650a28>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623650a28>> = <_pytest.pytester.LineMatcher instance at 0x7fc623650a28>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc623650a28> = <_pytest.pytester.RunResult instance at 0x7fc6236502d8>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:112: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup2/runpytest-0 --timeout=1 --timeout_method=signal > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup2 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=signal > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup2 >_________________________ test_fix_setup[class-thread] _________________________ > >meth = 'thread', scope = 'class' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup3')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_setup(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self): > time.sleep(2) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup3') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6236bbab8>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6236bbab8>> = <_pytest.pytester.LineMatcher instance at 0x7fc6236bbab8>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6236bbab8> = <_pytest.pytester.RunResult instance at 0x7fc6236bb050>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup3' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62363bc68>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62363bc68>> = <_pytest.pytester.LineMatcher instance at 0x7fc62363bc68>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62363bc68> = <_pytest.pytester.RunResult instance at 0x7fc6236bb050>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:112: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup3/runpytest-0 --timeout=1 --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup3 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup3 >________________________ test_fix_setup[module-signal] _________________________ > >meth = 'signal', scope = 'module' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup4')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_setup(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self): > time.sleep(2) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup4') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623524f80>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623524f80>> = <_pytest.pytester.LineMatcher instance at 0x7fc623524f80>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc623524f80> = <_pytest.pytester.RunResult instance at 0x7fc623524a28>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup4' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623524368>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623524368>> = <_pytest.pytester.LineMatcher instance at 0x7fc623524368>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc623524368> = <_pytest.pytester.RunResult instance at 0x7fc623524a28>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:112: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup4/runpytest-0 --timeout=1 --timeout_method=signal > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup4 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=signal > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup4 >________________________ test_fix_setup[module-thread] _________________________ > >meth = 'thread', scope = 'module' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup5')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_setup(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self): > time.sleep(2) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup5') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623648440>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623648440>> = <_pytest.pytester.LineMatcher instance at 0x7fc623648440>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc623648440> = <_pytest.pytester.RunResult instance at 0x7fc623648680>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup5' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623648c68>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623648c68>> = <_pytest.pytester.LineMatcher instance at 0x7fc623648c68>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc623648c68> = <_pytest.pytester.RunResult instance at 0x7fc623648680>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:112: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup5/runpytest-0 --timeout=1 --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup5 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup5 >________________________ test_fix_setup[session-signal] ________________________ > >meth = 'signal', scope = 'session' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup6')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_setup(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self): > time.sleep(2) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup6') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235387e8>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235387e8>> = <_pytest.pytester.LineMatcher instance at 0x7fc6235387e8>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6235387e8> = <_pytest.pytester.RunResult instance at 0x7fc623538e60>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup6' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235383b0>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235383b0>> = <_pytest.pytester.LineMatcher instance at 0x7fc6235383b0>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6235383b0> = <_pytest.pytester.RunResult instance at 0x7fc623538e60>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:112: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup6/runpytest-0 --timeout=1 --timeout_method=signal > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup6 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=signal > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup6 >________________________ test_fix_setup[session-thread] ________________________ > >meth = 'thread', scope = 'session' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup7')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_setup(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self): > time.sleep(2) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup7') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62355c758>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62355c758>> = <_pytest.pytester.LineMatcher instance at 0x7fc62355c758>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62355c758> = <_pytest.pytester.RunResult instance at 0x7fc62355c560>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --...ne\n rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup7' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62355c488>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62355c488>> = <_pytest.pytester.LineMatcher instance at 0x7fc62355c488>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62355c488> = <_pytest.pytester.RunResult instance at 0x7fc62355c560>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:112: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup7/runpytest-0 --timeout=1 --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup7 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_setup7 >_____________________ test_fix_finalizer[function-signal] ______________________ > >meth = 'signal', scope = 'function' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer0')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_finalizer(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self, request): > print('fix setup') > def fin(): > print('fix finaliser') > time.sleep(2) > request.addfinalizer(fin) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', '-s', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer0') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62363b4d0>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62363b4d0>> = <_pytest.pytester.LineMatcher instance at 0x7fc62363b4d0>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62363b4d0> = <_pytest.pytester.RunResult instance at 0x7fc62363be60>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer0' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62363b998>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62363b998>> = <_pytest.pytester.LineMatcher instance at 0x7fc62363b998>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62363b998> = <_pytest.pytester.RunResult instance at 0x7fc62363be60>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:137: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer0/runpytest-0 --timeout=1 -s --timeout_method=signal > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer0 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=signal > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer0 >_____________________ test_fix_finalizer[function-thread] ______________________ > >meth = 'thread', scope = 'function' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer1')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_finalizer(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self, request): > print('fix setup') > def fin(): > print('fix finaliser') > time.sleep(2) > request.addfinalizer(fin) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', '-s', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer1') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623538b48>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623538b48>> = <_pytest.pytester.LineMatcher instance at 0x7fc623538b48>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc623538b48> = <_pytest.pytester.RunResult instance at 0x7fc623538170>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer1' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623538d40>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623538d40>> = <_pytest.pytester.LineMatcher instance at 0x7fc623538d40>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc623538d40> = <_pytest.pytester.RunResult instance at 0x7fc623538170>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:137: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer1/runpytest-0 --timeout=1 -s --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer1 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer1 >_______________________ test_fix_finalizer[class-signal] _______________________ > >meth = 'signal', scope = 'class' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer2')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_finalizer(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self, request): > print('fix setup') > def fin(): > print('fix finaliser') > time.sleep(2) > request.addfinalizer(fin) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', '-s', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer2') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6236504d0>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6236504d0>> = <_pytest.pytester.LineMatcher instance at 0x7fc6236504d0>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6236504d0> = <_pytest.pytester.RunResult instance at 0x7fc623650680>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer2' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6236500e0>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6236500e0>> = <_pytest.pytester.LineMatcher instance at 0x7fc6236500e0>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6236500e0> = <_pytest.pytester.RunResult instance at 0x7fc623650680>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:137: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer2/runpytest-0 --timeout=1 -s --timeout_method=signal > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer2 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=signal > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer2 >_______________________ test_fix_finalizer[class-thread] _______________________ > >meth = 'thread', scope = 'class' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer3')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_finalizer(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self, request): > print('fix setup') > def fin(): > print('fix finaliser') > time.sleep(2) > request.addfinalizer(fin) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', '-s', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer3') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62365d3f8>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62365d3f8>> = <_pytest.pytester.LineMatcher instance at 0x7fc62365d3f8>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62365d3f8> = <_pytest.pytester.RunResult instance at 0x7fc62365df38>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer3' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62365db90>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62365db90>> = <_pytest.pytester.LineMatcher instance at 0x7fc62365db90>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62365db90> = <_pytest.pytester.RunResult instance at 0x7fc62365df38>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:137: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer3/runpytest-0 --timeout=1 -s --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer3 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer3 >______________________ test_fix_finalizer[module-signal] _______________________ > >meth = 'signal', scope = 'module' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer4')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_finalizer(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self, request): > print('fix setup') > def fin(): > print('fix finaliser') > time.sleep(2) > request.addfinalizer(fin) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', '-s', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer4') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235c7b90>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235c7b90>> = <_pytest.pytester.LineMatcher instance at 0x7fc6235c7b90>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6235c7b90> = <_pytest.pytester.RunResult instance at 0x7fc6235c7c68>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer4' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235c75f0>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235c75f0>> = <_pytest.pytester.LineMatcher instance at 0x7fc6235c75f0>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6235c75f0> = <_pytest.pytester.RunResult instance at 0x7fc6235c7c68>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:137: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer4/runpytest-0 --timeout=1 -s --timeout_method=signal > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer4 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=signal > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer4 >______________________ test_fix_finalizer[module-thread] _______________________ > >meth = 'thread', scope = 'module' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer5')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_finalizer(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self, request): > print('fix setup') > def fin(): > print('fix finaliser') > time.sleep(2) > request.addfinalizer(fin) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', '-s', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer5') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235515a8>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235515a8>> = <_pytest.pytester.LineMatcher instance at 0x7fc6235515a8>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6235515a8> = <_pytest.pytester.RunResult instance at 0x7fc623551170>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer5' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623551200>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc623551200>> = <_pytest.pytester.LineMatcher instance at 0x7fc623551200>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc623551200> = <_pytest.pytester.RunResult instance at 0x7fc623551170>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:137: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer5/runpytest-0 --timeout=1 -s --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer5 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer5 >______________________ test_fix_finalizer[session-signal] ______________________ > >meth = 'signal', scope = 'session' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer6')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_finalizer(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self, request): > print('fix setup') > def fin(): > print('fix finaliser') > time.sleep(2) > request.addfinalizer(fin) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', '-s', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer6') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353a638>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353a638>> = <_pytest.pytester.LineMatcher instance at 0x7fc62353a638>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62353a638> = <_pytest.pytester.RunResult instance at 0x7fc62353ab90>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer6' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353a830>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc62353a830>> = <_pytest.pytester.LineMatcher instance at 0x7fc62353a830>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc62353a830> = <_pytest.pytester.RunResult instance at 0x7fc62353ab90>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:137: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer6/runpytest-0 --timeout=1 -s --timeout_method=signal > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer6 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=signal > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer6 >______________________ test_fix_finalizer[session-thread] ______________________ > >meth = 'thread', scope = 'session' >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer7')> > > @pytest.mark.parametrize('meth', [have_sigalrm('signal'), 'thread']) > @pytest.mark.parametrize('scope', ['function', 'class', 'module', 'session']) > def test_fix_finalizer(meth, scope, testdir): > testdir.makepyfile(""" > import time, pytest > > class TestFoo: > > @pytest.fixture(scope='{scope}') > def fix(self, request): > print('fix setup') > def fin(): > print('fix finaliser') > time.sleep(2) > request.addfinalizer(fin) > > def test_foo(self, fix): > pass > """.format(scope=scope)) > result = testdir.runpytest('--timeout=1', '-s', > '--timeout_method={0}'.format(meth)) > assert result.ret > 0 >> assert 'Timeout' in result.stdout.str() + result.stderr.str() >E AssertionError: assert 'Timeout' in ('' + 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer7') >E + where '' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235bba28>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235bba28>> = <_pytest.pytester.LineMatcher instance at 0x7fc6235bba28>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6235bba28> = <_pytest.pytester.RunResult instance at 0x7fc6235bb050>.stdout >E + and 'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]\npytest.py: error: unrecognized arguments: --timeout=1 --... rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer7' = <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235bb5f0>>() >E + where <bound method LineMatcher.str of <_pytest.pytester.LineMatcher instance at 0x7fc6235bb5f0>> = <_pytest.pytester.LineMatcher instance at 0x7fc6235bb5f0>.str >E + where <_pytest.pytester.LineMatcher instance at 0x7fc6235bb5f0> = <_pytest.pytester.RunResult instance at 0x7fc6235bb050>.stderr > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:137: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer7/runpytest-0 --timeout=1 -s --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer7 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout=1 --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_fix_finalizer7 >__________________________ test_timeout_mark_sigalrm ___________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_sigalrm0')> > > @have_sigalrm > def test_timeout_mark_sigalrm(testdir): > testdir.makepyfile(""" > import time, pytest > > @pytest.mark.timeout(1) > def test_foo(): > time.sleep(2) > assert False > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['*Failed: Timeout >1.0s*']) >E Failed: nomatch: '*Failed: Timeout >1.0s*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_sigalrm0, inifile:' >E and: u'plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0' >E and: u'collected 1 item' >E and: u'' >E and: u'test_timeout_mark_sigalrm.py F' >E and: u'' >E and: u'=================================== FAILURES ===================================' >E and: u'___________________________________ test_foo ___________________________________' >E and: u'' >E and: u' @pytest.mark.timeout(1)' >E and: u' def test_foo():' >E and: u' time.sleep(2)' >E and: u'> assert False' >E and: u'E assert False' >E and: u'' >E and: u'test_timeout_mark_sigalrm.py:6: AssertionError' >E and: u'=============================== warnings summary ===============================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u' pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'===================== 1 failed, 3 warnings in 2.09 seconds =====================' >E remains unmatched: '*Failed: Timeout >1.0s*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:151: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_sigalrm0/runpytest-0 > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_sigalrm0 >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_sigalrm0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0 >collected 1 item > >test_timeout_mark_sigalrm.py F > >=================================== FAILURES =================================== >___________________________________ test_foo ___________________________________ > > @pytest.mark.timeout(1) > def test_foo(): > time.sleep(2) >> assert False >E assert False > >test_timeout_mark_sigalrm.py:6: AssertionError >=============================== warnings summary =============================== >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >None > pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >===================== 1 failed, 3 warnings in 2.09 seconds ===================== >___________________________ test_timeout_mark_timer ____________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_timer0')> > > def test_timeout_mark_timer(testdir): > testdir.makepyfile(""" > import time, pytest > > @pytest.mark.timeout(1) > def test_foo(): > time.sleep(2) > """) > result = testdir.runpytest('--timeout_method=thread') >> result.stderr.fnmatch_lines(['*++ Timeout ++*']) >E Failed: nomatch: '*++ Timeout ++*' >E and: u'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]' >E and: u'pytest.py: error: unrecognized arguments: --timeout_method=thread' >E and: u' inifile: None' >E and: u' rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_timer0' >E remains unmatched: '*++ Timeout ++*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:163: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_timer0/runpytest-0 --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_timer0 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_timer0 >__________________________ test_timeout_mark_non_int ___________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_int0')> > > def test_timeout_mark_non_int(testdir): > testdir.makepyfile(""" > import time, pytest > > @pytest.mark.timeout(0.5) > def test_foo(): > time.sleep(1) > """) > result = testdir.runpytest('--timeout_method=thread') >> result.stderr.fnmatch_lines(['*++ Timeout ++*']) >E Failed: nomatch: '*++ Timeout ++*' >E and: u'usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]' >E and: u'pytest.py: error: unrecognized arguments: --timeout_method=thread' >E and: u' inifile: None' >E and: u' rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_int0' >E remains unmatched: '*++ Timeout ++*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:175: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_int0/runpytest-0 --timeout_method=thread > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_int0 >----------------------------- Captured stderr call ----------------------------- >usage: pytest.py [options] [file_or_dir] [file_or_dir] [...] >pytest.py: error: unrecognized arguments: --timeout_method=thread > inifile: None > rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_int0 >_________________________ test_timeout_mark_non_number _________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_number0')> > > def test_timeout_mark_non_number(testdir): > testdir.makepyfile(""" > import pytest > > @pytest.mark.timeout('foo') > def test_foo(): > pass > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['*ValueError*']) >E Failed: nomatch: '*ValueError*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_number0, inifile:' >E and: u'plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0' >E and: u'collected 1 item' >E and: u'' >E and: u'test_timeout_mark_non_number.py .' >E and: u'' >E and: u'=============================== warnings summary ===============================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u' pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'===================== 1 passed, 3 warnings in 0.01 seconds =====================' >E remains unmatched: '*ValueError*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:187: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_number0/runpytest-0 > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_number0 >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_non_number0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0 >collected 1 item > >test_timeout_mark_non_number.py . > >=============================== warnings summary =============================== >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >None > pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >===================== 1 passed, 3 warnings in 0.01 seconds ===================== >____________________________ test_timeout_mark_args ____________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_args0')> > > def test_timeout_mark_args(testdir): > testdir.makepyfile(""" > import pytest > > @pytest.mark.timeout(1, 2) > def test_foo(): > pass > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['*ValueError*']) >E Failed: nomatch: '*ValueError*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_args0, inifile:' >E and: u'plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0' >E and: u'collected 1 item' >E and: u'' >E and: u'test_timeout_mark_args.py .' >E and: u'' >E and: u'=============================== warnings summary ===============================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u' pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'===================== 1 passed, 3 warnings in 0.01 seconds =====================' >E remains unmatched: '*ValueError*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:199: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_args0/runpytest-0 > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_args0 >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_args0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0 >collected 1 item > >test_timeout_mark_args.py . > >=============================== warnings summary =============================== >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >None > pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >===================== 1 passed, 3 warnings in 0.01 seconds ===================== >________________________ test_timeout_mark_method_nokw _________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_method_nokw0')> > > def test_timeout_mark_method_nokw(testdir): > testdir.makepyfile(""" > import time, pytest > > @pytest.mark.timeout(1, 'thread') > def test_foo(): > time.sleep(2) > """) > result = testdir.runpytest() >> result.stderr.fnmatch_lines(['*+ Timeout +*']) >E Failed: remains unmatched: '*+ Timeout +*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:211: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_method_nokw0/runpytest-0 > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_method_nokw0 >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_method_nokw0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0 >collected 1 item > >test_timeout_mark_method_nokw.py . > >=============================== warnings summary =============================== >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >None > pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >===================== 1 passed, 3 warnings in 2.02 seconds ===================== >___________________________ test_timeout_mark_noargs ___________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_noargs0')> > > def test_timeout_mark_noargs(testdir): > testdir.makepyfile(""" > import pytest > > @pytest.mark.timeout > def test_foo(): > pass > """) > result = testdir.runpytest() >> result.stdout.fnmatch_lines(['*TypeError*']) >E Failed: nomatch: '*TypeError*' >E and: u'============================= test session starts ==============================' >E and: u'platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_noargs0, inifile:' >E and: u'plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0' >E and: u'collected 1 item' >E and: u'' >E and: u'test_timeout_mark_noargs.py .' >E and: u'' >E and: u'=============================== warnings summary ===============================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u' pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'===================== 1 passed, 3 warnings in 0.01 seconds =====================' >E remains unmatched: '*TypeError*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:223: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_noargs0/runpytest-0 > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_noargs0 >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_timeout_mark_noargs0, inifile: >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0 >collected 1 item > >test_timeout_mark_noargs.py . > >=============================== warnings summary =============================== >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >None > pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >===================== 1 passed, 3 warnings in 0.01 seconds ===================== >_______________________________ test_ini_timeout _______________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_ini_timeout0')> > > def test_ini_timeout(testdir): > testdir.makepyfile(""" > import time > > def test_foo(): > time.sleep(2) > """) > testdir.makeini(""" > [pytest] > timeout = 1.5 > """) > result = testdir.runpytest() >> assert result.ret >E assert 0 >E + where 0 = <_pytest.pytester.RunResult instance at 0x7fc62355c638>.ret > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:238: AssertionError >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_ini_timeout0/runpytest-0 > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_ini_timeout0 >============================= test session starts ============================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_ini_timeout0, inifile: tox.ini >plugins: xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, shutil-1.2.11, rerunfailures-2.1.0, isort-0.1.0, httpbin-0.2.3, forked-0.2, expect-1.1.0, cov-2.5.1, capturelog-0.7, arraydiff-0.1, hypothesis-3.38.5, betamax-0.8.0 >collected 1 item > >test_ini_timeout.py . > >=============================== warnings summary =============================== >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >None > pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >===================== 1 passed, 3 warnings in 2.02 seconds ===================== >_______________________________ test_marker_help _______________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_marker_help0')> > > def test_marker_help(testdir): > result = testdir.runpytest('--markers') >> result.stdout.fnmatch_lines(['@pytest.mark.timeout(*']) >E Failed: nomatch: '@pytest.mark.timeout(*' >E and: u'@pytest.mark.hypothesis: Tests which use hypothesis.' >E and: u'' >E and: u"@pytest.mark.flaky(reruns=1): mark test to re-run up to 'reruns' times" >E and: u'' >E and: u'@pytest.mark.skip(reason=None): skip the given test function with an optional reason. Example: skip(reason="no way of currently testing this") skips the test.' >E and: u'' >E and: u'@pytest.mark.skipif(condition): skip the given test function if eval(condition) results in a True value. Evaluation happens within the module global context. Example: skipif(\'sys.platform == "win32"\') skips the test if we are on the win32 platform. see http://pytest.org/latest/skipping.html' >E and: u'' >E and: u"@pytest.mark.xfail(condition, reason=None, run=True, raises=None, strict=False): mark the test function as an expected failure if eval(condition) has a True value. Optionally specify a reason for better reporting and run=False if you don't even want to execute the test function. If only specific exception(s) are expected, you can list them in raises, and if the test fails in other ways, it will be reported as a true failure. See http://pytest.org/latest/skipping.html" >E and: u'' >E and: u"@pytest.mark.parametrize(argnames, argvalues): call a test function multiple times passing in different arguments in turn. argvalues generally needs to be a list of values if argnames specifies only one name or a list of tuples of values if argnames specifies multiple names. Example: @parametrize('arg1', [1,2]) would lead to two calls of the decorated test function, one with arg1=1 and another with arg1=2.see http://pytest.org/latest/parametrize.html for more info and examples." >E and: u'' >E and: u'@pytest.mark.usefixtures(fixturename1, fixturename2, ...): mark tests as needing all of the specified fixtures. see http://pytest.org/latest/fixture.html#usefixtures ' >E and: u'' >E and: u'@pytest.mark.tryfirst: mark a hook implementation function such that the plugin machinery will try to call it first/as early as possible.' >E and: u'' >E and: u'@pytest.mark.trylast: mark a hook implementation function such that the plugin machinery will try to call it last/as late as possible.' >E and: u'' >E remains unmatched: '@pytest.mark.timeout(*' > >../../../../../work/pytest-timeout-1.2.1/test_pytest_timeout.py:259: Failed >----------------------------- Captured stdout call ----------------------------- >running: /usr/bin/python2.7 /usr/lib64/python2.7/site-packages/pytest.py --basetemp=/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_marker_help0/runpytest-0 --markers > in: /var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/pytest-of-portage/pytest-0/testdir/test_marker_help0 >@pytest.mark.hypothesis: Tests which use hypothesis. > >@pytest.mark.flaky(reruns=1): mark test to re-run up to 'reruns' times > >@pytest.mark.skip(reason=None): skip the given test function with an optional reason. Example: skip(reason="no way of currently testing this") skips the test. > >@pytest.mark.skipif(condition): skip the given test function if eval(condition) results in a True value. Evaluation happens within the module global context. Example: skipif('sys.platform == "win32"') skips the test if we are on the win32 platform. see http://pytest.org/latest/skipping.html > >@pytest.mark.xfail(condition, reason=None, run=True, raises=None, strict=False): mark the test function as an expected failure if eval(condition) has a True value. Optionally specify a reason for better reporting and run=False if you don't even want to execute the test function. If only specific exception(s) are expected, you can list them in raises, and if the test fails in other ways, it will be reported as a true failure. See http://pytest.org/latest/skipping.html > >@pytest.mark.parametrize(argnames, argvalues): call a test function multiple times passing in different arguments in turn. argvalues generally needs to be a list of values if argnames specifies only one name or a list of tuples of values if argnames specifies multiple names. Example: @parametrize('arg1', [1,2]) would lead to two calls of the decorated test function, one with arg1=1 and another with arg1=2.see http://pytest.org/latest/parametrize.html for more info and examples. > >@pytest.mark.usefixtures(fixturename1, fixturename2, ...): mark tests as needing all of the specified fixtures. see http://pytest.org/latest/fixture.html#usefixtures > >@pytest.mark.tryfirst: mark a hook implementation function such that the plugin machinery will try to call it first/as early as possible. > >@pytest.mark.trylast: mark a hook implementation function such that the plugin machinery will try to call it last/as late as possible. > >=============================== warnings summary =============================== >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >None > pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >============== 29 failed, 2 passed, 3 warnings in 188.83 seconds =============== > * ERROR: dev-python/pytest-timeout-1.2.1::gentoo failed (test phase): > * tests failed under python2.7 > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 2690: Called distutils-r1_src_test > * environment, line 866: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 312: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2214: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1520: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1518: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 536: Called distutils-r1_run_phase 'python_test' > * environment, line 797: Called python_test > * environment, line 2570: Called die > * The specific snippet of code: > * py.test -v || die "tests failed under ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/pytest-timeout-1.2.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pytest-timeout-1.2.1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:pytest-timeout-1.2.1:20171205-071934.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-timeout-1.2.1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pytest-timeout-1.2.1/work/pytest-timeout-1.2.1' > * S: '/var/tmp/portage/dev-python/pytest-timeout-1.2.1/work/pytest-timeout-1.2.1' > * Failed to kill pid(s) in '/sys/fs/cgroup/portage/dev-python:pytest-timeout-1.2.1.7soewm4i/cgroup.procs': 26347
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 639964
:
508370
| 508372 |
508374
|
508376
|
508378
|
508380