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: Serverless Observability Functional Tests - Common Group 4.x-pack/test_serverless/functional/test_suites/common/visualizations/group3/open_in_lens/tsvb/dashboard·ts - Visualizations - Group 3 lens app - TSVB Open in Lens Dashboard to TSVB to Lens should convert a by reference TSVB viz to a Lens viz #190737

Closed
kibanamachine opened this issue Aug 19, 2024 · 13 comments · Fixed by #191388 or #202275
Assignees
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: retry.try reached timeout 120000 ms
Error: retry.try reached timeout 120000 ms
TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="saveCustomizePanelButton"])
Wait timed out after 10020ms
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1724092346414793858/elastic/kibana-on-merge/kibana/node_modules/selenium-webdriver/lib/webdriver.js:913:22
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at onFailure (retry_for_success.ts:17:9)
    at retryForSuccess (retry_for_success.ts:84:7)
    at RetryService.try (retry.ts:51:12)
    at Proxy.clickByCssSelector (find.ts:419:5)
    at TestSubjects.click (test_subjects.ts:168:5)
    at panel_settings.ts:167:9
    at runAttempt (retry_for_success.ts:29:15)
    at retryForSuccess (retry_for_success.ts:98:21)
    at RetryService.try (retry.ts:51:12)
    at DashboardCustomizePanel.clickSaveButton (panel_settings.ts:165:7)
    at Context.<anonymous> (dashboard.ts:91:7)
    at Object.apply (wrap_function.js:73:16)
    at onFailure (retry_for_success.ts:17:9)
    at retryForSuccess (retry_for_success.ts:84:7)
    at RetryService.try (retry.ts:51:12)
    at DashboardCustomizePanel.clickSaveButton (panel_settings.ts:165:7)
    at Context.<anonymous> (dashboard.ts:91:7)
    at Object.apply (wrap_function.js:73:16)

First failure: kibana-on-merge - main

@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
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

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 Nov 27, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-elasticsearch-snapshot-verify - main

@mistic
Copy link
Member

mistic commented Nov 27, 2024

Skipped.

main: eacd193

@mbondyra mbondyra removed their assignment Nov 29, 2024
@dej611 dej611 self-assigned this Nov 29, 2024
@dej611 dej611 closed this as completed in 2ed1fdf Nov 29, 2024
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 9, 2024
…2275)

## Summary
Fixes: elastic#190737, elastic#190802, elastic#190990, elastic#179307

This test started failing after @nreese Reset PR was merged here:
elastic#201687 and the Lens embeddable
refactor PR introducing a regression which affected the test.
Later on the PR was reverted with
elastic#201902 .


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 12, 2024
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this issue Dec 12, 2024
…2275)

## Summary
Fixes: elastic#190737, elastic#190802, elastic#190990, elastic#179307

This test started failing after @nreese Reset PR was merged here:
elastic#201687 and the Lens embeddable
refactor PR introducing a regression which affected the test.
Later on the PR was reverted with
elastic#201902 .


### Checklist

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
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
5 participants