[9.3] [scout] migrate FTR logstash api tests (#262953)#264361
Merged
dmlemeshko merged 2 commits intoelastic:9.3from Apr 20, 2026
Merged
[9.3] [scout] migrate FTR logstash api tests (#262953)#264361dmlemeshko merged 2 commits intoelastic:9.3from
dmlemeshko merged 2 commits intoelastic:9.3from
Conversation
## Summary Closes elastic/appex-qa-team#851 Logstash API tests migrated from FTR → Scout Source: `x-pack/platform/test/api_integration/apis/logstash/` (5 test files, now deleted) Target: `x-pack/platform/plugins/private/logstash/test/scout/api/` New spec files: File | Covers -- | -- cluster.spec.ts | GET /api/logstash/cluster pipeline.spec.ts | GET, PUT, DELETE /api/logstash/pipeline/{id} pipelines_delete.spec.ts | POST /api/logstash/pipelines/delete pipelines_list.spec.ts | GET /api/logstash/pipelines (was skipped in FTR — now unskipped) - No esArchiver — `.logstash` is a restricted system index; bulk indexing is blocked even for superuser. Pipelines are seeded via `esClient.logstash.putPipeline` in `beforeAll` per spec instead - Minimum roles — `LOGSTASH_MANAGER_ROLE` (manage_logstash_pipelines) for pipeline ops; `LOGSTASH_CLUSTER_ROLE` (monitor) for the cluster endpoint (FTR used superuser for everything) - Stateful only — no serverless Logstash tests exist or were added - Coverage improvements — added 404 assertion for non-existing pipeline GET; explicit numSuccesses/numErrors check on bulk delete; sort-order assertion on pipeline list --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 4720f96) # Conflicts: # .buildkite/scout_ci_config.yml # x-pack/platform/plugins/private/logstash/moon.yml # x-pack/platform/plugins/private/logstash/tsconfig.json
csr
approved these changes
Apr 20, 2026
Contributor
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
Public APIs missing exports
Unknown metric groupsAPI count
History
|
dmlemeshko
added a commit
that referenced
this pull request
Apr 22, 2026
# Backport This will backport the following commits from `main` to `8.19`: - [[scout] migrate FTR logstash api tests (#262953)](#262953) <!--- Backport version: 11.0.1 --> ### 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-04-18T10:59:59Z","message":"[scout] migrate FTR logstash api tests (#262953)\n\n## Summary\n\nCloses https://github.com/elastic/appex-qa-team/issues/851\n\nLogstash API tests migrated from FTR → Scout\n\nSource: `x-pack/platform/test/api_integration/apis/logstash/` (5 test\nfiles, now deleted)\nTarget: `x-pack/platform/plugins/private/logstash/test/scout/api/`\n\nNew spec files:\n\n\nFile | Covers\n-- | --\ncluster.spec.ts | GET /api/logstash/cluster\npipeline.spec.ts | GET, PUT, DELETE /api/logstash/pipeline/{id}\npipelines_delete.spec.ts | POST /api/logstash/pipelines/delete\npipelines_list.spec.ts | GET /api/logstash/pipelines (was skipped in FTR\n— now unskipped)\n\n- No esArchiver — `.logstash` is a restricted system index; bulk\nindexing is blocked even for superuser. Pipelines are seeded via\n`esClient.logstash.putPipeline` in `beforeAll` per spec instead\n- Minimum roles — `LOGSTASH_MANAGER_ROLE` (manage_logstash_pipelines)\nfor pipeline ops; `LOGSTASH_CLUSTER_ROLE` (monitor) for the cluster\nendpoint (FTR used superuser for everything)\n- Stateful only — no serverless Logstash tests exist or were added\n- Coverage improvements — added 404 assertion for non-existing pipeline\nGET; explicit numSuccesses/numErrors check on bulk delete; sort-order\nassertion on pipeline list\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"4720f964d72ec70a6a13345dd656949dc0613400","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","v9.5.0","v9.3.4","v9.2.9"],"title":"[scout] migrate FTR logstash api tests","number":262953,"url":"https://github.com/elastic/kibana/pull/262953","mergeCommit":{"message":"[scout] migrate FTR logstash api tests (#262953)\n\n## Summary\n\nCloses https://github.com/elastic/appex-qa-team/issues/851\n\nLogstash API tests migrated from FTR → Scout\n\nSource: `x-pack/platform/test/api_integration/apis/logstash/` (5 test\nfiles, now deleted)\nTarget: `x-pack/platform/plugins/private/logstash/test/scout/api/`\n\nNew spec files:\n\n\nFile | Covers\n-- | --\ncluster.spec.ts | GET /api/logstash/cluster\npipeline.spec.ts | GET, PUT, DELETE /api/logstash/pipeline/{id}\npipelines_delete.spec.ts | POST /api/logstash/pipelines/delete\npipelines_list.spec.ts | GET /api/logstash/pipelines (was skipped in FTR\n— now unskipped)\n\n- No esArchiver — `.logstash` is a restricted system index; bulk\nindexing is blocked even for superuser. Pipelines are seeded via\n`esClient.logstash.putPipeline` in `beforeAll` per spec instead\n- Minimum roles — `LOGSTASH_MANAGER_ROLE` (manage_logstash_pipelines)\nfor pipeline ops; `LOGSTASH_CLUSTER_ROLE` (monitor) for the cluster\nendpoint (FTR used superuser for everything)\n- Stateful only — no serverless Logstash tests exist or were added\n- Coverage improvements — added 404 assertion for non-existing pipeline\nGET; explicit numSuccesses/numErrors check on bulk delete; sort-order\nassertion on pipeline list\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"4720f964d72ec70a6a13345dd656949dc0613400"}},"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/262953","number":262953,"mergeCommit":{"message":"[scout] migrate FTR logstash api tests (#262953)\n\n## Summary\n\nCloses https://github.com/elastic/appex-qa-team/issues/851\n\nLogstash API tests migrated from FTR → Scout\n\nSource: `x-pack/platform/test/api_integration/apis/logstash/` (5 test\nfiles, now deleted)\nTarget: `x-pack/platform/plugins/private/logstash/test/scout/api/`\n\nNew spec files:\n\n\nFile | Covers\n-- | --\ncluster.spec.ts | GET /api/logstash/cluster\npipeline.spec.ts | GET, PUT, DELETE /api/logstash/pipeline/{id}\npipelines_delete.spec.ts | POST /api/logstash/pipelines/delete\npipelines_list.spec.ts | GET /api/logstash/pipelines (was skipped in FTR\n— now unskipped)\n\n- No esArchiver — `.logstash` is a restricted system index; bulk\nindexing is blocked even for superuser. Pipelines are seeded via\n`esClient.logstash.putPipeline` in `beforeAll` per spec instead\n- Minimum roles — `LOGSTASH_MANAGER_ROLE` (manage_logstash_pipelines)\nfor pipeline ops; `LOGSTASH_CLUSTER_ROLE` (monitor) for the cluster\nendpoint (FTR used superuser for everything)\n- Stateful only — no serverless Logstash tests exist or were added\n- Coverage improvements — added 404 assertion for non-existing pipeline\nGET; explicit numSuccesses/numErrors check on bulk delete; sort-order\nassertion on pipeline list\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"4720f964d72ec70a6a13345dd656949dc0613400"}},{"branch":"9.3","label":"v9.3.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/264361","number":264361,"state":"MERGED","mergeCommit":{"sha":"f4630ceb53a9f2b718492394667895d82852f9f1","message":"[9.3] [scout] migrate FTR logstash api tests (#262953) (#264361)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.3`:\n- [[scout] migrate FTR logstash api tests\n(#262953)](https://github.com/elastic/kibana/pull/262953)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"branch":"9.2","label":"v9.2.9","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/264365","number":264365,"state":"MERGED","mergeCommit":{"sha":"c687030e1a03e0485de03e2f001ec1a68d0dc392","message":"[9.2] [scout] migrate FTR logstash api tests (#262953) (#264365)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.2`:\n- [[scout] migrate FTR logstash api tests\n(#262953)](https://github.com/elastic/kibana/pull/262953)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"url":"https://github.com/elastic/kibana/pull/264265","number":264265,"branch":"9.4","state":"MERGED","mergeCommit":{"sha":"d3629c41337d5a523f769a50c995cb9bb8cbd8a2","message":"[9.4] [scout] migrate FTR logstash api tests (#262953) (#264265)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.4`:\n - [scout] migrate FTR logstash api tests (#262953) (4720f96)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>"}}]}] BACKPORT-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.3:Questions ?
Please refer to the Backport tool documentation