PS2-2043-macos-agent.html

Report generated on 19-Oct-2021 at 02:55:44 by pytest-html v2.0.1

Environment

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

Summary

85 tests ran in 5560.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-19 08:23:13.313477 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. 9.18 darwin 0
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:23:04 wazuh-logcollector[11146] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:23:04 wazuh-logcollector[11146] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:23:04 wazuh-logcollector[11146] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:23:04 wazuh-logcollector[11146] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:23:04 wazuh-logcollector[11146] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-19 01:23:04,083 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.debug': 2, 'logcollector.vcheck_files': 4, 'logcollector.sample_log_length': 100} 2021-10-19 01:23:04,094 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-19 01:23:04,094 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/19 01:23:04 wazuh-logcollector[11155] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:23:04 wazuh-logcollector[11155] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:23:04 wazuh-logcollector[11155] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:23:04 wazuh-logcollector[11155] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:23:04 wazuh-logcollector[11155] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-19 01:23:04,131 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:866 Set local_internal_option to {'logcollector.debug': 2, 'logcollector.vcheck_files': 4, 'logcollector.sample_log_length': 100} DEBUG  wazuh_testing:conftest.py:788 Ignore error set to False DEBUG  wazuh_testing:conftest.py:802 Restarting wazuh-logcollector DEBUG  wazuh_testing:conftest.py:839 Initializing file to monitor to /Library/Ossec/logs/ossec.log
Passed 2021-10-19 08:23:22.184654 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.14 darwin 0
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:23:13 UTC
-----------------------------Captured stderr setup------------------------------
2021-10-19 01:23:13,338 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-19 01:23:13,010 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-19 01:23:13,010 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/19 01:23:13 wazuh-logcollector[11186] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:23:13 wazuh-logcollector[11186] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:23:13 wazuh-logcollector[11186] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:23:13 wazuh-logcollector[11186] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:23:13 wazuh-logcollector[11186] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-19 01:23:13,042 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:822 Stopping wazuh-logcollector DEBUG  wazuh_testing:conftest.py:788 Ignore error set to False DEBUG  wazuh_testing:conftest.py:802 Restarting wazuh-logcollector DEBUG  wazuh_testing:conftest.py:839 Initializing file to monitor to /Library/Ossec/logs/ossec.log
Passed 2021-10-19 08:23:25.126638 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. 3.06 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-19 01:23:22,034 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.vcheck_files': 4} 2021-10-19 01:23:22,037 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-19 01:23:22,038 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021-10-19 01:23:22,063 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:866 Set local_internal_option to {'logcollector.vcheck_files': 4} DEBUG  wazuh_testing:conftest.py:788 Ignore error set to False DEBUG  wazuh_testing:conftest.py:802 Restarting wazuh-logcollector DEBUG  wazuh_testing:conftest.py:839 Initializing file to monitor to /Library/Ossec/logs/ossec.log
Passed 2021-10-19 08:23:27.580385 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. 2.54 darwin 0
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:23:25 UTC
-----------------------------Captured stderr setup------------------------------
2021-10-19 01:23:25,150 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-19 01:23:25,010 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-19 01:23:25,010 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021-10-19 01:23:25,037 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:822 Stopping wazuh-logcollector DEBUG  wazuh_testing:conftest.py:788 Ignore error set to False DEBUG  wazuh_testing:conftest.py:802 Restarting wazuh-logcollector DEBUG  wazuh_testing:conftest.py:839 Initializing file to monitor to /Library/Ossec/logs/ossec.log
Passed 2021-10-19 08:23:40.114718 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.04 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-19 01:23:27,038 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.vcheck_files': 4} 2021-10-19 01:23:27,041 - wazuh_testing - DEBUG - Ignore error set to False 2021-10-19 01:23:27,041 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021-10-19 01:23:27,069 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:866 Set local_internal_option to {'logcollector.vcheck_files': 4} DEBUG  wazuh_testing:conftest.py:788 Ignore error set to False DEBUG  wazuh_testing:conftest.py:802 Restarting wazuh-logcollector DEBUG  wazuh_testing:conftest.py:839 Initializing file to monitor to /Library/Ossec/logs/ossec.log
Passed 2021-10-19 08:23:45.188609 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.07 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-19 01:23:40,038 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 200} 2021-10-19 01:23:40,039 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/19 01:23:40 wazuh-logcollector[11297] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:23:40 wazuh-logcollector[11297] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:23:40 wazuh-logcollector[11297] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:23:40 wazuh-logcollector[11297] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:23:40 wazuh-logcollector[11297] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-19 01:23:40,070 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log 2021/10/19 01:23:40 wazuh-logcollector[11301] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:23:40 wazuh-logcollector[11301] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:23:40 wazuh-logcollector[11301] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:23:40 wazuh-logcollector[11301] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:23:40 wazuh-logcollector[11301] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:866 Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 200} DEBUG  wazuh_testing:conftest.py:802 Restarting wazuh-logcollector DEBUG  wazuh_testing:conftest.py:839 Initializing file to monitor to /Library/Ossec/logs/ossec.log
Passed 2021-10-19 08:23:50.314382 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.07 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-19 01:23:45,211 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log 2021/10/19 01:23:45 wazuh-logcollector[11323] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:23:45 wazuh-logcollector[11323] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:23:45 wazuh-logcollector[11323] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:23:45 wazuh-logcollector[11323] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:23:45 wazuh-logcollector[11323] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:839 Initializing file to monitor to /Library/Ossec/logs/ossec.log
Passed 2021-10-19 08:24:44.671003 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.60 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-19 01:23:50,035 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 100} 2021-10-19 01:23:50,036 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/19 01:23:50 wazuh-logcollector[11353] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:23:50 wazuh-logcollector[11353] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:23:50 wazuh-logcollector[11353] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:23:50 wazuh-logcollector[11353] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:23:50 wazuh-logcollector[11353] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-19 01:23:50,063 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:866 Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 100} DEBUG  wazuh_testing:conftest.py:802 Restarting wazuh-logcollector DEBUG  wazuh_testing:conftest.py:839 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/19 01:23:55 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:23:55 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:23:55 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:23:55 wazuh-logcollector[11443] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:23:55 wazuh-logcollector[11443] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:23:55 wazuh-logcollector[11443] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:23:55 wazuh-logcollector[11443] 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/19 01:23:55 wazuh-logcollector[11443] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 01:23:55 wazuh-logcollector[11443] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/19 01:23:55 wazuh-modulesd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:23:57 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:23:58 rootcheck: INFO: Rootcheck disabled. 2021/10/19 01:23:59 wazuh-logcollector[11504] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:23:59 wazuh-logcollector[11504] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:23:59 wazuh-logcollector[11504] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:23:59 wazuh-logcollector[11504] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:23:59 wazuh-logcollector[11504] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:24:58.345330 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.29 darwin 0
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:24:44 UTC
-----------------------------Captured stderr setup------------------------------
2021-10-19 01:24:44,696 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-19 01:24:44,010 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/19 01:24:44 wazuh-logcollector[11583] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:24:44 wazuh-logcollector[11583] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:24:44 wazuh-logcollector[11583] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:24:44 wazuh-logcollector[11583] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:24:44 wazuh-logcollector[11583] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-19 01:24:44,044 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:822 Stopping wazuh-logcollector DEBUG  wazuh_testing:conftest.py:802 Restarting wazuh-logcollector DEBUG  wazuh_testing:conftest.py:839 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/19 01:24:49 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:24:49 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:24:49 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:24:49 wazuh-logcollector[11673] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:24:49 wazuh-logcollector[11673] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:24:49 wazuh-logcollector[11673] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:24:49 wazuh-logcollector[11673] 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/19 01:24:49 wazuh-logcollector[11673] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 01:24:49 wazuh-logcollector[11673] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/19 01:24:49 wazuh-modulesd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:24:51 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 01:24:52 rootcheck: INFO: Rootcheck disabled. 2021/10/19 01:24:53 wazuh-logcollector[11735] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:24:53 wazuh-logcollector[11735] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:24:53 wazuh-logcollector[11735] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:24:53 wazuh-logcollector[11735] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:24:53 wazuh-logcollector[11735] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:26:26.986957 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. 79.37 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/19 01:24:58 wazuh-logcollector[11788] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:24:58 wazuh-logcollector[11788] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:24:58 wazuh-logcollector[11788] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:24:58 wazuh-logcollector[11788] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:24:58 wazuh-logcollector[11788] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 01:25:02 rootcheck: INFO: Rootcheck disabled. 2021/10/19 01:25:03 wazuh-logcollector[11899] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:25:03 wazuh-logcollector[11899] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:25:03 wazuh-logcollector[11899] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:25:03 wazuh-logcollector[11899] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:25:03 wazuh-logcollector[11899] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 01:25:07 wazuh-logcollector[11932] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:25:07 wazuh-logcollector[11932] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:25:07 wazuh-logcollector[11932] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:25:07 wazuh-logcollector[11932] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 01:25:07 wazuh-logcollector[11932] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:27:46.082094 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. 79.03 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:26:27 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:26:27 wazuh-logcollector[12038] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:26:27 wazuh-logcollector[12038] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:26:27 wazuh-logcollector[12038] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:26:27 wazuh-logcollector[12038] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:26:27 wazuh-logcollector[12038] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:29:06.613161 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.56 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:27:46 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:27:46 wazuh-logcollector[12136] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:27:46 wazuh-logcollector[12136] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:27:46 wazuh-logcollector[12136] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:27:46 wazuh-logcollector[12136] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:27:46 wazuh-logcollector[12136] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:30:19.777461 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. 73.72 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:29:06 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:29:06 wazuh-logcollector[12242] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:29:06 wazuh-logcollector[12242] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:29:06 wazuh-logcollector[12242] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:29:06 wazuh-logcollector[12242] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:29:06 wazuh-logcollector[12242] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:31:28.958901 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.90 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:30:19 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:30:19 wazuh-logcollector[12340] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:30:19 wazuh-logcollector[12340] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:30:19 wazuh-logcollector[12340] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:30:19 wazuh-logcollector[12340] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:30:19 wazuh-logcollector[12340] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:32:46.049319 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. 77.99 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:31:28 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:31:28 wazuh-logcollector[12429] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:31:28 wazuh-logcollector[12429] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:31:28 wazuh-logcollector[12429] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:31:28 wazuh-logcollector[12429] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:31:28 wazuh-logcollector[12429] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:33:32.472815 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.42 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:32:46 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:32:46 wazuh-logcollector[12527] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:32:46 wazuh-logcollector[12527] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:32:46 wazuh-logcollector[12527] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:32:46 wazuh-logcollector[12527] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:32:46 wazuh-logcollector[12527] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:34:52.481635 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.43 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:33:32 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:33:32 wazuh-logcollector[12605] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:33:32 wazuh-logcollector[12605] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:33:32 wazuh-logcollector[12605] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:33:32 wazuh-logcollector[12605] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:33:32 wazuh-logcollector[12605] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:36:10.376083 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. 78.32 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:34:52 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:34:52 wazuh-logcollector[12704] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:34:52 wazuh-logcollector[12704] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:34:52 wazuh-logcollector[12704] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:34:52 wazuh-logcollector[12704] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:34:52 wazuh-logcollector[12704] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:37:33.577797 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.53 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:36:10 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:36:10 wazuh-logcollector[12810] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:36:10 wazuh-logcollector[12810] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:36:10 wazuh-logcollector[12810] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:36:10 wazuh-logcollector[12810] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:36:10 wazuh-logcollector[12810] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:38:56.654083 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.60 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:37:33 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:37:33 wazuh-logcollector[12916] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:37:33 wazuh-logcollector[12916] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:37:33 wazuh-logcollector[12916] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:37:33 wazuh-logcollector[12916] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:37:33 wazuh-logcollector[12916] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:40:19.358686 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.30 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:38:56 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:38:56 wazuh-logcollector[13015] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:38:56 wazuh-logcollector[13015] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:38:56 wazuh-logcollector[13015] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:38:56 wazuh-logcollector[13015] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:38:56 wazuh-logcollector[13015] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:41:37.845068 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.79 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:40:19 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:40:19 wazuh-logcollector[13121] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:40:19 wazuh-logcollector[13121] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:40:19 wazuh-logcollector[13121] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:40:19 wazuh-logcollector[13121] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:40:19 wazuh-logcollector[13121] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:42:57.452013 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.39 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:41:37 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:41:37 wazuh-logcollector[13227] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:41:37 wazuh-logcollector[13227] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:41:37 wazuh-logcollector[13227] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:41:37 wazuh-logcollector[13227] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:41:37 wazuh-logcollector[13227] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:44:13.662128 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. 76.60 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:42:57 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:42:57 wazuh-logcollector[13325] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:42:57 wazuh-logcollector[13325] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:42:57 wazuh-logcollector[13325] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:42:57 wazuh-logcollector[13325] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:42:57 wazuh-logcollector[13325] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:44:57.536687 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.48 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:44:13 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:44:13 wazuh-logcollector[13422] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:44:13 wazuh-logcollector[13422] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:44:13 wazuh-logcollector[13422] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:44:13 wazuh-logcollector[13422] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:44:13 wazuh-logcollector[13422] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:46:17.087799 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.02 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:44:57 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:44:57 wazuh-logcollector[13501] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:44:57 wazuh-logcollector[13501] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:44:57 wazuh-logcollector[13501] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:44:57 wazuh-logcollector[13501] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:44:57 wazuh-logcollector[13501] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:47:37.035527 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. 79.98 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:46:17 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:46:17 wazuh-logcollector[13599] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:46:17 wazuh-logcollector[13599] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:46:17 wazuh-logcollector[13599] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:46:17 wazuh-logcollector[13599] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:46:17 wazuh-logcollector[13599] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:48:56.481419 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. 79.43 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:47:37 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:47:37 wazuh-logcollector[13704] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:47:37 wazuh-logcollector[13704] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:47:37 wazuh-logcollector[13704] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:47:37 wazuh-logcollector[13704] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:47:37 wazuh-logcollector[13704] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:50:14.351580 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.29 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:48:56 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:48:56 wazuh-logcollector[13802] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:48:56 wazuh-logcollector[13802] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:48:56 wazuh-logcollector[13802] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:48:56 wazuh-logcollector[13802] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:48:56 wazuh-logcollector[13802] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:51:34.565745 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.49 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:50:14 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:50:14 wazuh-logcollector[13908] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:50:14 wazuh-logcollector[13908] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:50:14 wazuh-logcollector[13908] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:50:14 wazuh-logcollector[13908] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:50:14 wazuh-logcollector[13908] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:52:45.991961 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. 71.93 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:51:34 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:51:34 wazuh-logcollector[14006] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:51:34 wazuh-logcollector[14006] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:51:34 wazuh-logcollector[14006] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:51:34 wazuh-logcollector[14006] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:51:34 wazuh-logcollector[14006] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:53:57.498300 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. 71.44 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:52:46 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:52:46 wazuh-logcollector[14103] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:52:46 wazuh-logcollector[14103] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:52:46 wazuh-logcollector[14103] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:52:46 wazuh-logcollector[14103] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:52:46 wazuh-logcollector[14103] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:55:13.009278 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. 75.95 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:53:57 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:53:57 wazuh-logcollector[14200] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:53:57 wazuh-logcollector[14200] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:53:57 wazuh-logcollector[14200] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:53:57 wazuh-logcollector[14200] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:53:57 wazuh-logcollector[14200] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:56:01.497644 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. 48.44 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:55:13 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:55:13 wazuh-logcollector[14298] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:55:13 wazuh-logcollector[14298] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:55:13 wazuh-logcollector[14298] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:55:13 wazuh-logcollector[14298] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:55:13 wazuh-logcollector[14298] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:57:22.024561 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.96 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:56:01 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:56:01 wazuh-logcollector[14369] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:56:01 wazuh-logcollector[14369] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:56:01 wazuh-logcollector[14369] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:56:01 wazuh-logcollector[14369] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:56:01 wazuh-logcollector[14369] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 08:58:40.548861 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.49 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:57:22 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:57:22 wazuh-logcollector[14475] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:57:22 wazuh-logcollector[14475] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:57:22 wazuh-logcollector[14475] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:57:22 wazuh-logcollector[14475] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:57:22 wazuh-logcollector[14475] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:00:03.592691 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.54 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 08:58:40 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 01:58:40 wazuh-logcollector[14572] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 01:58:40 wazuh-logcollector[14572] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 01:58:40 wazuh-logcollector[14572] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 01:58:40 wazuh-logcollector[14572] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 01:58:40 wazuh-logcollector[14572] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:01:24.577687 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.53 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:00:03 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:00:03 wazuh-logcollector[14679] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:00:03 wazuh-logcollector[14679] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:00:03 wazuh-logcollector[14679] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:00:03 wazuh-logcollector[14679] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:00:03 wazuh-logcollector[14679] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:02:45.568649 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. 81.51 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:01:24 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:01:24 wazuh-logcollector[14785] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:01:24 wazuh-logcollector[14785] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:01:24 wazuh-logcollector[14785] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:01:24 wazuh-logcollector[14785] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:01:24 wazuh-logcollector[14785] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:04:03.955049 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.90 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:02:45 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:02:45 wazuh-logcollector[14891] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:02:45 wazuh-logcollector[14891] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:02:45 wazuh-logcollector[14891] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:02:45 wazuh-logcollector[14891] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:02:45 wazuh-logcollector[14891] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:05:23.497718 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.45 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:04:03 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:04:03 wazuh-logcollector[14989] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:04:03 wazuh-logcollector[14989] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:04:03 wazuh-logcollector[14989] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:04:03 wazuh-logcollector[14989] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:04:03 wazuh-logcollector[14989] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:06:39.014038 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.96 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:05:23 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:05:23 wazuh-logcollector[15095] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:05:23 wazuh-logcollector[15095] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:05:23 wazuh-logcollector[15095] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:05:23 wazuh-logcollector[15095] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:05:23 wazuh-logcollector[15095] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:07:26.961400 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. 47.91 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:06:39 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:06:39 wazuh-logcollector[15192] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:06:39 wazuh-logcollector[15192] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:06:39 wazuh-logcollector[15192] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:06:39 wazuh-logcollector[15192] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:06:39 wazuh-logcollector[15192] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:08:46.039513 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. 79.99 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:07:26 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:07:26 wazuh-logcollector[15263] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:07:26 wazuh-logcollector[15263] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:07:26 wazuh-logcollector[15263] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:07:26 wazuh-logcollector[15263] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:07:26 wazuh-logcollector[15263] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:10:05.916274 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.87 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:08:46 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:08:46 wazuh-logcollector[15369] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:08:46 wazuh-logcollector[15369] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:08:46 wazuh-logcollector[15369] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:08:46 wazuh-logcollector[15369] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:08:46 wazuh-logcollector[15369] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:11:26.607338 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.55 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:10:05 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:10:05 wazuh-logcollector[15467] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:10:05 wazuh-logcollector[15467] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:10:05 wazuh-logcollector[15467] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:10:05 wazuh-logcollector[15467] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:10:05 wazuh-logcollector[15467] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:12:44.512287 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.46 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:11:26 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:11:26 wazuh-logcollector[15573] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:11:26 wazuh-logcollector[15573] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:11:26 wazuh-logcollector[15573] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:11:26 wazuh-logcollector[15573] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:11:26 wazuh-logcollector[15573] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:14:04.575570 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.52 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:12:44 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:12:44 wazuh-logcollector[15671] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:12:44 wazuh-logcollector[15671] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:12:44 wazuh-logcollector[15671] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:12:44 wazuh-logcollector[15671] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:12:44 wazuh-logcollector[15671] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:15:17.971243 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. 73.92 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:14:04 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:14:04 wazuh-logcollector[15776] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:14:04 wazuh-logcollector[15776] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:14:04 wazuh-logcollector[15776] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:14:04 wazuh-logcollector[15776] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:14:04 wazuh-logcollector[15776] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:16:30.522677 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. 73.47 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:15:17 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:15:17 wazuh-logcollector[15874] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:15:17 wazuh-logcollector[15874] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:15:17 wazuh-logcollector[15874] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:15:17 wazuh-logcollector[15874] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:15:17 wazuh-logcollector[15874] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:17:46.991290 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. 76.94 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:16:30 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:16:30 wazuh-logcollector[15971] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:16:30 wazuh-logcollector[15971] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:16:30 wazuh-logcollector[15971] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:16:30 wazuh-logcollector[15971] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:16:30 wazuh-logcollector[15971] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:18:31.427009 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. 44.37 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:17:47 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:17:47 wazuh-logcollector[16069] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:17:47 wazuh-logcollector[16069] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:17:47 wazuh-logcollector[16069] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:17:47 wazuh-logcollector[16069] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:17:47 wazuh-logcollector[16069] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:19:51.694530 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.64 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:18:31 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:18:31 wazuh-logcollector[16139] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:18:31 wazuh-logcollector[16139] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:18:31 wazuh-logcollector[16139] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:18:31 wazuh-logcollector[16139] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:18:31 wazuh-logcollector[16139] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:21:03.507549 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.45 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:19:51 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:19:51 wazuh-logcollector[16245] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:19:51 wazuh-logcollector[16245] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:19:51 wazuh-logcollector[16245] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:19:51 wazuh-logcollector[16245] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:19:51 wazuh-logcollector[16245] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:22:26.648412 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.59 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:21:03 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:21:03 wazuh-logcollector[16342] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:21:03 wazuh-logcollector[16342] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:21:03 wazuh-logcollector[16342] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:21:03 wazuh-logcollector[16342] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:21:03 wazuh-logcollector[16342] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:23:49.093836 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.04 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:22:26 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:22:26 wazuh-logcollector[16440] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:22:26 wazuh-logcollector[16440] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:22:26 wazuh-logcollector[16440] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:22:26 wazuh-logcollector[16440] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:22:26 wazuh-logcollector[16440] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:25:12.434027 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.38 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:23:49 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:23:49 wazuh-logcollector[16547] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:23:49 wazuh-logcollector[16547] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:23:49 wazuh-logcollector[16547] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:23:49 wazuh-logcollector[16547] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:23:49 wazuh-logcollector[16547] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:26:35.612295 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.56 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:25:12 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:25:12 wazuh-logcollector[16653] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:25:12 wazuh-logcollector[16653] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:25:12 wazuh-logcollector[16653] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:25:12 wazuh-logcollector[16653] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:25:12 wazuh-logcollector[16653] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:27:55.557431 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.51 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:26:35 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:26:35 wazuh-logcollector[16759] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:26:35 wazuh-logcollector[16759] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:26:35 wazuh-logcollector[16759] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:26:35 wazuh-logcollector[16759] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:26:35 wazuh-logcollector[16759] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:29:10.700178 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. 75.65 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:27:55 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:27:55 wazuh-logcollector[16865] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:27:55 wazuh-logcollector[16865] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:27:55 wazuh-logcollector[16865] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:27:55 wazuh-logcollector[16865] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:27:55 wazuh-logcollector[16865] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:29:48.320492 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.27 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:29:10 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:29:10 wazuh-logcollector[16963] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:29:10 wazuh-logcollector[16963] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:29:10 wazuh-logcollector[16963] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:29:10 wazuh-logcollector[16963] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:29:10 wazuh-logcollector[16963] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:31:08.096056 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.04 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:29:48 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:29:48 wazuh-logcollector[17025] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:29:48 wazuh-logcollector[17025] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:29:48 wazuh-logcollector[17025] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:29:48 wazuh-logcollector[17025] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:29:48 wazuh-logcollector[17025] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:32:34.520070 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. 86.47 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:31:08 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:31:08 wazuh-logcollector[17131] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:31:08 wazuh-logcollector[17131] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:31:08 wazuh-logcollector[17131] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:31:08 wazuh-logcollector[17131] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:31:08 wazuh-logcollector[17131] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:33:53.492231 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.44 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:32:34 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:32:34 wazuh-logcollector[17238] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:32:34 wazuh-logcollector[17238] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:32:34 wazuh-logcollector[17238] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:32:34 wazuh-logcollector[17238] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:32:34 wazuh-logcollector[17238] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:35:11.009658 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. 77.96 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:33:53 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:33:53 wazuh-logcollector[17336] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:33:53 wazuh-logcollector[17336] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:33:53 wazuh-logcollector[17336] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:33:53 wazuh-logcollector[17336] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:33:53 wazuh-logcollector[17336] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:36:31.184816 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.13 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:35:11 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:35:11 wazuh-logcollector[17442] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:35:11 wazuh-logcollector[17442] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:35:11 wazuh-logcollector[17442] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:35:11 wazuh-logcollector[17442] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:35:11 wazuh-logcollector[17442] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:37:41.563235 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.51 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:36:31 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:36:31 wazuh-logcollector[17540] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:36:31 wazuh-logcollector[17540] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:36:31 wazuh-logcollector[17540] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:36:31 wazuh-logcollector[17540] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:36:31 wazuh-logcollector[17540] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:38:55.467179 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. 74.41 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:37:41 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:37:41 wazuh-logcollector[17636] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:37:41 wazuh-logcollector[17636] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:37:41 wazuh-logcollector[17636] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:37:41 wazuh-logcollector[17636] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:37:41 wazuh-logcollector[17636] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:40:12.502871 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. 77.45 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:38:55 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:38:55 wazuh-logcollector[17734] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:38:55 wazuh-logcollector[17734] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:38:55 wazuh-logcollector[17734] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:38:55 wazuh-logcollector[17734] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:38:55 wazuh-logcollector[17734] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:40:52.457941 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. 40.40 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:40:12 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:40:12 wazuh-logcollector[17832] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:40:12 wazuh-logcollector[17832] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:40:12 wazuh-logcollector[17832] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:40:12 wazuh-logcollector[17832] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:40:12 wazuh-logcollector[17832] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:42:12.149191 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.10 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:40:52 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:40:52 wazuh-logcollector[17902] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:40:52 wazuh-logcollector[17902] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:40:52 wazuh-logcollector[17902] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:40:52 wazuh-logcollector[17902] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:40:52 wazuh-logcollector[17902] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:43:24.466038 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. 72.41 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:42:12 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:42:12 wazuh-logcollector[18007] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:42:12 wazuh-logcollector[18007] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:42:12 wazuh-logcollector[18007] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:42:12 wazuh-logcollector[18007] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:42:12 wazuh-logcollector[18007] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:44:47.309238 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.25 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:43:24 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:43:24 wazuh-logcollector[18097] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:43:24 wazuh-logcollector[18097] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:43:24 wazuh-logcollector[18097] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:43:24 wazuh-logcollector[18097] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:43:24 wazuh-logcollector[18097] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:46:10.137814 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.09 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:44:47 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:44:47 wazuh-logcollector[18203] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:44:47 wazuh-logcollector[18203] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:44:47 wazuh-logcollector[18203] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:44:47 wazuh-logcollector[18203] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:44:47 wazuh-logcollector[18203] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:47:33.242328 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.19 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:46:10 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:46:10 wazuh-logcollector[18309] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:46:10 wazuh-logcollector[18309] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:46:10 wazuh-logcollector[18309] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:46:10 wazuh-logcollector[18309] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:46:10 wazuh-logcollector[18309] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:48:56.563347 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.51 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:47:33 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:47:33 wazuh-logcollector[18415] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:47:33 wazuh-logcollector[18415] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:47:33 wazuh-logcollector[18415] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:47:33 wazuh-logcollector[18415] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:47:33 wazuh-logcollector[18415] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:50:16.546292 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------------------------------
martes, 19 de octubre de 2021, 09:48:56 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:48:56 wazuh-logcollector[18522] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:48:56 wazuh-logcollector[18522] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:48:56 wazuh-logcollector[18522] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:48:56 wazuh-logcollector[18522] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:48:56 wazuh-logcollector[18522] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:51:32.267621 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.22 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:50:16 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:50:16 wazuh-logcollector[18620] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:50:16 wazuh-logcollector[18620] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:50:16 wazuh-logcollector[18620] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:50:16 wazuh-logcollector[18620] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:50:16 wazuh-logcollector[18620] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:52:06.382426 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. 34.32 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:51:32 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:51:32 wazuh-logcollector[18725] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:51:32 wazuh-logcollector[18725] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:51:32 wazuh-logcollector[18725] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:51:32 wazuh-logcollector[18725] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:51:32 wazuh-logcollector[18725] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:53:26.072523 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.02 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:52:06 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:52:06 wazuh-logcollector[18787] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:52:06 wazuh-logcollector[18787] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:52:06 wazuh-logcollector[18787] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:52:06 wazuh-logcollector[18787] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:52:06 wazuh-logcollector[18787] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:54:50.497128 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. 84.45 darwin 1
-----------------------------Captured stdout setup------------------------------
martes, 19 de octubre de 2021, 09:53:26 UTC
-----------------------------Captured stderr setup------------------------------
2021/10/19 02:53:26 wazuh-logcollector[18884] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:53:26 wazuh-logcollector[18884] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:53:26 wazuh-logcollector[18884] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:53:26 wazuh-logcollector[18884] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:53:26 wazuh-logcollector[18884] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:55:10.408976 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. 8.26 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/19 02:54:53 wazuh-logcollector[19009] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:54:53 wazuh-logcollector[19009] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:54:53 wazuh-logcollector[19009] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:54:53 wazuh-logcollector[19009] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [-] 2021/10/19 02:54:53 wazuh-logcollector[19009] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 02:54:57 rootcheck: INFO: Rootcheck disabled. 2021/10/19 02:54:58 wazuh-logcollector[19119] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:54:58 wazuh-logcollector[19119] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:54:58 wazuh-logcollector[19119] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:54:58 wazuh-logcollector[19119] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 02:54:58 wazuh-logcollector[19119] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-19 02:55:02,143 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:839 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-19 02:55:02.931050-0700 0x1672a Activity 0x3b0b0 19226 0 wazuh-logcollector: (libsystem_info.dylib) Retrieve Group by Name 2021-10-19 02:55:02.937270-0700 0x1670a Default 0x0 156 0 syspolicyd: (CFNetwork) Task <4B62C0F7-06C5-4258-8E60-ED6F87D3377D>.<3468> received response, status 200 content K 2021-10-19 02:55:02.937426-0700 0x1670a Default 0x0 156 0 syspolicyd: (CFNetwork) Task <4B62C0F7-06C5-4258-8E60-ED6F87D3377D>.<3468> response ended 2021-10-19 02:55:02.937493-0700 0x1670a Default 0x0 156 0 syspolicyd: (CFNetwork) Task <4B62C0F7-06C5-4258-8E60-ED6F87D3377D>.<3468> done using Connection 36 2021-10-19 02:55:02.937878-0700 0x1670a Default 0x0 156 0 syspolicyd: (CFNetwork) [com.apple.CFNetwork:Summary] Task <4B62C0F7-06C5-4258-8E60-ED6F87D3377D>.<3468> summary for task success {transaction_duration_ms=48, response_status=200, connection=36, reused=1, request_start_ms=0, request_duration_ms=0, response_start_ms=48, response_duration_ms=0, request_bytes=668, response_bytes=2570, cache_hit=1} 2021-10-19 02:55:02.938037-0700 0x1670a Default 0x0 156 0 syspolicyd: (CFNetwork) Task <4B62C0F7-06C5-4258-8E60-ED6F87D3377D>.<3468> finished successfully 2021-10-19 02:55:02.938225-0700 0x164bd Activity 0x3b0a5 156 0 syspolicyd: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.953391-0700 0x16492 Activity 0x3b0a6 156 0 syspolicyd: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.954989-0700 0x16492 Activity 0x3b0a7 156 0 syspolicyd: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.958393-0700 0x16492 Error 0x0 156 0 syspolicyd: Kernel Extension BLOCKED: <private> 2021-10-19 02:55:02.961116-0700 0x1648f Default 0x3b093 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.962606-0700 0x1648f Default 0x3b093 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.962759-0700 0x1648f Default 0x3b093 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(path)[]> 0 2021-10-19 02:55:02.960781-0700 0x166e8 Activity 0x3b093 19196 0 kextutil: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.963291-0700 0x166e8 Default 0x0 19196 0 kextutil: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf TemporalValidity] 2021-10-19 02:55:02.963457-0700 0x166e8 Activity 0x3b094 19196 0 kextutil: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.968607-0700 0x16492 Activity 0x3b0a8 156 0 syspolicyd: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.968915-0700 0x1648f Default 0x3b0a8 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.969786-0700 0x1648f Default 0x3b0a8 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.969842-0700 0x1648f Default 0x3b0a8 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(path)[]> 0 2021-10-19 02:55:02.970091-0700 0x16492 Default 0x0 156 0 syspolicyd: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf TemporalValidity] 2021-10-19 02:55:02.970266-0700 0x16492 Activity 0x3b0a9 156 0 syspolicyd: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.975369-0700 0x166e8 Activity 0x3b095 19196 0 kextutil: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.975847-0700 0x1648f Default 0x3b095 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.977362-0700 0x1648f Default 0x3b095 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.977518-0700 0x1648f Default 0x3b095 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(path)[]> 0 2021-10-19 02:55:02.978141-0700 0x166e8 Default 0x0 19196 0 kextutil: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf TemporalValidity] 2021-10-19 02:55:02.978456-0700 0x166e8 Activity 0x3b096 19196 0 kextutil: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.984278-0700 0x16492 Activity 0x3b0aa 156 0 syspolicyd: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.984592-0700 0x15f05 Default 0x3b0aa 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.985422-0700 0x15f05 Default 0x3b0aa 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.985463-0700 0x15f05 Default 0x3b0aa 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(path)[]> 0 2021-10-19 02:55:02.985716-0700 0x16492 Default 0x0 156 0 syspolicyd: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf TemporalValidity] 2021-10-19 02:55:02.985889-0700 0x16492 Activity 0x3b0ab 156 0 syspolicyd: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.990016-0700 0x166e8 Activity 0x3b097 19196 0 kextutil: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.990383-0700 0x15f05 Default 0x3b097 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.991732-0700 0x15f05 Default 0x3b097 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.991883-0700 0x15f05 Default 0x3b097 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(path)[]> 0 2021-10-19 02:55:02.992368-0700 0x166e8 Default 0x0 19196 0 kextutil: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf TemporalValidity] 2021-10-19 02:55:02.992634-0700 0x166e8 Activity 0x3b098 19196 0 kextutil: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.997430-0700 0x164bd Activity 0x3b0ac 156 0 syspolicyd: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:02.997751-0700 0x1648f Default 0x3b0ac 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.998573-0700 0x1648f Default 0x3b0ac 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:02.998615-0700 0x1648f Default 0x3b0ac 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(path)[]> 0 2021-10-19 02:55:02.999084-0700 0x164bd Default 0x0 156 0 syspolicyd: (Security) [com.apple.securityd:SecError] Trust evaluate failure: [leaf TemporalValidity] 2021-10-19 02:55:02.999262-0700 0x164bd Activity 0x3b0ad 156 0 syspolicyd: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:03.003176-0700 0x166e8 Activity 0x3b099 19196 0 kextutil: (Security) SecTrustEvaluateIfNecessary 2021-10-19 02:55:03.003610-0700 0x1648f Default 0x3b099 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 2021-10-19 02:55:03.004915-0700 0x1648f Default 0x3b099 184 0 trustd: [com.apple.securityd:policy] cert[0]: TemporalValidity =(leaf)[]> 0 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/19 02:55:02 wazuh-logcollector[19226] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:55:02 wazuh-logcollector[19226] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:55:02 wazuh-logcollector[19226] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:55:02 wazuh-logcollector[19226] 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/19 02:55:02 wazuh-logcollector[19226] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 02:55:02 wazuh-logcollector[19226] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/19 02:55:03 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 02:55:03 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 02:55:03 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 02:55:03 wazuh-logcollector[19239] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:55:03 wazuh-logcollector[19239] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:55:03 wazuh-logcollector[19239] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:55:03 wazuh-logcollector[19239] 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/19 02:55:03 wazuh-logcollector[19239] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 02:55:03 wazuh-logcollector[19239] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/19 02:55:03 wazuh-modulesd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 02:55:04 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/19 02:55:05 rootcheck: INFO: Rootcheck disabled. 2021/10/19 02:55:06 wazuh-logcollector[19292] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:55:06 wazuh-logcollector[19292] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:55:06 wazuh-logcollector[19292] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:55:06 wazuh-logcollector[19292] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 02:55:06 wazuh-logcollector[19292] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:55:18.915995 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.48 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-19 02:55:10,432 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:839 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/19 02:55:15 wazuh-logcollector[19341] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:55:15 wazuh-logcollector[19341] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:55:15 wazuh-logcollector[19341] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:55:15 wazuh-logcollector[19341] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 02:55:15 wazuh-logcollector[19341] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 02:55:15 wazuh-logcollector[19357] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:55:15 wazuh-logcollector[19357] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:55:15 wazuh-logcollector[19357] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:55:15 wazuh-logcollector[19357] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 02:55:15 wazuh-logcollector[19357] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 02:55:15 wazuh-logcollector[19388] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:55:15 wazuh-logcollector[19388] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:55:15 wazuh-logcollector[19388] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:55:15 wazuh-logcollector[19388] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 02:55:15 wazuh-logcollector[19388] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
Passed 2021-10-19 09:55:30.459548 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. 11.51 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-19 02:55:18,940 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:839 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/19 02:55:28 wazuh-logcollector[19431] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:55:28 wazuh-logcollector[19431] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:55:28 wazuh-logcollector[19431] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:55:28 wazuh-logcollector[19431] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 02:55:28 wazuh-logcollector[19431] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/19 02:55:28 wazuh-logcollector[19447] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:55:28 wazuh-logcollector[19447] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:55:28 wazuh-logcollector[19447] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:55:28 wazuh-logcollector[19447] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 02:55:28 wazuh-logcollector[19447] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes.
-------------------------------Captured log call--------------------------------
WARNING  root:utils.py:44 Exception: "Process log is running at start. assert 1 == 0 + where 1 = len([{'name': 'log', 'pid': 19395}])". 4/5 remaining attempts. Waiting 2 seconds.
Passed 2021-10-19 09:55:44.134549 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. 5.06 darwin 0
-----------------------------Captured stderr setup------------------------------
2021-10-19 02:55:39,037 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/19 02:55:39 wazuh-logcollector[19664] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/19 02:55:39 wazuh-logcollector[19664] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/19 02:55:39 wazuh-logcollector[19664] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/19 02:55:39 wazuh-logcollector[19664] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/19 02:55:39 wazuh-logcollector[19664] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-19 02:55:39,072 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log
-------------------------------Captured log setup-------------------------------
DEBUG  wazuh_testing:conftest.py:802 Restarting wazuh-logcollector DEBUG  wazuh_testing:conftest.py:839 Initializing file to monitor to /Library/Ossec/logs/ossec.log