R1.html

Report generated on 03-Jun-2022 at 18:05:02 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-305.12.1.el8_4.x86_64-x86_64-with-centos-8.4.2105
Plugins {"html": "3.1.1", "metadata": "1.11.0", "testinfra": "5.0.0"}
Python 3.6.8

Summary

118 tests ran in 281.30 seconds.

118 passed, 1 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_wazuh_db/test_db_backup.py 0 11 0 0
test_wazuh_db/test_get_groups_integrity.py 0 8 0 0
test_wazuh_db/test_set_agent_groups.py 0 25 0 0
test_wazuh_db/test_sync_agent_groups_get.py 0 22 0 0
test_wazuh_db/test_wazuh_db.py 0 39 0 0
test_wazuh_db/test_wazuhdb_getconfig.py 0 5 0 0
test_wazuh_db/test_wdb_backup_configs.py 0 8 0 0

Results

Result Time Test Description Duration Markers Links Tier
Skipped 2022-06-03 18:05:02.515371 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_chunks description: Check that commands by chunks work properly when the agents' amount exceeds the response maximum size.. To do this, it sends a command to the wazuh-db socket and checks the response from the socket. 0.00 skip, linux, server 0
('/vagrant/M1/wazuh-qa/tests/integration/test_wazuh_db/test_wazuh_db.py', 445, 'Skipped: It will be blocked by #2217, when it is solved we can enable again this test')
Passed 2022-06-03 18:05:02.506565 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: Create One Backup File] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 1.27 linux, server 0
-----------------------------Captured stdout setup------------------------------
Stopping wazuh-manager (via systemctl): [ OK ]
-----------------------------Captured stderr setup------------------------------
2022/06/03 18:00:24 wazuh-db[65059] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2022/06/03 18:00:24 wazuh-db[65059] main.c:111 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2022-06-03 18:05:02.506804 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: Create Three Backups Files] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 3.03 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.506915 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: Restore backup file saving previous state - save_pre_restore_state == false] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.507000 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: Restore backup file saving previous state - save_pre_restore_state == true] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.507087 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: Restore backup from pre_restore backup - database should not have the test_values] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 1.03 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.507168 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: Restore backup with no save_pre_restore_state - pre_restore backup is generated normally] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 1.03 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.507250 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: ERROR - Restore backup with empty pre_restore value - save_pre_restore_state =='' ] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 1.03 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.507366 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: ERROR - Restore backup with invalid pre_restore value - save_pre_restore_state == value ] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 1.04 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.507449 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: ERROR - Restore backup with invalid snapshot value - snapshot == invalid_snapshot_value] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 1.03 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.507529 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: ERROR - Restore backup with empty snapshot value - snapshot ==''] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 1.03 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.507629 test_wazuh_db/test_db_backup.py::test_wdb_backup_command[/var/ossec/backup/db-/vagrant/M1/wazuh-qa/tests/integration/test: ERROR - Restore backup with no snapshot parameter] description: Check that every input message using the 'backup' command in wazuh-db socket generates. the proper output to wazuh-db socket. To do this, it performs a series of queries to the socket with . parameters from the list of test_cases, and compare the result with the test_case's 'restore_response'. field, as well as checking that the files have been created and the state of the data in DB in cases. where the 'restore' parameter is used. 21.06 linux, server 0
----------------------------Captured stdout teardown----------------------------
Starting wazuh-manager (via systemctl): [ OK ]
Passed 2022-06-03 18:05:02.507733 test_wazuh_db/test_get_groups_integrity.py::test_get_groups_integrity[/vagrant/M1/wazuh-qa/tests/integration/test: No Agents Registered - No Hash - Error] description: Check that every input message using the 'get-groups-integrity' 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' field. 3.23 linux, server 0
-----------------------------Captured stdout setup------------------------------
Stopping wazuh-manager (via systemctl): [ OK ]
-----------------------------Captured stderr setup------------------------------
2022/06/03 18:01:01 wazuh-db[66005] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2022/06/03 18:01:01 wazuh-db[66005] main.c:111 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2022-06-03 18:05:02.507917 test_wazuh_db/test_get_groups_integrity.py::test_get_groups_integrity[/vagrant/M1/wazuh-qa/tests/integration/test: Two Agents Registered - Valid Hash - Both Synced => Synced] description: Check that every input message using the 'get-groups-integrity' 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' field. 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508005 test_wazuh_db/test_get_groups_integrity.py::test_get_groups_integrity[/vagrant/M1/wazuh-qa/tests/integration/test: Two Agents Registered - Valid Hash - Both Syncreq => Syncreq] description: Check that every input message using the 'get-groups-integrity' 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' field. 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508086 test_wazuh_db/test_get_groups_integrity.py::test_get_groups_integrity[/vagrant/M1/wazuh-qa/tests/integration/test: Two Agents Registered - Valid Hash - Syncreq and Synced => Syncreq] description: Check that every input message using the 'get-groups-integrity' 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' field. 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508164 test_wazuh_db/test_get_groups_integrity.py::test_get_groups_integrity[/vagrant/M1/wazuh-qa/tests/integration/test: Two Agents Registered - Invalid Hash length. => error hash Less than 40 chars] description: Check that every input message using the 'get-groups-integrity' 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' field. 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508242 test_wazuh_db/test_get_groups_integrity.py::test_get_groups_integrity[/vagrant/M1/wazuh-qa/tests/integration/test: Two Agents Registered - Hash param Empty. => error hash Less than 40 chars] description: Check that every input message using the 'get-groups-integrity' 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' field. 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508319 test_wazuh_db/test_get_groups_integrity.py::test_get_groups_integrity[/vagrant/M1/wazuh-qa/tests/integration/test: Two Agents Registered - Both Synced - Hash does not match DB Hash => hash_mismatch] description: Check that every input message using the 'get-groups-integrity' 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' field. 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508421 test_wazuh_db/test_get_groups_integrity.py::test_get_groups_integrity[/vagrant/M1/wazuh-qa/tests/integration/test: Two Agents Registered - Syncreq - Hash does not match DB Hash => syncreq] description: Check that every input message using the 'get-groups-integrity' 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' field. 20.38 linux, server 0
----------------------------Captured stdout teardown----------------------------
Starting wazuh-manager (via systemctl): [ OK ]
Passed 2022-06-03 18:05:02.508517 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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. 2.98 linux, server 0
-----------------------------Captured stdout setup------------------------------
Stopping wazuh-manager (via systemctl): [ OK ]
-----------------------------Captured stderr setup------------------------------
2022/06/03 18:01:24 wazuh-db[66916] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2022/06/03 18:01:24 wazuh-db[66916] main.c:111 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2022-06-03 18:05:02.508605 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508682 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508758 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508836 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.508936 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509013 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509092 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509167 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509241 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509321 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509421 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509494 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509569 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509643 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509720 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509799 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509896 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.509973 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.510051 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.510132 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.510206 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/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. 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.510282 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Wrong group name format - Assign a group with an invalid group name (has invalid '.' character)] 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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.510358 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Wrong group name format - Assign a group with an invalid group name (has invalid ',' character)] 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.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.510442 test_wazuh_db/test_set_agent_groups.py::test_set_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Wrong group name format - Assign a group with an invalid group name (has invalid '@' character)] 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. 20.37 linux, server 0
----------------------------Captured stdout teardown----------------------------
Starting wazuh-manager (via systemctl): [ OK ]
Passed 2022-06-03 18:05:02.510550 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test sync_status with response] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 4.15 linux, server 0
-----------------------------Captured stdout setup------------------------------
Stopping wazuh-manager (via systemctl): [ OK ]
-----------------------------Captured stderr setup------------------------------
2022/06/03 18:01:48 wazuh-db[67808] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2022/06/03 18:01:48 wazuh-db[67808] main.c:111 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2022-06-03 18:05:02.510642 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test sync_status without response] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.510756 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test 'all' condition when agent groups are in 'sync_req'] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.04 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.510835 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test 'all' condition when agent groups are in 'synced'] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.05 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.510939 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test 'sync_status' condition when one agent groups are in 'synced'] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511026 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test 'all' condition when one agent groups are in 'synced'] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511105 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test with and invalid filter in condition] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511183 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test without condition] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511259 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test set_synced in True] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511338 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test set_synced with invalid value - false] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511415 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test set_synced with invalid value - String] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511498 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test get_global_hash in true] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511578 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test get_global_hash in false] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511652 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test get_global_hash with invalid value] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511727 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test 'agent_registration_delta' in 0 and sync_status] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511804 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test 'agent_registration_delta' in 0 and all condition ] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511908 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test 'agent_registration_delta' with delta in 10000 and sync_status] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.511986 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test 'agent_registration_delta' with delta in 10000 and all] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512063 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test last_id - by default] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512141 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test last_id - obtain from second group] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512217 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test last_id - with not exist id] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 1.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512302 test_wazuh_db/test_sync_agent_groups_get.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Test last_id - with negative value] description: Check that commands about sync_aget_groups_get works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. - pre_insert_agents_into_group:. type: fixture. brief: fixture in charge of insert agents and groups into DB.. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the sync_agent_groups_get.yaml file.. expected_output:. - an array with all the agents that match with the search criteria. tags:. - wazuh_db. - wdb_socket 20.04 linux, server 0
----------------------------Captured stdout teardown----------------------------
Starting wazuh-manager (via systemctl): [ OK ]
Passed 2022-06-03 18:05:02.512397 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[agent: Agents' CVEs table: vuln_cves] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 8.20 linux, server 0
-----------------------------Captured stdout setup------------------------------
Starting wazuh-manager (via systemctl): [ OK ] Stopping wazuh-manager (via systemctl): [ OK ]
-----------------------------Captured stderr setup------------------------------
2022/06/03 18:02:38 wazuh-db[69160] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2022/06/03 18:02:38 wazuh-db[69160] main.c:111 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2022-06-03 18:05:02.512485 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[agent: Not existing agent] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512561 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[agent: Agents' OS table: sys_osinfo] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512638 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[agent: Agents' Packages/Hotfixes tables: sys_programs and sys_hotfixes] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.08 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512715 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[syscollector: miscellaneous] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512815 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[syscollector: ports] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.03 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512893 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[syscollector: processes] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.512977 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[syscollector: packages] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513059 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[syscollector: osinfo] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513134 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[syscollector: hwinfo] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513211 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[syscollector: hotfixes] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.01 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513285 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Basics success] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513363 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Syntax errors] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513440 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Save2 fails] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513515 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_check_global success] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513592 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_check_global fails] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513674 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_check_left success] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513770 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_check_left fails] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513847 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity clear success] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.513928 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_clear fails] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514007 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Invalid agent ID] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514082 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Update existing file] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514158 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Path length] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514238 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Checksum field] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514311 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Large inode] description: Check that every input agent message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514390 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: Insert commands] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514471 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: Update commands] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514559 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: Labels commands] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514635 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: Select commands] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514731 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: get-all-agents command] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514809 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: sync-agent-info-get command] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514884 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: sync-agent-info-set command] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.514956 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: Reset connection status] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.515030 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: get-agents-by-connection-status command] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.515108 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: disconnect-agents command] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.515184 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: Delete commands] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.515262 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[/vagrant/M1/wazuh-qa/tests/integration/test: Manager keepalive] description: Check that every global input message 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 input list of. stages (test_case, input field) and compare the result with the input list of stages (test_case,. output field). 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.515488 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_range_checksum description: Calculates the checksum range during the synchronization of the DBs the first time and avoids the. checksum range the next time. To do this, it performs a query to the database with the command that. contains agent checksum information and calculates the checksum range. 1.08 linux, server 0
-----------------------------Captured stderr setup------------------------------
2022-06-03 18:02:39,373 - wazuh_testing - DEBUG - Initializing file to monitor to /var/ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:880 Initializing file to monitor to /var/ossec/logs/ossec.log
----------------------------Captured stderr teardown----------------------------
2022-06-03 18:02:40,471 - wazuh_testing - DEBUG - Trucanted /var/ossec/logs/ossec.log
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:888 Trucanted /var/ossec/logs/ossec.log
Passed 2022-06-03 18:05:02.515574 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_timeout Check that effectively the socket is closed after timeout is reached 22.84 linux, server 0
----------------------------Captured stdout teardown----------------------------
Starting wazuh-manager (via systemctl): [ OK ] Stopping wazuh-manager (via systemctl): [ OK ]
Passed 2022-06-03 18:05:02.515683 test_wazuh_db/test_wazuhdb_getconfig.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Get config missing parameter] description: Check that commands about wazuhdb getconfig works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the wazuhdb_getconfig.yaml file.. expected_output:. - an array with the configuration of DB.. tags:. - wazuh_db. - wdb_socket 0.31 linux, server 0
-----------------------------Captured stdout setup------------------------------
Stopping wazuh-manager (via systemctl): [ OK ]
-----------------------------Captured stderr setup------------------------------
2022/06/03 18:03:03 wazuh-db[70105] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2022/06/03 18:03:03 wazuh-db[70105] main.c:111 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2022-06-03 18:05:02.515772 test_wazuh_db/test_wazuhdb_getconfig.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Get config empty parameter] description: Check that commands about wazuhdb getconfig works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the wazuhdb_getconfig.yaml file.. expected_output:. - an array with the configuration of DB.. tags:. - wazuh_db. - wdb_socket 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.515849 test_wazuh_db/test_wazuhdb_getconfig.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Get config wrong parameter] description: Check that commands about wazuhdb getconfig works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the wazuhdb_getconfig.yaml file.. expected_output:. - an array with the configuration of DB.. tags:. - wazuh_db. - wdb_socket 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.515928 test_wazuh_db/test_wazuhdb_getconfig.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Get internal config] description: Check that commands about wazuhdb getconfig works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the wazuhdb_getconfig.yaml file.. expected_output:. - an array with the configuration of DB.. tags:. - wazuh_db. - wdb_socket 0.00 linux, server 0
No log output captured.
Passed 2022-06-03 18:05:02.516011 test_wazuh_db/test_wazuhdb_getconfig.py::test_sync_agent_groups[/vagrant/M1/wazuh-qa/tests/integration/test: Get wdb config] description: Check that commands about wazuhdb getconfig works properly.. wazuh_min_version: 4.4.0. parameters:. - configure_sockets_environment:. type: fixture. brief: Configure environment for sockets and MITM.. - connect_to_sockets_module:. type: fixture. brief: Module scope version of 'connect_to_sockets' fixture.. - test_case:. type: fixture. brief: List of test_case stages (dicts with input, output and agent_id and expected_groups keys).. assertions:. - Verify that the socket response matches the expected output.. input_description:. - Test cases are defined in the wazuhdb_getconfig.yaml file.. expected_output:. - an array with the configuration of DB.. tags:. - wazuh_db. - wdb_socket 19.13 linux, server 0
----------------------------Captured stdout teardown----------------------------
Starting wazuh-manager (via systemctl): [ OK ]
Passed 2022-06-03 18:05:02.516105 test_wazuh_db/test_wdb_backup_configs.py::test_wdb_backup_configs[get_configuration0-/var/ossec/backup/db] description: Check that given different wdb backup configuration parameters, the expected behavior is achieved.. For this, the test gets a series of parameters for the wazuh_db_backups_conf.yaml file and applies. them to the manager's ossec.conf. It checks in case of erroneous configurations that the manager was. unable to start; otherwise it will check that after creating "max_files+1", there are a total of . "max_files" backup files in the backup folder. 3.85 linux, server 0
------------------------------Captured stdout call------------------------------
Stopping wazuh-manager (via systemctl): [ OK ] Starting wazuh-manager (via systemctl): [FAILED]
------------------------------Captured stderr call------------------------------
Job for wazuh-manager.service failed because the control process exited with error code. See "systemctl status wazuh-manager.service" and "journalctl -xe" for details.
Passed 2022-06-03 18:05:02.516202 test_wazuh_db/test_wdb_backup_configs.py::test_wdb_backup_configs[get_configuration1-/var/ossec/backup/db] description: Check that given different wdb backup configuration parameters, the expected behavior is achieved.. For this, the test gets a series of parameters for the wazuh_db_backups_conf.yaml file and applies. them to the manager's ossec.conf. It checks in case of erroneous configurations that the manager was. unable to start; otherwise it will check that after creating "max_files+1", there are a total of . "max_files" backup files in the backup folder. 1.35 linux, server 0
-----------------------------Captured stdout setup------------------------------
2022-06-03T18:03:26.1654279406
------------------------------Captured stdout call------------------------------
Stopping wazuh-manager (via systemctl): [ OK ] Starting wazuh-manager (via systemctl): [FAILED]
------------------------------Captured stderr call------------------------------
Job for wazuh-manager.service failed because the control process exited with error code. See "systemctl status wazuh-manager.service" and "journalctl -xe" for details.
Passed 2022-06-03 18:05:02.516299 test_wazuh_db/test_wdb_backup_configs.py::test_wdb_backup_configs[get_configuration2-/var/ossec/backup/db] description: Check that given different wdb backup configuration parameters, the expected behavior is achieved.. For this, the test gets a series of parameters for the wazuh_db_backups_conf.yaml file and applies. them to the manager's ossec.conf. It checks in case of erroneous configurations that the manager was. unable to start; otherwise it will check that after creating "max_files+1", there are a total of . "max_files" backup files in the backup folder. 1.54 linux, server 0
-----------------------------Captured stdout setup------------------------------
2022-06-03T18:03:27.1654279407
------------------------------Captured stdout call------------------------------
Stopping wazuh-manager (via systemctl): [ OK ] Starting wazuh-manager (via systemctl): [FAILED]
------------------------------Captured stderr call------------------------------
Job for wazuh-manager.service failed because the control process exited with error code. See "systemctl status wazuh-manager.service" and "journalctl -xe" for details.
Passed 2022-06-03 18:05:02.516394 test_wazuh_db/test_wdb_backup_configs.py::test_wdb_backup_configs[get_configuration3-/var/ossec/backup/db] description: Check that given different wdb backup configuration parameters, the expected behavior is achieved.. For this, the test gets a series of parameters for the wazuh_db_backups_conf.yaml file and applies. them to the manager's ossec.conf. It checks in case of erroneous configurations that the manager was. unable to start; otherwise it will check that after creating "max_files+1", there are a total of . "max_files" backup files in the backup folder. 1.46 linux, server 0
-----------------------------Captured stdout setup------------------------------
2022-06-03T18:03:29.1654279409
------------------------------Captured stdout call------------------------------
Stopping wazuh-manager (via systemctl): [ OK ] Starting wazuh-manager (via systemctl): [FAILED]
------------------------------Captured stderr call------------------------------
Job for wazuh-manager.service failed because the control process exited with error code. See "systemctl status wazuh-manager.service" and "journalctl -xe" for details.
Passed 2022-06-03 18:05:02.516484 test_wazuh_db/test_wdb_backup_configs.py::test_wdb_backup_configs[get_configuration4-/var/ossec/backup/db] description: Check that given different wdb backup configuration parameters, the expected behavior is achieved.. For this, the test gets a series of parameters for the wazuh_db_backups_conf.yaml file and applies. them to the manager's ossec.conf. It checks in case of erroneous configurations that the manager was. unable to start; otherwise it will check that after creating "max_files+1", there are a total of . "max_files" backup files in the backup folder. 23.53 linux, server 0
-----------------------------Captured stdout setup------------------------------
2022-06-03T18:03:30.1654279410
------------------------------Captured stdout call------------------------------
Stopping wazuh-manager (via systemctl): [ OK ] Starting wazuh-manager (via systemctl): [ OK ]
Passed 2022-06-03 18:05:02.516592 test_wazuh_db/test_wdb_backup_configs.py::test_wdb_backup_configs[get_configuration5-/var/ossec/backup/db] description: Check that given different wdb backup configuration parameters, the expected behavior is achieved.. For this, the test gets a series of parameters for the wazuh_db_backups_conf.yaml file and applies. them to the manager's ossec.conf. It checks in case of erroneous configurations that the manager was. unable to start; otherwise it will check that after creating "max_files+1", there are a total of . "max_files" backup files in the backup folder. 26.48 linux, server 0
-----------------------------Captured stdout setup------------------------------
2022-06-03T18:03:54.1654279434
------------------------------Captured stdout call------------------------------
Stopping wazuh-manager (via systemctl): [ OK ] Starting wazuh-manager (via systemctl): [ OK ]
Passed 2022-06-03 18:05:02.516682 test_wazuh_db/test_wdb_backup_configs.py::test_wdb_backup_configs[get_configuration6-/var/ossec/backup/db] description: Check that given different wdb backup configuration parameters, the expected behavior is achieved.. For this, the test gets a series of parameters for the wazuh_db_backups_conf.yaml file and applies. them to the manager's ossec.conf. It checks in case of erroneous configurations that the manager was. unable to start; otherwise it will check that after creating "max_files+1", there are a total of . "max_files" backup files in the backup folder. 37.31 linux, server 0
-----------------------------Captured stdout setup------------------------------
2022-06-03T18:04:20.1654279460
------------------------------Captured stdout call------------------------------
Stopping wazuh-manager (via systemctl): [ OK ] Starting wazuh-manager (via systemctl): [ OK ]
Passed 2022-06-03 18:05:02.516785 test_wazuh_db/test_wdb_backup_configs.py::test_wdb_backup_configs[get_configuration7-/var/ossec/backup/db] description: Check that given different wdb backup configuration parameters, the expected behavior is achieved.. For this, the test gets a series of parameters for the wazuh_db_backups_conf.yaml file and applies. them to the manager's ossec.conf. It checks in case of erroneous configurations that the manager was. unable to start; otherwise it will check that after creating "max_files+1", there are a total of . "max_files" backup files in the backup folder. 4.52 linux, server 0
-----------------------------Captured stdout setup------------------------------
2022-06-03T18:04:58.1654279498
------------------------------Captured stdout call------------------------------
Stopping wazuh-manager (via systemctl): [ OK ] Starting wazuh-manager (via systemctl): [FAILED]
------------------------------Captured stderr call------------------------------
Job for wazuh-manager.service failed because the control process exited with error code. See "systemctl status wazuh-manager.service" and "journalctl -xe" for details.
----------------------------Captured stdout teardown----------------------------
2022-06-03T18:05:01.1654279501