report.html

Report generated on 23-Jun-2023 at 12:09:27 by pytest-html v3.1.1

Summary

68 tests ran in 238.92 seconds.

0 passed, 28 skipped, 68 failed, 58 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_remoted/test_active_response/test_active_response_send_ar.py 0 0 0 0
test_remoted/test_agent_communication/test_agent_pending_status.py 6 0 0 0
test_remoted/test_agent_communication/test_agent_version_shared_configuration_startup_message.py 0 0 0 6
test_remoted/test_agent_communication/test_agents_switching_protocols.py 0 0 0 2
test_remoted/test_agent_communication/test_invalid_protocol_communication.py 0 0 0 4
test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py 6 0 0 0
test_remoted/test_agent_communication/test_multi_agent_status.py 0 0 0 0
test_remoted/test_agent_communication/test_protocols_communication.py 0 0 0 8
test_remoted/test_agent_communication/test_request_agent_info.py 0 0 0 3
test_remoted/test_agent_communication/test_shared_configuration.py 0 0 0 3
test_remoted/test_manager_messages/test_manager_ack.py 0 0 0 4
test_remoted/test_multi_groups/test_merged_mg_file_content.py 0 0 0 2
test_remoted/test_socket_communication/test_ping_pong_message.py 0 0 0 24
test_remoted/test_socket_communication/test_syslog_message.py 56 0 0 0
test_remoted/test_socket_communication/test_syslog_message_parser.py 0 0 0 2

Results

Result Time Test Description Duration Markers Links Tier
Error 2023-06-23 12:09:27.571131 test_remoted/test_agent_communication/test_agent_version_shared_configuration_startup_message.py::test_agent_remote_configuration[TCP-debian7_420]::setup description: Check if the manager sends the shared configuration to agents through remote,. ensuring the agent version is correct. 0.00 2
test_remoted/conftest.py:51: in remove_shared_files
file_names = os.listdir(source_dir)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/etc/shared/default'
Error 2023-06-23 12:09:27.571275 test_remoted/test_agent_communication/test_agent_version_shared_configuration_startup_message.py::test_agent_remote_configuration[TCP-debian9_4.4.0]::setup description: Check if the manager sends the shared configuration to agents through remote,. ensuring the agent version is correct. 0.00 2
test_remoted/conftest.py:51: in remove_shared_files
file_names = os.listdir(source_dir)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/etc/shared/default'
Error 2023-06-23 12:09:27.571426 test_remoted/test_agent_communication/test_agent_version_shared_configuration_startup_message.py::test_agent_remote_configuration[UDP-debian7_420]::setup description: Check if the manager sends the shared configuration to agents through remote,. ensuring the agent version is correct. 0.90 2
test_remoted/conftest.py:51: in remove_shared_files
file_names = os.listdir(source_dir)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/etc/shared/default'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:18.1687521978
Error 2023-06-23 12:09:27.571566 test_remoted/test_agent_communication/test_agent_version_shared_configuration_startup_message.py::test_agent_remote_configuration[UDP-debian9_4.4.0]::setup description: Check if the manager sends the shared configuration to agents through remote,. ensuring the agent version is correct. 0.00 2
test_remoted/conftest.py:51: in remove_shared_files
file_names = os.listdir(source_dir)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/etc/shared/default'
Error 2023-06-23 12:09:27.571718 test_remoted/test_agent_communication/test_agent_version_shared_configuration_startup_message.py::test_agent_remote_configuration[TCP,UDP-debian7_420]::setup description: Check if the manager sends the shared configuration to agents through remote,. ensuring the agent version is correct. 1.00 2
test_remoted/conftest.py:51: in remove_shared_files
file_names = os.listdir(source_dir)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/etc/shared/default'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:19.1687521979
Error 2023-06-23 12:09:27.571914 test_remoted/test_agent_communication/test_agent_version_shared_configuration_startup_message.py::test_agent_remote_configuration[TCP,UDP-debian9_4.4.0]::setup description: Check if the manager sends the shared configuration to agents through remote,. ensuring the agent version is correct. 1.00 2
test_remoted/conftest.py:51: in remove_shared_files
file_names = os.listdir(source_dir)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/etc/shared/default'
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:06:20.1687521980
Error 2023-06-23 12:09:27.572158 test_remoted/test_agent_communication/test_agents_switching_protocols.py::test_agents_switching_protocols[1514]::setup description: Checks if the agents can reconnect without issues to the manager after switching their protocol.. For this purpose, the test will establish a connection with simulated agents. Then, they will be. stopped and it will wait until the manager consider that agents are disconnected. Finally, it will. connect the agents switching their protocol. 0.01 2
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
Error 2023-06-23 12:09:27.572408 test_remoted/test_agent_communication/test_agents_switching_protocols.py::test_agents_switching_protocols[56000]::setup description: Checks if the agents can reconnect without issues to the manager after switching their protocol.. For this purpose, the test will establish a connection with simulated agents. Then, they will be. stopped and it will wait until the manager consider that agents are disconnected. Finally, it will. connect the agents switching their protocol. 1.86 2
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:21.1687521981
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:06:22.1687521982
Error 2023-06-23 12:09:27.572642 test_remoted/test_agent_communication/test_invalid_protocol_communication.py::test_invalid_protocol_communication[TCP_1514]::setup description: Check that the manager receive any event from a protocol that is not allowed.. For this purpose, the test will swap the expected protocol before create the simulated agents. Then,. an event will be created and a message sent using a protocol not allowed. Finally, it will raise an. error based in the protocol used. 0.01 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
Error 2023-06-23 12:09:27.572885 test_remoted/test_agent_communication/test_invalid_protocol_communication.py::test_invalid_protocol_communication[UDP_1514]::setup description: Check that the manager receive any event from a protocol that is not allowed.. For this purpose, the test will swap the expected protocol before create the simulated agents. Then,. an event will be created and a message sent using a protocol not allowed. Finally, it will raise an. error based in the protocol used. 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:23.1687521983
Error 2023-06-23 12:09:27.573163 test_remoted/test_agent_communication/test_invalid_protocol_communication.py::test_invalid_protocol_communication[TCP_56000]::setup description: Check that the manager receive any event from a protocol that is not allowed.. For this purpose, the test will swap the expected protocol before create the simulated agents. Then,. an event will be created and a message sent using a protocol not allowed. Finally, it will raise an. error based in the protocol used. 0.92 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:24.1687521984
Error 2023-06-23 12:09:27.573414 test_remoted/test_agent_communication/test_invalid_protocol_communication.py::test_invalid_protocol_communication[UDP_56000]::setup description: Check that the manager receive any event from a protocol that is not allowed.. For this purpose, the test will swap the expected protocol before create the simulated agents. Then,. an event will be created and a message sent using a protocol not allowed. Finally, it will raise an. error based in the protocol used. 1.87 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:25.1687521985
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:06:26.1687521986
Error 2023-06-23 12:09:27.580018 test_remoted/test_agent_communication/test_protocols_communication.py::test_protocols_communication[TCP_1514]::setup description: Check agent-manager communication via TCP, UDP or both.. For this purpose, the test will log and send the message to check if the communication works fine.. Then, after the sender ends, the socket connection is closed. 0.01 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
Error 2023-06-23 12:09:27.580261 test_remoted/test_agent_communication/test_protocols_communication.py::test_protocols_communication[UDP_1514]::setup description: Check agent-manager communication via TCP, UDP or both.. For this purpose, the test will log and send the message to check if the communication works fine.. Then, after the sender ends, the socket connection is closed. 0.93 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:27.1687522047
Error 2023-06-23 12:09:27.580504 test_remoted/test_agent_communication/test_protocols_communication.py::test_protocols_communication[TCP,UDP_1514]::setup description: Check agent-manager communication via TCP, UDP or both.. For this purpose, the test will log and send the message to check if the communication works fine.. Then, after the sender ends, the socket connection is closed. 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:28.1687522048
Error 2023-06-23 12:09:27.581332 test_remoted/test_agent_communication/test_protocols_communication.py::test_protocols_communication[UDP,TCP_1514]::setup description: Check agent-manager communication via TCP, UDP or both.. For this purpose, the test will log and send the message to check if the communication works fine.. Then, after the sender ends, the socket connection is closed. 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:29.1687522049
Error 2023-06-23 12:09:27.581596 test_remoted/test_agent_communication/test_protocols_communication.py::test_protocols_communication[TCP_56000]::setup description: Check agent-manager communication via TCP, UDP or both.. For this purpose, the test will log and send the message to check if the communication works fine.. Then, after the sender ends, the socket connection is closed. 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:30.1687522050
Error 2023-06-23 12:09:27.581842 test_remoted/test_agent_communication/test_protocols_communication.py::test_protocols_communication[UDP_56000]::setup description: Check agent-manager communication via TCP, UDP or both.. For this purpose, the test will log and send the message to check if the communication works fine.. Then, after the sender ends, the socket connection is closed. 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:31.1687522051
Error 2023-06-23 12:09:27.582082 test_remoted/test_agent_communication/test_protocols_communication.py::test_protocols_communication[TCP,UDP_56000]::setup description: Check agent-manager communication via TCP, UDP or both.. For this purpose, the test will log and send the message to check if the communication works fine.. Then, after the sender ends, the socket connection is closed. 0.92 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:32.1687522052
Error 2023-06-23 12:09:27.582330 test_remoted/test_agent_communication/test_protocols_communication.py::test_protocols_communication[UDP,TCP_56000]::setup description: Check agent-manager communication via TCP, UDP or both.. For this purpose, the test will log and send the message to check if the communication works fine.. Then, after the sender ends, the socket connection is closed. 1.86 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:33.1687522053
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:07:34.1687522054
Error 2023-06-23 12:09:27.582565 test_remoted/test_agent_communication/test_request_agent_info.py::test_request[udp,tcp-disconnected]::setup description: Check that there are no problems when the manager tries to communicate with an agent to ask for. configuration or state files using the remoted socket. For this purpose, the test will create agents. and then, for each agent, it will wait until the agent key is loaded by remoted. After that, a request. is sent depending on the test case, and it checks if the response is the expected one for that case.. If the agent is disconnected, it raises an error.. As the test has nothing to do with shared configuration files, we removed those rootcheck txt files. from default agent group to reduce the time required by the test to make the checks. 0.00 0
test_remoted/conftest.py:49: in remove_shared_files
os.mkdir(target_dir)
E FileExistsError: [Errno 17] File exists: '/var/ossec/etc/default.backup'
Error 2023-06-23 12:09:27.582716 test_remoted/test_agent_communication/test_request_agent_info.py::test_request[udp,tcp-get_config]::setup description: Check that there are no problems when the manager tries to communicate with an agent to ask for. configuration or state files using the remoted socket. For this purpose, the test will create agents. and then, for each agent, it will wait until the agent key is loaded by remoted. After that, a request. is sent depending on the test case, and it checks if the response is the expected one for that case.. If the agent is disconnected, it raises an error.. As the test has nothing to do with shared configuration files, we removed those rootcheck txt files. from default agent group to reduce the time required by the test to make the checks. 0.00 0
test_remoted/conftest.py:49: in remove_shared_files
os.mkdir(target_dir)
E FileExistsError: [Errno 17] File exists: '/var/ossec/etc/default.backup'
Error 2023-06-23 12:09:27.582869 test_remoted/test_agent_communication/test_request_agent_info.py::test_request[udp,tcp-get_state]::setup description: Check that there are no problems when the manager tries to communicate with an agent to ask for. configuration or state files using the remoted socket. For this purpose, the test will create agents. and then, for each agent, it will wait until the agent key is loaded by remoted. After that, a request. is sent depending on the test case, and it checks if the response is the expected one for that case.. If the agent is disconnected, it raises an error.. As the test has nothing to do with shared configuration files, we removed those rootcheck txt files. from default agent group to reduce the time required by the test to make the checks. 1.00 0
test_remoted/conftest.py:49: in remove_shared_files
os.mkdir(target_dir)
E FileExistsError: [Errno 17] File exists: '/var/ossec/etc/default.backup'
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:07:35.1687522055
Error 2023-06-23 12:09:27.583010 test_remoted/test_agent_communication/test_shared_configuration.py::test_push_shared_config[TCP]::setup description: Check if the manager pushes shared configuration to agents as expected.. For this purpose, the test will create an agent for each protocol within the module test cases. Then,. it will try to send the shared configuration to the agent and then, check if the configuration is. completely pushed.. For example, if Wazuh Manager sends new shared files from group shared folder when the merged.mg. checksum is received from an agent is different than the stored one.. As the test has nothing to do with shared configuration files, we removed those rootcheck txt files. from default agent group to reduce the time required by the test to make the checks. 0.00 1
test_remoted/conftest.py:49: in remove_shared_files
os.mkdir(target_dir)
E FileExistsError: [Errno 17] File exists: '/var/ossec/etc/default.backup'
Error 2023-06-23 12:09:27.583155 test_remoted/test_agent_communication/test_shared_configuration.py::test_push_shared_config[UDP]::setup description: Check if the manager pushes shared configuration to agents as expected.. For this purpose, the test will create an agent for each protocol within the module test cases. Then,. it will try to send the shared configuration to the agent and then, check if the configuration is. completely pushed.. For example, if Wazuh Manager sends new shared files from group shared folder when the merged.mg. checksum is received from an agent is different than the stored one.. As the test has nothing to do with shared configuration files, we removed those rootcheck txt files. from default agent group to reduce the time required by the test to make the checks. 1.00 1
test_remoted/conftest.py:49: in remove_shared_files
os.mkdir(target_dir)
E FileExistsError: [Errno 17] File exists: '/var/ossec/etc/default.backup'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:36.1687522056
Error 2023-06-23 12:09:27.583307 test_remoted/test_agent_communication/test_shared_configuration.py::test_push_shared_config[TCP,UDP]::setup description: Check if the manager pushes shared configuration to agents as expected.. For this purpose, the test will create an agent for each protocol within the module test cases. Then,. it will try to send the shared configuration to the agent and then, check if the configuration is. completely pushed.. For example, if Wazuh Manager sends new shared files from group shared folder when the merged.mg. checksum is received from an agent is different than the stored one.. As the test has nothing to do with shared configuration files, we removed those rootcheck txt files. from default agent group to reduce the time required by the test to make the checks. 2.02 1
test_remoted/conftest.py:49: in remove_shared_files
os.mkdir(target_dir)
E FileExistsError: [Errno 17] File exists: '/var/ossec/etc/default.backup'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:37.1687522057
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:07:38.1687522058
Error 2023-06-23 12:09:27.583540 test_remoted/test_manager_messages/test_manager_ack.py::test_manager_ack[TCP]::setup description: Check if the manager sends the ACK message after receiving. the start-up message from the agent. 0.01 1
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
Error 2023-06-23 12:09:27.583817 test_remoted/test_manager_messages/test_manager_ack.py::test_manager_ack[UDP]::setup description: Check if the manager sends the ACK message after receiving. the start-up message from the agent. 0.94 1
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:39.1687522059
Error 2023-06-23 12:09:27.584064 test_remoted/test_manager_messages/test_manager_ack.py::test_manager_ack[TCP,UDP]::setup description: Check if the manager sends the ACK message after receiving. the start-up message from the agent. 0.94 1
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:40.1687522060
Error 2023-06-23 12:09:27.584312 test_remoted/test_manager_messages/test_manager_ack.py::test_manager_ack[UDP,TCP]::setup description: Check if the manager sends the ACK message after receiving. the start-up message from the agent. 1.86 1
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:41.1687522061
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:07:42.1687522062
Error 2023-06-23 12:09:27.584581 test_remoted/test_multi_groups/test_merged_mg_file_content.py::test_merged_mg_file_content[check_that_the_new_file_is_added]::setup description: Check the content of the merged.mg file that wazuh-remoted compiles for multi-groups. 0.01 filterwarnings
test_remoted/test_multi_groups/test_merged_mg_file_content.py:92: in restart_remoted
control_service('restart', daemon=REMOTE_DAEMON)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:111: in control_service
control_service('start', daemon=daemon)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stderr setup------------------------------
2023-06-23 12:07:43,503 - wazuh_testing - DEBUG - Set local_internal_option to {'remoted.shared_reload': '1'}
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:624 Set local_internal_option to {'remoted.shared_reload': '1'}
Error 2023-06-23 12:09:27.584889 test_remoted/test_multi_groups/test_merged_mg_file_content.py::test_merged_mg_file_content[check_that_the_old_file_is_deleted]::setup description: Check the content of the merged.mg file that wazuh-remoted compiles for multi-groups. 0.00 filterwarnings
test_remoted/test_multi_groups/test_merged_mg_file_content.py:92: in restart_remoted
control_service('restart', daemon=REMOTE_DAEMON)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:111: in control_service
control_service('start', daemon=daemon)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
----------------------------Captured stderr teardown----------------------------
2023-06-23 12:07:43,675 - wazuh_testing - DEBUG - Restore local_internal_option to {'syscheck.debug': '2\n', 'agent.debug': '2\n', 'monitord.rotate_log': '0\n', 'analysisd.debug': '2\n', 'wazuh_modules.debug': '2\n', 'wazuh_database.interval': '1\n', 'wazuh_db.commit_time': '2\n', 'wazuh_db.commit_time_max': '3\n', 'remoted.debug': '2'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:629 Restore local_internal_option to {'syscheck.debug': '2\n', 'agent.debug': '2\n', 'monitord.rotate_log': '0\n', 'analysisd.debug': '2\n', 'wazuh_modules.debug': '2\n', 'wazuh_database.interval': '1\n', 'wazuh_db.commit_time': '2\n', 'wazuh_db.commit_time_max': '3\n', 'remoted.debug': '2'}
Error 2023-06-23 12:09:27.585128 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[UDP_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.01 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
Error 2023-06-23 12:09:27.585363 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[UDP_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.76 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:43.1687522063
Error 2023-06-23 12:09:27.585603 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[TCP_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:44.1687522064
Error 2023-06-23 12:09:27.585846 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[TCP_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.93 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:45.1687522065
Error 2023-06-23 12:09:27.586120 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[UDP,TCP_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:46.1687522066
Error 2023-06-23 12:09:27.586363 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[UDP,TCP_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:47.1687522067
Error 2023-06-23 12:09:27.586639 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[TCP,UDP_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:48.1687522068
Error 2023-06-23 12:09:27.586880 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[TCP,UDP_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:49.1687522069
Error 2023-06-23 12:09:27.587149 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[TCP,TCP_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.92 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:50.1687522070
Error 2023-06-23 12:09:27.587392 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[UDP,UDP_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:51.1687522071
Error 2023-06-23 12:09:27.587631 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[TCP,TCP_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:52.1687522072
Error 2023-06-23 12:09:27.587870 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[UDP,UDP_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:53.1687522073
Error 2023-06-23 12:09:27.588108 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[udp_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:54.1687522074
Error 2023-06-23 12:09:27.588379 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[udp_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:55.1687522075
Error 2023-06-23 12:09:27.588616 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[tcp_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.92 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:56.1687522076
Error 2023-06-23 12:09:27.588853 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[tcp_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:57.1687522077
Error 2023-06-23 12:09:27.589088 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[udp,tcp_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:58.1687522078
Error 2023-06-23 12:09:27.589324 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[udp,tcp_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:59.1687522079
Error 2023-06-23 12:09:27.589596 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[tcp,udp_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.93 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:00.1687522080
Error 2023-06-23 12:09:27.589835 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[tcp,udp_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.92 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:01.1687522081
Error 2023-06-23 12:09:27.590071 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[tcp,tcp_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:02.1687522082
Error 2023-06-23 12:09:27.590307 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[udp,udp_1514]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:03.1687522083
Error 2023-06-23 12:09:27.590625 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[tcp,tcp_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 0.94 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:04.1687522084
Error 2023-06-23 12:09:27.590883 test_remoted/test_socket_communication/test_ping_pong_message.py::test_ping_pong_message[udp,udp_56000]::setup description: Check if 'wazuh-remoted' sends the #pong message 1.87 0
test_remoted/conftest.py:26: in restart_remoted
control_service('start', daemon=DAEMON_NAME)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/services.py:143: in control_service
subprocess.check_call(start_process)
/usr/lib/python3.10/subprocess.py:364: in check_call
retcode = call(*popenargs, **kwargs)
/usr/lib/python3.10/subprocess.py:345: in call
with Popen(*popenargs, **kwargs) as p:
/usr/lib/python3.10/subprocess.py:969: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/usr/lib/python3.10/subprocess.py:1845: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/bin/wazuh-remoted'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:05.1687522085
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:08:06.1687522086
Error 2023-06-23 12:09:27.640223 test_remoted/test_socket_communication/test_syslog_message_parser.py::test_syslog_message_parser[Syslog_message_ipv6]::setup description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
conftest.py:1285: in truncate_event_logs
truncate_file(log_file)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Error 2023-06-23 12:09:27.640437 test_remoted/test_socket_communication/test_syslog_message_parser.py::test_syslog_message_parser[Syslog_message_ipv4]::setup description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
conftest.py:1285: in truncate_event_logs
truncate_file(log_file)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.566236 test_remoted/test_agent_communication/test_agent_pending_status.py::test_protocols_communication[TCP_1514] Validate agent status after sending only the start-up 7.82 0

Test function details

Extended Summary

Parameters

test_remoted/test_agent_communication/test_agent_pending_status.py:131: in test_protocols_communication
check_active_agents(num_agents=2, manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_agent_pending_status.py:75: in check_active_agents
agents = ag.create_agents(agents_number=num_agents, manager_address=manager_address, disable_all_modules=True,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
Failed 2023-06-23 12:09:27.567584 test_remoted/test_agent_communication/test_agent_pending_status.py::test_protocols_communication[TCP_56000] Validate agent status after sending only the start-up 8.23 0

Test function details

Extended Summary

Parameters

test_remoted/test_agent_communication/test_agent_pending_status.py:131: in test_protocols_communication
check_active_agents(num_agents=2, manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_agent_pending_status.py:75: in check_active_agents
agents = ag.create_agents(agents_number=num_agents, manager_address=manager_address, disable_all_modules=True,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:05:38.1687521938
Failed 2023-06-23 12:09:27.568425 test_remoted/test_agent_communication/test_agent_pending_status.py::test_protocols_communication[UDP_1514] Validate agent status after sending only the start-up 7.91 0

Test function details

Extended Summary

Parameters

test_remoted/test_agent_communication/test_agent_pending_status.py:131: in test_protocols_communication
check_active_agents(num_agents=2, manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_agent_pending_status.py:75: in check_active_agents
agents = ag.create_agents(agents_number=num_agents, manager_address=manager_address, disable_all_modules=True,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:05:46.1687521946
Failed 2023-06-23 12:09:27.569242 test_remoted/test_agent_communication/test_agent_pending_status.py::test_protocols_communication[UDP_56000] Validate agent status after sending only the start-up 7.91 0

Test function details

Extended Summary

Parameters

test_remoted/test_agent_communication/test_agent_pending_status.py:131: in test_protocols_communication
check_active_agents(num_agents=2, manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_agent_pending_status.py:75: in check_active_agents
agents = ag.create_agents(agents_number=num_agents, manager_address=manager_address, disable_all_modules=True,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:05:54.1687521954
Failed 2023-06-23 12:09:27.570110 test_remoted/test_agent_communication/test_agent_pending_status.py::test_protocols_communication[TCP,UDP_1514] Validate agent status after sending only the start-up 7.90 0

Test function details

Extended Summary

Parameters

test_remoted/test_agent_communication/test_agent_pending_status.py:131: in test_protocols_communication
check_active_agents(num_agents=2, manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_agent_pending_status.py:75: in check_active_agents
agents = ag.create_agents(agents_number=num_agents, manager_address=manager_address, disable_all_modules=True,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:02.1687521962
Failed 2023-06-23 12:09:27.570966 test_remoted/test_agent_communication/test_agent_pending_status.py::test_protocols_communication[TCP,UDP_56000] Validate agent status after sending only the start-up 8.09 0

Test function details

Extended Summary

Parameters

test_remoted/test_agent_communication/test_agent_pending_status.py:131: in test_protocols_communication
check_active_agents(num_agents=2, manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_agent_pending_status.py:75: in check_active_agents
agents = ag.create_agents(agents_number=num_agents, manager_address=manager_address, disable_all_modules=True,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:10.1687521970
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:06:18.1687521978
Failed 2023-06-23 12:09:27.574337 test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py::test_multi_agents_protocols_communication[TCP_1514] description: Check agent-manager communication with several agents simultaneously via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. an event and a message will be created for each agent created. Finally, it will search for. those events within the messages sent to the manager. 9.81 2

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 2
parameters:
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing. Restart Wazuh is needed for applying the configuration.
- restart_wazuh:
type: fixture
brief: Stop Wazuh, reset ossec.log and start a new monitor. Then start Wazuh.
assertions:
- Verify that the custom events created has been logged correctly.
input_description: A configuration template (test_multi_agent_protocols_communication) is contained in an external
YAML file, (wazuh_multi_agent_protocols_communication.yaml). That template is combined with
different test cases defined in the module. Those include configuration settings for the
'wazuh-remoted' daemon and agents info.
expected_output:
- r".* test message from agent .*"
- Agent message was not received or took too much time.
tags:
- simulator
- remoted

Parameters

test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:214: in test_multi_agents_protocols_communication
validate_agent_manager_protocol_communication(manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:121: in validate_agent_manager_protocol_communication
agents = ag.create_agents(agents_number=num_agents, manager_address=agent_info['manager_address'],
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
Failed 2023-06-23 12:09:27.575361 test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py::test_multi_agents_protocols_communication[TCP_56000] description: Check agent-manager communication with several agents simultaneously via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. an event and a message will be created for each agent created. Finally, it will search for. those events within the messages sent to the manager. 9.82 2

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 2
parameters:
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing. Restart Wazuh is needed for applying the configuration.
- restart_wazuh:
type: fixture
brief: Stop Wazuh, reset ossec.log and start a new monitor. Then start Wazuh.
assertions:
- Verify that the custom events created has been logged correctly.
input_description: A configuration template (test_multi_agent_protocols_communication) is contained in an external
YAML file, (wazuh_multi_agent_protocols_communication.yaml). That template is combined with
different test cases defined in the module. Those include configuration settings for the
'wazuh-remoted' daemon and agents info.
expected_output:
- r".* test message from agent .*"
- Agent message was not received or took too much time.
tags:
- simulator
- remoted

Parameters

test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:214: in test_multi_agents_protocols_communication
validate_agent_manager_protocol_communication(manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:121: in validate_agent_manager_protocol_communication
agents = ag.create_agents(agents_number=num_agents, manager_address=agent_info['manager_address'],
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:37.1687521997
Failed 2023-06-23 12:09:27.576288 test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py::test_multi_agents_protocols_communication[UDP_1514] description: Check agent-manager communication with several agents simultaneously via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. an event and a message will be created for each agent created. Finally, it will search for. those events within the messages sent to the manager. 9.91 2

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 2
parameters:
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing. Restart Wazuh is needed for applying the configuration.
- restart_wazuh:
type: fixture
brief: Stop Wazuh, reset ossec.log and start a new monitor. Then start Wazuh.
assertions:
- Verify that the custom events created has been logged correctly.
input_description: A configuration template (test_multi_agent_protocols_communication) is contained in an external
YAML file, (wazuh_multi_agent_protocols_communication.yaml). That template is combined with
different test cases defined in the module. Those include configuration settings for the
'wazuh-remoted' daemon and agents info.
expected_output:
- r".* test message from agent .*"
- Agent message was not received or took too much time.
tags:
- simulator
- remoted

Parameters

test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:214: in test_multi_agents_protocols_communication
validate_agent_manager_protocol_communication(manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:121: in validate_agent_manager_protocol_communication
agents = ag.create_agents(agents_number=num_agents, manager_address=agent_info['manager_address'],
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:47.1687522007
Failed 2023-06-23 12:09:27.577202 test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py::test_multi_agents_protocols_communication[UDP_56000] description: Check agent-manager communication with several agents simultaneously via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. an event and a message will be created for each agent created. Finally, it will search for. those events within the messages sent to the manager. 9.83 2

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 2
parameters:
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing. Restart Wazuh is needed for applying the configuration.
- restart_wazuh:
type: fixture
brief: Stop Wazuh, reset ossec.log and start a new monitor. Then start Wazuh.
assertions:
- Verify that the custom events created has been logged correctly.
input_description: A configuration template (test_multi_agent_protocols_communication) is contained in an external
YAML file, (wazuh_multi_agent_protocols_communication.yaml). That template is combined with
different test cases defined in the module. Those include configuration settings for the
'wazuh-remoted' daemon and agents info.
expected_output:
- r".* test message from agent .*"
- Agent message was not received or took too much time.
tags:
- simulator
- remoted

Parameters

test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:214: in test_multi_agents_protocols_communication
validate_agent_manager_protocol_communication(manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:121: in validate_agent_manager_protocol_communication
agents = ag.create_agents(agents_number=num_agents, manager_address=agent_info['manager_address'],
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:06:57.1687522017
Failed 2023-06-23 12:09:27.578135 test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py::test_multi_agents_protocols_communication[TCP,UDP_1514] description: Check agent-manager communication with several agents simultaneously via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. an event and a message will be created for each agent created. Finally, it will search for. those events within the messages sent to the manager. 9.84 2

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 2
parameters:
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing. Restart Wazuh is needed for applying the configuration.
- restart_wazuh:
type: fixture
brief: Stop Wazuh, reset ossec.log and start a new monitor. Then start Wazuh.
assertions:
- Verify that the custom events created has been logged correctly.
input_description: A configuration template (test_multi_agent_protocols_communication) is contained in an external
YAML file, (wazuh_multi_agent_protocols_communication.yaml). That template is combined with
different test cases defined in the module. Those include configuration settings for the
'wazuh-remoted' daemon and agents info.
expected_output:
- r".* test message from agent .*"
- Agent message was not received or took too much time.
tags:
- simulator
- remoted

Parameters

test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:214: in test_multi_agents_protocols_communication
validate_agent_manager_protocol_communication(manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:121: in validate_agent_manager_protocol_communication
agents = ag.create_agents(agents_number=num_agents, manager_address=agent_info['manager_address'],
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:07.1687522027
Failed 2023-06-23 12:09:27.579073 test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py::test_multi_agents_protocols_communication[TCP,UDP_56000] description: Check agent-manager communication with several agents simultaneously via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. an event and a message will be created for each agent created. Finally, it will search for. those events within the messages sent to the manager. 10.18 2

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 2
parameters:
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing. Restart Wazuh is needed for applying the configuration.
- restart_wazuh:
type: fixture
brief: Stop Wazuh, reset ossec.log and start a new monitor. Then start Wazuh.
assertions:
- Verify that the custom events created has been logged correctly.
input_description: A configuration template (test_multi_agent_protocols_communication) is contained in an external
YAML file, (wazuh_multi_agent_protocols_communication.yaml). That template is combined with
different test cases defined in the module. Those include configuration settings for the
'wazuh-remoted' daemon and agents info.
expected_output:
- r".* test message from agent .*"
- Agent message was not received or took too much time.
tags:
- simulator
- remoted

Parameters

test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:214: in test_multi_agents_protocols_communication
validate_agent_manager_protocol_communication(manager_port=manager_port, protocol=protocol)
test_remoted/test_agent_communication/test_multi_agent_protocols_communication.py:121: in validate_agent_manager_protocol_communication
agents = ag.create_agents(agents_number=num_agents, manager_address=agent_info['manager_address'],
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:1684: in create_agents
agents.append(Agent(manager_address, cypher, fim_eps=fim_eps, authd_password=authd_password,
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:188: in __init__
self.setup(disable_all_modules=disable_all_modules)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:201: in setup
self.register()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:281: in register
self._register_helper()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/agent_simulator.py:245: in _register_helper
ssl_socket.connect((self.registration_address, 1515))
/usr/lib/python3.10/ssl.py:1375: in connect
self._real_connect(addr, False)
/usr/lib/python3.10/ssl.py:1362: in _real_connect
super().connect(addr)
E ConnectionRefusedError: [Errno 111] Connection refused
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:07:17.1687522037
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:07:27.1687522047
Failed 2023-06-23 12:09:27.591663 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_514-dummy] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 9.62 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.592470 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_514-failed_login_sshd] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.593253 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_514-failed_login_sshd_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.594600 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_514-dummy_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.595376 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_514-dummy_bad_formatted_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.596193 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_51000-dummy] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 9.89 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:17.1687522097
Failed 2023-06-23 12:09:27.596969 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_51000-failed_login_sshd] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.598301 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_51000-failed_login_sshd_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.599671 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_51000-dummy_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.600518 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_51000-dummy_bad_formatted_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.601387 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_514-dummy] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 9.92 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:27.1687522107
Failed 2023-06-23 12:09:27.602217 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_514-failed_login_sshd] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.603042 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_514-failed_login_sshd_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.603877 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_514-multi_log_failed_login_sshd_logon_success] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.604663 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_514-multi_log_failed_login_sshd_logon_success_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.605490 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_514-multi_log_failed_login_sshd_logon_success_pri_header_mix_with_without] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.606281 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_514-multi_log_failed_login_sshd_logon_success_pri_header_mix_without_with] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.607159 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_514-dummy_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.607964 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_514-dummy_bad_formatted_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.608768 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_51000-dummy] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 9.86 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:37.1687522117
Failed 2023-06-23 12:09:27.609596 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_51000-failed_login_sshd] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.610388 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_51000-failed_login_sshd_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.611264 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_51000-multi_log_failed_login_sshd_logon_success] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.612045 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_51000-multi_log_failed_login_sshd_logon_success_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.612885 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_51000-multi_log_failed_login_sshd_logon_success_pri_header_mix_with_without] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.613724 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_51000-multi_log_failed_login_sshd_logon_success_pri_header_mix_without_with] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.614592 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_51000-dummy_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.615372 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_TCP_51000-dummy_bad_formatted_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.616168 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_514-dummy] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 9.86 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:47.1687522127
Failed 2023-06-23 12:09:27.616994 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_514-failed_login_sshd] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.617791 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_514-failed_login_sshd_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.619201 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_514-dummy_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.620582 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_514-dummy_bad_formatted_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.621390 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_51000-dummy] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 9.91 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:08:57.1687522137
Failed 2023-06-23 12:09:27.622211 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_51000-failed_login_sshd] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.623118 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_51000-failed_login_sshd_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.624458 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_51000-dummy_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.625247 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_51000-dummy_bad_formatted_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.626117 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_514-dummy] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 9.92 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:09:07.1687522147
Failed 2023-06-23 12:09:27.626969 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_514-failed_login_sshd] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.627792 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_514-failed_login_sshd_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.628572 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_514-multi_log_failed_login_sshd_logon_success] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.629356 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_514-multi_log_failed_login_sshd_logon_success_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.630180 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_514-multi_log_failed_login_sshd_logon_success_pri_header_mix_with_without] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.631021 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_514-multi_log_failed_login_sshd_logon_success_pri_header_mix_without_with] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.631840 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_514-dummy_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.632626 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_514-dummy_bad_formatted_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.633463 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_51000-dummy] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 9.84 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
-----------------------------Captured stdout setup------------------------------
2023-06-23T12:09:17.1687522157
Failed 2023-06-23 12:09:27.634244 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_51000-failed_login_sshd] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.635104 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_51000-failed_login_sshd_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.635894 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_51000-multi_log_failed_login_sshd_logon_success] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.636763 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_51000-multi_log_failed_login_sshd_logon_success_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.637566 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_51000-multi_log_failed_login_sshd_logon_success_pri_header_mix_with_without] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.638350 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_51000-multi_log_failed_login_sshd_logon_success_pri_header_mix_without_with] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.639223 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_51000-dummy_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
Failed 2023-06-23 12:09:27.640017 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_tcp_51000-dummy_bad_formatted_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.24 0

Test function details

Extended Summary

wazuh_min_version: 4.2.0
tier: 0
parameters:
- message:
type: fixture
brief: Message sent
- get_configuration:
type: fixture
brief: Get configurations from the module.
- configure_environment:
type: fixture
brief: Configure a custom environment for testing.
- restart_remoted:
type: fixture
brief: Restart 'wazuh-remoted' daemon in manager.
assertions:
- Verify the syslog message is received.
input_description: A configuration template (test_syslog_message) is contained in an external YAML file,
(wazuh_syslog.yaml). That template is combined with different test cases defined
in the module. Those include configuration settings for the 'wazuh-remoted' daemon
and agents info.
expected_output:
- r'Started : .* Listening on port .*'
- r'<.>.*'

Parameters

test_remoted/test_socket_communication/test_syslog_message.py:152: in test_syslog_message
wazuh_archives_log_monitor = remote.create_archives_log_monitor()
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/remote.py:329: in create_archives_log_monitor
truncate_file(ARCHIVES_LOG_PATH)
/usr/local/lib/python3.10/dist-packages/wazuh_testing-4.4.4-py3.10.egg/wazuh_testing/tools/file.py:79: in truncate_file
with open(file_path, 'w'):
E FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/logs/archives/archives.log'
----------------------------Captured stdout teardown----------------------------
2023-06-23T12:09:27.1687522167
Skipped 2023-06-23 12:09:27.564656 test_remoted/test_active_response/test_active_response_send_ar.py::test_active_response_ar_sending[TCP_1514] description: Check if the 'wazuh-remoted' daemon sends active response commands to the Wazuh agent.. For this purpose, the test will establish a connection with a simulated agent using. different ports and transport protocols. Then, it will send an active response to that. agent, and finally, the test will verify that the events indicating that the active. response has been sent by the manager and received it by the agent are generated. 0.00 skip 1
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_active_response/test_active_response_send_ar.py', 95, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.564827 test_remoted/test_active_response/test_active_response_send_ar.py::test_active_response_ar_sending[UDP_1514] description: Check if the 'wazuh-remoted' daemon sends active response commands to the Wazuh agent.. For this purpose, the test will establish a connection with a simulated agent using. different ports and transport protocols. Then, it will send an active response to that. agent, and finally, the test will verify that the events indicating that the active. response has been sent by the manager and received it by the agent are generated. 0.00 skip 1
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_active_response/test_active_response_send_ar.py', 95, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.564941 test_remoted/test_active_response/test_active_response_send_ar.py::test_active_response_ar_sending[TCP,UDP_1514] description: Check if the 'wazuh-remoted' daemon sends active response commands to the Wazuh agent.. For this purpose, the test will establish a connection with a simulated agent using. different ports and transport protocols. Then, it will send an active response to that. agent, and finally, the test will verify that the events indicating that the active. response has been sent by the manager and received it by the agent are generated. 0.00 skip 1
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_active_response/test_active_response_send_ar.py', 95, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.565047 test_remoted/test_active_response/test_active_response_send_ar.py::test_active_response_ar_sending[TCP_4565] description: Check if the 'wazuh-remoted' daemon sends active response commands to the Wazuh agent.. For this purpose, the test will establish a connection with a simulated agent using. different ports and transport protocols. Then, it will send an active response to that. agent, and finally, the test will verify that the events indicating that the active. response has been sent by the manager and received it by the agent are generated. 0.00 skip 1
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_active_response/test_active_response_send_ar.py', 95, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.565147 test_remoted/test_active_response/test_active_response_send_ar.py::test_active_response_ar_sending[UDP_4565] description: Check if the 'wazuh-remoted' daemon sends active response commands to the Wazuh agent.. For this purpose, the test will establish a connection with a simulated agent using. different ports and transport protocols. Then, it will send an active response to that. agent, and finally, the test will verify that the events indicating that the active. response has been sent by the manager and received it by the agent are generated. 0.00 skip 1
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_active_response/test_active_response_send_ar.py', 95, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.565244 test_remoted/test_active_response/test_active_response_send_ar.py::test_active_response_ar_sending[TCP,UDP_4565] description: Check if the 'wazuh-remoted' daemon sends active response commands to the Wazuh agent.. For this purpose, the test will establish a connection with a simulated agent using. different ports and transport protocols. Then, it will send an active response to that. agent, and finally, the test will verify that the events indicating that the active. response has been sent by the manager and received it by the agent are generated. 0.00 skip 1
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_active_response/test_active_response_send_ar.py', 95, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.579207 test_remoted/test_agent_communication/test_multi_agent_status.py::test_protocols_communication[TCP_1514] description: Check multiple agents status after sending the start-up and keep-alive events via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. every agent uses a sender and it waits until 'active' status appears after an startup and keep-alive. events, for each one.. It requires review and a rework for the agent simulator. Sometimes it does not work properly when it. sends keep-alives messages causing the agent to never being in active status. 0.00 skip 2
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_agent_communication/test_multi_agent_status.py', 161, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.579319 test_remoted/test_agent_communication/test_multi_agent_status.py::test_protocols_communication[TCP_56000] description: Check multiple agents status after sending the start-up and keep-alive events via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. every agent uses a sender and it waits until 'active' status appears after an startup and keep-alive. events, for each one.. It requires review and a rework for the agent simulator. Sometimes it does not work properly when it. sends keep-alives messages causing the agent to never being in active status. 0.00 skip 2
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_agent_communication/test_multi_agent_status.py', 161, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.579463 test_remoted/test_agent_communication/test_multi_agent_status.py::test_protocols_communication[UDP_1514] description: Check multiple agents status after sending the start-up and keep-alive events via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. every agent uses a sender and it waits until 'active' status appears after an startup and keep-alive. events, for each one.. It requires review and a rework for the agent simulator. Sometimes it does not work properly when it. sends keep-alives messages causing the agent to never being in active status. 0.00 skip 2
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_agent_communication/test_multi_agent_status.py', 161, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.579573 test_remoted/test_agent_communication/test_multi_agent_status.py::test_protocols_communication[UDP_56000] description: Check multiple agents status after sending the start-up and keep-alive events via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. every agent uses a sender and it waits until 'active' status appears after an startup and keep-alive. events, for each one.. It requires review and a rework for the agent simulator. Sometimes it does not work properly when it. sends keep-alives messages causing the agent to never being in active status. 0.00 skip 2
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_agent_communication/test_multi_agent_status.py', 161, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.579674 test_remoted/test_agent_communication/test_multi_agent_status.py::test_protocols_communication[TCP,UDP_1514] description: Check multiple agents status after sending the start-up and keep-alive events via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. every agent uses a sender and it waits until 'active' status appears after an startup and keep-alive. events, for each one.. It requires review and a rework for the agent simulator. Sometimes it does not work properly when it. sends keep-alives messages causing the agent to never being in active status. 0.00 skip 2
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_agent_communication/test_multi_agent_status.py', 161, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.579774 test_remoted/test_agent_communication/test_multi_agent_status.py::test_protocols_communication[TCP,UDP_56000] description: Check multiple agents status after sending the start-up and keep-alive events via TCP, UDP or both.. For this purpose, the test will create all the agents and select the protocol using Round-Robin. Then,. every agent uses a sender and it waits until 'active' status appears after an startup and keep-alive. events, for each one.. It requires review and a rework for the agent simulator. Sometimes it does not work properly when it. sends keep-alives messages causing the agent to never being in active status. 0.00 skip 2
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_agent_communication/test_multi_agent_status.py', 161, "Skipped: It requires review and a rework for the agent simulator.Sometimes it doesn't work properly when it sends keepalives messages causing the agent to never being in active status.")
Skipped 2023-06-23 12:09:27.593391 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_514-multi_log_failed_login_sshd_logon_success] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.593508 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_514-multi_log_failed_login_sshd_logon_success_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.593618 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_514-multi_log_failed_login_sshd_logon_success_pri_header_mix_with_without] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.593725 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_514-multi_log_failed_login_sshd_logon_success_pri_header_mix_without_with] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.598439 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_51000-multi_log_failed_login_sshd_logon_success] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.598584 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_51000-multi_log_failed_login_sshd_logon_success_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.598697 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_51000-multi_log_failed_login_sshd_logon_success_pri_header_mix_with_without] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.598804 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_UDP_51000-multi_log_failed_login_sshd_logon_success_pri_header_mix_without_with] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.617926 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_514-multi_log_failed_login_sshd_logon_success] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.618089 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_514-multi_log_failed_login_sshd_logon_success_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.618210 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_514-multi_log_failed_login_sshd_logon_success_pri_header_mix_with_without] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.618327 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_514-multi_log_failed_login_sshd_logon_success_pri_header_mix_without_with] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.623274 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_51000-multi_log_failed_login_sshd_logon_success] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.623401 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_51000-multi_log_failed_login_sshd_logon_success_pri_header] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.623516 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_51000-multi_log_failed_login_sshd_logon_success_pri_header_mix_with_without] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')
Skipped 2023-06-23 12:09:27.623633 test_remoted/test_socket_communication/test_syslog_message.py::test_syslog_message[syslog_udp_51000-multi_log_failed_login_sshd_logon_success_pri_header_mix_without_with] description: Check if 'wazuh-remoted' can receive syslog messages through the socket. 0.00 0
('/tmp/Test_integration_B40483_20230623122253/tests/integration/test_remoted/test_socket_communication/test_syslog_message.py', 149, 'Skipped: UDP only supports one message per datagram.')