Skip to content
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

Errors when reading files in footprint tests #18995

Open
damarisg opened this issue Sep 13, 2023 · 0 comments
Open

Errors when reading files in footprint tests #18995

damarisg opened this issue Sep 13, 2023 · 0 comments
Labels
level/task module/logcollector qa_known Issues that are already known by the QA team type/bug Something isn't working

Comments

@damarisg
Copy link
Member

Description

During footprint testing for 4.6.0-alpha1, the following bugs have been found in several tests:

Case 1:

> 2023/09/08 10:12:31 wazuh-agent: ERROR: Ftell function failed due to [(9)-(Bad file descriptor)]
> 2023/09/08 10:12:31 wazuh-agent: ERROR: Ftell function failed due to [(9)-(Bad file descriptor)]
> 2023/09/08 10:12:31 wazuh-agent: ERROR: (1115): Could not read from file 'C:\tmp\logcollector_test\flood-14-17.log' due to [(9)-(Bad file descriptor)].

Case 2:

> 2023/09/09 06:35:34 wazuh-logcollector: ERROR: Error on lstat '/tmp/logcollector_test/date-2023-09-09-144-912.log' due to [(2)-(No such file or directory)]
> 2023/09/09 06:35:34 wazuh-logcollector: ERROR: Error on lstat '/tmp/logcollector_test/date-2023-09-09-144-913.log' due to [(2)-(No such file or directory)]
> 2023/09/09 06:35:34 wazuh-logcollector: ERROR: Error on lstat '/tmp/logcollector_test/date-2023-09-09-144-914.log' due to [(2)-(No such file or directory)]
> 2023/09/09 06:35:34 wazuh-logcollector: ERROR: Error on lstat '/tmp/logcollector_test/date-2023-09-09-144-915.log' due to [(2)-(No such file or directory)]

We need to investigate what could cause these errors.

Notes

  • Found while analyzing the LOGCOLLECTOR,SCA
  • Found while analyzing the ALL-EXCEPT-DOCKER,CISCAT,OSQUERY,AZURE,OPEN-SCAP
@damarisg damarisg added type/bug Something isn't working level/task qa_known Issues that are already known by the QA team labels Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task module/logcollector qa_known Issues that are already known by the QA team type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants