Nicolas Bertoldo

Results 15 comments of Nicolas Bertoldo

### Update I have run locally on a Windows 11 agent the logcollector integration tests (`test_logcollector/test_log_filter_options`) without errors. ```shell PS C:\Users\vagrant\wazuh-qa\tests\integration> python -m pytest -v --html=report.html .\test_logcollector\test_log_filter_options ============================= test session...

A further analysis was made and it is observed that in both cases the error occurs when the script tries to create the file `c:\\test`. ```shell new_file_path = 'c:\\test' @pytest.fixture(scope='function')...

Considering that it was possible to run the tests locally several times without errors, I think it may be a problem with the environment. @wazuh/qa Is it possible to relaunch...

### Update The test has been run again and the error occurs in another test case, so the failure is random. - Build: https://ci.wazuh.info/job/Test_integration/45893/ - Report: [agent_windows_html_report_Test_integration_B45893.zip](https://github.com/wazuh/wazuh-qa/files/14029368/agent_windows_html_report_Test_integration_B45893.zip) Log error ```shell...

### Update In a new test run, the test result has been successful, which confirms the random behaviour of the test. - Build: https://ci.wazuh.info/job/Test_integration/45906/ - Report: [agent_windows_html_report_Test_integration_B45906.zip](https://github.com/wazuh/wazuh-qa/files/14029473/agent_windows_html_report_Test_integration_B45906.zip)

## Update I have been able to reproduce the error locally. ### Steps to reproduce 1. Create manually the folder `C:\test` 2. Execute the test: ```console Administrator@vm-win2016 MINGW64 ~/wazuh-qa/tests/integration (4.8.0)...

## Update I followed the steps to reproduce it and got these results: v4.7.4 ```console root@vm-ubuntu2204-server:/var/ossec/etc# tail -f /var/ossec/logs/cluster.log | grep -i agent-info 2024/05/09 21:19:21 INFO: [Worker wazuh-2] [Agent-info sync]...

We have analyzed with @Selutario the results of the [test](https://github.com/wazuh/wazuh/issues/23347#issuecomment-2103267620) I did locally and apparently it is fine. In the original test it failed only 1 out of 25 workers,...

As described by @Selutario in the previous [comment](https://github.com/wazuh/wazuh/issues/23347#issuecomment-2108140363), it can be seen an increase in the times of _v4.8.0_ compared to _v4.7.4_, mainly in the `open` and `set-agent-groups`. We have...

## Test on v4.7.2 :green_circle: Following the [steps](https://github.com/wazuh/wazuh/issues/22847#issuecomment-2112991526) to reproduce the issue, I have found that it does not occur in _v4.7.2_. The expected error messages are shown due to...