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] Timeout waiting for 'log_contains' to be true. Waited 30 seconds. #8359

Closed
andrewvc opened this issue Sep 19, 2018 · 2 comments
Closed
Assignees
Labels
Filebeat Filebeat flaky-test Unstable or unreliable test cases.

Comments

@andrewvc
Copy link
Contributor

Flaky test observed here: https://beats-ci.elastic.co/job/elastic+beats+pull-request+multijob-linux/339/beat=filebeat,label=ubuntu/testReport/junit/test_ml/Test/test_ml_setup_0/

Error Message
Timeout waiting for 'log_contains' to be true. Waited 30 seconds.
-------------------- >> begin captured stdout << ---------------------
Using elasticsearch: http://elasticsearch:9200
Test setup_flag: True, modules_flag: False

--------------------- >> end captured stdout << ----------------------
Stacktrace
  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/go/src/github.com/elastic/beats/filebeat/build/python-env/local/lib/python2.7/site-packages/parameterized/parameterized.py", line 392, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "/go/src/github.com/elastic/beats/filebeat/tests/system/test_ml.py", line 46, in test_ml_setup
    self._run_ml_test(setup_flag, modules_flag)
  File "/go/src/github.com/elastic/beats/filebeat/tests/system/test_ml.py", line 136, in _run_ml_test
    max_timeout=30)
  File "/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 348, in wait_log_contains
    name=name)
  File "/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 325, in wait_until
    "Waited {} seconds.".format(max_timeout))
Timeout waiting for 'log_contains' to be true. Waited 30 seconds.
-------------------- >> begin captured stdout << ---------------------
Using elasticsearch: http://elasticsearch:9200
Test setup_flag: True, modules_flag: False

--------------------- >> end captured stdout << ----------------------
Standard Output
Using elasticsearch: http://elasticsearch:9200
Test setup_flag: True, modules_flag: False
@andrewvc andrewvc added Filebeat Filebeat flaky-test Unstable or unreliable test cases. labels Sep 19, 2018
@ruflin
Copy link
Member

ruflin commented Dec 13, 2018

First attemp to fix this was done in #9523 by increasing the timeout. Keeping this open to see if it happens again.

@ruflin
Copy link
Member

ruflin commented Feb 15, 2019

I did not see this again since the fix. Closing this for now. Let's reopen if it happens again.

@ruflin ruflin closed this as completed Feb 15, 2019
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.
Projects
None yet
Development

No branches or pull requests

2 participants