Skip to content

[scout] fix cleanup in SO managerment find test#268349

Merged
delanni merged 1 commit into
elastic:mainfrom
dmlemeshko:fix-flaky-so-management-test
May 8, 2026
Merged

[scout] fix cleanup in SO managerment find test#268349
delanni merged 1 commit into
elastic:mainfrom
dmlemeshko:fix-flaky-so-management-test

Conversation

@dmlemeshko
Copy link
Copy Markdown
Contributor

@dmlemeshko dmlemeshko commented May 8, 2026

Summary

Closes #268021

Cleaning saved objects in beforeAll hook to cleanup env as test expects it to be.

@dmlemeshko dmlemeshko requested a review from a team as a code owner May 8, 2026 08:17
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Scout Lane #22 - serverless-search / agent_builder / local-serverless-search - Agent Builder — conversation error handling - keeps the previous conversation rounds visible when there is an error
  • [job] [logs] Scout Lane #8 - stateful-classic / default / local-stateful-classic - APM integration not installed but setup completed - Admin user
  • [job] [logs] Scout Lane #8 - stateful-classic / default / local-stateful-classic - Collector integration is not installed - collector integration missing
  • [job] [logs] Scout Lane #8 - stateful-classic / default / local-stateful-classic - Collector integration is not installed - Symbolizer integration is not installed
  • [job] [logs] Scout Lane #6 - stateful-classic / default / local-stateful-classic - Hosts Page - Flyout - Dashboards Tab
  • [job] [logs] Scout Lane #6 - stateful-classic / default / local-stateful-classic - Hosts Page - Flyout - Logs Tab
  • [job] [logs] Scout Lane #6 - stateful-classic / default / local-stateful-classic - Hosts Page - Flyout - Metadata Tab
  • [job] [logs] Scout Lane #6 - stateful-classic / default / local-stateful-classic - Hosts Page - Flyout - Metrics Tab
  • [job] [logs] Scout Lane #6 - stateful-classic / default / local-stateful-classic - Hosts Page - Flyout - Open as page and return
  • [job] [logs] Scout Lane #6 - stateful-classic / default / local-stateful-classic - Hosts Page - Flyout - Overview Tab - KPI charts and collapsible sections
  • [job] [logs] Scout Lane #6 - stateful-classic / default / local-stateful-classic - Hosts Page - Flyout - Overview Tab - Services section
  • [job] [logs] Scout Lane #6 - stateful-classic / default / local-stateful-classic - Hosts Page - Flyout - Processes Tab
  • [job] [logs] Scout Lane #8 - stateful-classic / default / local-stateful-classic - Maps - maps telemetry - should return the correct telemetry values for map saved objects
  • [job] [logs] Scout Lane #8 - stateful-classic / default / local-stateful-classic - Observability Landing Page (discover.isEsqlDefault enabled) - redirects to onboarding when no logs data exists
  • [job] [logs] Scout Lane #8 - stateful-classic / default / local-stateful-classic - Profiling is setup and data is loaded - Admin user
  • [job] [logs] Scout Lane #8 - stateful-classic / default / local-stateful-classic - Profiling is setup and data is loaded - Viewer user
  • [job] [logs] FTR Configs #52 / Serverless Common UI - Home Page Sample data in serverless "after all" hook for "Sample data loads"

Metrics [docs]

✅ unchanged

@dmlemeshko dmlemeshko added release_note:skip Skip the PR/issue when compiling release notes backport:all-open Backport to all branches that could still receive a release labels May 8, 2026
@delanni delanni merged commit 3aa0973 into elastic:main May 8, 2026
52 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.19, 9.3, 9.4

https://github.com/elastic/kibana/actions/runs/25551401302

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.19:
- Extend selective testing with implicit consumers (#268256)
9.3
9.4

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 268349

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request May 8, 2026
)

# Backport

This will backport the following commits from `main` to `9.3`:
- [[scout] fix cleanup in SO managerment find test
(#268349)](#268349)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2026-05-08T10:46:59Z","message":"[scout]
fix cleanup in SO managerment find test (#268349)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/268021\n\nCleaning saved
objects in `beforeAll` hook to cleanup env as test\nexpects it to
be.","sha":"3aa09730071a8de63b7d2cf4f1351eef1d857afa","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v9.5.0"],"title":"[scout]
fix cleanup in SO managerment find
test","number":268349,"url":"https://github.com/elastic/kibana/pull/268349","mergeCommit":{"message":"[scout]
fix cleanup in SO managerment find test (#268349)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/268021\n\nCleaning saved
objects in `beforeAll` hook to cleanup env as test\nexpects it to
be.","sha":"3aa09730071a8de63b7d2cf4f1351eef1d857afa"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/268349","number":268349,"mergeCommit":{"message":"[scout]
fix cleanup in SO managerment find test (#268349)\n\n##
Summary\n\nCloses
https://github.com/elastic/kibana/issues/268021\n\nCleaning saved
objects in `beforeAll` hook to cleanup env as test\nexpects it to
be.","sha":"3aa09730071a8de63b7d2cf4f1351eef1d857afa"}}]}] BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label May 11, 2026
@kibanamachine
Copy link
Copy Markdown
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @dmlemeshko

js-jankisalvi pushed a commit to js-jankisalvi/kibana that referenced this pull request May 12, 2026
## Summary

Closes elastic#268021

Cleaning saved objects in `beforeAll` hook to cleanup env as test
expects it to be.
@kibanamachine
Copy link
Copy Markdown
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.
cc: @dmlemeshko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:all-open Backport to all branches that could still receive a release backport missing Added to PRs automatically when the are determined to be missing a backport. release_note:skip Skip the PR/issue when compiling release notes v9.3.5 v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing test: find - basic - should return 200 with individual responses

3 participants