-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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/spaces/spaces_selection·ts - Spaces app Spaces Spaces Data "before all" hook in "Spaces Data" #52714
Comments
Pinging @elastic/kibana-test-triage (failed-test) |
Pinging @elastic/kibana-security (Team:Security) |
This test failed once almost 3 months ago, closing |
New failure: CI Build - main |
New failure: CI Build - 8.6 |
Fixes #52714 Fixes #52715 After all failure likely due to before failure - when before fails, the data set is not installed and cannot be removed. Before all failure seems likely to be a race condition of one or more elements being 'not interactable'. I was unable to reproduce the issue locally and via a [Flaky Test Runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1646), but walking through the code noticed an incorrect attribute reference and a few places where we could improve determinism. - Replaced 'showSampleDataAccordion'->'class' check with 'showSampleDataButton'->'aria-expanded' - Added deterministic verification of sample data accordion open - Mirrored previous timing/enable check fix to 'removeSampleDataSet' in 'addSampleDataSet' - Improved determinism in 'removeSampleDataSet', adding an initial check for whether the data set was installed - Added additional debug logs to improve any future troubleshooting Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
New failure: CI Build - main |
New failure: kibana-on-merge - main |
Let's run flaky test runner and close it if FTR is green (it seems to be very infrequent). |
FTR run is green, closing this one. |
New failure: kibana-on-merge - 8.x |
Transient failure, closing. |
New failure: kibana-on-merge - 8.x |
New failure: kibana-on-merge - main |
New failure: kibana-on-merge - 8.16 |
New failure: kibana-on-merge - 8.x |
Closes #52714 ## Summary Uses the sample data FTR service to remove the sample data via API during cleanup. Previously, the after block only removed the sample data from one space and attempted to rely on an esArchiver call to clean up remaining data later on. As the scope of the test does not use the esArchiver any longer, it seems more appropriate to remove the sample data more deterministically. ### Flaky test runner - https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335
Closes elastic#52714 ## Summary Uses the sample data FTR service to remove the sample data via API during cleanup. Previously, the after block only removed the sample data from one space and attempted to rely on an esArchiver call to clean up remaining data later on. As the scope of the test does not use the esArchiver any longer, it seems more appropriate to remove the sample data more deterministically. ### Flaky test runner - https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335 (cherry picked from commit b5c8ed7)
Closes elastic#52714 ## Summary Uses the sample data FTR service to remove the sample data via API during cleanup. Previously, the after block only removed the sample data from one space and attempted to rely on an esArchiver call to clean up remaining data later on. As the scope of the test does not use the esArchiver any longer, it seems more appropriate to remove the sample data more deterministically. ### Flaky test runner - https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335 (cherry picked from commit b5c8ed7)
Closes elastic#52714 ## Summary Uses the sample data FTR service to remove the sample data via API during cleanup. Previously, the after block only removed the sample data from one space and attempted to rely on an esArchiver call to clean up remaining data later on. As the scope of the test does not use the esArchiver any longer, it seems more appropriate to remove the sample data more deterministically. ### Flaky test runner - https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335 (cherry picked from commit b5c8ed7)
) # Backport This will backport the following commits from `main` to `8.x`: - [Improves cleanup in spaces data functional test (#198921)](#198921) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jeramy Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2024-11-05T16:31:25Z","message":"Improves cleanup in spaces data functional test (#198921)\n\nCloses #52714\r\n\r\n## Summary\r\n\r\nUses the sample data FTR service to remove the sample data via API\r\nduring cleanup. Previously, the after block only removed the sample data\r\nfrom one space and attempted to rely on an esArchiver call to clean up\r\nremaining data later on. As the scope of the test does not use the\r\nesArchiver any longer, it seems more appropriate to remove the sample\r\ndata more deterministically.\r\n\r\n### Flaky test runner\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335","sha":"b5c8ed7b5c8883993a534626384fe92b728e850c","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","backport:all-open","FTR"],"title":"Improves cleanup in spaces data functional test","number":198921,"url":"https://github.com/elastic/kibana/pull/198921","mergeCommit":{"message":"Improves cleanup in spaces data functional test (#198921)\n\nCloses #52714\r\n\r\n## Summary\r\n\r\nUses the sample data FTR service to remove the sample data via API\r\nduring cleanup. Previously, the after block only removed the sample data\r\nfrom one space and attempted to rely on an esArchiver call to clean up\r\nremaining data later on. As the scope of the test does not use the\r\nesArchiver any longer, it seems more appropriate to remove the sample\r\ndata more deterministically.\r\n\r\n### Flaky test runner\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335","sha":"b5c8ed7b5c8883993a534626384fe92b728e850c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198921","number":198921,"mergeCommit":{"message":"Improves cleanup in spaces data functional test (#198921)\n\nCloses #52714\r\n\r\n## Summary\r\n\r\nUses the sample data FTR service to remove the sample data via API\r\nduring cleanup. Previously, the after block only removed the sample data\r\nfrom one space and attempted to rely on an esArchiver call to clean up\r\nremaining data later on. As the scope of the test does not use the\r\nesArchiver any longer, it seems more appropriate to remove the sample\r\ndata more deterministically.\r\n\r\n### Flaky test runner\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335","sha":"b5c8ed7b5c8883993a534626384fe92b728e850c"}}]}] BACKPORT--> Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
…9022) # Backport This will backport the following commits from `main` to `8.15`: - [Improves cleanup in spaces data functional test (#198921)](#198921) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jeramy Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2024-11-05T16:31:25Z","message":"Improves cleanup in spaces data functional test (#198921)\n\nCloses #52714\r\n\r\n## Summary\r\n\r\nUses the sample data FTR service to remove the sample data via API\r\nduring cleanup. Previously, the after block only removed the sample data\r\nfrom one space and attempted to rely on an esArchiver call to clean up\r\nremaining data later on. As the scope of the test does not use the\r\nesArchiver any longer, it seems more appropriate to remove the sample\r\ndata more deterministically.\r\n\r\n### Flaky test runner\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335","sha":"b5c8ed7b5c8883993a534626384fe92b728e850c","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","backport:all-open","FTR"],"title":"Improves cleanup in spaces data functional test","number":198921,"url":"https://github.com/elastic/kibana/pull/198921","mergeCommit":{"message":"Improves cleanup in spaces data functional test (#198921)\n\nCloses #52714\r\n\r\n## Summary\r\n\r\nUses the sample data FTR service to remove the sample data via API\r\nduring cleanup. Previously, the after block only removed the sample data\r\nfrom one space and attempted to rely on an esArchiver call to clean up\r\nremaining data later on. As the scope of the test does not use the\r\nesArchiver any longer, it seems more appropriate to remove the sample\r\ndata more deterministically.\r\n\r\n### Flaky test runner\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335","sha":"b5c8ed7b5c8883993a534626384fe92b728e850c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198921","number":198921,"mergeCommit":{"message":"Improves cleanup in spaces data functional test (#198921)\n\nCloses #52714\r\n\r\n## Summary\r\n\r\nUses the sample data FTR service to remove the sample data via API\r\nduring cleanup. Previously, the after block only removed the sample data\r\nfrom one space and attempted to rely on an esArchiver call to clean up\r\nremaining data later on. As the scope of the test does not use the\r\nesArchiver any longer, it seems more appropriate to remove the sample\r\ndata more deterministically.\r\n\r\n### Flaky test runner\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335","sha":"b5c8ed7b5c8883993a534626384fe92b728e850c"}}]}] BACKPORT--> Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
…9023) # Backport This will backport the following commits from `main` to `8.16`: - [Improves cleanup in spaces data functional test (#198921)](#198921) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jeramy Soucy","email":"jeramy.soucy@elastic.co"},"sourceCommit":{"committedDate":"2024-11-05T16:31:25Z","message":"Improves cleanup in spaces data functional test (#198921)\n\nCloses #52714\r\n\r\n## Summary\r\n\r\nUses the sample data FTR service to remove the sample data via API\r\nduring cleanup. Previously, the after block only removed the sample data\r\nfrom one space and attempted to rely on an esArchiver call to clean up\r\nremaining data later on. As the scope of the test does not use the\r\nesArchiver any longer, it seems more appropriate to remove the sample\r\ndata more deterministically.\r\n\r\n### Flaky test runner\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335","sha":"b5c8ed7b5c8883993a534626384fe92b728e850c","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","v9.0.0","backport:all-open","FTR"],"title":"Improves cleanup in spaces data functional test","number":198921,"url":"https://github.com/elastic/kibana/pull/198921","mergeCommit":{"message":"Improves cleanup in spaces data functional test (#198921)\n\nCloses #52714\r\n\r\n## Summary\r\n\r\nUses the sample data FTR service to remove the sample data via API\r\nduring cleanup. Previously, the after block only removed the sample data\r\nfrom one space and attempted to rely on an esArchiver call to clean up\r\nremaining data later on. As the scope of the test does not use the\r\nesArchiver any longer, it seems more appropriate to remove the sample\r\ndata more deterministically.\r\n\r\n### Flaky test runner\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335","sha":"b5c8ed7b5c8883993a534626384fe92b728e850c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198921","number":198921,"mergeCommit":{"message":"Improves cleanup in spaces data functional test (#198921)\n\nCloses #52714\r\n\r\n## Summary\r\n\r\nUses the sample data FTR service to remove the sample data via API\r\nduring cleanup. Previously, the after block only removed the sample data\r\nfrom one space and attempted to rely on an esArchiver call to clean up\r\nremaining data later on. As the scope of the test does not use the\r\nesArchiver any longer, it seems more appropriate to remove the sample\r\ndata more deterministically.\r\n\r\n### Flaky test runner\r\n\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335","sha":"b5c8ed7b5c8883993a534626384fe92b728e850c"}}]}] BACKPORT--> Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
Closes elastic#52714 ## Summary Uses the sample data FTR service to remove the sample data via API during cleanup. Previously, the after block only removed the sample data from one space and attempted to rely on an esArchiver call to clean up remaining data later on. As the scope of the test does not use the esArchiver any longer, it seems more appropriate to remove the sample data more deterministically. ### Flaky test runner - https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/7335
A test failed on a tracked branch
First failure: Jenkins Build
The text was updated successfully, but these errors were encountered: