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

Filebeat unix input system tests are flaky in OSX #20941

Open
jsoriano opened this issue Sep 2, 2020 · 2 comments
Open

Filebeat unix input system tests are flaky in OSX #20941

jsoriano opened this issue Sep 2, 2020 · 2 comments
Labels
Filebeat Filebeat flaky-test Unstable or unreliable test cases. Team:Integrations Label for the Integrations team

Comments

@jsoriano
Copy link
Member

jsoriano commented Sep 2, 2020

Flaky Test

Unix input tests are flaky at least in OSX in Travis.

  • Test Name: filebeat/tests/system/test_unix.py
  • Branch: master
  • Notes:
    • Error is about Too many open files.
    • I couldn't reproduce it locally on Linux.
    • I could reproduce a similar trace reducing with ulimit the limit of open files to 16 (but I don't think the problem is that open files limit is too low in Travis OSX workers).
    • When running the tests locally, I see that there is at least one error trying to use a closed connection, I think that from here. Once I saw many errors there, like if there was some race condition between the channel is done and the connection is closed. Long shot, but I wonder if this loop can somehow create many file descriptors under some circumstances.

Stack Trace

Can be found for example here: https://travis-ci.org/github/elastic/beats/jobs/723425803#L2473

@jsoriano jsoriano added Filebeat Filebeat flaky-test Unstable or unreliable test cases. Team:Services (Deprecated) Label for the former Integrations-Services team labels Sep 2, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@botelastic
Copy link

botelastic bot commented Aug 3, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Aug 3, 2021
@jsoriano jsoriano added Team:Integrations Label for the Integrations team and removed Team:Services (Deprecated) Label for the former Integrations-Services team labels Aug 3, 2021
@botelastic botelastic bot removed the Stalled label Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Filebeat Filebeat flaky-test Unstable or unreliable test cases. Team:Integrations Label for the Integrations team
Projects
None yet
Development

No branches or pull requests

2 participants