report-3.html

Report generated on 02-Mar-2023 at 16:02:39 by pytest-html v3.1.1

Environment

Packages {"pluggy": "1.0.0", "pytest": "7.1.2"}
Platform Linux-6.1.11-200.fc37.aarch64-aarch64-with-glibc2.35
Plugins {"html": "3.1.1", "metadata": "2.0.4", "testinfra": "5.0.0"}
Python 3.10.6

Summary

25 tests ran in 206.59 seconds.

24 passed, 2 skipped, 0 failed, 0 errors, 1 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_syscollector/test_syscollector_configuration.py 0 24 0 0

Results

Result Time Test Description Duration Markers Links Tier
XFailed 2023-03-02 16:02:39.144499 test_syscollector/test_syscollector_configuration.py::test_syscollector_default_values[check_default_values] description: Check that Syscollector sets the default values when the configuration block is empty. 10.44 xfail, server, agent, linux, darwin, win32 0
configuration = {'metadata': {'default': None, 'description': 'Verify that the module starts using the default values', 'name': 'check...isabled': {'value': 'yes'}}], 'section': 'rootcheck'}, {'elements': [{'enabled': {'value': 'no'}}], 'section': 'sca'}]}
metadata = {'default': None, 'description': 'Verify that the module starts using the default values', 'name': 'check_default_values'}
set_wazuh_configuration = None, configure_local_internal_options_module = {'wazuh_modules.debug': 2}, truncate_monitored_files = None
daemons_handler_function = None

@pytest.mark.parametrize('configuration, metadata', zip(t4_configurations, t4_config_metadata), ids=t4_case_ids)
@pytest.mark.xfail(reason='Reported in wazuh/wazuh#15413')
def test_syscollector_default_values(configuration, metadata, set_wazuh_configuration,
configure_local_internal_options_module, truncate_monitored_files,
daemons_handler_function):
'''
description: Check that Syscollector sets the default values when the configuration block is empty.

test_phases:
- setup:
- Set Syscollector configuration.
- Configure modulesd in debug mode.
- Truncate all the log files and json alerts files.
- Restart the necessary daemons for each test case.
- test:
- Check if the default configuration was applied.
- Check if Syscollector starts correctly.
- teardown:
- Restore Wazuh configuration.
- Restore local internal options.
- Truncate all the log files and json alerts files.
- Stop the necessary daemons.

wazuh_min_version: 4.4.0

tier: 0

parameters:
- configuration:
type: dict
brief: Configuration loaded from the template located in `configuration` folder.
- metadata:
type: dict
brief: Test case metadata.
- set_wazuh_configuration:
type: fixture
brief: Set wazuh configuration using the configuration template.
- configure_local_internal_options_module:
type: fixture
brief: Configure the local internal options file.
- truncate_monitored_files:
type: fixture
brief: Truncate the log file before and after the test execution.
- daemons_handler_function:
type: fixture
brief: Handler of Wazuh daemons for each test case.

assertions:
- Check if the module sets the default configuration.

input_description:
- The `configuration_syscollector_no_tags.yaml` file provides the module configuration for this test.
- The `case_test_default_values.yaml` file provides the test cases.
'''
file_monitor = FileMonitor(LOG_FILE_PATH)
> evm.check_config(file_monitor=file_monitor)

tests/integration/test_syscollector/test_syscollector_configuration.py:370:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.10/dist-packages/wazuh_testing/modules/syscollector/event_monitor.py:119: in check_config
check_syscollector_event(file_monitor=file_monitor, callback=msg, timeout=timeout, update_position=update_position)
/usr/local/lib/python3.10/dist-packages/wazuh_testing/modules/syscollector/event_monitor.py:32: in check_syscollector_event
result = check_event(file_monitor=file_monitor, callback=callback, error_message=error_message,
/usr/local/lib/python3.10/dist-packages/wazuh_testing/event_monitor.py:36: in check_event
result = file_monitor.start(timeout=timeout, update_position=update_position, accum_results=accum_results,
/usr/local/lib/python3.10/dist-packages/wazuh_testing/tools/monitoring.py:202: in start
self._result = monitor.start(timeout=timeout, callback=callback, accum_results=accum_results,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <wazuh_testing.tools.monitoring.QueueMonitor object at 0xffff7d1b0b20>, timeout = 5
callback = <function make_callback.<locals>.<lambda> at 0xffff7d053880>, accum_results = 1, update_position = True, timeout_extra = 0
error_message = 'Could not find this event in /var/ossec/logs/ossec.log: DEBUG:.+"disabled":"no","scan-on-start":"yes","interval":3600...yes","os":"yes","hardware":"yes","packages":"yes","ports":"yes","ports_all":"no","processes":"yes","sync_max_eps":10.+'

def start(self, timeout=-1, callback=_callback_default, accum_results=1, update_position=True, timeout_extra=0,
error_message=''):
"""Start the queue monitoring until the stop method is called."""
if not self._continue:
self._continue = True
self._abort = False
result = None

while self._continue:
if self._abort:
self.stop()
if error_message:
logger.error(error_message)
logger.error(f"Results accumulated: "
f"{len(result) if isinstance(result, list) else 0}")
logger.error(f"Results expected: {accum_results}")
> raise TimeoutError(error_message)
E TimeoutError: Could not find this event in /var/ossec/logs/ossec.log: DEBUG:.+"disabled":"no","scan-on-start":"yes","interval":3600,"network":"yes","os":"yes","hardware":"yes","packages":"yes","ports":"yes","ports_all":"no","processes":"yes","sync_max_eps":10.+

/usr/local/lib/python3.10/dist-packages/wazuh_testing/tools/monitoring.py:470: TimeoutError
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:02:21,872 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:02:21,872 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:02:21,887 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:02:21,896 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:02:21 wazuh-modulesd[2304187] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:02:21 wazuh-modulesd[2304187] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:02:21 wazuh-modulesd[2304187] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:02:21 wazuh-modulesd[2304187] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:02:21 wazuh-modulesd[2304187] wmodules-config.c:71 at Read_WModule(): DEBUG: Empty configuration for module 'syscollector' 2023/03/02 16:02:21 wazuh-modulesd[2304187] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added msu feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 0 | Timeout: 300s 2023/03/02 16:02:21 wazuh-modulesd[2304187] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added nvd feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 2010 | Timeout: 300s 2023/03/02 16:02:21 wazuh-modulesd[2304187] wmodules-config.c:134 at Read_WModule(): WARNING: A deprecated Vulnerability Detector configuration block was found. It will be ignored.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd
------------------------------Captured stderr call------------------------------
2023-03-02 16:02:26,958 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG:.+"disabled":"no","scan-on-start":"yes","interval":3600,"network":"yes","os":"yes","hardware":"yes","packages":"yes","ports":"yes","ports_all":"no","processes":"yes","sync_max_eps":10.+ 2023-03-02 16:02:26,958 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:02:26,958 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG:.+"disabled":"no","scan-on-start":"yes","interval":3600,"network":"yes","os":"yes","hardware":"yes","packages":"yes","ports":"yes","ports_all":"no","processes":"yes","sync_max_eps":10.+ ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:02:27,020 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:02:27,026 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:02:27,951 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Skipped 2023-03-02 16:02:39.142852 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_hotfixes] description: Check the behaviour of Syscollector while setting invalid configurations. 1.07 xfail, server, agent, linux, darwin, win32 0
('/wazuh-qa/tests/integration/test_syscollector/test_syscollector_configuration.py', 296, 'Skipped: The hotfixes scan is exclusive of Windows agents.')
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:02:15,454 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:02:15,455 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:02:15,466 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:02:15,471 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:02:15 wazuh-modulesd[2304010] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:02:15 wazuh-modulesd[2304010] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:02:15 wazuh-modulesd[2304010] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:02:15 wazuh-modulesd[2304010] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:02:15 wazuh-modulesd[2304010] wmodules_syscollector.c:179 at wm_sys_read(): WARNING: The 'hotfixes' option is only available on Windows systems. Ignoring it. 2023/03/02 16:02:15 wazuh-modulesd[2304010] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added msu feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 0 | Timeout: 300s 2023/03/02 16:02:15 wazuh-modulesd[2304010] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added nvd feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 2010 | Timeout: 300s 2023/03/02 16:02:15 wazuh-modulesd[2304010] wmodules-config.c:134 at Read_WModule(): WARNING: A deprecated Vulnerability Detector configuration block was found. It will be ignored.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:02:15,477 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:02:15,482 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:02:16,508 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Skipped 2023-03-02 16:02:39.143068 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_hotfixes] description: Check the behaviour of Syscollector while setting invalid configurations. 5.33 xfail, server, agent, linux, darwin, win32 0
('/wazuh-qa/tests/integration/test_syscollector/test_syscollector_configuration.py', 296, 'Skipped: The hotfixes scan is exclusive of Windows agents.')
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:02:16,521 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:02:16,521 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:02:16,526 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:02:16,530 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:02:16 wazuh-modulesd[2304063] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:02:16 wazuh-modulesd[2304063] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:02:16 wazuh-modulesd[2304063] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:02:16 wazuh-modulesd[2304063] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:02:16 wazuh-modulesd[2304063] wmodules_syscollector.c:179 at wm_sys_read(): WARNING: The 'hotfixes' option is only available on Windows systems. Ignoring it. 2023/03/02 16:02:16 wazuh-modulesd[2304063] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added msu feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 0 | Timeout: 300s 2023/03/02 16:02:16 wazuh-modulesd[2304063] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added nvd feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 2010 | Timeout: 300s 2023/03/02 16:02:16 wazuh-modulesd[2304063] wmodules-config.c:134 at Read_WModule(): WARNING: A deprecated Vulnerability Detector configuration block was found. It will be ignored.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:02:16,537 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:02:16,541 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:02:17,561 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.134384 test_syscollector/test_syscollector_configuration.py::test_syscollector_deactivation[check_syscollector_deactivation] description: Check that syscollector is disabled. 1.46 server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 15:59:12,742 - wazuh_testing - DEBUG - Set local_internal_option to {'wazuh_modules.debug': 2} 2023-03-02 15:59:12,749 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 15:59:12,750 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 15:59:12,755 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 15:59:12,759 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 15:59:12 wazuh-modulesd[2300187] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 15:59:12 wazuh-modulesd[2300187] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 15:59:12 wazuh-modulesd[2300187] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 15:59:12 wazuh-modulesd[2300187] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 15:59:12 wazuh-modulesd[2300187] wmodules_syscollector.c:179 at wm_sys_read(): WARNING: The 'hotfixes' option is only available on Windows systems. Ignoring it. 2023/03/02 15:59:12 wazuh-modulesd[2300187] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added msu feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 0 | Timeout: 300s 2023/03/02 15:59:12 wazuh-modulesd[2300187] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added nvd feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 2010 | Timeout: 300s 2023/03/02 15:59:12 wazuh-modulesd[2300187] wmodules-config.c:134 at Read_WModule(): WARNING: A deprecated Vulnerability Detector configuration block was found. It will be ignored.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:599 Set local_internal_option to {'wazuh_modules.debug': 2} DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd
----------------------------Captured stderr teardown----------------------------
2023-03-02 15:59:13,268 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 15:59:13,275 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 15:59:14,185 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.135117 test_syscollector/test_syscollector_configuration.py::test_syscollector_all_scans_disabled[all_scans_disabled] description: Check that each scan is disabled. 36.67 server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 15:59:14,225 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 15:59:14,226 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 15:59:14,239 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 15:59:14,247 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 15:59:14 wazuh-modulesd[2300302] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 15:59:14 wazuh-modulesd[2300302] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 15:59:14 wazuh-modulesd[2300302] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 15:59:14 wazuh-modulesd[2300302] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 15:59:14 wazuh-modulesd[2300302] wmodules_syscollector.c:179 at wm_sys_read(): WARNING: The 'hotfixes' option is only available on Windows systems. Ignoring it. 2023/03/02 15:59:14 wazuh-modulesd[2300302] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added msu feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 0 | Timeout: 300s 2023/03/02 15:59:14 wazuh-modulesd[2300302] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added nvd feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 2010 | Timeout: 300s 2023/03/02 15:59:14 wazuh-modulesd[2300302] wmodules-config.c:134 at Read_WModule(): WARNING: A deprecated Vulnerability Detector configuration block was found. It will be ignored.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd
------------------------------Captured stderr call------------------------------
2023-03-02 15:59:19,279 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting hardware scan 2023-03-02 15:59:19,280 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 15:59:19,280 - wazuh_testing - ERROR - Results expected: 1 2023-03-02 15:59:24,313 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting os scan 2023-03-02 15:59:24,314 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 15:59:24,314 - wazuh_testing - ERROR - Results expected: 1 2023-03-02 15:59:29,348 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting network scan 2023-03-02 15:59:29,349 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 15:59:29,349 - wazuh_testing - ERROR - Results expected: 1 2023-03-02 15:59:34,383 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting packages scan 2023-03-02 15:59:34,383 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 15:59:34,384 - wazuh_testing - ERROR - Results expected: 1 2023-03-02 15:59:39,442 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting ports scan 2023-03-02 15:59:39,442 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 15:59:39,443 - wazuh_testing - ERROR - Results expected: 1 2023-03-02 15:59:44,985 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting processes scan 2023-03-02 15:59:44,985 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 15:59:44,985 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting hardware scan ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1 ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting os scan ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1 ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting network scan ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1 ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting packages scan ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1 ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting ports scan ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1 ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting processes scan ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 15:59:44,986 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 15:59:44,993 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 15:59:45,863 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.135371 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_disabled] description: Check the behaviour of Syscollector while setting invalid configurations. 6.10 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 15:59:50,930 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 15:59:50,930 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 15:59:50,941 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 15:59:50,948 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 15:59:50 wazuh-modulesd[2300753] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 15:59:50 wazuh-modulesd[2300753] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 15:59:50 wazuh-modulesd[2300753] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 15:59:50 wazuh-modulesd[2300753] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 15:59:50 wazuh-modulesd[2300753] wmodules_syscollector.c:129 at wm_sys_read(): ERROR: Invalid content for tag 'disabled' at module 'syscollector'. 2023/03/02 15:59:50 wazuh-modulesd[2300753] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 15:59:50,955 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 15:59:55,974 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 15:59:55,975 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 15:59:55,975 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 15:59:55,983 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 15:59:55,999 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 15:59:56,982 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.135580 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_interval] description: Check the behaviour of Syscollector while setting invalid configurations. 7.10 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 15:59:57,021 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 15:59:57,021 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 15:59:57,033 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 15:59:57,040 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 15:59:57 wazuh-modulesd[2300895] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 15:59:57 wazuh-modulesd[2300895] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 15:59:57 wazuh-modulesd[2300895] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 15:59:57 wazuh-modulesd[2300895] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 15:59:57 wazuh-modulesd[2300895] wmodules_syscollector.c:93 at wm_sys_read(): ERROR: Invalid interval at module 'syscollector' 2023/03/02 15:59:57 wazuh-modulesd[2300895] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 15:59:57,048 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:00:02,585 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:00:02,586 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:00:02,586 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:00:03,090 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:00:03,096 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:00:04,097 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.135781 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_scan_on_start] description: Check the behaviour of Syscollector while setting invalid configurations. 6.47 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:00:04,127 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:00:04,127 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:00:04,139 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:00:04,146 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:00:04 wazuh-modulesd[2301040] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:00:04 wazuh-modulesd[2301040] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:00:04 wazuh-modulesd[2301040] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:00:04 wazuh-modulesd[2301040] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:00:04 wazuh-modulesd[2301040] wmodules_syscollector.c:120 at wm_sys_read(): ERROR: Invalid content for tag 'scan_on_start' at module 'syscollector'. 2023/03/02 16:00:04 wazuh-modulesd[2301040] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:00:04,153 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:00:09,690 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:00:09,691 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:00:09,691 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:00:09,696 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:00:09,720 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:00:10,576 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.136006 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_hardware] description: Check the behaviour of Syscollector while setting invalid configurations. 6.08 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:00:10,607 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:00:10,607 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:00:10,619 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:00:10,627 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:00:10 wazuh-modulesd[2301195] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:00:10 wazuh-modulesd[2301195] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:00:10 wazuh-modulesd[2301195] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:00:10 wazuh-modulesd[2301195] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:00:10 wazuh-modulesd[2301195] wmodules_syscollector.c:156 at wm_sys_read(): ERROR: Invalid content for tag 'hardware' at module 'syscollector'. 2023/03/02 16:00:10 wazuh-modulesd[2301195] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:00:10,634 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:00:15,669 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:00:15,669 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:00:15,670 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:00:15,684 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:00:15,698 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:00:16,663 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.136497 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_os] description: Check the behaviour of Syscollector while setting invalid configurations. 7.10 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:00:16,696 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:00:16,696 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:00:16,709 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:00:16,717 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:00:16 wazuh-modulesd[2301352] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:00:16 wazuh-modulesd[2301352] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:00:16 wazuh-modulesd[2301352] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:00:16 wazuh-modulesd[2301352] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:00:16 wazuh-modulesd[2301352] wmodules_syscollector.c:147 at wm_sys_read(): ERROR: Invalid content for tag 'os' at module 'syscollector'. 2023/03/02 16:00:16 wazuh-modulesd[2301352] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:00:16,724 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:00:22,254 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:00:22,255 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:00:22,255 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:00:22,762 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:00:22,788 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:00:23,769 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.136761 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_network] description: Check the behaviour of Syscollector while setting invalid configurations. 6.56 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:00:23,801 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:00:23,801 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:00:23,813 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:00:23,821 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:00:23 wazuh-modulesd[2301508] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:00:23 wazuh-modulesd[2301508] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:00:23 wazuh-modulesd[2301508] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:00:23 wazuh-modulesd[2301508] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:00:23 wazuh-modulesd[2301508] wmodules_syscollector.c:138 at wm_sys_read(): ERROR: Invalid content for tag 'network' at module 'syscollector'. 2023/03/02 16:00:23 wazuh-modulesd[2301508] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:00:23,828 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:00:28,868 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:00:28,869 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:00:28,869 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:00:29,373 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:00:29,398 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:00:30,345 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.137835 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_packages] description: Check the behaviour of Syscollector while setting invalid configurations. 6.43 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:00:30,369 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:00:30,369 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:00:30,375 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:00:30,381 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:00:30 wazuh-modulesd[2301639] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:00:30 wazuh-modulesd[2301639] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:00:30 wazuh-modulesd[2301639] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:00:30 wazuh-modulesd[2301639] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:00:30 wazuh-modulesd[2301639] wmodules_syscollector.c:165 at wm_sys_read(): ERROR: Invalid content for tag 'packages' at module 'syscollector'. 2023/03/02 16:00:30 wazuh-modulesd[2301639] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:00:30,386 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:00:35,906 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:00:35,906 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:00:35,906 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:00:35,917 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:00:35,939 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:00:36,783 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.138671 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_ports] description: Check the behaviour of Syscollector while setting invalid configurations. 6.50 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:00:36,817 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:00:36,818 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:00:36,831 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:00:36,839 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:00:36 wazuh-modulesd[2301796] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:00:36 wazuh-modulesd[2301796] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:00:36 wazuh-modulesd[2301796] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:00:36 wazuh-modulesd[2301796] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:00:36 wazuh-modulesd[2301796] wmodules_syscollector.c:211 at wm_sys_read(): ERROR: Invalid content for tag 'ports' at module 'syscollector'. 2023/03/02 16:00:36 wazuh-modulesd[2301796] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:00:36,847 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:00:42,391 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:00:42,392 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:00:42,392 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:00:42,430 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:00:42,458 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:00:43,296 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.138930 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_all_ports] description: Check the behaviour of Syscollector while setting invalid configurations. 6.43 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:00:43,323 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:00:43,324 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:00:43,335 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:00:43,343 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:00:43 wazuh-modulesd[2301955] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:00:43 wazuh-modulesd[2301955] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:00:43 wazuh-modulesd[2301955] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:00:43 wazuh-modulesd[2301955] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:00:43 wazuh-modulesd[2301955] wmodules_syscollector.c:198 at wm_sys_read(): ERROR: Invalid content for attribute 'all' at module 'syscollector'. 2023/03/02 16:00:43 wazuh-modulesd[2301955] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:00:43,351 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:00:48,878 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:00:48,878 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:00:48,878 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:00:48,887 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:00:48,894 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:00:49,731 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.139144 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[empty_value_processes] description: Check the behaviour of Syscollector while setting invalid configurations. 6.49 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:00:49,766 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:00:49,766 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:00:49,779 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:00:49,788 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:00:49 wazuh-modulesd[2302102] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:00:49 wazuh-modulesd[2302102] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:00:49 wazuh-modulesd[2302102] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:00:49 wazuh-modulesd[2302102] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:00:49 wazuh-modulesd[2302102] wmodules_syscollector.c:187 at wm_sys_read(): ERROR: Invalid content for tag 'processes' at module 'syscollector'. 2023/03/02 16:00:49 wazuh-modulesd[2302102] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:00:49,795 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:00:55,350 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:00:55,350 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:00:55,350 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:00:55,370 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:00:55,388 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:00:56,228 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.139430 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_disabled] description: Check the behaviour of Syscollector while setting invalid configurations. 6.49 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:00:56,263 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:00:56,263 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:00:56,272 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:00:56,281 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:00:56 wazuh-modulesd[2302249] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:00:56 wazuh-modulesd[2302249] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:00:56 wazuh-modulesd[2302249] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:00:56 wazuh-modulesd[2302249] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:00:56 wazuh-modulesd[2302249] wmodules_syscollector.c:129 at wm_sys_read(): ERROR: Invalid content for tag 'disabled' at module 'syscollector'. 2023/03/02 16:00:56 wazuh-modulesd[2302249] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:00:56,287 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:01:01,830 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:01:01,831 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:01:01,831 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:01:01,841 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:01:01,867 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:01:02,728 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.139638 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_interval] description: Check the behaviour of Syscollector while setting invalid configurations. 7.10 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:01:02,769 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:01:02,769 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:01:02,782 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:01:02,791 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:01:02 wazuh-modulesd[2302403] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:01:02 wazuh-modulesd[2302403] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:01:02 wazuh-modulesd[2302403] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:01:02 wazuh-modulesd[2302403] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:01:02 wazuh-modulesd[2302403] wmodules_syscollector.c:93 at wm_sys_read(): ERROR: Invalid interval at module 'syscollector' 2023/03/02 16:01:02 wazuh-modulesd[2302403] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:01:02,798 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:01:08,350 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:01:08,351 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:01:08,351 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:01:08,864 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:01:08,892 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:01:09,839 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.140678 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_scan_on_start] description: Check the behaviour of Syscollector while setting invalid configurations. 7.10 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:01:09,867 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:01:09,868 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:01:09,883 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:01:09,892 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:01:09 wazuh-modulesd[2302568] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:01:09 wazuh-modulesd[2302568] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:01:09 wazuh-modulesd[2302568] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:01:09 wazuh-modulesd[2302568] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:01:09 wazuh-modulesd[2302568] wmodules_syscollector.c:120 at wm_sys_read(): ERROR: Invalid content for tag 'scan_on_start' at module 'syscollector'. 2023/03/02 16:01:09 wazuh-modulesd[2302568] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:01:09,900 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:01:15,464 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:01:15,464 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:01:15,464 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:01:15,940 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:01:15,948 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:01:16,947 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.141144 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_hardware] description: Check the behaviour of Syscollector while setting invalid configurations. 6.46 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:01:16,978 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:01:16,978 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:01:16,992 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:01:16,999 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:01:16 wazuh-modulesd[2302725] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:01:16 wazuh-modulesd[2302725] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:01:16 wazuh-modulesd[2302725] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:01:16 wazuh-modulesd[2302725] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:01:16 wazuh-modulesd[2302725] wmodules_syscollector.c:156 at wm_sys_read(): ERROR: Invalid content for tag 'hardware' at module 'syscollector'. 2023/03/02 16:01:16 wazuh-modulesd[2302725] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:01:17,006 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:01:22,542 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:01:22,543 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:01:22,543 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:01:22,548 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:01:22,570 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:01:23,417 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.141359 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_os] description: Check the behaviour of Syscollector while setting invalid configurations. 7.09 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:01:23,450 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:01:23,451 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:01:23,463 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:01:23,471 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:01:23 wazuh-modulesd[2302863] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:01:23 wazuh-modulesd[2302863] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:01:23 wazuh-modulesd[2302863] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:01:23 wazuh-modulesd[2302863] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:01:23 wazuh-modulesd[2302863] wmodules_syscollector.c:147 at wm_sys_read(): ERROR: Invalid content for tag 'os' at module 'syscollector'. 2023/03/02 16:01:23 wazuh-modulesd[2302863] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:01:23,478 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:01:29,036 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:01:29,037 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:01:29,037 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:01:29,541 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:01:29,566 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:01:30,526 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.141576 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_network] description: Check the behaviour of Syscollector while setting invalid configurations. 6.46 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:01:30,538 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:01:30,538 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:01:30,544 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:01:30,549 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:01:30 wazuh-modulesd[2303013] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:01:30 wazuh-modulesd[2303013] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:01:30 wazuh-modulesd[2303013] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:01:30 wazuh-modulesd[2303013] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:01:30 wazuh-modulesd[2303013] wmodules_syscollector.c:138 at wm_sys_read(): ERROR: Invalid content for tag 'network' at module 'syscollector'. 2023/03/02 16:01:30 wazuh-modulesd[2303013] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:01:30,554 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:01:36,088 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:01:36,088 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:01:36,088 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:01:36,126 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:01:36,134 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:01:36,989 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.141851 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_packages] description: Check the behaviour of Syscollector while setting invalid configurations. 7.06 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:01:37,017 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:01:37,017 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:01:37,029 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:01:37,035 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:01:37 wazuh-modulesd[2303175] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:01:37 wazuh-modulesd[2303175] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:01:37 wazuh-modulesd[2303175] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:01:37 wazuh-modulesd[2303175] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:01:37 wazuh-modulesd[2303175] wmodules_syscollector.c:165 at wm_sys_read(): ERROR: Invalid content for tag 'packages' at module 'syscollector'. 2023/03/02 16:01:37 wazuh-modulesd[2303175] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:01:37,041 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:01:42,601 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:01:42,602 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:01:42,602 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:01:43,087 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:01:43,093 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:01:44,058 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.142041 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_ports] description: Check the behaviour of Syscollector while setting invalid configurations. 6.47 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:01:44,088 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:01:44,088 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:01:44,100 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:01:44,107 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:01:44 wazuh-modulesd[2303336] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:01:44 wazuh-modulesd[2303336] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:01:44 wazuh-modulesd[2303336] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:01:44 wazuh-modulesd[2303336] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:01:44 wazuh-modulesd[2303336] wmodules_syscollector.c:211 at wm_sys_read(): ERROR: Invalid content for tag 'ports' at module 'syscollector'. 2023/03/02 16:01:44 wazuh-modulesd[2303336] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:01:44,113 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:01:49,660 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:01:49,661 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:01:49,661 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:01:49,681 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:01:49,708 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:01:50,540 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.142232 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_all_ports] description: Check the behaviour of Syscollector while setting invalid configurations. 7.08 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:01:50,571 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:01:50,572 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:01:50,584 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:01:50,591 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:01:50 wazuh-modulesd[2303482] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:01:50 wazuh-modulesd[2303482] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:01:50 wazuh-modulesd[2303482] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:01:50 wazuh-modulesd[2303482] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:01:50 wazuh-modulesd[2303482] wmodules_syscollector.c:198 at wm_sys_read(): ERROR: Invalid content for attribute 'all' at module 'syscollector'. 2023/03/02 16:01:50 wazuh-modulesd[2303482] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:01:50,598 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:01:56,158 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:01:56,159 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:01:56,159 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:01:56,656 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:01:56,684 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:01:57,633 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.142415 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_processes] description: Check the behaviour of Syscollector while setting invalid configurations. 6.50 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:01:57,648 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:01:57,648 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:01:57,655 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:01:57,660 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:01:57 wazuh-modulesd[2303633] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:01:57 wazuh-modulesd[2303633] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:01:57 wazuh-modulesd[2303633] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:01:57 wazuh-modulesd[2303633] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:01:57 wazuh-modulesd[2303633] wmodules_syscollector.c:187 at wm_sys_read(): ERROR: Invalid content for tag 'processes' at module 'syscollector'. 2023/03/02 16:01:57 wazuh-modulesd[2303633] config.c:332 at ReadConfig(): ERROR: (1202): Configuration error at 'etc/ossec.conf'. 2023-03-02 16:01:57,665 - wazuh_testing - ERROR - Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd ERROR wazuh_testing:conftest.py:964 Command '['/var/ossec/bin/wazuh-modulesd']' returned non-zero exit status 1.
------------------------------Captured stderr call------------------------------
2023-03-02 16:02:03,213 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:02:03,213 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:02:03,213 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:02:03,221 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:02:03,246 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:02:04,134 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.142615 test_syscollector/test_syscollector_configuration.py::test_syscollector_invalid_configurations[invalid_value_max_eps] description: Check the behaviour of Syscollector while setting invalid configurations. 11.28 xfail, server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:02:04,168 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:02:04,169 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:02:04,182 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:02:04,189 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:02:04 wazuh-modulesd[2303787] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:02:04 wazuh-modulesd[2303787] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:02:04 wazuh-modulesd[2303787] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:02:04 wazuh-modulesd[2303787] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:02:04 wazuh-modulesd[2303787] wmodules_syscollector.c:179 at wm_sys_read(): WARNING: The 'hotfixes' option is only available on Windows systems. Ignoring it. 2023/03/02 16:02:04 wazuh-modulesd[2303787] wmodules_syscollector.c:38 at parse_synchronization_section(): WARNING: (1235): Invalid value for element 'max_eps': -1. 2023/03/02 16:02:04 wazuh-modulesd[2303787] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added msu feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 0 | Timeout: 300s 2023/03/02 16:02:04 wazuh-modulesd[2303787] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added nvd feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 2010 | Timeout: 300s 2023/03/02 16:02:04 wazuh-modulesd[2303787] wmodules-config.c:134 at Read_WModule(): WARNING: A deprecated Vulnerability Detector configuration block was found. It will be ignored.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd
------------------------------Captured stderr call------------------------------
2023-03-02 16:02:10,238 - wazuh_testing - ERROR - Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. 2023-03-02 16:02:10,238 - wazuh_testing - ERROR - Results accumulated: 0 2023-03-02 16:02:10,238 - wazuh_testing - ERROR - Results expected: 1
-------------------------------Captured log call--------------------------------
ERROR wazuh_testing:monitoring.py:466 Could not find this event in /var/ossec/logs/ossec.log: DEBUG: Starting Syscollector. ERROR wazuh_testing:monitoring.py:467 Results accumulated: 0 ERROR wazuh_testing:monitoring.py:469 Results expected: 1
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:02:10,240 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:02:10,253 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:02:11,249 - wazuh_testing - DEBUG - Stopping wazuh-modulesd
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd
Passed 2023-03-02 16:02:39.144667 test_syscollector/test_syscollector_configuration.py::test_syscollector_scannig[check_syscollector_scan] description: Check that the scan is completed when all scans are enabled. 6.77 server, agent, linux, darwin, win32 0
-----------------------------Captured stderr setup------------------------------
2023-03-02 16:02:32,378 - wazuh_testing - DEBUG - Ignore error set to True 2023-03-02 16:02:32,378 - wazuh_testing - DEBUG - Restarting wazuh-analysisd 2023-03-02 16:02:32,390 - wazuh_testing - DEBUG - Restarting wazuh-db 2023-03-02 16:02:32,397 - wazuh_testing - DEBUG - Restarting wazuh-modulesd 2023/03/02 16:02:32 wazuh-modulesd[2304391] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2023/03/02 16:02:32 wazuh-modulesd[2304391] main.c:77 at main(): DEBUG: Wazuh home directory: /var/ossec 2023/03/02 16:02:32 wazuh-modulesd[2304391] wmodules-osquery-monitor.c:78 at wm_osquery_monitor_read(): DEBUG: Logpath read: /var/log/osquery/osqueryd.results.log 2023/03/02 16:02:32 wazuh-modulesd[2304391] wmodules-osquery-monitor.c:84 at wm_osquery_monitor_read(): DEBUG: configPath read: /etc/osquery/osquery.conf 2023/03/02 16:02:32 wazuh-modulesd[2304391] wmodules_syscollector.c:179 at wm_sys_read(): WARNING: The 'hotfixes' option is only available on Windows systems. Ignoring it. 2023/03/02 16:02:32 wazuh-modulesd[2304391] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added msu feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 0 | Timeout: 300s 2023/03/02 16:02:32 wazuh-modulesd[2304391] wmodules-vuln-detector.c:714 at wm_vuldet_read_provider(): DEBUG: Added nvd feed. Interval: 3600s | Multi path: 'none' | Multi url: 'none' | Update since: 2010 | Timeout: 300s 2023/03/02 16:02:32 wazuh-modulesd[2304391] wmodules-config.c:134 at Read_WModule(): WARNING: A deprecated Vulnerability Detector configuration block was found. It will be ignored.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:941 Ignore error set to True DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-analysisd DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-db DEBUG wazuh_testing:conftest.py:955 Restarting wazuh-modulesd
----------------------------Captured stderr teardown----------------------------
2023-03-02 16:02:33,946 - wazuh_testing - DEBUG - Stopping wazuh-analysisd 2023-03-02 16:02:33,960 - wazuh_testing - DEBUG - Stopping wazuh-db 2023-03-02 16:02:34,887 - wazuh_testing - DEBUG - Stopping wazuh-modulesd 2023-03-02 16:02:39,128 - wazuh_testing - DEBUG - Restore local_internal_option to {'agent.debug': '2\n', 'agent.recv_timeout': '5\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-analysisd DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-db DEBUG wazuh_testing:conftest.py:975 Stopping wazuh-modulesd DEBUG wazuh_testing:conftest.py:604 Restore local_internal_option to {'agent.debug': '2\n', 'agent.recv_timeout': '5\n'}