============================= test session starts ============================== platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-0.13.1 rootdir: /home/rebits/Wazuh/wazuh-qa/tests, configfile: pytest.ini plugins: html-3.1.1, testinfra-5.0.0, json-report-1.5.0, metadata-2.0.1, docgen-1.3.0 collected 56 items INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/_pytest/main.py", line 268, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/_pytest/main.py", line 321, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/manager.py", line 84, in INTERNALERROR> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/_pytest/main.py", line 332, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/_pytest/main.py", line 660, in perform_collect INTERNALERROR> hook.pytest_collection_modifyitems( INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/manager.py", line 84, in INTERNALERROR> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/home/rebits/.local/lib/python3.10/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/home/rebits/Wazuh/wazuh-qa/tests/performance/test_api/conftest.py", line 176, in pytest_collection_modifyitems INTERNALERROR> item.user_properties.extend([(key, value) for key, value in item.callspec.params['test_case'].items()]) INTERNALERROR> AttributeError: 'Function' object has no attribute 'callspec' ========================= 56 tests collected in 0.60s ==========================