Report generated on 11-Nov-2021 at 18:46:15 by pytest-html v3.1.1
Packages | {"pluggy": "0.13.1", "py": "1.10.0", "pytest": "6.2.3"} |
Platform | Linux-4.18.0-80.el8.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 |
34 tests ran in 115.01 seconds.
(Un)check the boxes to filter the results.
34 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passesTests | Failed | Success | XFail | Error |
---|---|---|---|---|
test_wazuh_db/test_wazuh_db.py | 0 | 34 | 0 | 0 |
Result | Time | Test | Description | Duration | Markers | Links | Tier |
---|---|---|---|---|---|---|---|
No results found. Try to check the filters | |||||||
Passed | 2021-11-11 18:46:15.906376 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Basics success] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 20.48 | linux, server | 0 | |
-----------------------------Captured stderr setup------------------------------ Redirecting to /bin/systemctl start wazuh-manager.service Redirecting to /bin/systemctl stop wazuh-manager.service 2021/11/11 18:44:41 wazuh-db[7936] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/11/11 18:44:41 wazuh-db[7936] main.c:101 at main(): DEBUG: Wazuh home directory: /var/ossec | |||||||
Passed | 2021-11-11 18:46:15.906583 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Syntax errors] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.906673 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Save2 fails] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.03 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.906760 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_check_global success] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.03 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.906839 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_check_global fails] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.03 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.906915 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_check_left success] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907011 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_check_left fails] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907129 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity clear success] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907217 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Integrity_clear fails] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907297 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Invalid agent ID] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.03 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907375 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Update existing file] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907480 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Path length] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907561 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Checksum field] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.03 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907702 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[fim: Large inode] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907789 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[agent: Agents' CVEs table: vuln_cves] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.03 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907865 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[agent: Not existing agent] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.907946 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[agent: Agents' OS table: sys_osinfo] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.908028 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_agent[agent: Agents' Packages/Hotfixes tables: sys_programs and sys_hotfixes] | Check that every input agent message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.908123 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: Insert commands] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.908217 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: Update commands] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.03 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.908295 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: Labels commands] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.908369 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: Select commands] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.908452 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: get-all-agents command] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.908565 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: sync-agent-info-get command] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.908746 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: sync-agent-info-set command] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.909011 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: Belongs commands] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.909349 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: Reset connection status] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.909661 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: get-agents-by-connection-status command] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.909943 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: disconnect-agents command] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.03 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.910269 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: Delete commands] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.910473 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_messages_global[global: Manager keepalive] | Check that every input global message in wazuh-db socket generates the adequate output to wazuh-db socket. | 0.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.910662 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_chunks | Check that commands by chunks work properly when agents amount exceed the response maximum size | 8.21 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:46:15.910979 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_range_checksum | Check the checksum range during the synchroniation of the DBs | 2.21 | linux, server | 0 | |
-----------------------------Captured stderr setup------------------------------ 2021-11-11 18:44:51,295 - wazuh_testing - DEBUG - Initializing file to monitor to /var/ossec/logs/ossec.log -------------------------------Captured log setup------------------------------- DEBUG wazuh_testing:conftest.py:845 Initializing file to monitor to /var/ossec/logs/ossec.log ----------------------------Captured stderr teardown---------------------------- 2021-11-11 18:44:53,513 - wazuh_testing - DEBUG - Trucanted /var/ossec/logs/ossec.log -----------------------------Captured log teardown------------------------------ DEBUG wazuh_testing:conftest.py:853 Trucanted /var/ossec/logs/ossec.log | |||||||
Passed | 2021-11-11 18:46:15.911328 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_timeout | Check that effectively the socket is closed after timeout is reached | 82.37 | linux, server | 0 | |
----------------------------Captured stderr teardown---------------------------- Redirecting to /bin/systemctl start wazuh-manager.service Redirecting to /bin/systemctl stop wazuh-manager.service |