INTERNALERROR> def worker_internal_error(self, node, formatted_error): INTERNALERROR> """ INTERNALERROR> pytest_internalerror() was called on the worker. INTERNALERROR> INTERNALERROR> pytest_internalerror() arguments are an excinfo and an excrepr, which can't INTERNALERROR> be serialized, so we go with a poor man's solution of raising an exception INTERNALERROR> here ourselves using the formatted message. INTERNALERROR> """ INTERNALERROR> self._active_nodes.remove(node) INTERNALERROR> try: INTERNALERROR> > assert False, formatted_error INTERNALERROR> E AssertionError: Traceback (most recent call last): INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/main.py", line 271, in wrap_session INTERNALERROR> E session.exitstatus = doit(config, session) or 0 INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/main.py", line 325, in _main INTERNALERROR> E config.hook.pytest_runtestloop(session=session) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_hooks.py", line 433, in __call__ INTERNALERROR> E return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_manager.py", line 112, in _hookexec INTERNALERROR> E return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_callers.py", line 155, in _multicall INTERNALERROR> E return outcome.get_result() INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_result.py", line 108, in get_result INTERNALERROR> E raise exc.with_traceback(exc.__traceback__) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_callers.py", line 80, in _multicall INTERNALERROR> E res = hook_impl.function(*args) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/xdist/remote.py", line 157, in pytest_runtestloop INTERNALERROR> E self.run_one_test() INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/xdist/remote.py", line 174, in run_one_test INTERNALERROR> E self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_hooks.py", line 433, in __call__ INTERNALERROR> E return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_manager.py", line 112, in _hookexec INTERNALERROR> E return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_callers.py", line 155, in _multicall INTERNALERROR> E return outcome.get_result() INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_result.py", line 108, in get_result INTERNALERROR> E raise exc.with_traceback(exc.__traceback__) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_callers.py", line 80, in _multicall INTERNALERROR> E res = hook_impl.function(*args) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/runner.py", line 114, in pytest_runtest_protocol INTERNALERROR> E runtestprotocol(item, nextitem=nextitem) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/runner.py", line 133, in runtestprotocol INTERNALERROR> E reports.append(call_and_report(item, "call", log)) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/runner.py", line 226, in call_and_report INTERNALERROR> E hook.pytest_runtest_logreport(report=report) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_hooks.py", line 433, in __call__ INTERNALERROR> E return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_manager.py", line 112, in _hookexec INTERNALERROR> E return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_callers.py", line 116, in _multicall INTERNALERROR> E raise exception.with_traceback(exception.__traceback__) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_callers.py", line 80, in _multicall INTERNALERROR> E res = hook_impl.function(*args) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/xdist/remote.py", line 221, in pytest_runtest_logreport INTERNALERROR> E config=self.config, report=report INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_hooks.py", line 433, in __call__ INTERNALERROR> E return self._hookexec(self.name, self._hookimpls, kwargs, firstresult) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_manager.py", line 112, in _hookexec INTERNALERROR> E return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_callers.py", line 116, in _multicall INTERNALERROR> E raise exception.with_traceback(exception.__traceback__) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/pluggy/_callers.py", line 80, in _multicall INTERNALERROR> E res = hook_impl.function(*args) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/reports.py", line 448, in pytest_report_to_serializable INTERNALERROR> E data = report._to_json() INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/reports.py", line 213, in _to_json INTERNALERROR> E return _report_to_json(self) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/reports.py", line 529, in _report_to_json INTERNALERROR> E d["longrepr"] = serialize_exception_longrepr(report) INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/reports.py", line 507, in serialize_exception_longrepr INTERNALERROR> E "reprtraceback": serialize_repr_traceback(longrepr.reprtraceback), INTERNALERROR> E File "/var/lib/jenkins/workspace/Staging/Tests/deployment_extras/env/lib/python3.7/site-packages/_pytest/reports.py", line 487, in serialize_repr_traceback INTERNALERROR> E result = dataclasses.asdict(reprtraceback) INTERNALERROR> E File "/usr/local/lib/python3.7/dataclasses.py", line 1044, in asdict INTERNALERROR> E return _asdict_inner(obj, dict_factory) INTERNALERROR> E File "/usr/local/lib/python3.7/dataclasses.py", line 1051, in _asdict_inner INTERNALERROR> E value = _asdict_inner(getattr(obj, f.name), dict_factory) INTERNALERROR> E File "/usr/local/lib/python3.7/dataclasses.py", line 1051, in _asdict_inner INTERNALERROR> E value = _asdict_inner(getattr(obj, f.name), dict_factory) INTERNALERROR> E File "/usr/local/lib/python3.7/dataclasses.py", line 1079, in _asdict_inner INTERNALERROR> E return type(obj)(_asdict_inner(v, dict_factory) for v in obj) INTERNALERROR> E File "/usr/local/lib/python3.7/dataclasses.py", line 1079, in INTERNALERROR> E return type(obj)(_asdict_inner(v, dict_factory) for v in obj) INTERNALERROR> E File "/usr/local/lib/python3.7/dataclasses.py", line 1085, in _asdict_inner INTERNALERROR> E return copy.deepcopy(obj) INTERNALERROR> E File "/usr/local/lib/python3.7/copy.py", line 169, in deepcopy INTERNALERROR> E rv = reductor(4) INTERNALERROR> E TypeError: can't pickle traceback objects INTERNALERROR> E assert False INTERNALERROR> INTERNALERROR> env/lib/python3.7/site-packages/xdist/dsession.py:200: AssertionError