Report generated on 14-Oct-2021 at 11:22:59 by pytest-html v3.1.1
Packages | {"pluggy": "0.13.1", "py": "1.10.0", "pytest": "6.2.3"} |
Platform | Darwin-19.0.0-x86_64-i386-64bit |
Plugins | {"html": "3.1.1", "metadata": "1.8.0", "testinfra": "5.0.0"} |
Python | 3.7.3 |
2 tests ran in 75.58 seconds.
(Un)check the boxes to filter the results.
2 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passesTests | Failed | Success | XFail | Error |
---|---|---|---|---|
test_logcollector/test_macos/test_macos_format_only_future_events.py | 0 | 2 | 0 | 0 |
Result | Time | Test | Description | Duration | Markers | Links | Tier |
---|---|---|---|---|---|---|---|
No results found. Try to check the filters | |||||||
Passed | 2021-10-14 18:22:59.013835 | 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.22 | darwin | 0 | |
-----------------------------Captured stderr setup------------------------------ 2021-10-14 11:21:43,471 - wazuh_testing - DEBUG - Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 100} 2021-10-14 11:21:43,472 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/14 11:21:43 wazuh-logcollector[18913] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/14 11:21:43 wazuh-logcollector[18913] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/14 11:21:43 wazuh-logcollector[18913] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/14 11:21:43 wazuh-logcollector[18913] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/14 11:21:43 wazuh-logcollector[18913] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-14 11:21:43,499 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log -------------------------------Captured log setup------------------------------- DEBUG wazuh_testing:conftest.py:719 Set local_internal_option to {'logcollector.debug': 2, 'logcollector.sample_log_length': 100} DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log ------------------------------Captured stdout call------------------------------ Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed. ------------------------------Captured stderr call------------------------------ 2021/10/14 11:21:48 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:21:48 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:21:48 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:21:48 wazuh-logcollector[19002] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/14 11:21:48 wazuh-logcollector[19002] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/14 11:21:48 wazuh-logcollector[19002] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/14 11:21:48 wazuh-logcollector[19002] 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/14 11:21:48 wazuh-logcollector[19002] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/14 11:21:48 wazuh-logcollector[19002] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/14 11:21:48 wazuh-modulesd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:21:50 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:21:51 rootcheck: INFO: Rootcheck disabled. 2021/10/14 11:21:52 wazuh-logcollector[19064] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/14 11:21:52 wazuh-logcollector[19064] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/14 11:21:52 wazuh-logcollector[19064] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/14 11:21:52 wazuh-logcollector[19064] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/14 11:21:52 wazuh-logcollector[19064] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. ----------------------------Captured stderr teardown---------------------------- 2021-10-14 11:22:37,681 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log -----------------------------Captured log teardown------------------------------ DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log | |||||||
Passed | 2021-10-14 18:22:59.014095 | 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. | 22.49 | darwin | 0 | |
-----------------------------Captured stdout setup------------------------------ jueves, 14 de octubre de 2021, 18:22:37 UTC -----------------------------Captured stderr setup------------------------------ 2021-10-14 11:22:37,702 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-14 11:22:37,010 - wazuh_testing - DEBUG - Restarting wazuh-logcollector 2021/10/14 11:22:37 wazuh-logcollector[19142] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/14 11:22:37 wazuh-logcollector[19142] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/14 11:22:37 wazuh-logcollector[19142] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/14 11:22:37 wazuh-logcollector[19142] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/14 11:22:37 wazuh-logcollector[19142] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-14 11:22:37,041 - wazuh_testing - DEBUG - Initializing file to monitor to /Library/Ossec/logs/ossec.log -------------------------------Captured log setup------------------------------- DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:654 Restarting wazuh-logcollector DEBUG wazuh_testing:conftest.py:692 Initializing file to monitor to /Library/Ossec/logs/ossec.log ------------------------------Captured stdout call------------------------------ Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed. ------------------------------Captured stderr call------------------------------ 2021/10/14 11:22:42 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:22:42 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:22:42 wazuh-syscheckd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:22:42 wazuh-logcollector[19233] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/14 11:22:42 wazuh-logcollector[19233] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/14 11:22:42 wazuh-logcollector[19233] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/14 11:22:42 wazuh-logcollector[19233] 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/14 11:22:42 wazuh-logcollector[19233] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/14 11:22:42 wazuh-logcollector[19233] config.c:399 at ReadConfig(): DEBUG: but agent has a profile name. 2021/10/14 11:22:42 wazuh-modulesd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:22:43 wazuh-agentd: ERROR: (1103): Could not open file 'queue/sockets/.agent_info' due to [(2)-(No such file or directory)]. 2021/10/14 11:22:44 rootcheck: INFO: Rootcheck disabled. 2021/10/14 11:22:45 wazuh-logcollector[19294] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/14 11:22:45 wazuh-logcollector[19294] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/14 11:22:45 wazuh-logcollector[19294] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/14 11:22:45 wazuh-logcollector[19294] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/14 11:22:45 wazuh-logcollector[19294] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. ----------------------------Captured stdout teardown---------------------------- Killing wazuh-modulesd... Killing wazuh-logcollector... Killing wazuh-syscheckd... Killing wazuh-agentd... Killing wazuh-execd... Wazuh v4.3.0 Stopped Starting Wazuh v4.3.0... Started wazuh-execd... Started wazuh-agentd... Started wazuh-syscheckd... Started wazuh-logcollector... Started wazuh-modulesd... Completed. jueves, 14 de octubre de 2021, 18:22:59 UTC ----------------------------Captured stderr teardown---------------------------- 2021-10-14 11:22:50,306 - wazuh_testing - DEBUG - Trucanted /Library/Ossec/logs/ossec.log 2021/10/14 11:22:50 wazuh-logcollector[19340] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/14 11:22:50 wazuh-logcollector[19340] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/14 11:22:50 wazuh-logcollector[19340] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/14 11:22:50 wazuh-logcollector[19340] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/14 11:22:50 wazuh-logcollector[19340] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021/10/14 11:22:54 rootcheck: INFO: Rootcheck disabled. 2021/10/14 11:22:55 wazuh-logcollector[19457] debug_op.c:70 at _log(): DEBUG: Logging module auto-initialized 2021/10/14 11:22:55 wazuh-logcollector[19457] main.c:126 at main(): DEBUG: Wazuh home directory: /Library/Ossec 2021/10/14 11:22:55 wazuh-logcollector[19457] agent_op.c:215 at os_read_agent_profile(): DEBUG: Calling os_read_agent_profile(). 2021/10/14 11:22:55 wazuh-logcollector[19457] agent_op.c:234 at os_read_agent_profile(): DEBUG: os_read_agent_profile() = [centos, centos7, centos7.4] 2021/10/14 11:22:55 wazuh-logcollector[19457] config.c:390 at ReadConfig(): DEBUG: agent_config element does not have any attributes. 2021-10-14 11:22:59,403 - wazuh_testing - DEBUG - Stopping wazuh-logcollector 2021-10-14 11:22:59,426 - wazuh_testing - DEBUG - Restore local_internal_option to {} -----------------------------Captured log teardown------------------------------ DEBUG wazuh_testing:conftest.py:700 Trucanted /Library/Ossec/logs/ossec.log DEBUG wazuh_testing:conftest.py:674 Stopping wazuh-logcollector DEBUG wazuh_testing:conftest.py:724 Restore local_internal_option to {} |