You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run it into my docker container and I have just part of tests passed. Another part is skipped and I have an error without ruff output:
web-1 | [gw7] [ 31%] PASSED accounting/__init__.py::ruff::format web-1 |
web-1 | INTERNALERROR> def worker_internal_error(
web-1 | INTERNALERROR> self, node: WorkerController, formatted_error: str
web-1 | INTERNALERROR> ) -> None:
web-1 | INTERNALERROR> """
web-1 | INTERNALERROR> pytest_internalerror() was called on the worker.
web-1 | INTERNALERROR>
web-1 | INTERNALERROR> pytest_internalerror() arguments are an excinfo and an excrepr, which can't
web-1 | INTERNALERROR> be serialized, so we go with a poor man's solution of raising an exception
web-1 | INTERNALERROR> here ourselves using the formatted message.
web-1 | INTERNALERROR> """
web-1 | INTERNALERROR> self._active_nodes.remove(node)
web-1 | INTERNALERROR> try:
web-1 | INTERNALERROR> > assert False, formatted_error
web-1 | INTERNALERROR> E AssertionError: Traceback (most recent call last):
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/_pytest/main.py", line 271, in wrap_session
web-1 | INTERNALERROR> E session.exitstatus = doit(config, session) or 0
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/_pytest/main.py", line 325, in _main
web-1 | INTERNALERROR> E config.hook.pytest_runtestloop(session=session)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__
web-1 | INTERNALERROR> E return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
web-1 | INTERNALERROR> E return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall
web-1 | INTERNALERROR> E return outcome.get_result()
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result
web-1 | INTERNALERROR> E raise exc.with_traceback(exc.__traceback__)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall
web-1 | INTERNALERROR> E res = hook_impl.function(*args)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/xdist/remote.py", line 174, in pytest_runtestloop
web-1 | INTERNALERROR> E self.run_one_test()
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/xdist/remote.py", line 195, in run_one_test
web-1 | INTERNALERROR> E self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__
web-1 | INTERNALERROR> E return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
web-1 | INTERNALERROR> E return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall
web-1 | INTERNALERROR> E return outcome.get_result()
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result
web-1 | INTERNALERROR> E raise exc.with_traceback(exc.__traceback__)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall
web-1 | INTERNALERROR> E res = hook_impl.function(*args)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/_pytest/runner.py", line 114, in pytest_runtest_protocol
web-1 | INTERNALERROR> E runtestprotocol(item, nextitem=nextitem)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/_pytest/runner.py", line 133, in runtestprotocol
web-1 | INTERNALERROR> E reports.append(call_and_report(item, "call", log))
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/_pytest/runner.py", line 224, in call_and_report
web-1 | INTERNALERROR> E report: TestReport = hook.pytest_runtest_makereport(item=item, call=call)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__
web-1 | INTERNALERROR> E return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
web-1 | INTERNALERROR> E return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pluggy/_callers.py", line 156, in _multicall
web-1 | INTERNALERROR> E teardown[0].send(outcome)
web-1 | INTERNALERROR> E File "/usr/local/lib/python3.10/site-packages/pytest_docker_tools/plugin.py", line 31, in pytest_runtest_makereport
web-1 | INTERNALERROR> E if "request" not in item.funcargs:
web-1 | INTERNALERROR> E AttributeError: 'RuffFormatItem' object has no attribute 'funcargs'
web-1 | INTERNALERROR> E assert False
web-1 | INTERNALERROR>
web-1 | INTERNALERROR> /usr/local/lib/python3.10/site-packages/xdist/dsession.py:232: AssertionError
web-1 | INTERNALERROR> Traceback (most recent call last):
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/_pytest/main.py", line 271, in wrap_session
web-1 | INTERNALERROR> session.exitstatus = doit(config, session) or 0
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/_pytest/main.py", line 325, in _main
web-1 | INTERNALERROR> config.hook.pytest_runtestloop(session=session)
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__
web-1 | INTERNALERROR> return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec
web-1 | INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall
web-1 | INTERNALERROR> return outcome.get_result()
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result
web-1 | INTERNALERROR> raise exc.with_traceback(exc.__traceback__)
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall
web-1 | INTERNALERROR> res = hook_impl.function(*args)
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/xdist/dsession.py", line 138, in pytest_runtestloop
web-1 | INTERNALERROR> self.loop_once()
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/xdist/dsession.py", line 163, in loop_once
web-1 | INTERNALERROR> call(**kwargs)
web-1 | INTERNALERROR> File "/usr/local/lib/python3.10/site-packages/xdist/dsession.py", line 217, in worker_workerfinished
web-1 | INTERNALERROR> assert not crashitem, (crashitem, node)
web-1 | INTERNALERROR> AssertionError: ('conftest.py::ruff::format', <WorkerController gw3>)
web-1 | INTERNALERROR> assert not 'conftest.py::ruff::format'
web-1 |
web-1 | =========== 89 passed, 54 skipped, 199 warnings in 69.76s (0:01:09) ============
web-1 | web-1 | web-1 | web-1 |
I run it into my docker container and I have just part of tests passed. Another part is skipped and I have an error without ruff output:
This is my pytest-related requirements
pytest.ini
Probably it is related to #28. I run on Windows too, but in docker-compose.
When I run without xdist just, it's not much better.
The text was updated successfully, but these errors were encountered: