enrollment_cluster_env.html

Report generated on 17-May-2024 at 12:05:39 by pytest-html v3.1.1

Environment

Packages {"pluggy": "0.13.1", "pytest": "7.1.2"}
Platform Linux-6.6.10-76060610-generic-x86_64-with-glibc2.35
Plugins {"html": "3.1.1", "metadata": "2.0.4", "testinfra": "5.0.0"}
Python 3.9.7

Summary

75 tests ran in 8444.58 seconds.

75 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_cluster/test_agent_enrollment/test_agent_enrollment.py 0 1 0 0
test_cluster/test_agent_groups/test_agent_default_group_added.py 0 3 0 0
test_cluster/test_agent_groups/test_agent_groups.py 0 1 0 0
test_cluster/test_agent_groups/test_assign_agent_group_with_enrollment.py 0 1 0 0
test_cluster/test_agent_groups/test_assign_agent_never_connected_to_group.py 0 2 0 0
test_cluster/test_agent_groups/test_assign_agent_to_a_group.py 0 4 0 0
test_cluster/test_agent_groups/test_assign_agent_to_a_group_api.py 0 4 0 0
test_cluster/test_agent_groups/test_assign_agent_to_a_group_by_tool.py 0 2 0 0
test_cluster/test_agent_groups/test_assign_groups_guess.py 0 12 0 0
test_cluster/test_agent_groups/test_group_hash.py 0 8 0 0
test_cluster/test_agent_groups/test_group_sync_status.py 0 27 0 0
test_cluster/test_agent_groups/test_remove_group.py 0 10 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2024-05-17 10:05:39.007244 test_cluster/test_agent_enrollment/test_agent_enrollment.py::test_agent_enrollment Check agent enrollment process works as expected. An agent pointing to a worker should be able to register itself. into the master by starting Wazuh-agent process. 65.56 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 09:45:44,779 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 09:45:44,780 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 09:45:44,781 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 09:45:44,781 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_enrollment/tmp/wazuh-master_cluster.log.tmp 2024-05-17 09:45:44,782 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Received request:.*{"daemon_name":"authd","message":{"arguments":{"name":".*","ip":"any"},"function":"add"}} 2024-05-17 09:45:44,782 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_enrollment/tmp/wazuh-master_ossec.log.tmp 2024-05-17 09:45:44,782 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 09:45:44,783 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-05-17 09:45:44,785 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent key generated for agent.* 2024-05-17 09:45:44,785 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_enrollment/tmp/wazuh-worker1_cluster.log.tmp 2024-05-17 09:45:44,785 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-05-17 09:45:44,786 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 09:45:44,786 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Processing file etc\/client\.keys.* 2024-05-17 09:45:44,787 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_enrollment/tmp/wazuh-worker1_ossec.log.tmp 2024-05-17 09:45:44,788 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 09:45:44,790 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Received request for a new agent.* 2024-05-17 09:45:44,790 - wazuh_testing - DEBUG - Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2024-05-17 09:45:44,791 - wazuh_testing - DEBUG - Starting file composer for wazuh-agent1 and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_enrollment/tmp/wazuh-agent1_ossec.log.tmp 2024-05-17 09:45:44,791 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log 2024-05-17 09:45:44,793 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Requesting a key from server:.* 2024-05-17 09:45:46,785 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Received request:.*{"daemon_name":"authd","message":{"arguments":{"name":".*","ip":"any"},"function":"add"}} 2024-05-17 09:45:46,786 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Integrity sync.*Finished in.* 2024-05-17 09:45:46,789 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Processing file etc\/client\.keys.* 2024-05-17 09:45:46,789 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Updating local files: End.* 2024-05-17 09:45:46,791 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Updating local files: End.* 2024-05-17 09:45:46,796 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Requesting a key from server:.* 2024-05-17 09:45:46,796 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Registering agent to unverified manager 2024-05-17 09:45:46,796 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Integrity sync.*Finished in.* 2024-05-17 09:45:46,799 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Registering agent to unverified manager 2024-05-17 09:45:46,799 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Using agent name as:* 2024-05-17 09:45:46,801 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Using agent name as:* 2024-05-17 09:45:46,801 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Waiting for server reply 2024-05-17 09:45:46,803 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Waiting for server reply 2024-05-17 09:45:46,803 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Valid key received 2024-05-17 09:45:46,805 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Valid key received 2024-05-17 09:45:46,805 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-agent1 and message: .*Waiting .* seconds before server connection 2024-05-17 09:45:46,808 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-agent1 and message: .*Waiting .* seconds before server connection 2024-05-17 09:45:46,819 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Received request for a new agent.* 2024-05-17 09:45:46,819 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Dispatching request to master node.* 2024-05-17 09:45:46,822 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent key generated for agent.* 2024-05-17 09:45:46,847 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Dispatching request to master node.* 2024-05-17 09:45:46,847 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent key generated for.* 2024-05-17 09:45:46,874 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent key generated for.* 2024-05-17 09:45:47,818 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 09:45:47,821 - wazuh_testing - DEBUG - Checking results... 2024-05-17 09:45:47,823 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:45:47,823 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:45:47,824 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:45:47,824 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: True 2024-05-17 09:45:47,824 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:45:47,824 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: True 2024-05-17 09:45:47,825 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: True 2024-05-17 09:45:47,825 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: True 2024-05-17 09:45:47,825 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: True 2024-05-17 09:45:47,825 - wazuh_testing - DEBUG - Received from wazuh-agent1 the expected message: True 2024-05-17 09:45:47,825 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:45:47,825 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:45:47,825 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:45:47,825 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-agent1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-agent1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-agent1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-agent1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-agent1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-agent1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-agent1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True
Passed 2024-05-17 10:05:39.007367 test_cluster/test_agent_groups/test_agent_default_group_added.py::test_agent_default_group_added[wazuh-master] description: Check agent enrollment process and default group assignment works as expected in a cluster enviroment.. An agent pointing to a master/worker node is registered using cli tool, and it gets assigned the default group. after it is restarted.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active in all nodes.. - Verify that after registering and after starting the agent, it has the default group assigned.. expected_output:. - f"{agent_id} {agent_name} {agent_ip} never_connected". - f"{agent_id} {agent_name} {agent_ip} active" 94.31 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.007432 test_cluster/test_agent_groups/test_agent_default_group_added.py::test_agent_default_group_added[wazuh-worker1] description: Check agent enrollment process and default group assignment works as expected in a cluster enviroment.. An agent pointing to a master/worker node is registered using cli tool, and it gets assigned the default group. after it is restarted.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active in all nodes.. - Verify that after registering and after starting the agent, it has the default group assigned.. expected_output:. - f"{agent_id} {agent_name} {agent_ip} never_connected". - f"{agent_id} {agent_name} {agent_ip} active" 95.33 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.007490 test_cluster/test_agent_groups/test_agent_default_group_added.py::test_agent_default_group_added[wazuh-worker2] description: Check agent enrollment process and default group assignment works as expected in a cluster enviroment.. An agent pointing to a master/worker node is registered using cli tool, and it gets assigned the default group. after it is restarted.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active in all nodes.. - Verify that after registering and after starting the agent, it has the default group assigned.. expected_output:. - f"{agent_id} {agent_name} {agent_ip} never_connected". - f"{agent_id} {agent_name} {agent_ip} active" 94.54 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.007628 test_cluster/test_agent_groups/test_agent_groups.py::test_agent_groups_create_remove_group Check agent agent-groups synchronization works as expected. 184.01 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 09:51:44,940 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 09:51:44,942 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 09:51:44,942 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_cluster.log.tmp 2024-05-17 09:51:44,943 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-05-17 09:51:44,945 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*SendSync.*Receiving SendSync request \(authd\) from wazuh-worker1.* 2024-05-17 09:51:44,945 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-05-17 09:51:44,945 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-worker1_cluster.log.tmp 2024-05-17 09:51:44,946 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Connection received in local server* 2024-05-17 09:51:46,449 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Connection received in local server* 2024-05-17 09:51:46,450 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Command received: b'sendsync' 2024-05-17 09:51:46,449 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*SendSync.*Receiving SendSync request \(authd\) from wazuh-worker1.* 2024-05-17 09:51:46,450 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Command received: b'sendsync' 2024-05-17 09:51:46,953 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 09:51:46,954 - wazuh_testing - DEBUG - Checking results... 2024-05-17 09:51:46,954 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:51:46,955 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:51:46,955 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:52:44,839 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 09:52:44,841 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 09:52:44,841 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_cluster.log.tmp 2024-05-17 09:52:44,842 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/api.log 2024-05-17 09:52:44,843 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*SendSync.*Receiving SendSync request \(remoted\) from wazuh-worker1.* 2024-05-17 09:52:44,843 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/api.log 2024-05-17 09:52:44,844 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/api.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_api.log.tmp 2024-05-17 09:52:44,845 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-05-17 09:52:44,845 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*POST /groups" with parameters {} and body {.*test_group.*s: 200 2024-05-17 09:52:44,846 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-worker1_cluster.log.tmp 2024-05-17 09:52:44,846 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-05-17 09:52:44,848 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Command received: b'sendsync' 2024-05-17 09:52:46,847 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*POST /groups" with parameters {} and body {.*test_group.*s: 200 2024-05-17 09:52:46,848 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*PUT /agents.*group/test_group" with parameters {} and body {} done in.*200 2024-05-17 09:52:46,848 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*PUT /agents.*group/test_group" with parameters {} and body {} done in.*200 2024-05-17 09:52:46,850 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Command received: b'sendsync' 2024-05-17 09:52:46,851 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Starting. 2024-05-17 09:52:46,851 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Starting. 2024-05-17 09:52:46,851 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*1/1 chunks updated in wazuh-db in.* 2024-05-17 09:52:46,853 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*1/1 chunks updated in wazuh-db in.* 2024-05-17 09:52:46,853 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Obtained.*chunks of data in.* 2024-05-17 09:52:46,853 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*SendSync.*Receiving SendSync request \(remoted\) from wazuh-worker1.* 2024-05-17 09:52:46,853 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Starting. 2024-05-17 09:52:46,854 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Obtained.*chunks of data in.* 2024-05-17 09:52:46,854 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*The checksum of both databases match.* 2024-05-17 09:52:46,856 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Starting. 2024-05-17 09:52:46,856 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Obtained 1 chunks of data in.* 2024-05-17 09:52:46,859 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Obtained 1 chunks of data in.* 2024-05-17 09:52:46,859 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Finished in.* 2024-05-17 09:52:46,860 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*The checksum of both databases match.* 2024-05-17 09:52:46,860 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Finished in.*Updated.*chunks.* 2024-05-17 09:52:46,861 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Finished in.* 2024-05-17 09:52:46,861 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Starting.* 2024-05-17 09:52:46,862 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Finished in.*Updated.*chunks.* 2024-05-17 09:52:46,864 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Starting.* 2024-05-17 09:52:46,864 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Starting.* 2024-05-17 09:52:46,867 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Starting.* 2024-05-17 09:52:46,867 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Sending chunks.* 2024-05-17 09:52:46,870 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Sending chunks.* 2024-05-17 09:52:46,870 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Sending chunks.* 2024-05-17 09:52:46,874 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Sending chunks.* 2024-05-17 09:52:46,874 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Finished in.*Updated.*chunks.* 2024-05-17 09:52:46,877 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Finished in.*Updated.*chunks.* 2024-05-17 09:52:46,877 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Finished in.*Updated.*chunks.* 2024-05-17 09:52:46,881 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Finished in.*Updated.*chunks.* 2024-05-17 09:52:47,865 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 09:52:47,867 - wazuh_testing - DEBUG - Checking results... 2024-05-17 09:52:47,869 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,870 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,870 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:52:47,870 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:52:47,870 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:52:47,871 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,871 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:52:47,871 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,871 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,871 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:52:47,872 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,872 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:52:47,872 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,872 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,872 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,873 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,873 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:52:47,873 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:45,583 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 09:53:45,584 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 09:53:45,585 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/api.log 2024-05-17 09:53:45,586 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_cluster.log.tmp 2024-05-17 09:53:45,586 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Starting. 2024-05-17 09:53:45,587 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/api.log 2024-05-17 09:53:45,588 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/api.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_api.log.tmp 2024-05-17 09:53:45,588 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-05-17 09:53:45,589 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*DELETE /agents.*group.*" with parameters {} and body {.*s: 200 2024-05-17 09:53:45,590 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log 2024-05-17 09:53:45,590 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-worker1_cluster.log.tmp 2024-05-17 09:53:45,592 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Starting. 2024-05-17 09:53:47,590 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Starting. 2024-05-17 09:53:47,590 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Obtained 1 chunks of data in.* 2024-05-17 09:53:47,591 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*DELETE /agents.*group.*" with parameters {} and body {.*s: 200 2024-05-17 09:53:47,592 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*DELETE /groups" with parameters {"groups_list": ".*and body {} done in.*200 2024-05-17 09:53:47,592 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Obtained 1 chunks of data in.* 2024-05-17 09:53:47,592 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Finished in.* 2024-05-17 09:53:47,593 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*DELETE /groups" with parameters {"groups_list": ".*and body {} done in.*200 2024-05-17 09:53:47,594 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Starting. 2024-05-17 09:53:47,595 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*1/1 chunks updated in wazuh-db in.* 2024-05-17 09:53:47,595 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Master.*Local agent-groups.*Finished in.* 2024-05-17 09:53:47,595 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Starting.* 2024-05-17 09:53:47,597 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*1/1 chunks updated in wazuh-db in.* 2024-05-17 09:53:47,597 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Obtained.*chunks of data in.* 2024-05-17 09:53:47,598 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Starting.* 2024-05-17 09:53:47,598 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Starting.* 2024-05-17 09:53:47,600 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Obtained.*chunks of data in.* 2024-05-17 09:53:47,600 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*The checksum of both databases match.* 2024-05-17 09:53:47,601 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Starting.* 2024-05-17 09:53:47,601 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Sending chunks.* 2024-05-17 09:53:47,605 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Sending chunks.* 2024-05-17 09:53:47,605 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Sending chunks.* 2024-05-17 09:53:47,607 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Sending chunks.* 2024-05-17 09:53:47,607 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Finished in.*Updated.*chunks.* 2024-05-17 09:53:47,610 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*The checksum of both databases match.* 2024-05-17 09:53:47,610 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Finished in.*Updated.*chunks.* 2024-05-17 09:53:47,610 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker1.*Agent-groups send.*Finished in.*Updated.*chunks.* 2024-05-17 09:53:47,611 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Finished in.*Updated.*chunks.* 2024-05-17 09:53:47,613 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent-groups recv.*Finished in.*Updated.*chunks.* 2024-05-17 09:53:47,614 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Worker wazuh-worker2.*Agent-groups send.*Finished in.*Updated.*chunks.* 2024-05-17 09:53:48,608 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 09:53:48,608 - wazuh_testing - DEBUG - Checking results... 2024-05-17 09:53:48,609 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,609 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,610 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,610 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,610 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:53:48,610 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,610 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:53:48,610 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,610 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:53:48,610 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,611 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,611 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,611 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:53:48,611 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 09:53:48,611 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 09:53:48,611 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/api.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/api.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/api.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/api.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.007685 test_cluster/test_agent_groups/test_assign_agent_group_with_enrollment.py::test_assign_agent_to_a_group[wazuh-worker1] description: Check that when an agent registers in a worker, with a group assigned in the enrollment section,. the agent has that group assigned in the worker's database.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: string. brief: name of the host where the agent will register. - clean_enviroment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering and after receiving agent group info, it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 89.28 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.007738 test_cluster/test_agent_groups/test_assign_agent_never_connected_to_group.py::test_assign_agent_to_a_group[wazuh-master] description: Check that when an agent with status never_connected, pointing to a master/worker node is. registered using agent-auth with a group the change is sync with the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 26.75 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.007791 test_cluster/test_agent_groups/test_assign_agent_never_connected_to_group.py::test_assign_agent_to_a_group[wazuh-worker1] description: Check that when an agent with status never_connected, pointing to a master/worker node is. registered using agent-auth with a group the change is sync with the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 26.76 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.007847 test_cluster/test_agent_groups/test_assign_agent_to_a_group.py::test_assign_agent_to_a_group[wazuh-master-active] description: Check agent enrollment process and new group assignment works as expected in a cluster environment.. Check that when an agent pointing to a master/worker node is registered using CLI tool, and and then. it's assigned to a new group the change is synced in the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - initial_status:. type: String. brief: Status of the agent when the assign the new group.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active/disconnected in all nodes.. - Verify that after registering and after starting the agent, it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 131.45 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.007903 test_cluster/test_agent_groups/test_assign_agent_to_a_group.py::test_assign_agent_to_a_group[wazuh-master-disconnected] description: Check agent enrollment process and new group assignment works as expected in a cluster environment.. Check that when an agent pointing to a master/worker node is registered using CLI tool, and and then. it's assigned to a new group the change is synced in the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - initial_status:. type: String. brief: Status of the agent when the assign the new group.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active/disconnected in all nodes.. - Verify that after registering and after starting the agent, it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 166.49 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.008057 test_cluster/test_agent_groups/test_assign_agent_to_a_group.py::test_assign_agent_to_a_group[wazuh-worker1-active] description: Check agent enrollment process and new group assignment works as expected in a cluster environment.. Check that when an agent pointing to a master/worker node is registered using CLI tool, and and then. it's assigned to a new group the change is synced in the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - initial_status:. type: String. brief: Status of the agent when the assign the new group.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active/disconnected in all nodes.. - Verify that after registering and after starting the agent, it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 130.26 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.008114 test_cluster/test_agent_groups/test_assign_agent_to_a_group.py::test_assign_agent_to_a_group[wazuh-worker1-disconnected] description: Check agent enrollment process and new group assignment works as expected in a cluster environment.. Check that when an agent pointing to a master/worker node is registered using CLI tool, and and then. it's assigned to a new group the change is synced in the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - initial_status:. type: String. brief: Status of the agent when the assign the new group.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active/disconnected in all nodes.. - Verify that after registering and after starting the agent, it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 168.09 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.008169 test_cluster/test_agent_groups/test_assign_agent_to_a_group_api.py::test_assign_agent_to_a_group[wazuh-master-active] description: Check agent enrollment process and new group assignment works as expected in a cluster environment.. Check that when an agent pointing to a master/worker node is registered, and when. it's assigned to a new group using API the change is sync with the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - initial_status:. type: String. brief: Status of the agent when the assign the new group.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active/disconnected in all nodes.. - Verify that the response of API query is 200.. - Verify that after registering and after starting the agent, it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 73.43 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.008231 test_cluster/test_agent_groups/test_assign_agent_to_a_group_api.py::test_assign_agent_to_a_group[wazuh-master-disconnected] description: Check agent enrollment process and new group assignment works as expected in a cluster environment.. Check that when an agent pointing to a master/worker node is registered, and when. it's assigned to a new group using API the change is sync with the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - initial_status:. type: String. brief: Status of the agent when the assign the new group.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active/disconnected in all nodes.. - Verify that the response of API query is 200.. - Verify that after registering and after starting the agent, it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 107.42 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.008283 test_cluster/test_agent_groups/test_assign_agent_to_a_group_api.py::test_assign_agent_to_a_group[wazuh-worker1-active] description: Check agent enrollment process and new group assignment works as expected in a cluster environment.. Check that when an agent pointing to a master/worker node is registered, and when. it's assigned to a new group using API the change is sync with the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - initial_status:. type: String. brief: Status of the agent when the assign the new group.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active/disconnected in all nodes.. - Verify that the response of API query is 200.. - Verify that after registering and after starting the agent, it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 72.64 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.008335 test_cluster/test_agent_groups/test_assign_agent_to_a_group_api.py::test_assign_agent_to_a_group[wazuh-worker1-disconnected] description: Check agent enrollment process and new group assignment works as expected in a cluster environment.. Check that when an agent pointing to a master/worker node is registered, and when. it's assigned to a new group using API the change is sync with the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: String. brief: Name of the host where the agent will register.. - initial_status:. type: String. brief: Status of the agent when the assign the new group.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering and before starting the agent, it has no groups assigned.. - Verify that after registering the agent appears as active/disconnected in all nodes.. - Verify that the response of API query is 200.. - Verify that after registering and after starting the agent, it has the 'group_test' group assigned.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 106.90 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.008388 test_cluster/test_agent_groups/test_assign_agent_to_a_group_by_tool.py::test_assign_agent_to_a_group_by_tool[wazuh-master] description: Check that when an agent with status never_connected, pointing to a master/worker node is. registered using agent-auth and when it is assigned to a group with agent-group, the change is synced. with the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: string. brief: name of the host where the agent will register. - clean_enviroment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 42.93 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.008443 test_cluster/test_agent_groups/test_assign_agent_to_a_group_by_tool.py::test_assign_agent_to_a_group_by_tool[wazuh-worker1] description: Check that when an agent with status never_connected, pointing to a master/worker node is. registered using agent-auth and when it is assigned to a group with agent-group, the change is synced. with the cluster.. wazuh_min_version: 4.4.0. parameters:. - agent_target:. type: string. brief: name of the host where the agent will register. - clean_enviroment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 42.88 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.008517 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_single_group[wazuh-master-0] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 151.97 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:16:34,021 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:16:34,022 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:16:34,022 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:16:34,024 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:16:34,025 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:16:34,025 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:16:34,025 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '002' with file 'merged.mg' MD5 .* 2024-05-17 10:16:34,026 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:16:35,671 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '002' with file 'merged.mg' MD5 .* 2024-05-17 10:16:35,672 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:16:35,672 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '002' group is 'default' 2024-05-17 10:16:35,814 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '002' group is 'default' 2024-05-17 10:16:36,541 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:16:36,542 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:16:36,543 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:16:36,543 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:16:36,543 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.008595 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_single_group[wazuh-master-1] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 162.17 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:19:09,547 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:19:09,548 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:19:09,549 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:19:09,550 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '002' with file 'merged.mg' MD5 .* 2024-05-17 10:19:09,550 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:19:09,552 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:19:09,553 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:19:09,554 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'group_test' 2024-05-17 10:19:11,168 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '002' with file 'merged.mg' MD5 .* 2024-05-17 10:19:11,223 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'group_test' 2024-05-17 10:19:11,223 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '002' group is 'group_test' 2024-05-17 10:19:11,362 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '002' group is 'group_test' 2024-05-17 10:19:12,071 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:19:12,072 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:19:12,073 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:19:12,074 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:19:12,074 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.008672 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_single_group[wazuh-worker1-0] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 161.05 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:21:53,244 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:21:53,246 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-worker1_ossec.log.tmp 2024-05-17 10:21:53,247 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:21:53,249 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"002","md5":.* 2024-05-17 10:21:53,249 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:21:53,250 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:21:53,252 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:21:53,253 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '002' with file 'merged.mg' MD5 .* 2024-05-17 10:21:54,796 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"002","md5":.* 2024-05-17 10:21:54,796 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default"}}' 2024-05-17 10:21:54,836 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '002' with file 'merged.mg' MD5 .* 2024-05-17 10:21:54,836 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:21:54,842 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default"}}' 2024-05-17 10:21:54,842 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent '002' group is 'default' 2024-05-17 10:21:54,914 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:22:03,429 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent '002' group is 'default' 2024-05-17 10:22:04,297 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:22:04,298 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:22:04,299 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:22:04,299 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:22:04,299 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:22:04,299 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:22:04,299 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True
Passed 2024-05-17 10:05:39.024342 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_single_group[wazuh-worker1-1] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 162.96 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:24:38,429 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:24:38,431 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-worker1_ossec.log.tmp 2024-05-17 10:24:38,432 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:24:38,435 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:24:38,435 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"002","md5":.* 2024-05-17 10:24:38,436 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:24:38,437 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:24:38,439 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '002' with file 'merged.mg' MD5 .* 2024-05-17 10:24:40,001 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"002","md5":.* 2024-05-17 10:24:40,001 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"group_test"}}' 2024-05-17 10:24:40,045 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"group_test"}}' 2024-05-17 10:24:40,046 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent '002' group is 'group_test' 2024-05-17 10:24:40,053 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '002' with file 'merged.mg' MD5 .* 2024-05-17 10:24:40,053 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'group_test' 2024-05-17 10:24:40,100 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent '002' group is 'group_test' 2024-05-17 10:24:40,128 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'group_test' 2024-05-17 10:24:40,950 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:24:40,951 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:24:40,952 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:24:40,952 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:24:40,952 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:24:40,952 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:24:40,952 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.024488 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_multigroups[wazuh-master-0-1] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - n_agents:. type: Int. brief: Number of agents to register.. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 169.10 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:27:36,682 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:27:36,685 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:27:36,685 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:27:36,688 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:27:36,688 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:27:36,689 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:27:36,690 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:27:36,692 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:27:38,269 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:27:38,269 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' group is 'default' 2024-05-17 10:27:38,382 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:27:38,481 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' group is 'default' 2024-05-17 10:27:39,203 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:27:39,204 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:27:39,205 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:27:39,206 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:27:39,206 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.024567 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_multigroups[wazuh-master-0-2] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - n_agents:. type: Int. brief: Number of agents to register.. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 185.29 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:30:39,000 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:30:39,001 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:30:39,004 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:30:39,005 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:30:39,006 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:30:39,007 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:30:39,008 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:30:39,009 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:30:40,548 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:30:40,549 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' group is 'default' 2024-05-17 10:30:40,835 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:30:40,885 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' group is 'default' 2024-05-17 10:30:41,526 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:30:41,527 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:30:41,529 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:30:41,529 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:30:41,530 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.024643 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_multigroups[wazuh-master-1-1] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - n_agents:. type: Int. brief: Number of agents to register.. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 168.87 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:33:35,406 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:33:35,408 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:33:35,408 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:33:35,409 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:33:35,411 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:33:35,411 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:33:35,411 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:33:35,412 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:33:36,983 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:33:36,983 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' group is 'default' 2024-05-17 10:33:37,180 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:33:37,247 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' group is 'default' 2024-05-17 10:33:37,925 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:33:37,926 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:33:37,929 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:33:37,929 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:33:37,929 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.024712 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_multigroups[wazuh-master-1-2] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - n_agents:. type: Int. brief: Number of agents to register.. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 189.61 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:36:38,752 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:36:38,753 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log 2024-05-17 10:36:38,754 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:36:38,754 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:36:38,755 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:36:38,756 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:36:38,756 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:36:38,757 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default,group_test' 2024-05-17 10:36:40,625 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:36:40,629 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default,group_test' 2024-05-17 10:36:40,629 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' group is 'default,group_test' 2024-05-17 10:36:40,984 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' group is 'default,group_test' 2024-05-17 10:36:41,774 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:36:41,775 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:36:41,776 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:36:41,776 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:36:41,776 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.024786 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_multigroups[wazuh-worker1-0-1] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - n_agents:. type: Int. brief: Number of agents to register.. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 175.71 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:39:47,737 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:39:47,740 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-worker1_ossec.log.tmp 2024-05-17 10:39:47,741 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:39:47,743 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"003","md5":.* 2024-05-17 10:39:47,744 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:39:47,746 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:39:47,747 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:39:47,749 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:39:49,321 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"003","md5":.* 2024-05-17 10:39:49,321 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default"}}' 2024-05-17 10:39:49,328 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default"}}' 2024-05-17 10:39:49,328 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent '003' group is 'default' 2024-05-17 10:39:49,415 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:39:49,415 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:39:49,454 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent '003' group is 'default' 2024-05-17 10:39:49,457 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:39:50,260 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:39:50,261 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:39:50,262 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:39:50,263 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:39:50,263 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:39:50,263 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:39:50,263 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.024859 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_multigroups[wazuh-worker1-0-2] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - n_agents:. type: Int. brief: Number of agents to register.. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 183.62 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:42:48,717 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:42:48,719 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:42:48,720 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:42:48,721 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-worker1_ossec.log.tmp 2024-05-17 10:42:48,722 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:42:48,722 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"003","md5":.* 2024-05-17 10:42:48,723 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:42:48,724 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:42:50,333 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:42:50,333 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:42:50,377 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:42:50,404 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"003","md5":.* 2024-05-17 10:42:50,404 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default"}}' 2024-05-17 10:42:50,412 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default"}}' 2024-05-17 10:42:50,412 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent '003' group is 'default' 2024-05-17 10:42:50,583 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent '003' group is 'default' 2024-05-17 10:42:51,235 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:42:51,237 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:42:51,239 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:42:51,240 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:42:51,240 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:42:51,240 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:42:51,241 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True
Passed 2024-05-17 10:05:39.024933 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_multigroups[wazuh-worker1-1-1] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - n_agents:. type: Int. brief: Number of agents to register.. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 169.66 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:45:44,029 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:45:44,030 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:45:44,032 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:45:44,032 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-worker1_ossec.log.tmp 2024-05-17 10:45:44,033 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:45:44,034 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"003","md5":.* 2024-05-17 10:45:44,034 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:45:44,035 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:45:45,619 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"003","md5":.* 2024-05-17 10:45:45,619 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default"}}' 2024-05-17 10:45:45,625 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default"}}' 2024-05-17 10:45:45,625 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent '003' group is 'default' 2024-05-17 10:45:45,679 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:45:45,679 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:45:45,724 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default' 2024-05-17 10:45:48,232 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent '003' group is 'default' 2024-05-17 10:45:49,054 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:45:49,054 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:45:49,056 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:45:49,056 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:45:49,056 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:45:49,056 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:45:49,056 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True
Passed 2024-05-17 10:05:39.025007 test_cluster/test_agent_groups/test_assign_groups_guess.py::test_guess_multigroups[wazuh-worker1-1-2] description: Check that when an agent registered in the manager and assigned to group is removed, performs a. guessing operation and determinates the groups to with the agent was assigned.. wazuh_min_version: 4.4.0. parameters:. - n_agents:. type: Int. brief: Number of agents to register.. - target_node:. type: String. brief: Name of the host where the agent will register.. - status_guess_agent_group. type: String. brief: Determine if the group guessing mechanism is enabled or disabled.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. - modify_internal_options:. type: Fixture. brief: Add internal options in local_internal_options.conf. assertions:. - Verify that after registering the agent key file exists in all nodes.. - Verify that after registering the agent appears as never_connected in all nodes.. - Verify that after registering it has the 'Null' group assigned.. - Verify that after assign group with agent-groups the change is sync with the cluster.. expected_output:. - The agent 'Agent_name' with ID 'Agent_id' belongs to groups: group_test." 183.98 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 10:48:49,033 - wazuh_testing - DEBUG - Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:48:49,035 - wazuh_testing - DEBUG - Starting file composer for wazuh-worker1 and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-worker1_ossec.log.tmp 2024-05-17 10:48:49,036 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log 2024-05-17 10:48:49,038 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"003","md5":.* 2024-05-17 10:48:49,039 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:48:49,040 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/ossec.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_ossec.log.tmp 2024-05-17 10:48:49,042 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log 2024-05-17 10:48:49,043 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:48:50,667 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent '003' with file 'merged.mg' MD5 .* 2024-05-17 10:48:50,667 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Group assigned: 'default,group_test' 2024-05-17 10:48:50,683 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Sending message to master node: '{"daemon_name":"remoted","message":{"command":"assigngroup","parameters":{"agent":"003","md5":.* 2024-05-17 10:48:50,683 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default,group_test"}}' 2024-05-17 10:48:50,750 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Group assigned: 'default,group_test' 2024-05-17 10:48:50,830 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Message received from master node: '{"error":0,"message":"ok","data":{"group":"default,group_test"}}' 2024-05-17 10:48:50,830 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-worker1 and message: .*Agent '003' group is 'default,group_test' 2024-05-17 10:48:51,005 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-worker1 and message: .*Agent '003' group is 'default,group_test' 2024-05-17 10:48:51,558 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 10:48:51,560 - wazuh_testing - DEBUG - Checking results... 2024-05-17 10:48:51,562 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:48:51,562 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:48:51,563 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True 2024-05-17 10:48:51,563 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True 2024-05-17 10:48:51,564 - wazuh_testing - DEBUG - Received from wazuh-worker1 the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-worker1 and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/ossec.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-worker1 the expected message: True
Passed 2024-05-17 10:05:39.025062 test_cluster/test_agent_groups/test_group_hash.py::test_group_hash[wazuh-master-default-1] description: Check that when an agent registered in the manager and assigned to a group, the global hash is the. the expected one.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - group. type: String. brief: Determine if the group to assign.. - configure_groups:. type: Fixture. brief: Create and delete groups.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that there is a global hash.. - Verify that the global hash is the same in every node. 86.47 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025113 test_cluster/test_agent_groups/test_group_hash.py::test_group_hash[wazuh-master-default-2] description: Check that when an agent registered in the manager and assigned to a group, the global hash is the. the expected one.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - group. type: String. brief: Determine if the group to assign.. - configure_groups:. type: Fixture. brief: Create and delete groups.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that there is a global hash.. - Verify that the global hash is the same in every node. 116.21 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025188 test_cluster/test_agent_groups/test_group_hash.py::test_group_hash[wazuh-master-multigroup1-1] description: Check that when an agent registered in the manager and assigned to a group, the global hash is the. the expected one.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - group. type: String. brief: Determine if the group to assign.. - configure_groups:. type: Fixture. brief: Create and delete groups.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that there is a global hash.. - Verify that the global hash is the same in every node. 116.06 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025241 test_cluster/test_agent_groups/test_group_hash.py::test_group_hash[wazuh-master-multigroup1-2] description: Check that when an agent registered in the manager and assigned to a group, the global hash is the. the expected one.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - group. type: String. brief: Determine if the group to assign.. - configure_groups:. type: Fixture. brief: Create and delete groups.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that there is a global hash.. - Verify that the global hash is the same in every node. 149.18 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025293 test_cluster/test_agent_groups/test_group_hash.py::test_group_hash[wazuh-worker1-default-1] description: Check that when an agent registered in the manager and assigned to a group, the global hash is the. the expected one.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - group. type: String. brief: Determine if the group to assign.. - configure_groups:. type: Fixture. brief: Create and delete groups.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that there is a global hash.. - Verify that the global hash is the same in every node. 87.59 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025344 test_cluster/test_agent_groups/test_group_hash.py::test_group_hash[wazuh-worker1-default-2] description: Check that when an agent registered in the manager and assigned to a group, the global hash is the. the expected one.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - group. type: String. brief: Determine if the group to assign.. - configure_groups:. type: Fixture. brief: Create and delete groups.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that there is a global hash.. - Verify that the global hash is the same in every node. 117.44 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025394 test_cluster/test_agent_groups/test_group_hash.py::test_group_hash[wazuh-worker1-multigroup1-1] description: Check that when an agent registered in the manager and assigned to a group, the global hash is the. the expected one.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - group. type: String. brief: Determine if the group to assign.. - configure_groups:. type: Fixture. brief: Create and delete groups.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that there is a global hash.. - Verify that the global hash is the same in every node. 116.43 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025447 test_cluster/test_agent_groups/test_group_hash.py::test_group_hash[wazuh-worker1-multigroup1-2] description: Check that when an agent registered in the manager and assigned to a group, the global hash is the. the expected one.. wazuh_min_version: 4.4.0. parameters:. - target_node:. type: String. brief: Name of the host where the agent will register.. - group. type: String. brief: Determine if the group to assign.. - configure_groups:. type: Fixture. brief: Create and delete groups.. - clean_enviroment:. type: Fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify that there is a global hash.. - Verify that the global hash is the same in every node. 149.11 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025499 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_master_agent_all-wazuh-master] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 105.76 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025551 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_master_agent_all-wazuh-worker1] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 94.16 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025601 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_master_agent_all-wazuh-worker2] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 94.14 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025651 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker1_agent_all-wazuh-master] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 103.92 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025702 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker1_agent_all-wazuh-worker1] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 102.06 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025754 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker1_agent_all-wazuh-worker2] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 159.27 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025803 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker2_agent_all-wazuh-master] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 104.69 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025874 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker2_agent_all-wazuh-worker1] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 118.02 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025927 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker2_agent_all-wazuh-worker2] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 108.19 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.025979 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_master_agent_agent1-wazuh-master] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 88.30 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026031 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_master_agent_agent1-wazuh-worker1] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 86.87 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026081 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_master_agent_agent1-wazuh-worker2] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 88.33 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026130 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker1_agent1-wazuh-master] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 96.17 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026179 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker1_agent1-wazuh-worker1] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 102.97 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026229 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker1_agent1-wazuh-worker2] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 104.06 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026279 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker2_agent1-wazuh-master] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 95.46 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026328 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker2_agent1-wazuh-worker1] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 97.80 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026379 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker2_agent1-wazuh-worker2] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 96.54 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026430 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_master_agent_agent2-wazuh-master] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 93.75 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026498 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_master_agent_agent2-wazuh-worker1] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 92.02 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026548 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_master_agent_agent2-wazuh-worker2] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 88.42 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026600 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker1_agent2-wazuh-master] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 96.61 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026658 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker1_agent2-wazuh-worker1] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 95.39 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026736 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker1_agent2-wazuh-worker2] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 104.73 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026786 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker2_agent2-wazuh-master] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 99.85 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026837 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker2_agent2-wazuh-worker1] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 105.56 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026888 test_cluster/test_agent_groups/test_group_sync_status.py::test_group_sync_status[delete_folder_worker2_agent2-wazuh-worker2] description: Delete a group folder in wazuh server cluster and check group_sync status in 2 times.. wazuh_min_version: 4.4.0. metadata:. - metadata:. type: list. brief: List of tests to be performed.. - target_node:. type: list. brief: List of nodes from the groups will be managed.. - clean_environment:. type: fixture. brief: Cleaning logs and resetting environment before testing.. - group_creation_and_assignation:. type: fixture. brief: Delete and create from zero all the groups that are going to be used for testing.. It includes group cleaning after tests.. - wait_end_initial_syncreq:. type: fixture. brief: Wait until syncreqs related with the test-environment setting get neutralized. assertions:. - Verify that group_sync status changes according the trigger.. - Verify same conditions creating and assigning groups from all wazuh-manager clusters (Master and Workers). input_description: Different use cases are found in the test module and include parameters.. expected_output:. - If the group-folder is deleted from master cluster, it is expected to find a. syncreq group_sync status until it gets synced.. - If the group-folder is deletef rom a worker cluster, it is expected that master. cluster recreates groups without syncreq status. 103.93 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026941 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-master-group_test-api] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 63.45 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.026992 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-master-group_test-tool] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 62.48 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.027042 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-master-group_test-master_folder] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 61.41 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.027107 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-master-group_test-worker1_folder] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 103.36 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 11:55:56,579 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 11:55:56,582 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_cluster.log.tmp 2024-05-17 11:55:56,583 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 11:55:56,585 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent-groups send full.* Finished.* 2024-05-17 11:56:31,184 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent-groups send full.* Finished.* 2024-05-17 11:56:31,718 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 11:56:31,719 - wazuh_testing - DEBUG - Checking results... 2024-05-17 11:56:31,720 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.027191 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-master-group_test-worker2_folder] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 107.64 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 11:57:41,336 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 11:57:41,339 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_cluster.log.tmp 2024-05-17 11:57:41,339 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 11:57:41,342 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent-groups send full.* Finished.* 2024-05-17 11:58:21,001 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent-groups send full.* Finished.* 2024-05-17 11:58:21,488 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 11:58:21,488 - wazuh_testing - DEBUG - Checking results... 2024-05-17 11:58:21,489 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.027247 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-worker1-group_test-api] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 63.71 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.027300 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-worker1-group_test-tool] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 62.68 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.027352 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-worker1-group_test-master_folder] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 62.79 cluster, enrollment_cluster_env
No log output captured.
Passed 2024-05-17 10:05:39.027417 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-worker1-group_test-worker1_folder] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 101.70 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 12:02:49,298 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 12:02:49,301 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_cluster.log.tmp 2024-05-17 12:02:49,301 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 12:02:49,305 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent-groups send full.* Finished.* 2024-05-17 12:03:21,918 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent-groups send full.* Finished.* 2024-05-17 12:03:22,435 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 12:03:22,435 - wazuh_testing - DEBUG - Checking results... 2024-05-17 12:03:22,436 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True
Passed 2024-05-17 10:05:39.027480 test_cluster/test_agent_groups/test_remove_group.py::test_remove_group[wazuh-worker1-group_test-worker2_folder] description: Check that a group is completely deleted from all nodes when using different deletion methods, with the. exception of cases where the group folder is deleted on a worker node.. wazuh_min_version: 4.4.0. parameters:. - metadata:. type: dict. brief: Get metadata from the module.. - group:. type: string. brief: Group name.. - target_node:. type: string. brief: Name of the host where the agent will register.. - pre_configured_groups:. type: fixture. brief: Create group, register and assign agent during the setup.. - clean_environment:. type: fixture. brief: Reset the wazuh log files at the start of the test. Remove all registered agents from master.. assertions:. - Verify [Agent-groups send full] task finished when the group folder is removed in a worker node.. - Verify group name is present in agent table when the group folder is removed in a worker node.. - Verify group id is present in agent table when the group folder is removed in a worker node.. - Verify group name is not present in agent table when group is deleted.. - Verify group id is not present in agent table when group is deleted. 107.31 cluster, enrollment_cluster_env
------------------------------Captured stderr call------------------------------
2024-05-17 12:04:31,356 - wazuh_testing - DEBUG - Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 12:04:31,359 - wazuh_testing - DEBUG - Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log 2024-05-17 12:04:31,360 - wazuh_testing - DEBUG - Starting file composer for wazuh-master and path: /var/ossec/logs/cluster.log. Composite file in /home/juliamagan/Desktop/QA/23433/wazuh-qa/tests/system/test_cluster/test_agent_groups/tmp/wazuh-master_cluster.log.tmp 2024-05-17 12:04:31,362 - wazuh_testing - DEBUG - Starting QueueMonitor for wazuh-master and message: .*Agent-groups send full.* Finished.* 2024-05-17 12:05:12,529 - wazuh_testing - DEBUG - Finishing QueueMonitor for wazuh-master and message: .*Agent-groups send full.* Finished.* 2024-05-17 12:05:13,024 - wazuh_testing - DEBUG - Cleaning temporal files... 2024-05-17 12:05:13,024 - wazuh_testing - DEBUG - Checking results... 2024-05-17 12:05:13,025 - wazuh_testing - DEBUG - Received from wazuh-master the expected message: True
-------------------------------Captured log call--------------------------------
DEBUG wazuh_testing:system_monitoring.py:78 Add new file composer process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:82 Add new file monitor process for wazuh-master and path: /var/ossec/logs/cluster.log DEBUG wazuh_testing:system_monitoring.py:185 Cleaning temporal files... DEBUG wazuh_testing:system_monitoring.py:174 Checking results... DEBUG wazuh_testing:system_monitoring.py:180 Received from wazuh-master the expected message: True