GLOB sdist-make: /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/setup.py py37 create: /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37 py37 installdeps: -r/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/requirements.txt py37 inst: /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/.tmp/package/1/pytest-nodev-1.0.1.zip py37 installed: future==0.15.2,py==1.4.31,pytest==2.9.2,pytest-nodev @ file:///tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/.tmp/package/1/pytest-nodev-1.0.1.zip,pytest-timeout==1.0.0 py37 run-test-pre: PYTHONHASHSEED='1541748497' py37 run-test: commands[0] | py.test --timeout=0 specs tests ============================= test session starts ============================== platform linux -- Python 3.7.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 rootdir: /tmp/tmpc5u3en0o/pytest-nodev-1.0.1, inifile: setup.cfg plugins: timeout-1.0.0, nodev-1.0.1 collected 24 items specs/test_object_from_name.py ss tests/test_collect.py ......... tests/test_plugin.py .......FF.F. tests/test_utils.py . ============================ pytest_nodev: 0 passed ============================ =================================== FAILURES =================================== ______________________ test_pytest_run_from_modules_twice ______________________ testdir = def test_pytest_run_from_modules_twice(testdir): testdir.makepyfile(TEST_FACTORIAL_PY + TEST_POW_PY) result = testdir.runpytest( '--candidates-from-modules=math', '-v', ) result.stdout.fnmatch_lines([ '*test_factorial*math:fabs*xfail', > '*test_factorial*math:factorial*XPASS', ]) E Failed: remains unmatched: '*test_factorial*math:fabs*xfail', see stderr /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/tests/test_plugin.py:146: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.7.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/bin/python cachedir: .cache rootdir: /tmp/pytest-of-travis/pytest-38/testdir/test_pytest_run_from_modules_twice0, inifile: plugins: timeout-1.0.0, nodev-1.0.1 collecting ... collected 0 items / 1 errors ============================ pytest_nodev: 0 passed ============================ ==================================== ERRORS ==================================== ____________ ERROR collecting test_pytest_run_from_modules_twice.py ____________ /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/runner.py:150: in __init__ self.result = func() /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/main.py:435: in _memocollect return self._memoizedcall('_collected', lambda: list(self.collect())) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/main.py:315: in _memoizedcall res = function() /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/main.py:435: in return self._memoizedcall('_collected', lambda: list(self.collect())) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/python.py:605: in collect return super(Module, self).collect() /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/python.py:459: in collect res = self.makeitem(name, obj) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/python.py:471: in makeitem collector=self, name=name, obj=obj) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:724: in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:338: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:301: in __call__ return outcome.get_result() /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:278: in get_result raise ex[1].with_traceback(ex[2]) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:264: in __init__ self.result = func() /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:299: in outcome = _CallOutcome(lambda: self.oldcall(hook, hook_impls, kwargs)) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:333: in _MultiCall(methods, kwargs, hook.spec_opts).execute() /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:595: in execute return _wrapped_call(hook_impl.function(*args), self.execute) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:249: in _wrapped_call wrap_controller.send(call_outcome) E RuntimeError: generator raised StopIteration ================= 157 pytest-warnings, 1 error in 1.57 seconds ================= ----------------------------- Captured stderr call ----------------------------- nomatch: '*test_factorial*math:fabs*xfail' and: '============================= test session starts ==============================' and: 'platform linux -- Python 3.7.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/bin/python' and: 'cachedir: .cache' and: 'rootdir: /tmp/pytest-of-travis/pytest-38/testdir/test_pytest_run_from_modules_twice0, inifile: ' and: 'plugins: timeout-1.0.0, nodev-1.0.1' and: 'collecting ... collected 0 items / 1 errors' and: '' and: '============================ pytest_nodev: 0 passed ============================' and: '' and: '' and: '==================================== ERRORS ====================================' and: '____________ ERROR collecting test_pytest_run_from_modules_twice.py ____________' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/runner.py:150: in __init__' and: ' self.result = func()' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/main.py:435: in _memocollect' and: " return self._memoizedcall('_collected', lambda: list(self.collect()))" and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/main.py:315: in _memoizedcall' and: ' res = function()' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/main.py:435: in ' and: " return self._memoizedcall('_collected', lambda: list(self.collect()))" and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/python.py:605: in collect' and: ' return super(Module, self).collect()' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/python.py:459: in collect' and: ' res = self.makeitem(name, obj)' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/python.py:471: in makeitem' and: ' collector=self, name=name, obj=obj)' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:724: in __call__' and: ' return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:338: in _hookexec' and: ' return self._inner_hookexec(hook, methods, kwargs)' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:301: in __call__' and: ' return outcome.get_result()' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:278: in get_result' and: ' raise ex[1].with_traceback(ex[2])' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:264: in __init__' and: ' self.result = func()' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:299: in ' and: ' outcome = _CallOutcome(lambda: self.oldcall(hook, hook_impls, kwargs))' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:333: in ' and: ' _MultiCall(methods, kwargs, hook.spec_opts).execute()' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:595: in execute' and: ' return _wrapped_call(hook_impl.function(*args), self.execute)' and: '/tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/_pytest/vendored_packages/pluggy.py:249: in _wrapped_call' and: ' wrap_controller.send(call_outcome)' and: 'E RuntimeError: generator raised StopIteration' and: '================= 157 pytest-warnings, 1 error in 1.57 seconds =================' and: '' __________________________ test_pytest_run_from_specs __________________________ testdir = def test_pytest_run_from_specs(testdir): testdir.makepyfile(TEST_FACTORIAL_PY) result = testdir.runpytest( '--candidates-from-specs=pip', '--candidates-includes=pip.exceptions', '-v', ) result.stdout.fnmatch_lines([ > '*test_factorial*pip.exceptions:*xfail', ]) E Failed: remains unmatched: '*test_factorial*pip.exceptions:*xfail', see stderr /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/tests/test_plugin.py:159: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.7.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/bin/python cachedir: .cache rootdir: /tmp/pytest-of-travis/pytest-38/testdir/test_pytest_run_from_specs0, inifile: plugins: timeout-1.0.0, nodev-1.0.1 collecting ... collected 1 items test_pytest_run_from_specs.py::test_factorial[candidate0] SKIPPED ============================ pytest_nodev: 0 passed ============================ ================ 1 skipped, 164 pytest-warnings in 0.30 seconds ================ ----------------------------- Captured stderr call ----------------------------- nomatch: '*test_factorial*pip.exceptions:*xfail' and: '============================= test session starts ==============================' and: 'platform linux -- Python 3.7.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/bin/python' and: 'cachedir: .cache' and: 'rootdir: /tmp/pytest-of-travis/pytest-38/testdir/test_pytest_run_from_specs0, inifile: ' and: 'plugins: timeout-1.0.0, nodev-1.0.1' and: 'collecting ... collected 1 items' and: '' and: 'test_pytest_run_from_specs.py::test_factorial[candidate0] SKIPPED' and: '' and: '============================ pytest_nodev: 0 passed ============================' and: '' and: '' and: '================ 1 skipped, 164 pytest-warnings in 0.30 seconds ================' and: '' ___________________________ test_pytest_run_from_all ___________________________ testdir = monkeypatch = <_pytest.monkeypatch.monkeypatch object at 0x7f3396e287f0> def test_pytest_run_from_all(testdir, monkeypatch): testdir.makepyfile(TEST_FACTORIAL_PY) result = testdir.runpytest( '--candidates-from-all', '--candidates-includes=math:factorial|pip.exceptions', '-v', ) assert result.ret == 1 monkeypatch.setenv('PYTEST_NODEV_MODE', 'FEARLESS') result = testdir.runpytest( '--candidates-from-all', '--candidates-includes=math:factorial|pip.exceptions', '-v', ) result.stdout.fnmatch_lines([ '*test_factorial*math:factorial*XPASS', > '*test_factorial*pip.exceptions:*xfail', ]) E Failed: remains unmatched: '*test_factorial*pip.exceptions:*xfail', see stderr /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/tests/test_plugin.py:195: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.7.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/bin/python cachedir: .cache rootdir: /tmp/pytest-of-travis/pytest-38/testdir/test_pytest_run_from_all0, inifile: plugins: timeout-1.0.0, nodev-1.0.1 collecting ... collected 0 items / 1 errors ==================================== ERRORS ==================================== _________________ ERROR collecting test_pytest_run_from_all.py _________________ /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/pytest_nodev/plugin.py:136: in pytest_generate_tests ids, params = make_candidate_index(metafunc.config) /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/lib/python3.7/site-packages/pytest_nodev/plugin.py:71: in make_candidate_index raise ValueError("Use of --candidates-from-all may be very dangerous, see the docs.") E ValueError: Use of --candidates-from-all may be very dangerous, see the docs. =========================== 1 error in 0.07 seconds ============================ ============================= test session starts ============================== platform linux -- Python 3.7.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/bin/python cachedir: .cache rootdir: /tmp/pytest-of-travis/pytest-38/testdir/test_pytest_run_from_all0, inifile: plugins: timeout-1.0.0, nodev-1.0.1 collecting ... collected 1 items test_pytest_run_from_all.py::test_factorial[math:factorial] XPASS ============================ pytest_nodev: 1 passed ============================ test_pytest_run_from_all.py::test_factorial[math:factorial] PASSED ================ 1 xpassed, 330 pytest-warnings in 4.27 seconds ================ ----------------------------- Captured stderr call ----------------------------- nomatch: '*test_factorial*math:factorial*XPASS' and: '============================= test session starts ==============================' and: 'platform linux -- Python 3.7.1, pytest-2.9.2, py-1.4.31, pluggy-0.3.1 -- /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/bin/python' and: 'cachedir: .cache' and: 'rootdir: /tmp/pytest-of-travis/pytest-38/testdir/test_pytest_run_from_all0, inifile: ' and: 'plugins: timeout-1.0.0, nodev-1.0.1' and: 'collecting ... collected 1 items' and: '' fnmatch: '*test_factorial*math:factorial*XPASS' with: 'test_pytest_run_from_all.py::test_factorial[math:factorial] XPASS' nomatch: '*test_factorial*pip.exceptions:*xfail' and: '' and: '============================ pytest_nodev: 1 passed ============================' and: '' and: 'test_pytest_run_from_all.py::test_factorial[math:factorial] PASSED' and: '' and: '================ 1 xpassed, 330 pytest-warnings in 4.27 seconds ================' and: '' ==== 3 failed, 19 passed, 2 skipped, 1972 pytest-warnings in 18.33 seconds ===== ERROR: InvocationError for command /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/.tox/py37/bin/py.test --timeout=0 specs tests (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py37: commands failed write json report at: /tmp/tmpc5u3en0o/pytest-nodev-1.0.1/result.json Time: 55.1 seconds