report.html

Report generated on 03-Nov-2021 at 00:59:29 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 174.73 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-03 00:59:29.657253 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. 26.91 linux, server 0
-----------------------------Captured stderr setup------------------------------
Redirecting to /bin/systemctl start wazuh-manager.service Redirecting to /bin/systemctl stop wazuh-manager.service 2021/11/03 00:57:02 wazuh-db[9039] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/11/03 00:57:02 wazuh-db[9039] main.c:101 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2021-11-03 00:59:29.658542 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.07 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.659302 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.659914 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.25 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.660528 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. 0.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.661108 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.661737 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.07 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.662308 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.662905 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.663484 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.664070 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.664647 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.03 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.665639 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.666260 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.666842 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.667439 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.668045 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.668710 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.03 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.669315 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.669889 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.10 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.670446 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.670998 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.671586 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.03 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.672152 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.672709 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.673335 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.03 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.673901 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.674456 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.675042 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.675592 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.676137 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.676673 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 10.52 linux, server 0
No log output captured.
Passed 2021-11-03 00:59:29.677447 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_range_checksum Check the checksum range during the synchroniation of the DBs 7.57 linux, server 0
-----------------------------Captured stderr setup------------------------------
2021-11-03 00:57:16,231 - wazuh_testing - DEBUG - Initializing file to monitor to /var/ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:840 Initializing file to monitor to /var/ossec/logs/ossec.log
----------------------------Captured stderr teardown----------------------------
2021-11-03 00:57:23,788 - wazuh_testing - DEBUG - Trucanted /var/ossec/logs/ossec.log
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:848 Trucanted /var/ossec/logs/ossec.log
Passed 2021-11-03 00:59:29.678045 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_timeout Check that effectively the socket is closed after timeout is reached 125.81 linux, server 0
----------------------------Captured stderr teardown----------------------------
Redirecting to /bin/systemctl start wazuh-manager.service Redirecting to /bin/systemctl stop wazuh-manager.service