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

Fix test_dashboards in x-pack metricbeat #26536

Closed
jsoriano opened this issue Jun 28, 2021 · 6 comments · Fixed by #27003
Closed

Fix test_dashboards in x-pack metricbeat #26536

jsoriano opened this issue Jun 28, 2021 · 6 comments · Fixed by #27003
Assignees
Labels
Team:Integrations Label for the Integrations team :Testing

Comments

@jsoriano
Copy link
Member

jsoriano commented Jun 28, 2021

See #26526

Failure seems to be caused by Metricbeat-aws-billing-overview.json dashboard.

Can be reproduced with the following command from x-pack/metricbeat.

PYTEST_ADDOPTS="-k test_dashboards" mage pythonIntegTest

Trace:

E         2021-06-28T15:03:22.125Z	ERROR	instance/beat.go:971	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:
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-aws-billing-overview.json: returned 500 to import file: <nil>. Response: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred."}
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:
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-aws-billing-overview.json: returned 500 to import file: <nil>. Response: {"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred."}
E         
E       assert 1 == 0
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jun 28, 2021
@jsoriano jsoriano added the Team:Integrations Label for the Integrations team label Jun 28, 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 Jun 28, 2021
@kaiyan-sheng kaiyan-sheng self-assigned this Jun 28, 2021
@blakerouse
Copy link
Contributor

This is blocking my progress on #26665? Is there an update on this? Can we skip the test?

@kaiyan-sheng
Copy link
Contributor

@blakerouse Not sure if I can only skip certain dashboard from this pythonIntegTest. I will look into how to fix it today.

@kaiyan-sheng
Copy link
Contributor

@blakerouse btw x-pack/metricbeat test dashboard is already disabled in PR #26537. Do you need to reenable the test for your PR?

@blakerouse
Copy link
Contributor

@kaiyan-sheng I am seeing this error with last merge of master into my PR. Seems like the exact same issue that is reported here.

https://beats-ci.elastic.co/blue/organizations/jenkins/Beats%2Fbeats/detail/PR-26665/15/

@kaiyan-sheng
Copy link
Contributor

Thanks for the link! It's the same problem but happening under beats/metricbeat instead of beats/x-pack/metricbeat. Maybe #26972 will fix it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Integrations Label for the Integrations team :Testing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants