R3.html

Report generated on 23-Feb-2022 at 19:20:06 by pytest-html v3.1.1

Environment

Packages {"pluggy": "0.13.1", "py": "1.10.0", "pytest": "6.2.2"}
Platform Linux-4.18.0-348.7.1.el8_5.x86_64-x86_64-with-centos-8.5.2111
Plugins {"html": "3.1.1", "metadata": "1.11.0", "testinfra": "5.0.0"}
Python 3.6.8

Summary

23 tests ran in 30.95 seconds.

23 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py 0 23 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2022-02-23 19:20:06.641139 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Append - Add TestGroup1] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 3.29 linux, server 0
-----------------------------Captured stdout setup------------------------------
Stopping wazuh-manager (via systemctl): [ OK ]
-----------------------------Captured stderr setup------------------------------
2022/02/23 19:19:38 wazuh-db[138490] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2022/02/23 19:19:38 wazuh-db[138490] main.c:112 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2022-02-23 19:20:06.641462 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Append Empty groups - Agent has no groups - No groups added] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.641623 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Append Empty groups - Agent has default group - No groups affected] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.642267 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Append Add same group twice - Has only one group] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.642472 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Append Two groups - Agent Has two groups] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.642701 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Empty-Only - Agent Has no groups. One Group is Added] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.643127 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Empty-Only - Agent Has no groups. No new groups added] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.643551 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Override - Agent Has one group. New group replaces old group] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.643934 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Override - Agent has Group - Pass no new group. Error - groups not affected] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.644329 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Remove - Agent has one Group - Remove the group. Agent has default assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.644683 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Remove - Agent has TestGroup1 and TestGroup2 - Remove Tesgroup1. Agent has TestGroup2 assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.644935 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Group Remove - Agent has no groups - Try remove a group. Agent has default assigned ] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.645189 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Invalid Mode - use an Invalid mode - no groups added] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.666071 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: No Mode - No mode is passed - no groups affected] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.666316 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: sync_status Synced - Assign a group using Synced Sync Status - agent has TestGroup1 assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.666497 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Wrong sync_status - Assign a group using and invalid Sync_Status - agent has no group] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.666699 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: No sync_status - Assign a group using and empty Sync_Status field - agent has no group assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.666935 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Missing Fields - Assign a group using without data field - agent has no group assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.667128 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Missing Fields - Assign a group using without data groups field - agent has no group assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.667302 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Missing Fields - Assign a group using without data id field - agent has no group assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.02 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.667494 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Missing Fields - Assign a group using without source field - agent has no group assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.667869 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Missing Fields - Assign a group using without mode field - agent has no group assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 0.03 linux, server 0
No log output captured.
Passed 2022-02-23 19:20:06.668355 test_wazuh_db/test_set_agent_groups/test_set_agent_groups.py::test_set_agent_groups[/root/wazuh-qa/tests/integration/test: Missing Fields - Assign a group using without sync_status field - agent has TestGroup1 assigned] description: Check that every input message using the 'set_agent_groups' command in wazuh-db socket generates . the proper output to wazuh-db socket. To do this, it performs a query to the socket with a command . taken from the list of test_cases's 'input' field, and compare the result with the test_case's. 'output' and 'expected_group' fields. 25.27 linux, server 0
----------------------------Captured stdout teardown----------------------------
Starting wazuh-manager (via systemctl): [ OK ]