Skip to content

Broken ML tests in Filebeat (Dashboard loading?) #9938

@urso

Description

@urso

Flaky Test

Stack Trace

======================================================================
ERROR: Test ML are installed in all possible ways [with setup_flag=True, modules_flag=False]
----------------------------------------------------------------------
Traceback (most recent call last):
  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 120, in _run_ml_test
    max_timeout=60)
  File "/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 346, in wait_until
    "Waited {} seconds.".format(max_timeout))
TimeoutError: Timeout waiting for 'cond' to be true. Waited 60 seconds.
-------------------- >> begin captured stdout << ---------------------
Using elasticsearch: http://elasticsearch:9200
Test setup_flag: True, modules_flag: False

--------------------- >> end captured stdout << ----------------------

======================================================================
ERROR: Test ML are installed in all possible ways [with setup_flag=True, modules_flag=True]
----------------------------------------------------------------------
Traceback (most recent call last):
  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 120, in _run_ml_test
    max_timeout=60)
  File "/go/src/github.com/elastic/beats/filebeat/tests/system/../../../libbeat/tests/system/beat/beat.py", line 346, in wait_until
    "Waited {} seconds.".format(max_timeout))
TimeoutError: Timeout waiting for 'cond' to be true. Waited 60 seconds.
-------------------- >> begin captured stdout << ---------------------
Using elasticsearch: http://elasticsearch:9200
License already enabled
Test setup_flag: True, modules_flag: True

--------------------- >> end captured stdout << ----------------------

setup0 error message:

2019-01-07T21:17:14.748Z	ERROR	instance/beat.go:907	Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated: No directory /go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated/6
Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated: No directory /go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated/6

setup1 error message:

2019-01-07T21:18:14.845Z	ERROR	instance/beat.go:907	Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated: No directory /go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated/6
Exiting: Error importing Kibana dashboards: fail to import the dashboards in Kibana: Error importing directory /go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated: No directory /go/src/github.com/elastic/beats/filebeat/_meta/kibana.generated/6
/go/src/github.com/elastic/beats/filebeat/filebeat.test -systemTest -e -d * -c /go/src/github.com/elastic/beats/filebeat/build/system-tests/run/test_ml.Test.test_ml_setup_1/filebeat.yml -E setup.dashboards.enabled=false --setup --modules=nginx

Metadata

Metadata

Assignees

No one assigned

    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