Skip to content

Filebeat unix input system tests are flaky in OSX #20941

@jsoriano

Description

@jsoriano

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    FilebeatFilebeatTeam:IntegrationsLabel for the Integrations teamflaky-testUnstable or unreliable test cases.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions