-
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
[Discover] Unskip search alert serverless tests on MKI #187771
Conversation
jughosta
commented
Jul 8, 2024
•
edited by kibanamachine
Loading
edited by kibanamachine
- Closes [FAILS ON MKI] x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert·ts #187069
- Closes Failing test: Serverless Observability Functional Tests - Common Group 6.x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert·ts - Discover alerting Search source Alert "after all" hook for "should check that there are no errors detected after an alert is created" #180101
- Closes Failing test: Serverless Observability Functional Tests - Common Group 6.x-pack/test_serverless/functional/test_suites/common/discover_ml_uptime/discover/search_source_alert·ts - Discover alerting Search source Alert should navigate to alert results via view in app link #180100
This comment was marked as outdated.
This comment was marked as outdated.
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6479[✅] x-pack/test_serverless/functional/test_suites/search/common_configs/config.group6.ts: 25/25 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6489[✅] x-pack/test_serverless/functional/test_suites/security/common_configs/config.group6.ts: 25/25 tests passed. |
/ci |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#6490[✅] x-pack/test_serverless/functional/test_suites/observability/common_configs/config.group6.ts: 25/25 tests passed. |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
👀 |
I'm running this from my local, right now. But, it's seeing failures. I'll try once again, but this time headless and I'll report back here. So far, I'm seeing some Have you run this against real MKI, from your local yet? @jughosta |
@wayneseymour I've tested it with qaf for I will check |
Thanks very much @jughosta ! |
…069-fix-alert-tests
@wayneseymour Tests are passing for |
@jughosta I've added a thread in the #appex-qa channel on slack |
Hi @wayneseymour, Did you have a chance to run tests again? |
Let me bring down the lastest changes and re-run! 🤞🏾 |
@jughosta Which config should run against mki to verify? |
|
@jughosta taking it back to slack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor nit, otherwise LGTM
await deleteConnector(connectorId); | ||
// clean up what we can in case of failures in some tests which blocked the creation of the following objects | ||
try { | ||
deleteIndexes([OUTPUT_DATA_VIEW, SOURCE_DATA_VIEW]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Is it possible for deleteIndexes
to throw? It doesn't look like the function returns the promise or await
s anything. Maybe we can either make the function return a promise and then await
it here.
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
History
cc @jughosta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good and ran successfully against the MKI environment I spun up. Nice work!
- Closes elastic#187069 - Closes elastic#180101 - Closes elastic#180100 --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit ee35439)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
… (#188159) # Backport This will backport the following commits from `main` to `8.15`: - [[Discover] Unskip search alert serverless tests on MKI (#187771)](#187771) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julia Rechkunova","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-07-11T20:57:46Z","message":"[Discover] Unskip search alert serverless tests on MKI (#187771)\n\n- Closes https://github.com/elastic/kibana/issues/187069\r\n- Closes https://github.com/elastic/kibana/issues/180101\r\n- Closes https://github.com/elastic/kibana/issues/180100\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"ee3543990b68df1c7c7cf797ae0bda9bdc3af07d","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:DataDiscovery","backport:prev-minor","v8.16.0"],"title":"[Discover] Unskip search alert serverless tests on MKI","number":187771,"url":"https://github.com/elastic/kibana/pull/187771","mergeCommit":{"message":"[Discover] Unskip search alert serverless tests on MKI (#187771)\n\n- Closes https://github.com/elastic/kibana/issues/187069\r\n- Closes https://github.com/elastic/kibana/issues/180101\r\n- Closes https://github.com/elastic/kibana/issues/180100\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"ee3543990b68df1c7c7cf797ae0bda9bdc3af07d"}},"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/187771","number":187771,"mergeCommit":{"message":"[Discover] Unskip search alert serverless tests on MKI (#187771)\n\n- Closes https://github.com/elastic/kibana/issues/187069\r\n- Closes https://github.com/elastic/kibana/issues/180101\r\n- Closes https://github.com/elastic/kibana/issues/180100\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"ee3543990b68df1c7c7cf797ae0bda9bdc3af07d"}}]}] BACKPORT--> Co-authored-by: Julia Rechkunova <[email protected]>