PS1-2043-macos-agent.html

Report generated on 15-Oct-2021 at 04:47:36 by pytest-html v3.1.1

Environment

Packages {"pluggy": "0.13.1", "py": "1.10.0", "pytest": "6.2.3"}
Platform Darwin-19.0.0-x86_64-i386-64bit
Plugins {"html": "3.1.1", "metadata": "1.8.0", "testinfra": "5.0.0"}
Python 3.7.3

Summary

85 tests ran in 5600.25 seconds.

85 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes
Tests Failed Success XFail Error
test_logcollector/test_macos/test_macos_file_status_basic.py 0 2 0 0
test_logcollector/test_macos/test_macos_file_status_predicate.py 0 2 0 0
test_logcollector/test_macos/test_macos_file_status_when_no_macos.py 0 1 0 0
test_logcollector/test_macos/test_macos_format_basic.py 0 2 0 0
test_logcollector/test_macos/test_macos_format_only_future_events.py 0 2 0 0
test_logcollector/test_macos/test_macos_format_query.py 0 72 0 0
test_logcollector/test_macos/test_macos_log_process.py 0 3 0 0
test_logcollector/test_macos/test_macos_multiline_values.py 0 1 0 0

Results

Result Time Test Description Duration Markers Links Tier
Passed 2021-10-15 11:47:36.236507 test_logcollector/test_macos/test_macos_file_status_basic.py::test_macos_file_status_basic[only_future_events_yes] Checks if logcollector stores correctly "macos"-formatted localfile data. 19.07 darwin 0
-----------------------------Captured stdout setup------------------------------
wazuh-modulesd not running... wazuh-logcollector not running... wazuh-syscheckd not running... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:14:16 wazuh-logcollector[74259] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:14:16 wazuh-logcollector[74259] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:14:16 wazuh-logcollector[74259] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:14:16 wazuh-logcollector[74259] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:14:16 wazuh-logcollector[74259] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 03:14:20 rootcheck: INFO: Rootcheck disabled. 2021/10/15 03:14:21 wazuh-logcollector[74353] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:14:21 wazuh-logcollector[74353] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:14:21 wazuh-logcollector[74353] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:14:21 wazuh-logcollector[74353] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:14:21 wazuh-logcollector[74353] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 03:14:21 wazuh-logcollector[74353] main.c:152 at main(): INFO: (1905): No file configured to monitor. 2021/10/15 03:14:25 wazuh-logcollector[74388] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:14:25 wazuh-logcollector[74388] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:14:25 wazuh-logcollector[74388] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:14:25 wazuh-logcollector[74388] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:14:25 wazuh-logcollector[74388] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 03:14:25 wazuh-logcollector[74388] main.c:152 at main(): INFO: (1905): No file configured to monitor. 2021-10-15 03:14:25,919 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.debug': 2, 'logcollector.vcheck_files': 4, 'logcollector.sample_log_length': 100} 2021-10-15 03:14:25,933 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-15 03:14:25,933 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/15 03:14:25 wazuh-logcollector[74398] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:14:25 wazuh-logcollector[74398] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:14:25 wazuh-logcollector[74398] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:14:25 wazuh-logcollector[74398] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:14:25 wazuh-logcollector[74398] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-15 03:14:25,977 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:719 Set local_internal_option to {'logcollector.debug': 2, 'logcollector.vcheck_files': 4, 'logcollector.sample_log_length': 100} DEBUG wazuh_testing:conftest.py:640 Ignore error set to False DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
----------------------------Captured stderr teardown----------------------------
2021-10-15 03:14:35,158 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log
Passed 2021-10-15 11:47:36.236786 test_logcollector/test_macos/test_macos_file_status_basic.py::test_macos_file_status_basic[only_future_events_no] Checks if logcollector stores correctly "macos"-formatted localfile data. 9.30 darwin 0
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:14:35 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021-10-15 03:14:35,180 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-15 03:14:35,009 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-15 03:14:35,010 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/15 03:14:35 wazuh-logcollector[74414] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:14:35 wazuh-logcollector[74414] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:14:35 wazuh-logcollector[74414] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:14:35 wazuh-logcollector[74414] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:14:35 wazuh-logcollector[74414] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-15 03:14:35,038 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:640 Ignore error set to False DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
----------------------------Captured stdout teardown----------------------------
Fri Oct 15 10:14:44 UTC 2021
----------------------------Captured stderr teardown----------------------------
2021-10-15 03:14:44,215 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log 2021-10-15 03:14:44,216 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-15 03:14:44,008 - wazuh_testing - DEBUG - Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:724 Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
Passed 2021-10-15 11:47:36.236934 test_logcollector/test_macos/test_macos_file_status_predicate.py::test_macos_file_status_predicate[only_future_events_yes] Checks that logcollector does not store 'macos'-formatted localfile data since its predicate is erroneous. 2.60 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-15 03:14:44,033 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.vcheck_files': 4} 2021-10-15 03:14:44,035 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-15 03:14:44,035 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021-10-15 03:14:44,061 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:719 Set local_internal_option to {'logcollector.vcheck_files': 4} DEBUG wazuh_testing:conftest.py:640 Ignore error set to False DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
----------------------------Captured stderr teardown----------------------------
2021-10-15 03:14:46,618 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log
Passed 2021-10-15 11:47:36.237063 test_logcollector/test_macos/test_macos_file_status_predicate.py::test_macos_file_status_predicate[only_future_events_no] Checks that logcollector does not store 'macos'-formatted localfile data since its predicate is erroneous. 3.18 darwin 0
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:14:46 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021-10-15 03:14:46,642 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-15 03:14:46,010 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-15 03:14:46,010 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021-10-15 03:14:46,058 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:640 Ignore error set to False DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
----------------------------Captured stdout teardown----------------------------
Fri Oct 15 10:14:49 UTC 2021
----------------------------Captured stderr teardown----------------------------
2021-10-15 03:14:49,108 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log 2021-10-15 03:14:49,108 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-15 03:14:49,008 - wazuh_testing - DEBUG - Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:724 Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
Passed 2021-10-15 11:47:36.237188 test_logcollector/test_macos/test_macos_file_status_when_no_macos.py::test_macos_file_status_when_no_macos[get_configuration0] Checks that logcollector does not store and removes, if exists, previous "macos"-formatted localfile data in the. file_status.json 13.11 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-15 03:14:49,032 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.vcheck_files': 4} 2021-10-15 03:14:49,035 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-15 03:14:49,035 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021-10-15 03:14:49,059 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:719 Set local_internal_option to {'logcollector.vcheck_files': 4} DEBUG wazuh_testing:conftest.py:640 Ignore error set to False DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
----------------------------Captured stdout teardown----------------------------
Fri Oct 15 10:15:02 UTC 2021
----------------------------Captured stderr teardown----------------------------
2021-10-15 03:15:02,095 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log 2021-10-15 03:15:02,095 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-15 03:15:02,008 - wazuh_testing - DEBUG - Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:724 Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
Passed 2021-10-15 11:47:36.237307 test_logcollector/test_macos/test_macos_format_basic.py::test_macos_format_basic[get_configuration0-os_log_command] Check if logcollector gather correctly macOS unified logging system events. 5.15 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-15 03:15:02,037 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 200} 2021-10-15 03:15:02,038 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/15 03:15:02 wazuh-logcollector[74495] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:15:02 wazuh-logcollector[74495] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:15:02 wazuh-logcollector[74495] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:15:02 wazuh-logcollector[74495] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:15:02 wazuh-logcollector[74495] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-15 03:15:02,066 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log 2021/10/15 03:15:02 wazuh-logcollector[74499] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:15:02 wazuh-logcollector[74499] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:15:02 wazuh-logcollector[74499] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:15:02 wazuh-logcollector[74499] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:15:02 wazuh-logcollector[74499] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:719 Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 200} DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
----------------------------Captured stderr teardown----------------------------
2021-10-15 03:15:07,172 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log
Passed 2021-10-15 11:47:36.237421 test_logcollector/test_macos/test_macos_format_basic.py::test_macos_format_basic[get_configuration0-logger_command] Check if logcollector gather correctly macOS unified logging system events. 5.17 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-15 03:15:07,202 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log 2021/10/15 03:15:07 wazuh-logcollector[74522] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:15:07 wazuh-logcollector[74522] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:15:07 wazuh-logcollector[74522] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:15:07 wazuh-logcollector[74522] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:15:07 wazuh-logcollector[74522] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
----------------------------Captured stdout teardown----------------------------
Fri Oct 15 10:15:12 UTC 2021
----------------------------Captured stderr teardown----------------------------
2021-10-15 03:15:12,316 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log 2021-10-15 03:15:12,317 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-15 03:15:12,332 - wazuh_testing - DEBUG - Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:724 Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
Passed 2021-10-15 11:47:36.238138 test_logcollector/test_macos/test_macos_format_only_future_events.py::test_macos_format_only_future_events[yes] Check if logcollector use correctly only-future-events option using macos log format. 54.90 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-15 03:15:12,033 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 100} 2021-10-15 03:15:12,034 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/15 03:15:12 wazuh-logcollector[74537] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:15:12 wazuh-logcollector[74537] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:15:12 wazuh-logcollector[74537] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:15:12 wazuh-logcollector[74537] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:15:12 wazuh-logcollector[74537] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-15 03:15:12,059 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:719 Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 100} DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
------------------------------Captured stdout call------------------------------
Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
------------------------------Captured stderr call------------------------------
2021/10/15 03:15:17 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:15:17 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:15:17 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:15:17 wazuh-logcollector[74628] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:15:17 wazuh-logcollector[74628] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:15:17 wazuh-logcollector[74628] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:15:17 wazuh-logcollector[74628] agent_op.c:219 at os_read_agent_profile(): ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:15:17 wazuh-logcollector[74628] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 03:15:17 wazuh-logcollector[74628] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/15 03:15:17 wazuh-modulesd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:15:19 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:15:20 rootcheck: INFO: Rootcheck disabled. 2021/10/15 03:15:21 wazuh-logcollector[74681] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:15:21 wazuh-logcollector[74681] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:15:21 wazuh-logcollector[74681] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:15:21 wazuh-logcollector[74681] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:15:21 wazuh-logcollector[74681] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
----------------------------Captured stderr teardown----------------------------
2021-10-15 03:16:06,920 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log
Passed 2021-10-15 11:47:36.238310 test_logcollector/test_macos/test_macos_format_only_future_events.py::test_macos_format_only_future_events[no] Check if logcollector use correctly only-future-events option using macos log format. 14.91 darwin 0
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:16:06 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021-10-15 03:16:06,941 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-15 03:16:06,010 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/15 03:16:06 wazuh-logcollector[74752] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:16:06 wazuh-logcollector[74752] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:16:06 wazuh-logcollector[74752] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:16:06 wazuh-logcollector[74752] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:16:06 wazuh-logcollector[74752] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-15 03:16:06,043 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
------------------------------Captured stdout call------------------------------
Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
------------------------------Captured stderr call------------------------------
2021/10/15 03:16:11 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:16:11 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:16:11 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:16:11 wazuh-logcollector[74844] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:16:11 wazuh-logcollector[74844] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:16:11 wazuh-logcollector[74844] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:16:11 wazuh-logcollector[74844] agent_op.c:219 at os_read_agent_profile(): ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:16:11 wazuh-logcollector[74844] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 03:16:11 wazuh-logcollector[74844] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/15 03:16:11 wazuh-modulesd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:16:12 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 03:16:13 rootcheck: INFO: Rootcheck disabled. 2021/10/15 03:16:14 wazuh-logcollector[74897] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:16:14 wazuh-logcollector[74897] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:16:14 wazuh-logcollector[74897] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:16:14 wazuh-logcollector[74897] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:16:14 wazuh-logcollector[74897] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
----------------------------Captured stdout teardown----------------------------
Fri Oct 15 10:16:20 UTC 2021
----------------------------Captured stderr teardown----------------------------
2021-10-15 03:16:20,819 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log 2021-10-15 03:16:20,820 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-15 03:16:20,846 - wazuh_testing - DEBUG - Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:724 Restore local_internal_option to {'logcollector.debug': '2\n', 'logcollector.sample_log_length': '100\n', 'monitord.rotate_log': '0\n', 'agent.debug': '0\n'}
Passed 2021-10-15 11:47:36.238419 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventMessage == "Logger testing message."_default_log] Check if logcollector use correctly query option using macos log format. 89.80 darwin 1
-----------------------------Captured stdout setup------------------------------
Killing wazuh-modulesd... wazuh-logcollector not running... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:16:21 wazuh-logcollector[74952] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:16:21 wazuh-logcollector[74952] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:16:21 wazuh-logcollector[74952] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:16:21 wazuh-logcollector[74952] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:16:21 wazuh-logcollector[74952] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 03:16:24 rootcheck: INFO: Rootcheck disabled. 2021/10/15 03:16:25 wazuh-logcollector[75055] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:16:25 wazuh-logcollector[75055] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:16:25 wazuh-logcollector[75055] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:16:25 wazuh-logcollector[75055] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:16:25 wazuh-logcollector[75055] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 03:16:29 wazuh-logcollector[75081] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:16:29 wazuh-logcollector[75081] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:16:29 wazuh-logcollector[75081] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:16:29 wazuh-logcollector[75081] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:16:29 wazuh-logcollector[75081] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.238511 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process = "logger"_default_log] Check if logcollector use correctly query option using macos log format. 78.52 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:17:49 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:17:49 wazuh-logcollector[75182] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:17:49 wazuh-logcollector[75182] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:17:49 wazuh-logcollector[75182] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:17:49 wazuh-logcollector[75182] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:17:49 wazuh-logcollector[75182] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.238602 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventMessage CONTAINS[c] "Logger testing" AND eventMessage CONTAINS[c] "testingnegative"_default_log] Check if logcollector use correctly query option using macos log format. 80.50 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:19:07 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:19:07 wazuh-logcollector[75273] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:19:07 wazuh-logcollector[75273] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:19:07 wazuh-logcollector[75273] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:19:07 wazuh-logcollector[75273] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:19:07 wazuh-logcollector[75273] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.238705 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[NOT messageType == "default"_default_log,trace] Check if logcollector use correctly query option using macos log format. 69.56 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:20:27 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:20:27 wazuh-logcollector[75372] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:20:27 wazuh-logcollector[75372] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:20:27 wazuh-logcollector[75372] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:20:27 wazuh-logcollector[75372] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:20:27 wazuh-logcollector[75372] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.238799 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[messageType == "error"_default_log] Check if logcollector use correctly query option using macos log format. 69.54 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:21:36 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:21:36 wazuh-logcollector[75453] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:21:36 wazuh-logcollector[75453] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:21:36 wazuh-logcollector[75453] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:21:36 wazuh-logcollector[75453] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:21:36 wazuh-logcollector[75453] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.238888 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[messageType == "fault"_default_log,trace] Check if logcollector use correctly query option using macos log format. 79.49 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:22:45 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:22:45 wazuh-logcollector[75543] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:22:45 wazuh-logcollector[75543] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:22:45 wazuh-logcollector[75543] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:22:45 wazuh-logcollector[75543] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:22:45 wazuh-logcollector[75543] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.238972 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "logEvent"_default_log,activity] Check if logcollector use correctly query option using macos log format. 46.08 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:24:04 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:24:04 wazuh-logcollector[75634] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:24:04 wazuh-logcollector[75634] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:24:04 wazuh-logcollector[75634] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:24:04 wazuh-logcollector[75634] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:24:04 wazuh-logcollector[75634] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.239085 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "traceEvent"_default_log,trace] Check if logcollector use correctly query option using macos log format. 80.67 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:24:50 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:24:50 wazuh-logcollector[75706] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:24:50 wazuh-logcollector[75706] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:24:50 wazuh-logcollector[75706] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:24:50 wazuh-logcollector[75706] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:24:50 wazuh-logcollector[75706] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.239373 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "activityCreateEvent"_default_log] Check if logcollector use correctly query option using macos log format. 79.03 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:26:10 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:26:10 wazuh-logcollector[75797] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:26:10 wazuh-logcollector[75797] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:26:10 wazuh-logcollector[75797] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:26:10 wazuh-logcollector[75797] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:26:10 wazuh-logcollector[75797] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.239499 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_info_log,activity] Check if logcollector use correctly query option using macos log format. 83.11 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:27:29 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:27:29 wazuh-logcollector[75896] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:27:29 wazuh-logcollector[75896] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:27:29 wazuh-logcollector[75896] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:27:29 wazuh-logcollector[75896] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:27:29 wazuh-logcollector[75896] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.239592 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_debug_log,trace] Check if logcollector use correctly query option using macos log format. 83.53 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:28:52 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:28:52 wazuh-logcollector[75995] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:28:52 wazuh-logcollector[75995] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:28:52 wazuh-logcollector[75995] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:28:52 wazuh-logcollector[75995] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:28:52 wazuh-logcollector[75995] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.239685 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_default_activity,log] Check if logcollector use correctly query option using macos log format. 83.05 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:30:15 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:30:15 wazuh-logcollector[76087] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:30:15 wazuh-logcollector[76087] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:30:15 wazuh-logcollector[76087] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:30:15 wazuh-logcollector[76087] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:30:15 wazuh-logcollector[76087] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.239780 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_default_trace] Check if logcollector use correctly query option using macos log format. 78.76 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:31:38 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:31:38 wazuh-logcollector[76186] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:31:38 wazuh-logcollector[76186] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:31:38 wazuh-logcollector[76186] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:31:38 wazuh-logcollector[76186] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:31:38 wazuh-logcollector[76186] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.239865 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[category CONTAINS[c] "examplecategory1"_default_log] Check if logcollector use correctly query option using macos log format. 80.46 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:32:56 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:32:56 wazuh-logcollector[76285] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:32:56 wazuh-logcollector[76285] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:32:56 wazuh-logcollector[76285] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:32:56 wazuh-logcollector[76285] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:32:56 wazuh-logcollector[76285] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.239955 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[subsystem BEGINSWITH[c] "com"_default_log] Check if logcollector use correctly query option using macos log format. 77.21 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:34:16 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:34:16 wazuh-logcollector[76376] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:34:16 wazuh-logcollector[76376] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:34:16 wazuh-logcollector[76376] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:34:16 wazuh-logcollector[76376] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:34:16 wazuh-logcollector[76376] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240043 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[! subsystem ENDSWITH[c] "com"_default_log] Check if logcollector use correctly query option using macos log format. 44.67 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:35:33 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:35:33 wazuh-logcollector[76486] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:35:33 wazuh-logcollector[76486] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:35:33 wazuh-logcollector[76486] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:35:33 wazuh-logcollector[76486] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:35:33 wazuh-logcollector[76486] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240171 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "logger" AND eventMessage CONTAINS[c] "Custom oslog event message"_default_log] Check if logcollector use correctly query option using macos log format. 80.11 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:36:17 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:36:17 wazuh-logcollector[76557] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:36:17 wazuh-logcollector[76557] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:36:17 wazuh-logcollector[76557] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:36:17 wazuh-logcollector[76557] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:36:17 wazuh-logcollector[76557] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240256 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process BEGINSWITH[c] "custom" OR subsystem ENDSWITH[c] "example"_default_activity] Check if logcollector use correctly query option using macos log format. 80.07 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:37:37 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:37:37 wazuh-logcollector[76648] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:37:37 wazuh-logcollector[76648] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:37:37 wazuh-logcollector[76648] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:37:37 wazuh-logcollector[76648] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:37:37 wazuh-logcollector[76648] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240345 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventMessage == "Logger testing message."_default] Check if logcollector use correctly query option using macos log format. 81.61 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:38:57 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:38:57 wazuh-logcollector[76747] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:38:57 wazuh-logcollector[76747] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:38:57 wazuh-logcollector[76747] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:38:57 wazuh-logcollector[76747] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:38:57 wazuh-logcollector[76747] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240435 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process = "logger"_default] Check if logcollector use correctly query option using macos log format. 78.75 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:40:18 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:40:18 wazuh-logcollector[76838] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:40:18 wazuh-logcollector[76838] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:40:18 wazuh-logcollector[76838] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:40:18 wazuh-logcollector[76838] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:40:18 wazuh-logcollector[76838] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240544 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventMessage CONTAINS[c] "Logger testing" AND eventMessage CONTAINS[c] "testingnegative"_default] Check if logcollector use correctly query option using macos log format. 80.57 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:41:36 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:41:36 wazuh-logcollector[76937] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:41:36 wazuh-logcollector[76937] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:41:36 wazuh-logcollector[76937] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:41:36 wazuh-logcollector[76937] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:41:36 wazuh-logcollector[76937] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240642 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[NOT messageType == "default"_default] Check if logcollector use correctly query option using macos log format. 72.09 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:42:56 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:42:56 wazuh-logcollector[77028] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:42:56 wazuh-logcollector[77028] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:42:56 wazuh-logcollector[77028] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:42:56 wazuh-logcollector[77028] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:42:56 wazuh-logcollector[77028] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240729 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[messageType == "error"_default] Check if logcollector use correctly query option using macos log format. 70.35 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:44:08 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:44:08 wazuh-logcollector[77118] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:44:08 wazuh-logcollector[77118] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:44:08 wazuh-logcollector[77118] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:44:08 wazuh-logcollector[77118] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:44:08 wazuh-logcollector[77118] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240822 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[messageType == "fault"_default] Check if logcollector use correctly query option using macos log format. 78.29 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:45:18 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:45:18 wazuh-logcollector[77208] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:45:18 wazuh-logcollector[77208] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:45:18 wazuh-logcollector[77208] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:45:18 wazuh-logcollector[77208] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:45:18 wazuh-logcollector[77208] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.240904 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "logEvent"_default] Check if logcollector use correctly query option using macos log format. 46.60 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:46:36 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:46:36 wazuh-logcollector[77299] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:46:36 wazuh-logcollector[77299] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:46:36 wazuh-logcollector[77299] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:46:36 wazuh-logcollector[77299] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:46:36 wazuh-logcollector[77299] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241021 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "traceEvent"_default] Check if logcollector use correctly query option using macos log format. 80.56 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:47:22 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:47:22 wazuh-logcollector[77362] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:47:22 wazuh-logcollector[77362] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:47:22 wazuh-logcollector[77362] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:47:22 wazuh-logcollector[77362] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:47:22 wazuh-logcollector[77362] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241124 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "activityCreateEvent"_default] Check if logcollector use correctly query option using macos log format. 78.84 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:48:42 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:48:42 wazuh-logcollector[77461] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:48:42 wazuh-logcollector[77461] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:48:42 wazuh-logcollector[77461] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:48:42 wazuh-logcollector[77461] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:48:42 wazuh-logcollector[77461] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241217 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_info] Check if logcollector use correctly query option using macos log format. 83.21 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:50:00 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:50:00 wazuh-logcollector[77552] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:50:00 wazuh-logcollector[77552] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:50:00 wazuh-logcollector[77552] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:50:00 wazuh-logcollector[77552] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:50:00 wazuh-logcollector[77552] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241308 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_debug] Check if logcollector use correctly query option using macos log format. 81.55 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:51:23 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:51:23 wazuh-logcollector[77651] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:51:23 wazuh-logcollector[77651] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:51:23 wazuh-logcollector[77651] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:51:23 wazuh-logcollector[77651] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:51:23 wazuh-logcollector[77651] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241452 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_default0] Check if logcollector use correctly query option using macos log format. 83.59 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:52:44 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:52:44 wazuh-logcollector[77754] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:52:44 wazuh-logcollector[77754] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:52:44 wazuh-logcollector[77754] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:52:44 wazuh-logcollector[77754] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:52:44 wazuh-logcollector[77754] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241548 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_default1] Check if logcollector use correctly query option using macos log format. 78.87 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:54:07 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:54:07 wazuh-logcollector[77853] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:54:07 wazuh-logcollector[77853] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:54:07 wazuh-logcollector[77853] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:54:07 wazuh-logcollector[77853] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:54:07 wazuh-logcollector[77853] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241644 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[category CONTAINS[c] "examplecategory1"_default] Check if logcollector use correctly query option using macos log format. 80.41 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:55:25 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:55:25 wazuh-logcollector[77944] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:55:25 wazuh-logcollector[77944] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:55:25 wazuh-logcollector[77944] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:55:25 wazuh-logcollector[77944] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:55:25 wazuh-logcollector[77944] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241733 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[subsystem BEGINSWITH[c] "com"_default] Check if logcollector use correctly query option using macos log format. 75.87 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:56:45 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:56:45 wazuh-logcollector[78035] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:56:45 wazuh-logcollector[78035] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:56:45 wazuh-logcollector[78035] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:56:45 wazuh-logcollector[78035] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:56:45 wazuh-logcollector[78035] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241834 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[! subsystem ENDSWITH[c] "com"_default] Check if logcollector use correctly query option using macos log format. 44.66 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:58:00 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:58:00 wazuh-logcollector[78134] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:58:00 wazuh-logcollector[78134] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:58:00 wazuh-logcollector[78134] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:58:00 wazuh-logcollector[78134] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:58:00 wazuh-logcollector[78134] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.241949 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "logger" AND eventMessage CONTAINS[c] "Custom oslog event message"_default] Check if logcollector use correctly query option using macos log format. 80.24 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 10:58:44 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 03:58:44 wazuh-logcollector[78197] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 03:58:44 wazuh-logcollector[78197] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 03:58:44 wazuh-logcollector[78197] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 03:58:44 wazuh-logcollector[78197] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 03:58:44 wazuh-logcollector[78197] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242042 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process BEGINSWITH[c] "custom" OR subsystem ENDSWITH[c] "example"_default] Check if logcollector use correctly query option using macos log format. 79.69 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:00:04 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:00:04 wazuh-logcollector[78288] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:00:04 wazuh-logcollector[78288] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:00:04 wazuh-logcollector[78288] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:00:04 wazuh-logcollector[78288] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:00:04 wazuh-logcollector[78288] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242139 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventMessage == "Logger testing message."_log] Check if logcollector use correctly query option using macos log format. 81.11 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:01:23 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:01:23 wazuh-logcollector[78387] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:01:23 wazuh-logcollector[78387] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:01:23 wazuh-logcollector[78387] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:01:23 wazuh-logcollector[78387] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:01:23 wazuh-logcollector[78387] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242231 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process = "logger"_log] Check if logcollector use correctly query option using macos log format. 78.56 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:02:44 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:02:44 wazuh-logcollector[78478] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:02:44 wazuh-logcollector[78478] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:02:44 wazuh-logcollector[78478] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:02:44 wazuh-logcollector[78478] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:02:44 wazuh-logcollector[78478] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242326 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventMessage CONTAINS[c] "Logger testing" AND eventMessage CONTAINS[c] "testingnegative"_log] Check if logcollector use correctly query option using macos log format. 80.07 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:04:02 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:04:02 wazuh-logcollector[78577] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:04:02 wazuh-logcollector[78577] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:04:02 wazuh-logcollector[78577] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:04:02 wazuh-logcollector[78577] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:04:02 wazuh-logcollector[78577] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242412 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[NOT messageType == "default"_log,trace] Check if logcollector use correctly query option using macos log format. 74.19 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:05:22 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:05:22 wazuh-logcollector[78668] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:05:22 wazuh-logcollector[78668] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:05:22 wazuh-logcollector[78668] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:05:22 wazuh-logcollector[78668] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:05:22 wazuh-logcollector[78668] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242504 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[messageType == "error"_log] Check if logcollector use correctly query option using macos log format. 71.53 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:06:36 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:06:36 wazuh-logcollector[78758] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:06:36 wazuh-logcollector[78758] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:06:36 wazuh-logcollector[78758] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:06:36 wazuh-logcollector[78758] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:06:36 wazuh-logcollector[78758] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242605 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[messageType == "fault"_log,trace] Check if logcollector use correctly query option using macos log format. 77.01 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:07:47 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:07:47 wazuh-logcollector[78848] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:07:47 wazuh-logcollector[78848] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:07:47 wazuh-logcollector[78848] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:07:47 wazuh-logcollector[78848] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:07:47 wazuh-logcollector[78848] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242695 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "logEvent"_log,activity] Check if logcollector use correctly query option using macos log format. 42.57 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:09:04 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:09:04 wazuh-logcollector[78939] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:09:04 wazuh-logcollector[78939] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:09:04 wazuh-logcollector[78939] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:09:04 wazuh-logcollector[78939] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:09:04 wazuh-logcollector[78939] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242807 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "traceEvent"_log,trace] Check if logcollector use correctly query option using macos log format. 80.48 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:09:46 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:09:46 wazuh-logcollector[79002] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:09:46 wazuh-logcollector[79002] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:09:46 wazuh-logcollector[79002] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:09:46 wazuh-logcollector[79002] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:09:46 wazuh-logcollector[79002] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242900 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "activityCreateEvent"_log] Check if logcollector use correctly query option using macos log format. 72.95 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:11:06 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:11:06 wazuh-logcollector[79101] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:11:06 wazuh-logcollector[79101] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:11:06 wazuh-logcollector[79101] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:11:06 wazuh-logcollector[79101] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:11:06 wazuh-logcollector[79101] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.242992 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_log,activity] Check if logcollector use correctly query option using macos log format. 83.12 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:12:18 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:12:18 wazuh-logcollector[79183] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:12:18 wazuh-logcollector[79183] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:12:18 wazuh-logcollector[79183] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:12:18 wazuh-logcollector[79183] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:12:18 wazuh-logcollector[79183] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243084 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_log,trace] Check if logcollector use correctly query option using macos log format. 83.22 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:13:41 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:13:41 wazuh-logcollector[79282] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:13:41 wazuh-logcollector[79282] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:13:41 wazuh-logcollector[79282] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:13:41 wazuh-logcollector[79282] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:13:41 wazuh-logcollector[79282] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243177 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_activity,log] Check if logcollector use correctly query option using macos log format. 83.28 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:15:04 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:15:04 wazuh-logcollector[79382] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:15:04 wazuh-logcollector[79382] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:15:04 wazuh-logcollector[79382] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:15:04 wazuh-logcollector[79382] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:15:04 wazuh-logcollector[79382] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243263 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"_trace] Check if logcollector use correctly query option using macos log format. 83.11 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:16:27 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:16:27 wazuh-logcollector[79481] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:16:27 wazuh-logcollector[79481] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:16:27 wazuh-logcollector[79481] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:16:27 wazuh-logcollector[79481] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:16:27 wazuh-logcollector[79481] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243350 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[category CONTAINS[c] "examplecategory1"_log] Check if logcollector use correctly query option using macos log format. 80.50 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:17:50 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:17:50 wazuh-logcollector[79580] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:17:50 wazuh-logcollector[79580] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:17:50 wazuh-logcollector[79580] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:17:50 wazuh-logcollector[79580] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:17:50 wazuh-logcollector[79580] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243461 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[subsystem BEGINSWITH[c] "com"_log] Check if logcollector use correctly query option using macos log format. 77.38 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:19:10 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:19:10 wazuh-logcollector[79671] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:19:10 wazuh-logcollector[79671] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:19:10 wazuh-logcollector[79671] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:19:10 wazuh-logcollector[79671] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:19:10 wazuh-logcollector[79671] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243548 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[! subsystem ENDSWITH[c] "com"_log] Check if logcollector use correctly query option using macos log format. 38.48 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:20:27 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:20:27 wazuh-logcollector[79770] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:20:27 wazuh-logcollector[79770] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:20:27 wazuh-logcollector[79770] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:20:27 wazuh-logcollector[79770] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:20:27 wazuh-logcollector[79770] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243647 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "logger" AND eventMessage CONTAINS[c] "Custom oslog event message"_log] Check if logcollector use correctly query option using macos log format. 80.50 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:21:05 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:21:05 wazuh-logcollector[79824] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:21:05 wazuh-logcollector[79824] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:21:05 wazuh-logcollector[79824] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:21:05 wazuh-logcollector[79824] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:21:05 wazuh-logcollector[79824] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243766 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process BEGINSWITH[c] "custom" OR subsystem ENDSWITH[c] "example"_activity] Check if logcollector use correctly query option using macos log format. 94.57 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:22:25 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:22:25 wazuh-logcollector[79923] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:22:25 wazuh-logcollector[79923] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:22:25 wazuh-logcollector[79923] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:22:25 wazuh-logcollector[79923] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:22:25 wazuh-logcollector[79923] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243849 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventMessage == "Logger testing message."] Check if logcollector use correctly query option using macos log format. 79.57 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:23:59 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:23:59 wazuh-logcollector[80032] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:23:59 wazuh-logcollector[80032] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:23:59 wazuh-logcollector[80032] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:23:59 wazuh-logcollector[80032] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:23:59 wazuh-logcollector[80032] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.243948 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process = "logger"] Check if logcollector use correctly query option using macos log format. 78.50 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:25:18 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:25:18 wazuh-logcollector[80123] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:25:18 wazuh-logcollector[80123] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:25:18 wazuh-logcollector[80123] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:25:18 wazuh-logcollector[80123] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:25:18 wazuh-logcollector[80123] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244036 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventMessage CONTAINS[c] "Logger testing" AND eventMessage CONTAINS[c] "testingnegative"] Check if logcollector use correctly query option using macos log format. 80.23 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:26:36 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:26:36 wazuh-logcollector[80213] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:26:36 wazuh-logcollector[80213] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:26:36 wazuh-logcollector[80213] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:26:36 wazuh-logcollector[80213] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:26:36 wazuh-logcollector[80213] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244129 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[NOT messageType == "default"] Check if logcollector use correctly query option using macos log format. 70.07 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:27:56 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:27:56 wazuh-logcollector[80312] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:27:56 wazuh-logcollector[80312] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:27:56 wazuh-logcollector[80312] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:27:56 wazuh-logcollector[80312] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:27:56 wazuh-logcollector[80312] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244227 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[messageType == "error"] Check if logcollector use correctly query option using macos log format. 69.51 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:29:06 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:29:06 wazuh-logcollector[80402] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:29:06 wazuh-logcollector[80402] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:29:06 wazuh-logcollector[80402] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:29:06 wazuh-logcollector[80402] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:29:06 wazuh-logcollector[80402] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244309 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[messageType == "fault"] Check if logcollector use correctly query option using macos log format. 76.97 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:30:15 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:30:15 wazuh-logcollector[80485] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:30:15 wazuh-logcollector[80485] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:30:15 wazuh-logcollector[80485] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:30:15 wazuh-logcollector[80485] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:30:15 wazuh-logcollector[80485] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244401 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "logEvent"] Check if logcollector use correctly query option using macos log format. 46.58 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:31:31 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:31:31 wazuh-logcollector[80576] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:31:31 wazuh-logcollector[80576] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:31:31 wazuh-logcollector[80576] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:31:31 wazuh-logcollector[80576] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:31:31 wazuh-logcollector[80576] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244516 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "traceEvent"] Check if logcollector use correctly query option using macos log format. 80.54 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:32:17 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:32:17 wazuh-logcollector[80647] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:32:17 wazuh-logcollector[80647] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:32:17 wazuh-logcollector[80647] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:32:17 wazuh-logcollector[80647] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:32:17 wazuh-logcollector[80647] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244605 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[eventType == "activityCreateEvent"] Check if logcollector use correctly query option using macos log format. 74.53 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:33:37 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:33:37 wazuh-logcollector[80738] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:33:37 wazuh-logcollector[80738] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:33:37 wazuh-logcollector[80738] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:33:37 wazuh-logcollector[80738] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:33:37 wazuh-logcollector[80738] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244700 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"0] Check if logcollector use correctly query option using macos log format. 83.42 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:34:51 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:34:51 wazuh-logcollector[80829] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:34:51 wazuh-logcollector[80829] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:34:51 wazuh-logcollector[80829] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:34:51 wazuh-logcollector[80829] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:34:51 wazuh-logcollector[80829] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244804 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"1] Check if logcollector use correctly query option using macos log format. 83.55 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:36:14 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:36:14 wazuh-logcollector[80928] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:36:14 wazuh-logcollector[80928] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:36:14 wazuh-logcollector[80928] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:36:14 wazuh-logcollector[80928] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:36:14 wazuh-logcollector[80928] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244891 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"2] Check if logcollector use correctly query option using macos log format. 83.59 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:37:37 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:37:37 wazuh-logcollector[81027] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:37:37 wazuh-logcollector[81027] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:37:37 wazuh-logcollector[81027] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:37:37 wazuh-logcollector[81027] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:37:37 wazuh-logcollector[81027] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.244987 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "customlog"3] Check if logcollector use correctly query option using macos log format. 83.18 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:39:00 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:39:00 wazuh-logcollector[81126] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:39:00 wazuh-logcollector[81126] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:39:00 wazuh-logcollector[81126] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:39:00 wazuh-logcollector[81126] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:39:00 wazuh-logcollector[81126] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.245092 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[category CONTAINS[c] "examplecategory1"] Check if logcollector use correctly query option using macos log format. 80.49 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:40:23 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:40:23 wazuh-logcollector[81226] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:40:23 wazuh-logcollector[81226] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:40:23 wazuh-logcollector[81226] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:40:23 wazuh-logcollector[81226] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:40:23 wazuh-logcollector[81226] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.245174 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[subsystem BEGINSWITH[c] "com"] Check if logcollector use correctly query option using macos log format. 76.44 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:41:43 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:41:43 wazuh-logcollector[81317] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:41:43 wazuh-logcollector[81317] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:41:43 wazuh-logcollector[81317] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:41:43 wazuh-logcollector[81317] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:41:43 wazuh-logcollector[81317] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.245270 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[! subsystem ENDSWITH[c] "com"] Check if logcollector use correctly query option using macos log format. 38.48 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:42:59 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:42:59 wazuh-logcollector[81407] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:42:59 wazuh-logcollector[81407] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:42:59 wazuh-logcollector[81407] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:42:59 wazuh-logcollector[81407] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:42:59 wazuh-logcollector[81407] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.245385 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process == "logger" AND eventMessage CONTAINS[c] "Custom oslog event message"] Check if logcollector use correctly query option using macos log format. 80.52 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:43:37 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:43:37 wazuh-logcollector[81470] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:43:37 wazuh-logcollector[81470] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:43:37 wazuh-logcollector[81470] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:43:37 wazuh-logcollector[81470] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:43:37 wazuh-logcollector[81470] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-15 11:47:36.245480 test_logcollector/test_macos/test_macos_format_query.py::test_macos_format_query[process BEGINSWITH[c] "custom" OR subsystem ENDSWITH[c] "example"] Check if logcollector use correctly query option using macos log format. 99.78 darwin 1
-----------------------------Captured stdout setup------------------------------
Fri Oct 15 11:44:57 UTC 2021
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:44:57 wazuh-logcollector[81569] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:44:57 wazuh-logcollector[81569] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:44:57 wazuh-logcollector[81569] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:44:57 wazuh-logcollector[81569] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:44:57 wazuh-logcollector[81569] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
----------------------------Captured stdout teardown----------------------------
Fri Oct 15 11:46:36 UTC 2021
Passed 2021-10-15 11:47:36.245638 test_logcollector/test_macos/test_macos_log_process.py::test_independent_log_process[] Check that independent execution of log processes (external to Wazuh) are not altered because of the Wazuh agent. 17.41 darwin 0
-----------------------------Captured stdout setup------------------------------
Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
-----------------------------Captured stderr setup------------------------------
2021/10/15 04:46:36 wazuh-logcollector[81688] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:46:36 wazuh-logcollector[81688] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:46:36 wazuh-logcollector[81688] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:46:36 wazuh-logcollector[81688] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:46:36 wazuh-logcollector[81688] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:46:39 rootcheck: INFO: Rootcheck disabled. 2021/10/15 04:46:41 wazuh-logcollector[81797] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:46:41 wazuh-logcollector[81797] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:46:41 wazuh-logcollector[81797] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:46:41 wazuh-logcollector[81797] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:46:41 wazuh-logcollector[81797] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-15 04:46:45,141 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
------------------------------Captured stdout call------------------------------
Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Timestamp Thread Type Activity PID TTL 2021-10-15 04:46:45.957988-0700 0xafa0f Activity 0x1f9cc0 81898 0 wazuh-logcollector: (libsystem_info.dylib) Retrieve Group by Name Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
------------------------------Captured stderr call------------------------------
2021/10/15 04:46:45 wazuh-logcollector[81898] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:46:45 wazuh-logcollector[81898] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:46:45 wazuh-logcollector[81898] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:46:45 wazuh-logcollector[81898] agent_op.c:219 at os_read_agent_profile(): ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 04:46:45 wazuh-logcollector[81898] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:46:45 wazuh-logcollector[81898] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/15 04:46:46 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 04:46:46 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 04:46:46 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 04:46:46 wazuh-logcollector[81911] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:46:46 wazuh-logcollector[81911] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:46:46 wazuh-logcollector[81911] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:46:46 wazuh-logcollector[81911] agent_op.c:219 at os_read_agent_profile(): ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 04:46:46 wazuh-logcollector[81911] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:46:46 wazuh-logcollector[81911] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/15 04:46:46 wazuh-modulesd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 04:46:47 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/15 04:46:48 rootcheck: INFO: Rootcheck disabled. 2021/10/15 04:46:49 wazuh-logcollector[81964] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:46:49 wazuh-logcollector[81964] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:46:49 wazuh-logcollector[81964] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:46:49 wazuh-logcollector[81964] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:46:49 wazuh-logcollector[81964] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
----------------------------Captured stderr teardown----------------------------
2021-10-15 04:46:53,429 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log
Passed 2021-10-15 11:47:36.245787 test_logcollector/test_macos/test_macos_log_process.py::test_macos_log_process_stop[] Check if logcollector stops the log and script process when Wazuh agent or logcollector stop. 8.53 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-15 04:46:53,451 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
------------------------------Captured stdout call------------------------------
Starting Wazuh v4.3.0... wazuh-execd already running... wazuh-agentd already running... wazuh-syscheckd already running... Started wazuh-logcollector... wazuh-modulesd already running... Completed.
------------------------------Captured stderr call------------------------------
2021/10/15 04:46:58 wazuh-logcollector[82006] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:46:58 wazuh-logcollector[82006] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:46:58 wazuh-logcollector[82006] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:46:58 wazuh-logcollector[82006] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:46:58 wazuh-logcollector[82006] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:46:58 wazuh-logcollector[82022] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:46:58 wazuh-logcollector[82022] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:46:58 wazuh-logcollector[82022] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:46:58 wazuh-logcollector[82022] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:46:58 wazuh-logcollector[82022] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:46:58 wazuh-logcollector[82053] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:46:58 wazuh-logcollector[82053] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:46:58 wazuh-logcollector[82053] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:46:58 wazuh-logcollector[82053] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:46:58 wazuh-logcollector[82053] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
----------------------------Captured stderr teardown----------------------------
2021-10-15 04:47:01,966 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log
Passed 2021-10-15 11:47:36.245939 test_logcollector/test_macos/test_macos_log_process.py::test_macos_log_process_stop_suddenly_warning[] Check if logcollector alerts when `log stream` process has stopped. 20.10 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-15 04:47:01,987 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
------------------------------Captured stdout call------------------------------
Starting Wazuh v4.3.0... wazuh-execd already running... wazuh-agentd already running... wazuh-syscheckd already running... wazuh-logcollector already running... wazuh-modulesd already running... Completed.
------------------------------Captured stderr call------------------------------
2021/10/15 04:47:10 wazuh-logcollector[82088] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:47:10 wazuh-logcollector[82088] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:47:10 wazuh-logcollector[82088] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:47:10 wazuh-logcollector[82088] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:47:10 wazuh-logcollector[82088] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:47:10 wazuh-logcollector[82104] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:47:10 wazuh-logcollector[82104] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:47:10 wazuh-logcollector[82104] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:47:10 wazuh-logcollector[82104] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:47:10 wazuh-logcollector[82104] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
-------------------------------Captured log call--------------------------------
WARNING root:utils.py:41 Exception: "Process log is running at start. assert 1 == 0 + where 1 = len([{'name': 'log', 'pid': 82060}])". 4/5 remaining attempts. Waiting 2 seconds.
----------------------------Captured stdout teardown----------------------------
Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed. Fri Oct 15 11:47:22 UTC 2021
----------------------------Captured stderr teardown----------------------------
2021-10-15 04:47:12,987 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log 2021/10/15 04:47:13 wazuh-logcollector[82156] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:47:13 wazuh-logcollector[82156] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:47:13 wazuh-logcollector[82156] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:47:13 wazuh-logcollector[82156] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:47:13 wazuh-logcollector[82156] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:47:16 rootcheck: INFO: Rootcheck disabled. 2021/10/15 04:47:17 wazuh-logcollector[82273] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:47:17 wazuh-logcollector[82273] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:47:17 wazuh-logcollector[82273] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:47:17 wazuh-logcollector[82273] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:47:17 wazuh-logcollector[82273] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log
Passed 2021-10-15 11:47:36.246067 test_logcollector/test_macos/test_macos_multiline_values.py::test_macos_multiline_values[get_configuration0-macos_message0] Check if logcollector correctly collects multiline events from the macOS unified logging system. 14.41 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-15 04:47:22,037 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/15 04:47:22 wazuh-logcollector[82307] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:47:22 wazuh-logcollector[82307] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:47:22 wazuh-logcollector[82307] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:47:22 wazuh-logcollector[82307] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:47:22 wazuh-logcollector[82307] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-15 04:47:22,073 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log
----------------------------Captured stdout teardown----------------------------
Fri Oct 15 11:47:27 UTC 2021 Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed.
----------------------------Captured stderr teardown----------------------------
2021-10-15 04:47:27,165 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log 2021-10-15 04:47:27,165 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021/10/15 04:47:27 wazuh-logcollector[82329] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:47:27 wazuh-logcollector[82329] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:47:27 wazuh-logcollector[82329] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:47:27 wazuh-logcollector[82329] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:47:27 wazuh-logcollector[82329] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:47:27 wazuh-logcollector[82329] main.c:152 at main(): INFO: (1905): No file configured to monitor. 2021/10/15 04:47:27 wazuh-logcollector[82349] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:47:27 wazuh-logcollector[82349] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:47:27 wazuh-logcollector[82349] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:47:27 wazuh-logcollector[82349] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:47:27 wazuh-logcollector[82349] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:47:31 rootcheck: INFO: Rootcheck disabled. 2021/10/15 04:47:32 wazuh-logcollector[82458] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/15 04:47:32 wazuh-logcollector[82458] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/15 04:47:32 wazuh-logcollector[82458] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/15 04:47:32 wazuh-logcollector[82458] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/15 04:47:32 wazuh-logcollector[82458] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/15 04:47:32 wazuh-logcollector[82458] main.c:152 at main(): INFO: (1905): No file configured to monitor.
-----------------------------Captured log teardown------------------------------
DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector