R1_test_assign_agent_to_a_group_by_tool.html

Report generated on 02-Mar-2023 at 17:10:57 by pytest-html v3.1.1

Environment

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

Summary

2 tests ran in 107.81 seconds.

2 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_cluster/test_agent_groups/test_assign_agent_to_a_group_by_tool.py 0 2 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2023-03-02 16:10:57.603622 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." 53.55 cluster, enrollment_cluster_env
No log output captured.
Passed 2023-03-02 16:10:57.603745 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." 52.60 cluster, enrollment_cluster_env
No log output captured.