Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 658410 Details for
Bug 740400
dev-python/pytest-salt: breaks dev-python/ordered-set-4.0.1: [TEST] 'DoctestItem' object has no attribute 'fixturenames'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
file_740400.txt (text/plain), 248.38 KB, created by
Sam James
on 2020-09-04 18:20:54 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Sam James
Created:
2020-09-04 18:20:54 UTC
Size:
248.38 KB
patch
obsolete
> * Package: dev-python/ordered-set-4.0.1 > * Repository: gentoo > * Maintainer: sci@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking ordered-set-4.0.1.tar.gz to /var/tmp/portage/dev-python/ordered-set-4.0.1/work >>>> Source unpacked in /var/tmp/portage/dev-python/ordered-set-4.0.1/work >>>> Preparing source in /var/tmp/portage/dev-python/ordered-set-4.0.1/work/ordered-set-4.0.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/ordered-set-4.0.1/work/ordered-set-4.0.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/ordered-set-4.0.1/work/ordered-set-4.0.1 ... > * python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 9 >running build >running build_py >copying ordered_set.py -> /var/tmp/portage/dev-python/ordered-set-4.0.1/work/ordered-set-4.0.1-python3_7/lib >running egg_info >writing ordered_set.egg-info/PKG-INFO >writing dependency_links to ordered_set.egg-info/dependency_links.txt >writing top-level names to ordered_set.egg-info/top_level.txt >reading manifest file 'ordered_set.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >writing manifest file 'ordered_set.egg-info/SOURCES.txt' >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/ordered-set-4.0.1 > * python3_7: running distutils-r1_run_phase python_test >======================================================================================= test session starts ======================================================================================== >platform linux -- Python 3.7.8, pytest-5.4.3, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3.7 >cachedir: .pytest_cache >tempdir: /var/tmp/portage/dev-python/ordered-set-4.0.1/temp/ordered-set-4.0.1 >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/ordered-set-4.0.1/work/ordered-set-4.0.1/.hypothesis/examples') >rootdir: /var/tmp/portage/dev-python/ordered-set-4.0.1/work/ordered-set-4.0.1, inifile: pytest.ini >plugins: tempdir-2019.10.12, salt-2020.1.27, hypothesis-5.21.0, mock-3.2.0, asyncio-0.14.0, helpers-namespace-2019.1.8 >collecting ... collected 53 items > >test.py::test_pickle PASSED [ 1%] >test.py::test_empty_pickle PASSED [ 3%] >test.py::test_order PASSED [ 5%] >test.py::test_binary_operations PASSED [ 7%] >test.py::test_indexing PASSED [ 9%] >test.py::test_fancy_index_class PASSED [ 11%] >test.py::test_pandas_compat PASSED [ 13%] >test.py::test_tuples PASSED [ 15%] >test.py::test_remove PASSED [ 16%] >test.py::test_remove_error PASSED [ 18%] >test.py::test_clear PASSED [ 20%] >test.py::test_update PASSED [ 22%] >test.py::test_pop PASSED [ 24%] >test.py::test_getitem_type_error PASSED [ 26%] >test.py::test_update_value_error PASSED [ 28%] >test.py::test_empty_repr PASSED [ 30%] >test.py::test_eq_wrong_type PASSED [ 32%] >test.py::test_ordered_equality PASSED [ 33%] >test.py::test_ordered_inequality PASSED [ 35%] >test.py::test_comparisons PASSED [ 37%] >test.py::test_unordered_equality PASSED [ 39%] >test.py::test_unordered_inequality PASSED [ 41%] >test.py::test_operator_consistency_isect PASSED [ 43%] >test.py::test_operator_consistency_difference PASSED [ 45%] >test.py::test_operator_consistency_xor PASSED [ 47%] >test.py::test_operator_consistency_union PASSED [ 49%] >test.py::test_operator_consistency_subset PASSED [ 50%] >test.py::test_operator_consistency_superset PASSED [ 52%] >test.py::test_operator_consistency_disjoint PASSED [ 54%] >test.py::test_bitwise_and_consistency PASSED [ 56%] >ordered_set.py::ordered_set.OrderedSet ERROR [ 58%] >ordered_set.py::ordered_set.OrderedSet.__contains__ ERROR [ 60%] >ordered_set.py::ordered_set.OrderedSet.__eq__ ERROR [ 62%] >ordered_set.py::ordered_set.OrderedSet.__getitem__ ERROR [ 64%] >ordered_set.py::ordered_set.OrderedSet.__iter__ ERROR [ 66%] >ordered_set.py::ordered_set.OrderedSet.__len__ ERROR [ 67%] >ordered_set.py::ordered_set.OrderedSet.__reversed__ ERROR [ 69%] >ordered_set.py::ordered_set.OrderedSet.add ERROR [ 71%] >ordered_set.py::ordered_set.OrderedSet.copy ERROR [ 73%] >ordered_set.py::ordered_set.OrderedSet.difference ERROR [ 75%] >ordered_set.py::ordered_set.OrderedSet.difference_update ERROR [ 77%] >ordered_set.py::ordered_set.OrderedSet.discard ERROR [ 79%] >ordered_set.py::ordered_set.OrderedSet.index ERROR [ 81%] >ordered_set.py::ordered_set.OrderedSet.intersection ERROR [ 83%] >ordered_set.py::ordered_set.OrderedSet.intersection_update ERROR [ 84%] >ordered_set.py::ordered_set.OrderedSet.issubset ERROR [ 86%] >ordered_set.py::ordered_set.OrderedSet.issuperset ERROR [ 88%] >ordered_set.py::ordered_set.OrderedSet.pop ERROR [ 90%] >ordered_set.py::ordered_set.OrderedSet.symmetric_difference ERROR [ 92%] >ordered_set.py::ordered_set.OrderedSet.symmetric_difference_update ERROR [ 94%] >ordered_set.py::ordered_set.OrderedSet.union ERROR [ 96%] >ordered_set.py::ordered_set.OrderedSet.update ERROR [ 98%] >README.md::README.md ERROR [100%] > >============================================================================================== ERRORS ============================================================================================== >________________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet ________________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7972a7680>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe7974e6b90> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >_________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.__contains__ __________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973440e0>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__contains__>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__contains__>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__contains__>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__contains__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe7973bd290> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__contains__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.__contains__> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >____________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.__eq__ _____________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7974b4b90>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__eq__>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__eq__>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__eq__>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__eq__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe79731ec50> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__eq__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.__eq__> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >__________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.__getitem__ __________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973dc830>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__getitem__>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__getitem__>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__getitem__>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__getitem__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797443110> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__getitem__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.__getitem__> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >___________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.__iter__ ____________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973dca70>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__iter__>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__iter__>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__iter__>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__iter__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797284650> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__iter__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.__iter__> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >____________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.__len__ ____________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7974829e0>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__len__>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__len__>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__len__>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__len__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe7973a09d0> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__len__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.__len__> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >_________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.__reversed__ __________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe797482a70>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__reversed__>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__reversed__>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__reversed__>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__reversed__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe7973bd090> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.__reversed__>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.__reversed__> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >______________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.add ______________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7972a7680>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.add>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.add>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.add>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.add>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797350f50> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.add>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.add> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >_____________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.copy ______________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe797482cb0>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.copy>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.copy>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.copy>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.copy>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe79748b490> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.copy>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.copy> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >__________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.difference ___________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973dc830>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe79734c550> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.difference> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >_______________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.difference_update _______________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe797389ef0>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference_update>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference_update>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference_update>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference_update>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe79748bc10> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.difference_update>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.difference_update> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >____________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.discard ____________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe797389d40>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.discard>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.discard>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.discard>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.discard>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797331610> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.discard>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.discard> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >_____________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.index _____________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973b6b00>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.index>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.index>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.index>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.index>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe79748b750> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.index>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.index> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >_________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.intersection __________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973dc830>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797331850> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.intersection> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >______________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.intersection_update ______________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7972a7680>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection_update>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection_update>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection_update>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection_update>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe79748bcd0> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.intersection_update>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.intersection_update> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >___________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.issubset ____________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973c1a70>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issubset>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issubset>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issubset>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issubset>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797360f50> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issubset>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.issubset> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >__________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.issuperset ___________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973c1f80>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issuperset>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issuperset>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issuperset>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issuperset>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797463c10> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.issuperset>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.issuperset> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >______________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.pop ______________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973c1c20>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.pop>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.pop>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.pop>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.pop>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797396650> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.pop>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.pop> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >_____________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.symmetric_difference ______________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973ba950>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797594f10> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.symmetric_difference> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >__________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.symmetric_difference_update __________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973c1f80>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference_update>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference_update>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference_update>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference_update>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe7972e8750> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.symmetric_difference_update>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.symmetric_difference_update> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >_____________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.union _____________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973ba290>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.union>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.union>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.union>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.union>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe797331ad0> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.union>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.union> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >____________________________________________________________________ ERROR at setup of [doctest] ordered_set.OrderedSet.update _____________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe7973bacb0>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem ordered_set.OrderedSet.update>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.update>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem ordered_set.OrderedSet.update>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.update>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe7972e8050> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem ordered_set.OrderedSet.update>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem ordered_set.OrderedSet.update> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >______________________________________________________________________________ ERROR at setup of [doctest] README.md _______________________________________________________________________________ > >cls = <class '_pytest.runner.CallInfo'>, func = <function call_runtest_hook.<locals>.<lambda> at 0x7fe79744cb00>, when = 'setup' >reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>) > > @classmethod > def from_call(cls, func, when, reraise=None) -> "CallInfo": > #: context of invocation: one of "setup", "call", > #: "teardown", "memocollect" > start = time() > excinfo = None > try: >> result = func() > >/usr/lib/python3.7/site-packages/_pytest/runner.py:244: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >> lambda: ihook(item=item, **kwds), when=when, reraise=reraise > ) > >/usr/lib/python3.7/site-packages/_pytest/runner.py:217: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_HookCaller 'pytest_runtest_setup'>, args = (), kwargs = {'item': <DoctestItem README.md>}, notincall = set() > > def __call__(self, *args, **kwargs): > if args: > raise TypeError("hook calling supports only keyword arguments") > assert not self.is_historic() > if self.spec and self.spec.argnames: > notincall = ( > set(self.spec.argnames) - set(["__multicall__"]) - set(kwargs.keys()) > ) > if notincall: > warnings.warn( > "Argument(s) {} which are declared in the hookspec " > "can not be found in this hook call".format(tuple(notincall)), > stacklevel=2, > ) >> return self._hookexec(self, self.get_hookimpls(), kwargs) > >/usr/lib/python3.7/site-packages/pluggy/hooks.py:286: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <_pytest.config.PytestPluginManager object at 0x7fe799148650>, hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem README.md>} > > def _hookexec(self, hook, methods, kwargs): > # called from all hookcaller instances. > # enable_tracing will set its own wrapping function at self._inner_hookexec >> return self._inner_hookexec(hook, methods, kwargs) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:93: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook = <_HookCaller 'pytest_runtest_setup'> >methods = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >kwargs = {'item': <DoctestItem README.md>} > > self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( > methods, > kwargs, >> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, > ) > >/usr/lib/python3.7/site-packages/pluggy/manager.py:87: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem README.md>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: > res = hook_impl.function(*args) > if res is not None: > results.append(res) > if firstresult: # halt further impl calls > break > except BaseException: > excinfo = sys.exc_info() > finally: > if firstresult: # first result hooks return a single value > outcome = _Result(results[0] if results else None, excinfo) > else: > outcome = _Result(results, excinfo) > > # run all wrapper post-yield blocks > for gen in reversed(teardowns): > try: > gen.send(outcome) > _raise_wrapfail(gen, "has second yield") > except StopIteration: > pass > >> return outcome.get_result() > >/usr/lib/python3.7/site-packages/pluggy/callers.py:208: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pluggy.callers._Result object at 0x7fe79741b310> > > def get_result(self): > """Get the result(s) for this hook call. > > If the hook was marked as a ``firstresult`` only a single value > will be returned otherwise a list of results. > """ > __tracebackhide__ = True > if self._excinfo is None: > return self._result > else: > ex = self._excinfo > if _py3: >> raise ex[1].with_traceback(ex[2]) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:80: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >hook_impls = [<HookImpl plugin_name='nose', plugin=<module '_pytest.nose' from '/usr/lib/python3.7/site-packages/_pytest/nose.py'>>...pper name='/dev/null' mode='r' encoding='UTF-8'>> _state='suspended' _in_suspended=False> _capture_fixture=None>>, ...] >caller_kwargs = {'item': <DoctestItem README.md>}, firstresult = False > > def _multicall(hook_impls, caller_kwargs, firstresult=False): > """Execute a call into multiple python functions/methods and return the > result(s). > > ``caller_kwargs`` comes from _HookCaller.__call__(). > """ > __tracebackhide__ = True > results = [] > excinfo = None > try: # run impl and wrapper setup functions in a loop > teardowns = [] > try: > for hook_impl in reversed(hook_impls): > try: > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > except KeyError: > for argname in hook_impl.argnames: > if argname not in caller_kwargs: > raise HookCallError( > "hook call must provide argument %r" % (argname,) > ) > > if hook_impl.hookwrapper: > try: > gen = hook_impl.function(*args) > next(gen) # first yield > teardowns.append(gen) > except StopIteration: > _raise_wrapfail(gen, "did not yield") > else: >> res = hook_impl.function(*args) > >/usr/lib/python3.7/site-packages/pluggy/callers.py:187: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >item = <DoctestItem README.md> > > @pytest.hookimpl(tryfirst=True) > def pytest_runtest_setup(item): > ''' > Fixtures injection based on markers > ''' > for fixture in ('salt_master', 'salt_minion', 'salt_call', 'salt', 'salt_key', 'salt_run'): >> if fixture in item.fixturenames: >E AttributeError: 'DoctestItem' object has no attribute 'fixturenames' > >/usr/lib/python3.7/site-packages/pytestsalt/fixtures/daemons.py:1661: AttributeError >===================================================================================== short test summary info ====================================================================================== >ERROR ordered_set.py::ordered_set.OrderedSet - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.__contains__ - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.__eq__ - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.__getitem__ - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.__iter__ - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.__len__ - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.__reversed__ - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.add - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.copy - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.difference - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.difference_update - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.discard - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.index - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.intersection - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.intersection_update - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.issubset - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.issuperset - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.pop - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.symmetric_difference - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.symmetric_difference_update - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.union - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR ordered_set.py::ordered_set.OrderedSet.update - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >ERROR README.md::README.md - AttributeError: 'DoctestItem' object has no attribute 'fixturenames' >================================================================================== 30 passed, 23 errors in 1.52s =================================================================================== > * ERROR: dev-python/ordered-set-4.0.1::gentoo failed (test phase): > * Tests fail with python3.7 > * > * Call stack: > * ebuild.sh, line 125: Called src_test > * environment, line 2941: Called distutils-r1_src_test > * environment, line 1271: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 451: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2551: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2054: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2052: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 844: Called distutils-r1_run_phase 'python_test' > * environment, line 1208: Called python_test > * environment, line 2901: Called die > * The specific snippet of code: > * pytest -vv || die "Tests fail with ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/ordered-set-4.0.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/ordered-set-4.0.1::gentoo'`. > * The complete build log is located at '/var/tmp/portage/dev-python/ordered-set-4.0.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/ordered-set-4.0.1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/ordered-set-4.0.1/work/ordered-set-4.0.1' > * S: '/var/tmp/portage/dev-python/ordered-set-4.0.1/work/ordered-set-4.0.1' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 740400
: 658410