New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agents are not being restarted after manager change in E2E vulnerability detection tests #5345
Comments
Investigating the truncation process, we can see that:
To carry out this issue a conditional will be added to the clean_environment_logs function so that when the |
Test before changes
Test after changes
|
Changes made in this branch: |
LGTM |
Moved ETA due to final review |
During a meeting with @santipadilla, we identified that the new agent configuration isn't properly applied after the configured agent is permuted because the agent isn't restarted following the change. It's likely that the restart agent call was inadvertently omitted during a merge or PR review. The solution appears straightforward: ensure that agents are restarted after the Updated the issue title accordingly Warning It's imperative to rerun this test in the E2E environment. Unfortunately, a current bug in RC1 (wazuh/wazuh#23301) is hindering the appearance of some vulnerabilities. Therefore, we'll need to wait until this issue is resolved before verifying if there are any product-related issues concerning the manager change. |
UpdateTest before modifying
|
New changes made in this branch: |
Description
It has been detected in Release 4.8.0 - RC 1 - Vulnerability Detection E2E tests, that the test case
test_change_agent_manager
is truncating the agent/manager logs, making difficult to get any information of the environment in case of failure.The text was updated successfully, but these errors were encountered: