Skip to content

[ska] relocate platform tests & services#226857

Merged
dmlemeshko merged 41 commits intoelastic:mainfrom
dmlemeshko:ska/relocate-services-and-tests
Jul 9, 2025
Merged

[ska] relocate platform tests & services#226857
dmlemeshko merged 41 commits intoelastic:mainfrom
dmlemeshko:ska/relocate-services-and-tests

Conversation

@dmlemeshko
Copy link
Contributor

@dmlemeshko dmlemeshko commented Jul 7, 2025

Summary

Part of https://github.com/elastic/kibana-team/issues/1503

This PR is mostly about moving platform tests from x-pack/test

x-pack/test/
     | - functional/aiops/
     | - functional_with_es_ssl/
     | - screenshot_creation/

After:

x-pack/platform/test/
     | - functional/aiops/
     | - functional_with_es_ssl/
     | - screenshot_creation/

Some FTR services were relocated to the new path as well (ml, transform, etc.) Few small services were duplicated as we can't relocate it without circular dependency due to cross imports.

dmlemeshko and others added 25 commits July 7, 2025 18:06
@dmlemeshko dmlemeshko self-assigned this Jul 8, 2025
@dmlemeshko dmlemeshko added v9.1.0 v8.19.0 v9.2.0 release_note:skip Skip the PR/issue when compiling release notes labels Jul 8, 2025
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #49 / Fleet Endpoints fleet_setup upgrade managed package policies should upgrade managed package policies

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
@kbn/test-suites-xpack 155 153 -2
@kbn/test-suites-xpack-platform 83 85 +2
total -0

References to deprecated APIs

id before after diff
@kbn/test-suites-xpack-platform 40 43 +3

Total ESLint disabled count

id before after diff
@kbn/test-suites-xpack 169 167 -2
@kbn/test-suites-xpack-platform 90 92 +2
total -0

History

cc @dmlemeshko

Copy link
Contributor

@achyutjhunjhunwala achyutjhunjhunwala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from logs-ux team scope

@dmlemeshko dmlemeshko enabled auto-merge (squash) July 9, 2025 13:37
Copy link
Contributor

@andrew-goldstein andrew-goldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

### elastic/security-generative-ai

* x-pack/test/security_solution_api_integration/test_suites/genai/evaluations/trial_license_complete_tier/evaluations.ts
* x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/trial_license_complete_tier/entries.ts
* x-pack/test/security_solution_api_integration/test_suites/genai/knowledge_base/entries/utils/helpers.ts
* x-pack/test/security_solution_api_integration/test_suites/genai/nlp_cleanup_task/basic_license_essentials_tier/task_execution.ts

elastic/security-generative-ai changes LGTM

@dmlemeshko dmlemeshko merged commit acf8bd2 into elastic:main Jul 9, 2025
15 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 226857

Questions ?

Please refer to the Backport tool documentation

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 226857 locally
cc: @dmlemeshko

@dmlemeshko dmlemeshko added backport:version Backport to applied version labels and removed backport:version Backport to applied version labels labels Jul 13, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 13, 2025
## Summary

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving platform tests from x-pack/test

```
x-pack/test/
     | - functional/aiops/
     | - functional_with_es_ssl/
     | - screenshot_creation/
```

After:
```
x-pack/platform/test/
     | - functional/aiops/
     | - functional_with_es_ssl/
     | - screenshot_creation/
```

Some FTR services were relocated to the new path as well (`ml`,
`transform`, etc.) Few small services were duplicated as we can't
relocate it without circular dependency due to cross imports.

<!--ONMERGE {"backportTargets":["8.19","9.1"]} ONMERGE-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Cesare de Cal <cesare.decal@elastic.co>
(cherry picked from commit acf8bd2)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 226857

Questions ?

Please refer to the Backport tool documentation

@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.
cc: @dmlemeshko

dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Jul 15, 2025
## Summary

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving platform tests from x-pack/test

```
x-pack/test/
     | - functional/aiops/
     | - functional_with_es_ssl/
     | - screenshot_creation/
```

After:
```
x-pack/platform/test/
     | - functional/aiops/
     | - functional_with_es_ssl/
     | - screenshot_creation/
```

Some FTR services were relocated to the new path as well (`ml`,
`transform`, etc.) Few small services were duplicated as we can't
relocate it without circular dependency due to cross imports.

<!--ONMERGE {"backportTargets":["8.19","9.1"]} ONMERGE-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Cesare de Cal <cesare.decal@elastic.co>
(cherry picked from commit acf8bd2)

