report.html

Report generated on 04-Jun-2024 at 21:11:45 by pytest-html v3.1.1

Summary

14 tests ran in 223.73 seconds.

14 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_logcollector\test_log_filter_options\test_ignore_regex.py 0 4 0 0
test_logcollector\test_log_filter_options\test_restrict_ignore_regex.py 0 6 0 0
test_logcollector\test_log_filter_options\test_restrict_regex.py 0 4 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_ignore_regex.py::test_ignore_multiple_regex[Log match - Two ignore tags - Match first tag-] description: Check if logcollector behavior when two ignore tags are added. 15.49 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service was stopped successfully. The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:08:01,695 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:08:01,695 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:08:17,157 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 due to ignore config' event 2024-06-04 21:08:17,157 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:08:17,157 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 due to ignore config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:08:17,157 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:08:17,189 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_ignore_regex.py::test_ignore_multiple_regex[Log match - Two ignore tags - Match both tags-] description: Check if logcollector behavior when two ignore tags are added. 15.84 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:08:17,207 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:08:17,207 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:08:32,516 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 regex2 due to ignore config' event 2024-06-04 21:08:32,516 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:08:32,516 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 regex2 due to ignore config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:08:33,016 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:08:33,049 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_ignore_regex.py::test_ignore_multiple_regex[Log match - Two ignore tags - Match second tag-] description: Check if logcollector behavior when two ignore tags are added. 14.84 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:08:33,049 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:08:33,049 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:08:47,875 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex2 due to ignore config' event 2024-06-04 21:08:47,875 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:08:47,875 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex2 due to ignore config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:08:47,875 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:08:47,909 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_ignore_regex.py::test_ignore_multiple_regex[No match - Two ignore tags-] description: Check if logcollector behavior when two ignore tags are added. 26.11 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:08:47,909 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:08:47,925 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:09:02,811 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log does not matches due to ignore config' event 2024-06-04 21:09:02,811 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:09:02,811 - wazuh_testing - ERROR - Results expected: 1 2024-06-04 21:09:13,513 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log does not matches due to ignore config' event 2024-06-04 21:09:13,513 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:09:13,513 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log does not matches due to ignore config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1 ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log does not matches due to ignore config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:09:14,013 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:09:14,030 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_ignore_regex.py::test_restrict_ignore_regex_values[Matches with restrict tag - Ignore and restrict tags with PCRE2 regex-] description: Check if logcollector reads or ignores a log according to a regex configured in the restrict and. restrict tag tag for a given log file, with each configured value for the restrict 'type' attribute. value configured. 25.66 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:09:14,048 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:09:14,048 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:09:29,014 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches restrict due to restrict config' event 2024-06-04 21:09:29,014 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:09:29,014 - wazuh_testing - ERROR - Results expected: 1 2024-06-04 21:09:39,169 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches restrict due to ignore config' event 2024-06-04 21:09:39,169 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:09:39,169 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches restrict due to restrict config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1 ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches restrict due to ignore config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:09:39,686 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:09:39,705 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_ignore_regex.py::test_restrict_ignore_regex_values[Matches with ignore tag - Ignore and restrict tags with osregex regex-] description: Check if logcollector reads or ignores a log according to a regex configured in the restrict and. restrict tag tag for a given log file, with each configured value for the restrict 'type' attribute. value configured. 4.65 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:09:39,721 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:09:39,721 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:09:44,339 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:09:44,373 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_ignore_regex.py::test_restrict_ignore_regex_values[Log match - Ignore and restrict tags with osmatch regex-] description: Check if logcollector reads or ignores a log according to a regex configured in the restrict and. restrict tag tag for a given log file, with each configured value for the restrict 'type' attribute. value configured. 15.37 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:09:44,373 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:09:44,373 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:09:59,197 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches ignore restrict due to restrict config' event 2024-06-04 21:09:59,197 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:09:59,197 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches ignore restrict due to restrict config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:09:59,712 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:09:59,747 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_ignore_regex.py::test_restrict_ignore_regex_values[Matches with restrict tag - Ignore and restrict tags with pcre2 and osregex regex-] description: Check if logcollector reads or ignores a log according to a regex configured in the restrict and. restrict tag tag for a given log file, with each configured value for the restrict 'type' attribute. value configured. 25.13 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:09:59,747 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:09:59,747 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:10:14,695 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches restrict due to restrict config' event 2024-06-04 21:10:14,695 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:10:14,695 - wazuh_testing - ERROR - Results expected: 1 2024-06-04 21:10:24,866 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches restrict due to ignore config' event 2024-06-04 21:10:24,866 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:10:24,866 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches restrict due to restrict config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1 ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches restrict due to ignore config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:10:24,866 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:10:24,900 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_ignore_regex.py::test_restrict_ignore_regex_values[Matches with ignore tag - Ignore and restrict tags with pcre2 and osmatch regex-] description: Check if logcollector reads or ignores a log according to a regex configured in the restrict and. restrict tag tag for a given log file, with each configured value for the restrict 'type' attribute. value configured. 4.62 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:10:24,900 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:10:24,900 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:10:29,490 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:10:29,508 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_ignore_regex.py::test_restrict_ignore_regex_values[Log match - Ignore and restrict tags with osregex and osmatch regex-] description: Check if logcollector reads or ignores a log according to a regex configured in the restrict and. restrict tag tag for a given log file, with each configured value for the restrict 'type' attribute. value configured. 14.89 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:10:29,524 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:10:29,524 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:10:44,395 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches ignore restrict due to restrict config' event 2024-06-04 21:10:44,395 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:10:44,395 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches ignore restrict due to restrict config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:10:44,395 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:10:44,411 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_regex.py::test_restrict_multiple_regex[Log match - Two Restrict tags - Match first tag-] description: Check if logcollector behavior when two restrict tags are added. 15.37 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:10:44,426 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:10:44,426 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:10:59,238 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 due to restrict config' event 2024-06-04 21:10:59,238 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:10:59,238 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 due to restrict config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:10:59,753 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:10:59,785 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_regex.py::test_restrict_multiple_regex[Log match - Two Restrict tags - Match both tags-] description: Check if logcollector behavior when two restrict tags are added. 24.99 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:10:59,801 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:10:59,801 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:11:14,580 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 regex2 due to restrict config' event 2024-06-04 21:11:14,580 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:11:14,580 - wazuh_testing - ERROR - Results expected: 1 2024-06-04 21:11:24,766 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 regex2 due to restrict config' event 2024-06-04 21:11:24,766 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:11:24,766 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 regex2 due to restrict config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1 ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex1 regex2 due to restrict config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:11:24,766 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:11:24,797 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_regex.py::test_restrict_multiple_regex[Log match - Two Restrict tags - Match second tag-] description: Check if logcollector behavior when two restrict tags are added. 15.40 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:11:24,797 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:11:24,797 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
------------------------------Captured stderr call------------------------------
2024-06-04 21:11:39,639 - wazuh_testing - ERROR - Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex2 due to restrict config' event 2024-06-04 21:11:39,639 - wazuh_testing - ERROR - Results accumulated: 0 2024-06-04 21:11:39,639 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:461 Did not receive the expected 'Ignoring the log line: Nov 10 12:19:04 localhost sshd: log matches regex2 due to restrict config' event ERROR wazuh_testing:monitoring.py:462 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:464 Results expected: 1
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:11:40,155 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:11:40,192 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
Passed 2024-06-04 21:11:45.358204 test_logcollector/test_log_filter_options/test_restrict_regex.py::test_restrict_multiple_regex[No match - Two Restrict tags-] description: Check if logcollector behavior when two restrict tags are added. 5.15 1
-----------------------------Captured stdout setup------------------------------
The Wazuh service is starting. The Wazuh service was started successfully.
-----------------------------Captured stderr setup------------------------------
2024-06-04 21:11:40,207 - wazuh_testing - DEBUG - Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} 2024-06-04 21:11:40,207 - wazuh_testing - DEBUG - Restarting all daemon
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:694 Set local_internal_option to {'windows.debug': '2', 'agent.debug': '2'} DEBUG wazuh_testing:conftest.py:144 Restarting all daemon
----------------------------Captured stdout teardown----------------------------
The Wazuh service was stopped successfully.
----------------------------Captured stderr teardown----------------------------
2024-06-04 21:11:45,326 - wazuh_testing - DEBUG - Stopping all daemons 2024-06-04 21:11:45,358 - wazuh_testing - DEBUG - Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:156 Stopping all daemons DEBUG wazuh_testing:conftest.py:699 Restore local_internal_option to {'windows.debug': '2\n', 'agent.debug': '2\n'}