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

Flaky Test [Build&Test / x-pack/metricbeat-cloud / test_dashboards – x-pack.metricbeat.tests.system.test_xpack_base.Test] #24779

Closed
kaiyan-sheng opened this issue Mar 26, 2021 · 4 comments
Assignees
Labels
ci-reported Issues that have been automatically reported from the CI flaky-test Unstable or unreliable test cases. Team:Integrations Label for the Integrations team

Comments

@kaiyan-sheng
Copy link
Contributor

Flaky Test

Stack Trace

[2021-03-25T15:32:07.635Z] E         2021-03-25T15:23:46.825Z	ERROR	instance/beat.go:953	Exiting: Failed to import dashboard: Failed to load directory /go/src/github.com/elastic/beats/x-pack/metricbeat/build/system-tests/run/test_xpack_base.Test.test_dashboards/kibana/7/dashboard:
[2021-03-25T15:32:07.635Z] E           error loading /go/src/github.com/elastic/beats/x-pack/metricbeat/build/system-tests/run/test_xpack_base.Test.test_dashboards/kibana/7/dashboard/Metricbeat-cockroachdb-overview.json: returned 500 to import file: <nil>. Response: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred."}
[2021-03-25T15:32:07.635Z] E           error loading /go/src/github.com/elastic/beats/x-pack/metricbeat/build/system-tests/run/test_xpack_base.Test.test_dashboards/kibana/7/dashboard/Metricbeat-cockroachdb-sql.json: returned 500 to import file: <nil>. Response: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred."}
[2021-03-25T15:32:07.635Z] E         Exiting: Failed to import dashboard: Failed to load directory /go/src/github.com/elastic/beats/x-pack/metricbeat/build/system-tests/run/test_xpack_base.Test.test_dashboards/kibana/7/dashboard:
[2021-03-25T15:32:07.635Z] E           error loading /go/src/github.com/elastic/beats/x-pack/metricbeat/build/system-tests/run/test_xpack_base.Test.test_dashboards/kibana/7/dashboard/Metricbeat-cockroachdb-overview.json: returned 500 to import file: <nil>. Response: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred."}
[2021-03-25T15:32:07.635Z] E           error loading /go/src/github.com/elastic/beats/x-pack/metricbeat/build/system-tests/run/test_xpack_base.Test.test_dashboards/kibana/7/dashboard/Metricbeat-cockroachdb-sql.json: returned 500 to import file: <nil>. Response: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred."}
[2021-03-25T15:32:07.635Z] E         
[2021-03-25T15:32:07.635Z] E       assert 1 == 0
[2021-03-25T15:32:07.635Z] 
[2021-03-25T15:32:07.635Z] ../../metricbeat/tests/system/test_base.py:79: AssertionError
[2021-03-25T15:32:07.635Z] ---------------------------- Captured stderr setup -----------------------------
[2021-03-25T15:32:07.635Z] Creating metricbeat_7918a246f6f8_elasticsearch_1 ... 
[2021-03-25T15:32:07.635Z] 
Creating metricbeat_7918a246f6f8_elasticsearch_1 ... done
Creating metricbeat_7918a246f6f8_kibana_1        ... 
[2021-03-25T15:32:07.635Z] 
Creating metricbeat_7918a246f6f8_kibana_1        ... done
@kaiyan-sheng kaiyan-sheng added the flaky-test Unstable or unreliable test cases. label Mar 26, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Mar 26, 2021
@kaiyan-sheng kaiyan-sheng added ci-reported Issues that have been automatically reported from the CI Team:Integrations Label for the Integrations team labels Mar 26, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Mar 26, 2021
@ChrsMark
Copy link
Member

This one looks like there is an incompatibility issue. Did we try to update

image: docker.elastic.co/integrations-ci/beats-kibana:${KIBANA_VERSION:-7.10.0}-1
and check locally if we can reproduce it.
I can hardly recall a similar situation in the past but cannot remember what exactly it was about 😞 , maybe starting with updating the images could be of help here.

@exekias
Copy link
Contributor

exekias commented Mar 26, 2021

Uhm, is this a new dashboard failing to load in an old Kibana or the other way around?

Kibana 7.x should keep backwards compatibility, so if this is an old dashboard failing to load in a new Kibana we should report it

@kaiyan-sheng
Copy link
Contributor Author

Bumping stack version fixed this, closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-reported Issues that have been automatically reported from the CI flaky-test Unstable or unreliable test cases. Team:Integrations Label for the Integrations team
Projects
None yet
Development

No branches or pull requests

4 participants