# Conflicts:
#	.github/CODEOWNERS
#	x-pack/platform/test/functional_with_es_ssl/apps/cases/group2/attachment_framework.ts
#	x-pack/platform/test/functional_with_es_ssl/apps/triggers_actions_ui/maintenance_windows/maintenance_window_create_form.ts
#	x-pack/platform/test/tsconfig.json
#	x-pack/test/api_integration/deployment_agnostic/apis/observability/ai_assistant/utils/model_and_inference.ts
#	x-pack/test/tsconfig.json
@dmlemeshko
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 15, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [[ska] relocate platform tests & services
(#226857)](#226857)

<!--- 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":"2025-07-09T13:38:05Z","message":"[ska]
relocate platform tests & services (#226857)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nSome FTR services were relocated to the new
path as well (`ml`,\n`transform`, etc.) Few small services were
duplicated as we can't\nrelocate it without circular dependency due to
cross imports.\n\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Cesare de Cal
<cesare.decal@elastic.co>","sha":"acf8bd255fb6057d8f4c63628392c862202e34e1","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[ska]
relocate platform tests &
services","number":226857,"url":"https://github.com/elastic/kibana/pull/226857","mergeCommit":{"message":"[ska]
relocate platform tests & services (#226857)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nSome FTR services were relocated to the new
path as well (`ml`,\n`transform`, etc.) Few small services were
duplicated as we can't\nrelocate it without circular dependency due to
cross imports.\n\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Cesare de Cal
<cesare.decal@elastic.co>","sha":"acf8bd255fb6057d8f4c63628392c862202e34e1"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226857","number":226857,"mergeCommit":{"message":"[ska]
relocate platform tests & services (#226857)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nSome FTR services were relocated to the new
path as well (`ml`,\n`transform`, etc.) Few small services were
duplicated as we can't\nrelocate it without circular dependency due to
cross imports.\n\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Cesare de Cal
<cesare.decal@elastic.co>","sha":"acf8bd255fb6057d8f4c63628392c862202e34e1"}}]}]
BACKPORT-->

---------

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
Co-authored-by: Cesare de Cal <cesare.decal@elastic.co>
dmlemeshko added a commit that referenced this pull request Jul 15, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [[ska] relocate platform tests & services
(#226857)](#226857)

<!--- Backport version: 10.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":"2025-07-09T13:38:05Z","message":"[ska]
relocate platform tests & services (#226857)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nSome FTR services were relocated to the new
path as well (`ml`,\n`transform`, etc.) Few small services were
duplicated as we can't\nrelocate it without circular dependency due to
cross imports.\n\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Cesare de Cal
<cesare.decal@elastic.co>","sha":"acf8bd255fb6057d8f4c63628392c862202e34e1","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[ska]
relocate platform tests &
services","number":226857,"url":"https://github.com/elastic/kibana/pull/226857","mergeCommit":{"message":"[ska]
relocate platform tests & services (#226857)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nSome FTR services were relocated to the new
path as well (`ml`,\n`transform`, etc.) Few small services were
duplicated as we can't\nrelocate it without circular dependency due to
cross imports.\n\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Cesare de Cal
<cesare.decal@elastic.co>","sha":"acf8bd255fb6057d8f4c63628392c862202e34e1"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227755","number":227755,"state":"OPEN"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226857","number":226857,"mergeCommit":{"message":"[ska]
relocate platform tests & services (#226857)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional/aiops/\n | - functional_with_es_ssl/\n | -
screenshot_creation/\n```\n\nSome FTR services were relocated to the new
path as well (`ml`,\n`transform`, etc.) Few small services were
duplicated as we can't\nrelocate it without circular dependency due to
cross imports.\n\n\n\n\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by:
Cesare de Cal
<cesare.decal@elastic.co>","sha":"acf8bd255fb6057d8f4c63628392c862202e34e1"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 15, 2025
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
## Summary

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving platform tests from x-pack/test

```
x-pack/test/
     | - functional/aiops/
     | - functional_with_es_ssl/
     | - screenshot_creation/
```

After: 
```
x-pack/platform/test/
     | - functional/aiops/
     | - functional_with_es_ssl/
     | - screenshot_creation/
```

Some FTR services were relocated to the new path as well (`ml`,
`transform`, etc.) Few small services were duplicated as we can't
relocate it without circular dependency due to cross imports.



<!--ONMERGE {"backportTargets":["8.19","9.1"]} ONMERGE-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Cesare de Cal <cesare.decal@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes v8.19.0 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Comments