You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During Release 4.8.0 - Beta 4 - System tests it has been detected unexpected errors
in the Basic Environment environment tests test_agent_auth and test_enrollment
test_agent_auth:
The expected log was not found during the test
E TimeoutError: Did not found the expected callback in wazuh-agent1: .*Requesting a key from server: 172\.24\.27\.2
However we can see that it is present in the agent log file:
2024/03/13 18:20:48 agent-auth: INFO: Requesting a key from server: 172.24.27.2
Further research is required
test_enrollment
Expected log was not found during the test
E TimeoutError: Did not found the expected callback in wazuh-agent1: .*Requesting a key from server: 172.24.27.2
However we can see that it is present in the agent log file:
2024/03/13 19:03:33 wazuh-agentd[44457] enrollment_op.c:129 at w_enrollment_request_key(): INFO: Requesting a key from server: 172.24.27.2
As in other iterations, the log does appear. The problem is in the HostMonitor, which does not work as expected in virtualized environments. We can do an analysis and refactor of this method, or wait for the migration of the system tests.
In the meantime, it is proposed to mark the issue as qa_known, and when the system tests fail it, before opening an issue directly, check the environment logs.
After the meeting with @davidjiglesias and @rauldpm, we are going to close this issue as not planned, and the system tests will be launched locally if necessary until we can migrate these tests to the new framework.
Description
During Release 4.8.0 - Beta 4 - System tests it has been detected unexpected errors
in the Basic Environment environment tests
test_agent_auth
andtest_enrollment
test_agent_auth
:The expected log was not found during the test
However we can see that it is present in the agent log file:
Further research is required
test_enrollment
Expected log was not found during the test
However we can see that it is present in the agent log file:
Further research is required
Test case:
Report: basic_env.zip
The text was updated successfully, but these errors were encountered: