report1.html

Report generated on 11-Nov-2021 at 18:37:19 by pytest-html v3.1.1

Environment

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

Summary

34 tests ran in 103.06 seconds.

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

Results

Result Time Test Description Duration Markers Links Tier
Passed 2021-11-11 18:37:19.766274 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. 8.38 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:35:45 wazuh-db[5494] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/11/11 18:35:45 wazuh-db[5494] main.c:101 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2021-11-11 18:37:19.766463 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.03 linux, server 0
No log output captured.
Passed 2021-11-11 18:37:19.766562 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:37:19.766665 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:37:19.766756 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:37:19.766845 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:37:19.766943 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:37:19.767148 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:37:19.767237 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:37:19.767318 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:37:19.767404 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:37:19.767490 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:37:19.767570 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:37:19.767724 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:37:19.767823 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:37:19.767920 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:37:19.768096 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:37:19.768187 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:37:19.768277 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.03 linux, server 0
No log output captured.
Passed 2021-11-11 18:37:19.768353 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.04 linux, server 0
No log output captured.
Passed 2021-11-11 18:37:19.768434 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:37:19.768527 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:37:19.768612 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:37:19.768701 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:37:19.768780 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:37:19.768901 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:37:19.769083 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:37:19.769216 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:37:19.769310 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:37:19.769388 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:37:19.769468 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:37:19.769558 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.63 linux, server 0
No log output captured.
Passed 2021-11-11 18:37:19.769692 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_range_checksum Check the checksum range during the synchroniation of the DBs 1.43 linux, server 0
-----------------------------Captured stderr setup------------------------------
2021-11-11 18:35:54,965 - 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:35:56,390 - 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:37:19.769789 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_timeout Check that effectively the socket is closed after timeout is reached 83.36 linux, server 0
----------------------------Captured stderr teardown----------------------------
Redirecting to /bin/systemctl start wazuh-manager.service Redirecting to /bin/systemctl stop wazuh-manager.service