R2-EPS.html

Report generated on 18-Aug-2022 at 15:02:52 by pytest-html v3.1.1

Environment

Packages {"pluggy": "1.0.0", "py": "1.10.0", "pytest": "7.1.2"}
Platform Linux-4.18.0-348.7.1.el8_5.x86_64-x86_64-with-glibc2.28
Plugins {"html": "3.1.1", "metadata": "2.0.1", "testinfra": "5.0.0"}
Python 3.10.5

Summary

16 tests ran in 324.78 seconds.

16 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_analysisd/test_eps/test_disabled.py 0 1 0 0
test_analysisd/test_eps/test_enabled.py 0 1 0 0
test_analysisd/test_eps/test_invalid_configuration.py 0 3 0 0
test_analysisd/test_eps/test_invalid_values.py 0 4 0 0
test_analysisd/test_eps/test_no_eps_configuration.py 0 2 0 0
test_analysisd/test_eps/test_process_old_events_instead_new_events.py 0 2 0 0
test_analysisd/test_eps/test_start_dropping_events_when_queue_full.py 0 1 0 0
test_analysisd/test_eps/test_start_queuing_events_when_limit_reached.py 0 1 0 0
test_analysisd/test_eps/test_stop_processing_events.py 0 1 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2022-08-18 15:02:52.497133 test_analysisd/test_eps/test_disabled.py::test_disabled[5-EPS Limits disabled] description: Check that limits EPS is not started when `maximum` is set to a value equal to 0, or with an empty. value, and `timeframe` is set to a value greater than 0 and lower than 3600. 16.84 server
No log output captured.
Passed 2022-08-18 15:02:52.497267 test_analysisd/test_eps/test_enabled.py::test_enabled[5-EPS Limits enabled] description: Check that limits EPS is started when `maximum` is set to a value greater than 0 lower and than 100000,. and `timeframe` is set to a value greater than 0 and lower than 3600. 16.71 server
No log output captured.
Passed 2022-08-18 15:02:52.497337 test_analysisd/test_eps/test_invalid_configuration.py::test_without_maximum[5-EPS Limits without maximum value] description: Check that wazuh manager is not started when `maximum` value is not present in the. configuration file. 3.51 server
No log output captured.
Passed 2022-08-18 15:02:52.497401 test_analysisd/test_eps/test_invalid_configuration.py::test_without_timeframe[5-EPS Limits without timeframe value] description: Check that wazuh manager is not started when `timeframe` value is not present in the. configuration file 13.25 server
No log output captured.
Passed 2022-08-18 15:02:52.497464 test_analysisd/test_eps/test_invalid_configuration.py::test_without_timeframe_maximum[5-EPS Limits without timeframe value] description: Check that wazuh manager is not started when `maximum` and/or `timeframe` are not present in the. configuration file. 18.05 server
No log output captured.
Passed 2022-08-18 15:02:52.497526 test_analysisd/test_eps/test_invalid_values.py::test_invalid_values[5-EPS Limits with maximum values over the maximum allowed] description: Check that wazuh manager is not started when an invalid value is set to `maximum` and/or `timeframe`. 3.96 server
No log output captured.
Passed 2022-08-18 15:02:52.497587 test_analysisd/test_eps/test_invalid_values.py::test_invalid_values[5-EPS Limits with timeframe values over the timeframe allowed] description: Check that wazuh manager is not started when an invalid value is set to `maximum` and/or `timeframe`. 0.93 server
No log output captured.
Passed 2022-08-18 15:02:52.497647 test_analysisd/test_eps/test_invalid_values.py::test_invalid_values[5-EPS Limits with timeframe value 0] description: Check that wazuh manager is not started when an invalid value is set to `maximum` and/or `timeframe`. 0.86 server
No log output captured.
Passed 2022-08-18 15:02:52.497725 test_analysisd/test_eps/test_invalid_values.py::test_invalid_values[5-EPS Limits with maximum and timeframe values 0] description: Check that wazuh manager is not started when an invalid value is set to `maximum` and/or `timeframe`. 15.09 server
No log output captured.
Passed 2022-08-18 15:02:52.497788 test_analysisd/test_eps/test_no_eps_configuration.py::test_disabled[5-EPS Limits disables] description: Check that limits EPS is disabled when it is not configured. 17.37 server
No log output captured.
Passed 2022-08-18 15:02:52.497849 test_analysisd/test_eps/test_no_eps_configuration.py::test_without_eps_setting[simulate_agent0-configure_local_internal_options_eps0-EPS Limits disables] description: Check that limits EPS is disabled when it is not configured and the received events are similar or. equal to the processed events. 31.49 server
No log output captured.
Passed 2022-08-18 15:02:52.497917 test_analysisd/test_eps/test_process_old_events_instead_new_events.py::test_process_old_events_one_thread[simulate_agent0-configure_local_internal_options_eps0-EPS Limits process old events instead of new ones - One thread] description: Check that `wazuh-analysisd` processes queued events first instead of new events when the moving. average frees up some space. To do this, read the alerts.log file and find the numerated alerts. messages and gets the timestamp. The oldest message must have lower timestamp. To do so, first it must. set the `internal_options.conf` file to work with one thread, otherwise the message are not in the. increasing order. 38.21 server
No log output captured.
Passed 2022-08-18 15:02:52.498004 test_analysisd/test_eps/test_process_old_events_instead_new_events.py::test_process_old_events_multi_thread[simulate_agent0-configure_local_internal_options_eps0-EPS Limits process old events instead of new ones - Multithread] description: Check that `wazuh-analysisd` processes queued events first instead of new events when the moving. average frees up some space. To do this, read the alerts.log file and find the numerated alerts. messages with the FileMonitor tool. To do so, it iterates the `n` frames of `maximum` * `timeframe` and. checks if the message number belongs to the respective frame. 50.77 server
No log output captured.
Passed 2022-08-18 15:02:52.498070 test_analysisd/test_eps/test_start_dropping_events_when_queue_full.py::test_start_dropping_events_when_queue_full[simulate_agent0-configure_local_internal_options_eps0-EPS Limits start dropping events] description: Check that the `events_dropped` value in the `/var/ossec/var/run/wazuh-analysisd.state` file must. be greater than 1 and, `event_queue_usage` is equal to 1. than 1.0. 34.85 server
No log output captured.
Passed 2022-08-18 15:02:52.498205 test_analysisd/test_eps/test_start_queuing_events_when_limit_reached.py::test_start_queuing_events_when_limit_reached[simulate_agent0-configure_local_internal_options_eps0-EPS Limits start queueing events] description: Check that the `events_processed` value in the `/var/ossec/var/run/wazuh-analysisd.state` file must. be lower or equal than `maximum` * `timeframe` and, the `events_received` value must be greater than. `events_processed` and, the `events_dropped` value equal to 0 and finaly, `event_queue_usage` is lower. than 1.0. 30.83 server
No log output captured.
Passed 2022-08-18 15:02:52.498267 test_analysisd/test_eps/test_stop_processing_events.py::test_stops_processing_events[simulate_agent0-configure_local_internal_options_eps0-EPS Limits stop processing events] description: Check that the `events_processed` value in the `/var/ossec/var/run/wazuh-analysisd.state` file must. be lower or equal than `maximum` * `timeframe` 31.49 server
No log output captured.