-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[7.17] Some CSV reporting tests fail when run against ES 8.0 #123082
Comments
Pinging @elastic/kibana-reporting-services (Team:Reporting Services) |
@lukeelmers thank you for including the commands to run the test locally! I am guessing these Reporting CSV tests are failing due to a problem with the test themselves. They error out as soon as I try to load the es archive: https://github.com/elastic/kibana/blob/no-include_type_name/x-pack/test/reporting_api_integration/services/scenarios.ts#L54 That triggers this rejection:
Is there an alternative way to load the archive data? |
@tsullivan Was this fixed by #123093 or is further work required? |
Hi @rudolf, These tests are specific to 7.x. The tests blindly query for all of the fields that can be returned from ES. In 7.x, the results include This doesn't seem like a blocker to me. The test coverage for CSV export with ES 8.0 is adequate in the Could we flag these 7.17 tests in a way that will skip them when the test server is using ES 8.0? |
Looks like these tests will be skipped in this PR: #123312 It will add |
I'm not sure the tests were skipped as selectively as they should have been: https://github.com/elastic/dev/issues/1855#issuecomment-1021444827 |
@jloleysens @dokmic could one of you take a look into this? In the 7.17 branch, we have
We should make sure these statements are not skipping more tests than is necessary. The only tests that make sense to skip when Kibana 7.17 is run against ES 8.0 are the ones that export "all" the fields from the index. In those tests, ES in 7.x will return a |
Resolved by #123981 |
When testing 7.17 Kibana against 8.0 Elasticsearch, we get some CSV reporting-related failures from CI:
https://buildkite.com/elastic/kibana-7-dot-latest-es-8-dot-0-forward-compatibility/builds/15
In 7.17, basic Kibana functions are still expected to work when run against ES 8.0, because during an upgrade process users will upgrade ES first.
So the ask here is to:
To test locally (be sure to update the config paths & string to grep for):
The text was updated successfully, but these errors were encountered: