report3.html

Report generated on 21-Jul-2023 at 15:20:01 by pytest-html v3.1.1

Environment

Packages {"pluggy": "0.13.0", "pytest": "7.1.2"}
Platform Linux-5.19.0-45-generic-x86_64-with-glibc2.35
Plugins {"html": "3.1.1", "metadata": "2.0.4", "testinfra": "5.0.0"}
Python 3.10.6

Summary

12 tests ran in 944.63 seconds.

12 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py 0 12 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2023-07-21 13:20:01.731791 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[merged_created_on_start] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 85.25
No log output captured.
Passed 2023-07-21 13:20:01.732039 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[merged_updated_10_sec] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 50.75
No log output captured.
Passed 2023-07-21 13:20:01.732138 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_non_zero_file_default_folder_check_merged_created_starts] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 82.96
No log output captured.
Passed 2023-07-21 13:20:01.732722 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_zero_file_default_folder_check_merged_created_starts] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 87.51
------------------------------Captured stderr call------------------------------
2023-07-21 15:08:51,255 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:08:51,256 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:08:51,256 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:08:51,258 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty Process Process-3: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' Process Process-2: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') 2023-07-21 15:08:51,758 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:08:51,759 - wazuh_testing - DEBUG - Checking results...
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results...
Passed 2023-07-21 13:20:01.732829 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_non_zero_size_file_default_folder_check_merged_updated_10_sec0] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 57.68
No log output captured.
Passed 2023-07-21 13:20:01.732918 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_non_zero_size_file_TestGroup1_folder_check_merged_updated_manager_starts] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 90.89
No log output captured.
Passed 2023-07-21 13:20:01.733002 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_non_zero_size_file_TestGroup1_folder_check_merged_updated_10_sec] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 53.79
No log output captured.
Passed 2023-07-21 13:20:01.733086 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_non_zero_size_file_default_folder_check_merged_updated_10_sec1] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 55.10
No log output captured.
Passed 2023-07-21 13:20:01.733201 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_zero_size_file_TestGroup1_folder_check_merged_updated_manager_starts] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 85.93
------------------------------Captured stderr call------------------------------
2023-07-21 15:14:34,931 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:14:34,933 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:14:34,933 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:14:34,935 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFileInGroup20.txt' is empty Process Process-6: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' Process Process-5: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') 2023-07-21 15:14:35,434 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:14:35,436 - wazuh_testing - DEBUG - Checking results...
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results...
Passed 2023-07-21 13:20:01.733319 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_zero_size_file_TestGroup1_folder_check_merged_updated_10_sec] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 52.91
------------------------------Captured stderr call------------------------------
2023-07-21 15:15:27,876 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:15:27,878 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:15:27,878 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:15:27,880 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFileInGroup0.txt' is empty Process Process-9: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' Process Process-8: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') 2023-07-21 15:15:28,379 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:15:28,380 - wazuh_testing - DEBUG - Checking results...
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results...
Passed 2023-07-21 13:20:01.733543 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_serveral_zero_size_file_default_folder_check_merged_updated_manager_starts] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 120.63
------------------------------Captured stderr call------------------------------
2023-07-21 15:17:20,175 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:20,176 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:17:20,176 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:20,178 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty Process Process-11: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') Process Process-12: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:17:21,178 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:17:21,180 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:17:21,212 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:21,214 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:17:21,214 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:21,216 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty Process Process-14: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') Process Process-15: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:17:22,215 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:17:22,217 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:17:22,256 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:22,261 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:22,262 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:17:22,269 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty Process Process-17: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') Process Process-18: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:17:23,264 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:17:23,265 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:17:23,308 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:23,314 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:17:23,314 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:23,321 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty Process Process-21: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' Process Process-20: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') 2023-07-21 15:17:23,817 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:17:23,818 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:17:23,841 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:23,843 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:17:23,843 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:23,847 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty Process Process-24: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' Process Process-23: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') 2023-07-21 15:17:24,345 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:17:24,346 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:17:24,369 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:24,372 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:17:24,372 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:24,374 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty Process Process-27: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' Process Process-26: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') 2023-07-21 15:17:24,873 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:17:24,874 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:17:24,903 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:24,905 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:17:24,905 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:17:24,907 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty Process Process-29: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') Process Process-30: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:17:25,907 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:17:25,908 - wazuh_testing - DEBUG - Checking results...
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results...
Passed 2023-07-21 13:20:01.733825 test_cluster/test_correct_merged_file_generation/test_correct_merged_file_generation.py::test_correct_merged_file_generation[add_serveral_zero_size_file_TestGroup1_folder_check_merged_updated_manager_start] description: Checking correct merged file generation.. wazuh_min_version: 4.6.0. parameters:. - test_case:. type: list. brief: List of tests to be performed.. - environment_setting:. type: function. brief: Clear files, directories and logs, reset initial conditions in /var/ossec/share. (includes agent enrollment).. Also stops the manager if it is required.. assertions:. - check merged.mg in the selected folder and the created file.. - check if merged contains the correct information.. - check if log contains the proper information in case the added file has no data.. input_description: Different use cases are found in the test module and include parameters.. expected_output:. - merged.mg should be created and modified automatically considering the file/s and its/their information. 121.04
------------------------------Captured stderr call------------------------------
2023-07-21 15:19:18,357 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:18,359 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:19:18,359 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:18,361 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty Process Process-32: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') Process Process-33: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:19:19,361 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:19:19,362 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:19:19,401 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:19,406 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:19,407 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:19:19,414 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty Process Process-36: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:19:19,911 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:19:19,912 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:19:19,928 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:19,930 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:19:19,930 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:19,932 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty Process Process-38: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') Process Process-39: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:19:20,932 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:19:20,934 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:19:20,976 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:20,981 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:19:20,981 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:20,986 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty Process Process-41: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') Process Process-42: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:19:21,984 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:19:21,989 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:19:22,029 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:22,034 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:22,035 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:19:22,042 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty Process Process-45: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' Process Process-44: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') 2023-07-21 15:19:22,536 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:19:22,537 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:19:22,555 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:22,557 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:19:22,558 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:22,560 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty Process Process-47: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') Process Process-48: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:19:23,559 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:19:23,561 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:19:23,603 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:23,608 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:19:23,609 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/akim/Desktop/wazuh-qa/tests/system/test_cluster/test_correct_merged_file_generation/tmp/wazuh-master_ossec.log.tmp 2023-07-21 15:19:23,615 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty Process Process-50: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 960, in file_composer content = self.host_manager.get_file_content(host, path).split('\n') File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/system.py", line 139, in get_file_content return self.get_host(host).file(file_path).content_string File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 109, in __getattr__ obj = module_class.get_module(self) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/base.py", line 20, in get_module klass = cls.get_module_class(_host) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/file.py", line 195, in get_module_class if host.system_info.type == "linux": File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 141, in type return self.sysinfo["type"] File "/home/akim/.local/lib/python3.10/site-packages/testinfra/utils/__init__.py", line 30, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/modules/systeminfo.py", line 31, in sysinfo uname = self.run_expect([0, 1], 'uname -s') File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 82, in run_expect out = self.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ansible.py", line 48, in run return host.run(command) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/host.py", line 73, in run return self.backend.run(command, *args, **kwargs) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 35, in run return self.run_ssh(self.get_command(command, *args)) File "/home/akim/.local/lib/python3.10/site-packages/testinfra/backend/ssh.py", line 78, in run_ssh raise RuntimeError(out) RuntimeError: CommandResult(command=b'uname -s', exit_status=255, stdout=None, stderr=b'ssh: Could not resolve hostname wazuh-master: Temporary failure in name resolution\r\n') Process Process-51: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/home/akim/.local/lib/python3.10/site-packages/wazuh_testing/tools/monitoring.py", line 991, in _start self._queue.put({host: monitor.start(timeout=case['timeout'], KeyError: 'timeout' 2023-07-21 15:19:24,611 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:19:24,613 - wazuh_testing - DEBUG - Checking results...
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results... DEBUG wazuh_testing:monitoring.py:921 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:925 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:monitoring.py:1028 Cleaning temporal files... DEBUG wazuh_testing:monitoring.py:1017 Checking results...