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

Failing test: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/lens/group4/show_underlying_data·ts - lens app - group 4 show underlying data should show the open button for a compatible saved visualization #190711

Closed
kibanamachine opened this issue Aug 19, 2024 · 3 comments · Fixed by #191388
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Aug 19, 2024

A test failed on a tracked branch

Error: expected [] to sort of equal [ '@timestamp', 'extension.raw', 'bytes' ]
    at Assertion.assert (expect.js:100:11)
    at Assertion.eql (expect.js:244:8)
    at Context.<anonymous> (show_underlying_data.ts:54:26)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16) {
  actual: '[]',
  expected: '[\n  "@timestamp"\n  "extension.raw"\n  "bytes"\n]',
  showDiff: true
}

First failure: kibana-on-merge - 8.15

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Aug 19, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Aug 19, 2024
@kibanamachine kibanamachine added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Aug 19, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations (Team:Visualizations)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Aug 19, 2024
@mbondyra mbondyra self-assigned this Aug 27, 2024
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue Aug 27, 2024
## Summary

Fixes elastic#190227

Fixes elastic#190737
elastic#190990
elastic#190802
elastic#179307 (couldn't find the
rootcause so just decided to align the solution with other files that
follow similar path and are not flaky)

Fixes elastic#191151
elastic#191152
elastic#191176
elastic#191177
elastic#191178
elastic#191153
elastic#191238

Fixes elastic#190711

(cherry picked from commit 2a033c1)
kibanamachine referenced this issue Aug 27, 2024
# Backport

This will backport the following commits from `main` to `8.15`:
- [[Managed Content] fix flaky tests
(#191388)](#191388)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Marta
Bondyra","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-08-27T20:12:59Z","message":"[Managed
Content] fix flaky tests (#191388)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/190227\r\n\r\nFixes
https://github.com/elastic/kibana/issues/190737\r\nhttps://github.com/elastic/kibana/issues/190990\r\nhttps://github.com/elastic/kibana/issues/190802\r\nhttps://github.com/elastic/kibana/issues/179307
(couldn't find the\r\nrootcause so just decided to align the solution
with other files that\r\nfollow similar path and are not
flaky)\r\n\r\nFixes
https://github.com/elastic/kibana/issues/191151\r\nhttps://github.com/elastic/kibana/issues/191152\r\nhttps://github.com/elastic/kibana/issues/191176\r\nhttps://github.com/elastic/kibana/issues/191177\r\nhttps://github.com/elastic/kibana/issues/191178\r\nhttps://github.com/elastic/kibana/issues/191153\r\nhttps://github.com/elastic/kibana/issues/191238\r\n\r\nFixes
https://github.com/elastic/kibana/issues/190711","sha":"2a033c1621414e838c2fc7de1710c0fc3ee340e1","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Lens","backport:prev-minor","v8.16.0"],"title":"[Managed
Content] fix flaky
tests","number":191388,"url":"https://github.com/elastic/kibana/pull/191388","mergeCommit":{"message":"[Managed
Content] fix flaky tests (#191388)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/190227\r\n\r\nFixes
https://github.com/elastic/kibana/issues/190737\r\nhttps://github.com/elastic/kibana/issues/190990\r\nhttps://github.com/elastic/kibana/issues/190802\r\nhttps://github.com/elastic/kibana/issues/179307
(couldn't find the\r\nrootcause so just decided to align the solution
with other files that\r\nfollow similar path and are not
flaky)\r\n\r\nFixes
https://github.com/elastic/kibana/issues/191151\r\nhttps://github.com/elastic/kibana/issues/191152\r\nhttps://github.com/elastic/kibana/issues/191176\r\nhttps://github.com/elastic/kibana/issues/191177\r\nhttps://github.com/elastic/kibana/issues/191178\r\nhttps://github.com/elastic/kibana/issues/191153\r\nhttps://github.com/elastic/kibana/issues/191238\r\n\r\nFixes
https://github.com/elastic/kibana/issues/190711","sha":"2a033c1621414e838c2fc7de1710c0fc3ee340e1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/191388","number":191388,"mergeCommit":{"message":"[Managed
Content] fix flaky tests (#191388)\n\n## Summary\r\n\r\nFixes
https://github.com/elastic/kibana/issues/190227\r\n\r\nFixes
https://github.com/elastic/kibana/issues/190737\r\nhttps://github.com/elastic/kibana/issues/190990\r\nhttps://github.com/elastic/kibana/issues/190802\r\nhttps://github.com/elastic/kibana/issues/179307
(couldn't find the\r\nrootcause so just decided to align the solution
with other files that\r\nfollow similar path and are not
flaky)\r\n\r\nFixes
https://github.com/elastic/kibana/issues/191151\r\nhttps://github.com/elastic/kibana/issues/191152\r\nhttps://github.com/elastic/kibana/issues/191176\r\nhttps://github.com/elastic/kibana/issues/191177\r\nhttps://github.com/elastic/kibana/issues/191178\r\nhttps://github.com/elastic/kibana/issues/191153\r\nhttps://github.com/elastic/kibana/issues/191238\r\n\r\nFixes
https://github.com/elastic/kibana/issues/190711","sha":"2a033c1621414e838c2fc7de1710c0fc3ee340e1"}}]}]
BACKPORT-->

Co-authored-by: Marta Bondyra <[email protected]>
@kibanamachine kibanamachine reopened this Oct 9, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@mbondyra
Copy link
Contributor

This is a very weird flakiness. Discover status shows as the data is not there:
Image

But the logs don't show up anything special. As it only happened twice within the span of 2 months, I'll close it for now and observe.

@mbondyra mbondyra removed their assignment Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants