Report generated on 11-Nov-2021 at 18:47:48 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 60.03 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:47:48.687122 | 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. | 22.26 | 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:47:10 wazuh-db[10313] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/11/11 18:47:10 wazuh-db[10313] main.c:101 at main(): DEBUG: Wazuh home directory: /var/ossec | |||||||
Passed | 2021-11-11 18:47:48.687340 | 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:47:48.687428 | 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.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:47:48.687516 | 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.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:47:48.687614 | 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.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:47:48.687705 | 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:47:48.687788 | 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:47:48.687881 | 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:47:48.688004 | 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:47:48.688141 | 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:47:48.688220 | 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:47:48.688305 | 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:47:48.688380 | 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.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:47:48.688526 | 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:47:48.688619 | 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.04 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:47:48.688696 | 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:47:48.688785 | 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:47:48.688869 | 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.03 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:47:48.688953 | 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:47:48.689288 | 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:47:48.689371 | 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.01 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:47:48.689458 | 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:47:48.689533 | 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:47:48.689619 | 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:47:48.689703 | 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:47:48.689805 | 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:47:48.689899 | 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:47:48.690073 | 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:47:48.690163 | 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.02 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:47:48.690246 | 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:47:48.690326 | 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:47:48.690407 | 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 | 7.62 | linux, server | 0 | |
No log output captured. | |||||||
Passed | 2021-11-11 18:47:48.690531 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_range_checksum | Check the checksum range during the synchroniation of the DBs | 2.20 | linux, server | 0 | |
-----------------------------Captured stderr setup------------------------------ 2021-11-11 18:47:20,181 - 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:47:22,395 - 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:47:48.690628 | test_wazuh_db/test_wazuh_db.py::test_wazuh_db_timeout | Check that effectively the socket is closed after timeout is reached | 26.27 | linux, server | 0 | |
----------------------------Captured stderr teardown---------------------------- Redirecting to /bin/systemctl start wazuh-manager.service Redirecting to /bin/systemctl stop wazuh-manager.service |