<86>Feb 10 04:36:44 userdel[23683]: delete user 'rooter' <86>Feb 10 04:36:44 userdel[23683]: removed group 'rooter' owned by 'rooter' <86>Feb 10 04:36:44 userdel[23683]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 10 04:36:44 groupadd[23720]: group added to /etc/group: name=rooter, GID=1820 <86>Feb 10 04:36:44 groupadd[23720]: group added to /etc/gshadow: name=rooter <86>Feb 10 04:36:44 groupadd[23720]: new group: name=rooter, GID=1820 <86>Feb 10 04:36:44 useradd[23743]: new user: name=rooter, UID=1820, GID=1820, home=/root, shell=/bin/bash, from=none <86>Feb 10 04:36:44 userdel[23787]: delete user 'builder' <86>Feb 10 04:36:44 userdel[23787]: removed group 'builder' owned by 'builder' <86>Feb 10 04:36:44 userdel[23787]: removed shadow group 'builder' owned by 'builder' <86>Feb 10 04:36:44 groupadd[23825]: group added to /etc/group: name=builder, GID=1821 <86>Feb 10 04:36:44 groupadd[23825]: group added to /etc/gshadow: name=builder <86>Feb 10 04:36:44 groupadd[23825]: new group: name=builder, GID=1821 <86>Feb 10 04:36:44 useradd[23863]: new user: name=builder, UID=1821, GID=1821, home=/usr/src, shell=/bin/bash, from=none <13>Feb 10 04:36:47 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Feb 10 04:36:47 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Feb 10 04:36:47 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Feb 10 04:36:47 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Feb 10 04:36:47 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Feb 10 04:36:47 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Feb 10 04:36:47 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Feb 10 04:36:47 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Feb 10 04:36:47 rpmi: ca-certificates-2023.12.20-alt1 sisyphus+336902.300.1.1 1703105726 installed <13>Feb 10 04:36:47 rpmi: ca-trust-0.1.5-alt1 sisyphus+340049.100.1.1 1707326464 installed <13>Feb 10 04:36:47 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Feb 10 04:36:47 rpmi: libcrypto3-3.1.5-alt1 sisyphus+339669.100.1.1 1706908706 installed <13>Feb 10 04:36:47 rpmi: libssl3-3.1.5-alt1 sisyphus+339669.100.1.1 1706908706 installed <13>Feb 10 04:36:47 rpmi: python3-3.12.1-alt2 sisyphus+339293.200.1.1 1706538582 installed <13>Feb 10 04:36:47 rpmi: python3-base-3.12.1-alt2 sisyphus+339293.200.1.1 1706538582 installed <13>Feb 10 04:36:47 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Feb 10 04:36:47 rpmi: tests-for-installed-python3-pkgs-0.1.24-alt2 sisyphus+331059.100.4.1 1696870033 installed <13>Feb 10 04:36:47 rpmi: rpm-build-python3-0.1.24-alt2 sisyphus+331059.100.4.1 1696870033 installed WARNING: %python3_build_debug is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead <13>Feb 10 04:36:49 rpmi: python3-module-pluggy-1.4.0-alt1 sisyphus+339306.100.2.1 1706605903 installed <13>Feb 10 04:36:49 rpmi: python3-module-packaging-23.2-alt1 sisyphus+330805.100.2.1 1696324248 installed <13>Feb 10 04:36:49 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Feb 10 04:36:49 rpmi: python3-module-pytest-8.0.0-alt1 sisyphus+339306.200.2.1 1706606050 installed WARNING: %python3_build_debug is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-glob2-0.7-alt2.nosrc.rpm (w1.gzdio) <13>Feb 10 04:36:50 rpmi: python3-module-pkg_resources-1:69.0.3-alt3 sisyphus+340206.100.1.2 1707492267 installed <13>Feb 10 04:36:50 rpmi: libpython3-3.12.1-alt2 sisyphus+339293.200.1.1 1706538582 installed <13>Feb 10 04:36:50 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693213017 installed <13>Feb 10 04:36:50 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693213017 installed <13>Feb 10 04:36:51 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+328055.40.2.1 1693213017 installed <13>Feb 10 04:36:51 rpmi: python3-dev-3.12.1-alt2 sisyphus+339293.200.1.1 1706538582 installed <13>Feb 10 04:36:52 rpmi: python3-module-setuptools-1:69.0.3-alt3 sisyphus+340206.100.1.2 1707492267 installed WARNING: %python3_build_debug is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead Installing python3-module-glob2-0.7-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.64909 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-glob2-0.7 + echo 'Source #0 (python3-module-glob2-0.7.tar):' Source #0 (python3-module-glob2-0.7.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-glob2-0.7.tar + cd python3-module-glob2-0.7 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.64909 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-glob2-0.7 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py creating build creating build/lib creating build/lib/glob2 copying glob2/impl.py -> build/lib/glob2 copying glob2/fnmatch.py -> build/lib/glob2 copying glob2/compat.py -> build/lib/glob2 copying glob2/__init__.py -> build/lib/glob2 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.64909 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-glob2-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-glob2-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-glob2-0.7 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-glob2-buildroot --force running install /usr/lib/python3/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /usr/src/tmp/python3-module-glob2-buildroot creating /usr/src/tmp/python3-module-glob2-buildroot/usr creating /usr/src/tmp/python3-module-glob2-buildroot/usr/lib creating /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2 copying build/lib/glob2/__init__.py -> /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2 copying build/lib/glob2/compat.py -> /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2 copying build/lib/glob2/fnmatch.py -> /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2 copying build/lib/glob2/impl.py -> /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2 byte-compiling /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/__init__.py to __init__.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/compat.py to compat.cpython-312.pyc byte-compiling /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/fnmatch.py to fnmatch.cpython-312.pyc /usr/lib/python3/site-packages/glob2/fnmatch.py:141: SyntaxWarning: invalid escape sequence '\Z' byte-compiling /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/impl.py to impl.cpython-312.pyc running install_egg_info running egg_info writing glob2.egg-info/PKG-INFO writing dependency_links to glob2.egg-info/dependency_links.txt writing top-level names to glob2.egg-info/top_level.txt reading manifest file 'glob2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'glob2.egg-info/SOURCES.txt' Copying glob2.egg-info to /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2-0.6-py3.12.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-glob2-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-glob2-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-glob2-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-glob2-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-glob2-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-glob2-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/python3-module-glob2-buildroot using /usr/bin/python3 /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/fnmatch.py:141: SyntaxWarning: invalid escape sequence '\Z' return '(?ms)' + res + '\Z' unlink /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/__pycache__/__init__.cpython-312.pyc unlink /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/__pycache__/compat.cpython-312.pyc unlink /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/__pycache__/fnmatch.cpython-312.pyc unlink /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/__pycache__/impl.cpython-312.pyc compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/__init__.py compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/compat.py compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/fnmatch.py compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/impl.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-glob2-buildroot using /usr/bin/python3 -O /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/fnmatch.py:141: SyntaxWarning: invalid escape sequence '\Z' return '(?ms)' + res + '\Z' compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/__init__.py compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/compat.py compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/fnmatch.py compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/impl.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-glob2-buildroot using /usr/bin/python3 -OO /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/fnmatch.py:141: SyntaxWarning: invalid escape sequence '\Z' return '(?ms)' + res + '\Z' compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/__init__.py compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/compat.py compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/fnmatch.py compile /usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages/glob2/impl.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/glob2/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/glob2/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/glob2/__pycache__/__init__.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/glob2/__pycache__/__init__.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/glob2/__pycache__/compat.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/glob2/__pycache__/compat.cpython-312.pyc' './usr/lib/python3/site-packages/glob2/__pycache__/fnmatch.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/glob2/__pycache__/fnmatch.cpython-312.pyc' './usr/lib/python3/site-packages/glob2/__pycache__/impl.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/glob2/__pycache__/impl.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.40476 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-glob2-0.7 + export PYTHONPATH=/usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages + PYTHONPATH=/usr/src/tmp/python3-module-glob2-buildroot/usr/lib/python3/site-packages + py.test-3 test.py ============================= test session starts ============================== platform linux -- Python 3.12.1, pytest-8.0.0, pluggy-1.4.0 rootdir: /usr/src/RPM/BUILD/python3-module-glob2-0.7 collected 13 items test.py ...EEEEEEEEEE [100%] ==================================== ERRORS ==================================== _____________________ ERROR at setup of TestPatterns.test ______________________ cls = func = . at 0xf7041bb8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestPatterns::test is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning ________________ ERROR at setup of TestRecursive.test_recursive ________________ cls = func = . at 0xf70a36b8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestRecursive::test_recursive is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning _________ ERROR at setup of TestRecursive.test_exclude_root_directory __________ cls = func = . at 0xf6e5ec58> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestRecursive::test_exclude_root_directory is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning ____________ ERROR at setup of TestRecursive.test_only_directories _____________ cls = func = . at 0xf6ecac58> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestRecursive::test_only_directories is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning _______________ ERROR at setup of TestRecursive.test_parent_dir ________________ cls = func = . at 0xf7069d48> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestRecursive::test_parent_dir is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning _____________ ERROR at setup of TestRecursive.test_fixed_basename ______________ cls = func = . at 0xf6d458e8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestRecursive::test_fixed_basename is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning ________________ ERROR at setup of TestRecursive.test_all_files ________________ cls = func = . at 0xf7069d48> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestRecursive::test_all_files is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning _______ ERROR at setup of TestRecursive.test_root_directory_not_returned _______ cls = func = . at 0xf6d45668> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestRecursive::test_root_directory_not_returned is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning ________________ ERROR at setup of TestRecursive.test_non_glob _________________ cls = func = . at 0xf70a3668> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestRecursive::test_non_glob is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning _______________ ERROR at setup of TestIncludeHidden.test_hidden ________________ cls = func = . at 0xf70a3bb8> when = 'setup' reraise = (, ) @classmethod def from_call( cls, func: Callable[[], TResult], when: Literal["collect", "setup", "call", "teardown"], reraise: Optional[ Union[Type[BaseException], Tuple[Type[BaseException], ...]] ] = None, ) -> "CallInfo[TResult]": """Call func, wrapping the result in a CallInfo. :param func: The function to call. Called without arguments. :param when: The phase in which the function is called. :param reraise: Exception or exceptions that shall propagate if raised by the function, instead of being wrapped in the CallInfo. """ excinfo = None start = timing.time() precise_start = timing.perf_counter() try: > result: Optional[TResult] = func() /usr/lib/python3/site-packages/_pytest/runner.py:345: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/site-packages/_pytest/runner.py:266: in lambda: ihook(item=item, **kwds), when=when, reraise=reraise /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/unraisableexception.py:85: in pytest_runtest_setup yield from unraisable_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/unraisableexception.py:65: in unraisable_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/logging.py:833: in pytest_runtest_setup yield from self._runtest_for(item, "setup") /usr/lib/python3/site-packages/_pytest/logging.py:822: in _runtest_for yield /usr/lib/python3/site-packages/_pytest/capture.py:877: in pytest_runtest_setup return (yield) /usr/lib/python3/site-packages/_pytest/threadexception.py:82: in pytest_runtest_setup yield from thread_exception_runtest_hook() /usr/lib/python3/site-packages/_pytest/threadexception.py:63: in thread_exception_runtest_hook yield /usr/lib/python3/site-packages/_pytest/runner.py:161: in pytest_runtest_setup item.session._setupstate.setup(item) /usr/lib/python3/site-packages/_pytest/runner.py:517: in setup raise exc /usr/lib/python3/site-packages/_pytest/runner.py:514: in setup col.setup() /usr/lib/python3/site-packages/_pytest/python.py:1839: in setup self._request._fillfixtures() /usr/lib/python3/site-packages/_pytest/fixtures.py:693: in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:547: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/site-packages/_pytest/fixtures.py:566: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/lib/python3/site-packages/_pytest/fixtures.py:652: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/lib/python3/site-packages/_pytest/fixtures.py:1095: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/site-packages/pluggy/_hooks.py:501: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/site-packages/pluggy/_manager.py:119: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/site-packages/_pytest/fixtures.py:1149: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/site-packages/_pytest/fixtures.py:916: in call_fixture_func fixture_result = next(generator) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = request = > @fixtures.fixture( autouse=True, scope="function", # Use a unique name to speed up lookup. name=f"_xunit_setup_method_fixture_{self.obj.__qualname__}", ) def xunit_setup_method_fixture(self, request) -> Generator[None, None, None]: method = request.function if setup_method is not None: func = getattr(self, setup_name) _call_with_optional_argument(func, method) if emit_nose_setup_warning: > warnings.warn( NOSE_SUPPORT_METHOD.format( nodeid=request.node.nodeid, method="setup" ), stacklevel=2, ) E pytest.PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. E test.py::TestIncludeHidden::test_hidden is using nose-specific method: `setup(self)` E To remove this warning, rename it to `setup_method(self)` E See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose /usr/lib/python3/site-packages/_pytest/python.py:887: PytestRemovedIn8Warning =============================== warnings summary =============================== glob2/fnmatch.py:141 /usr/src/RPM/BUILD/python3-module-glob2-0.7/glob2/fnmatch.py:141: SyntaxWarning: invalid escape sequence '\Z' return '(?ms)' + res + '\Z' -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ ERROR test.py::TestPatterns::test - pytest.PytestRemovedIn8Warning: Support f... ERROR test.py::TestRecursive::test_recursive - pytest.PytestRemovedIn8Warning... ERROR test.py::TestRecursive::test_exclude_root_directory - pytest.PytestRemo... ERROR test.py::TestRecursive::test_only_directories - pytest.PytestRemovedIn8... ERROR test.py::TestRecursive::test_parent_dir - pytest.PytestRemovedIn8Warnin... ERROR test.py::TestRecursive::test_fixed_basename - pytest.PytestRemovedIn8Wa... ERROR test.py::TestRecursive::test_all_files - pytest.PytestRemovedIn8Warning... ERROR test.py::TestRecursive::test_root_directory_not_returned - pytest.Pytes... ERROR test.py::TestRecursive::test_non_glob - pytest.PytestRemovedIn8Warning:... ERROR test.py::TestIncludeHidden::test_hidden - pytest.PytestRemovedIn8Warnin... =================== 3 passed, 1 warning, 10 errors in 1.37s ==================== error: Bad exit status from /usr/src/tmp/rpm-tmp.40476 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.40476 (%check) Command exited with non-zero status 1 2.01user 0.41system 0:02.44elapsed 98%CPU (0avgtext+0avgdata 27504maxresident)k 0inputs+0outputs (0major+74028minor)pagefaults 0swaps hsh-rebuild: rebuild of `python3-module-glob2-0.7-alt2.src.rpm' failed. Command exited with non-zero status 1 3.56user 2.08system 0:12.83elapsed 44%CPU (0avgtext+0avgdata 125784maxresident)k 0inputs+0outputs (0major+331368minor)pagefaults 0swaps