report2.html

Report generated on 21-Jul-2023 at 15:03:32 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 945.76 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:03:32.039456 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. 86.94
No log output captured.
Passed 2023-07-21 13:03:32.039629 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.47
No log output captured.
Passed 2023-07-21 13:03:32.039726 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. 88.23
No log output captured.
Passed 2023-07-21 13:03:32.040280 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. 90.39
------------------------------Captured stderr call------------------------------
2023-07-21 14:52:28,374 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 14:52:28,376 - 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 14:52:28,376 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 14:52:28,378 - 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 14:52:28,877 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 14:52:28,878 - 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:03:32.040388 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. 54.39
No log output captured.
Passed 2023-07-21 13:03:32.040471 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. 84.23
No log output captured.
Passed 2023-07-21 13:03:32.040551 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. 55.18
No log output captured.
Passed 2023-07-21 13:03:32.040630 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. 58.13
No log output captured.
Passed 2023-07-21 13:03:32.040749 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. 87.66
------------------------------Captured stderr call------------------------------
2023-07-21 14:58:08,738 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 14:58:08,740 - 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 14:58:08,740 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 14:58:08,742 - 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 14:58:09,241 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 14:58:09,243 - 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:03:32.040870 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. 53.03
------------------------------Captured stderr call------------------------------
2023-07-21 14:59:02,927 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 14:59:02,929 - 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 14:59:02,929 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 14:59:02,932 - 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 14:59:03,431 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 14:59:03,432 - 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:03:32.041080 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. 118.96
------------------------------Captured stderr call------------------------------
2023-07-21 15:00:56,247 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:56,248 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:56,248 - 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:00:56,250 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty 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' 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') 2023-07-21 15:00:56,750 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:00:56,751 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:00:56,774 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:56,776 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:56,776 - 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:00:56,778 - 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:00:57,778 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:00:57,779 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:00:57,818 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:57,824 - 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:00:57,823 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:57,831 - 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:00:58,827 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:00:58,828 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:00:58,868 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:58,873 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:58,873 - 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:00:58,880 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty 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') 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' 2023-07-21 15:00:59,875 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:00:59,877 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:00:59,918 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:59,923 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:00:59,923 - 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:00:59,929 - 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:01:00,425 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:01:00,425 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:01:00,449 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:01:00,451 - 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:01:00,451 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:01:00,453 - 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:01:00,952 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:01:00,954 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:01:00,992 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:01:00,997 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:01:00,998 - 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:01:01,004 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/default/EmptyFile0.txt' is empty 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' 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') 2023-07-21 15:01:01,500 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:01:01,500 - 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:03:32.041369 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. 117.95
------------------------------Captured stderr call------------------------------
2023-07-21 15:02:53,319 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:53,320 - 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:02:53,321 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:53,323 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty 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' 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') 2023-07-21 15:02:53,822 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:02:53,822 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:02:53,835 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:53,836 - 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:02:53,837 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:53,839 - 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' Process Process-35: 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:02:54,338 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:02:54,339 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:02:54,373 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:54,378 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:54,378 - 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:02:54,384 - 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:02:55,381 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:02:55,382 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:02:55,420 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:55,426 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:55,426 - 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:02:55,432 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty 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' 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') 2023-07-21 15:02:55,928 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:02:55,928 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:02:55,956 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:55,958 - 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:02:55,958 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:55,960 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty 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') 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' 2023-07-21 15:02:56,960 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:02:56,962 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:02:57,005 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:57,011 - 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:02:57,011 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:57,018 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*etc/shared/TestGroup1/EmptyFile0.txt' is empty 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' 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') 2023-07-21 15:02:57,514 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:02:57,515 - wazuh_testing - DEBUG - Checking results... 2023-07-21 15:02:57,537 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:57,539 - 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:02:57,539 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2023-07-21 15:02:57,542 - 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:02:58,541 - wazuh_testing - DEBUG - Cleaning temporal files... 2023-07-21 15:02:58,542 - 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...