report.html

Report generated on 03-Nov-2021 at 00:53:11 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 167.22 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:53:11.488933 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. 23.87 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:50:48 wazuh-db[6235] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/11/03 00:50:48 wazuh-db[6235] main.c:101 at main(): DEBUG: Wazuh home directory: /var/ossec
Passed 2021-11-03 00:53:11.490248 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.491109 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.491820 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.21 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.492810 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:53:11.493398 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.494030 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.494586 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:53:11.495458 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.496068 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.496867 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.497774 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.499388 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.500836 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.501456 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.502177 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.06 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.502966 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:53:11.503737 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.504397 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.505021 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:53:11.505900 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.506475 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-03 00:53:11.507065 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:53:11.507683 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.508391 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.04 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.509393 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:53:11.509994 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.510615 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.511185 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:53:11.511855 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.512483 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.05 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.513050 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 12.25 linux, server 0
No log output captured.
Passed 2021-11-03 00:53:11.514104 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_range_checksum Check the checksum range during the synchroniation of the DBs 7.96 linux, server 0
-----------------------------Captured stderr setup------------------------------
2021-11-03 00:51:04,201 - 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:51:12,174 - 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:53:11.515238 test_wazuh_db/test_wazuh_db.py::test_wazuh_db_timeout Check that effectively the socket is closed after timeout is reached 119.25 linux, server 0
----------------------------Captured stderr teardown----------------------------
Redirecting to /bin/systemctl start wazuh-manager.service Redirecting to /bin/systemctl stop wazuh-manager.service