Skip to content

[ska] relocate kibana-security FTR tests#228452

Merged
dmlemeshko merged 9 commits intoelastic:mainfrom
dmlemeshko:ska/relocate-kibana-security-tests
Jul 18, 2025
Merged

[ska] relocate kibana-security FTR tests#228452
dmlemeshko merged 9 commits intoelastic:mainfrom
dmlemeshko:ska/relocate-kibana-security-tests

Conversation

@dmlemeshko
Copy link
Contributor

@dmlemeshko dmlemeshko commented Jul 17, 2025

Summary

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

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

x-pack/test/
     | - security_api_integration/
     | - security_functional/

After:

x-pack/platform/test/
     | - security_api_integration/
     | - security_functional/

This PR also updates FTR configs that load test plugins from relocated paths.

@dmlemeshko dmlemeshko self-assigned this Jul 17, 2025
@dmlemeshko dmlemeshko added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting v9.1.0 v8.19.0 v9.2.0 labels Jul 17, 2025
@dmlemeshko dmlemeshko changed the title Ska/relocate kibana security tests [ska] kibana-security FTR tests Jul 17, 2025
@dmlemeshko dmlemeshko marked this pull request as ready for review July 17, 2025 13:56
@dmlemeshko dmlemeshko requested review from a team as code owners July 17, 2025 13:56
@dmlemeshko dmlemeshko changed the title [ska] kibana-security FTR tests [ska] relocate kibana-security FTR tests Jul 17, 2025
@dmlemeshko dmlemeshko force-pushed the ska/relocate-kibana-security-tests branch from eb666b9 to 392ba0c Compare July 18, 2025 07:55
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #39 / ObservabilityApp o11y sidenav sidenav & breadcrumbs renders the correct nav and navigate to links

Metrics [docs]

Unknown metric groups

References to deprecated APIs

id before after diff
@kbn/test-suites-xpack-platform 48 68 +20

History

cc @dmlemeshko

Copy link
Contributor

@eokoneyo eokoneyo left a comment

Choose a reason for hiding this comment

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

Shared UX changes LGTM

@dmlemeshko dmlemeshko merged commit 5e1d6d7 into elastic:main Jul 18, 2025
15 checks passed
@dmlemeshko dmlemeshko added backport:version Backport to applied version labels and removed backport:skip This PR does not require backporting labels Jul 18, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

@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

You might need to backport the following PRs to 9.1:
- [EBT] Add Global Session Context Provider (#227881)
- Upgrade EUI to v104.1.0 (#226082)

Manual backport

To create the backport manually run:

node scripts/backport --pr 228452

Questions ?

Please refer to the Backport tool documentation

1 similar comment
@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

You might need to backport the following PRs to 9.1:
- [EBT] Add Global Session Context Provider (#227881)
- Upgrade EUI to v104.1.0 (#226082)

Manual backport

To create the backport manually run:

node scripts/backport --pr 228452

Questions ?

Please refer to the Backport tool documentation

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

Part of elastic/kibana-team#1503

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

```
x-pack/test/
     | - security_api_integration/
     | - security_functional/
```

After:
```
x-pack/platform/test/
     | - security_api_integration/
     | - security_functional/
```

This PR also updates FTR configs that load test plugins from relocated
paths.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 5e1d6d7)

# Conflicts:
#	package.json
#	tsconfig.base.json
@dmlemeshko
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.1

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

Questions ?

Please refer to the Backport tool documentation

dmlemeshko added a commit that referenced this pull request Jul 21, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [[ska] relocate kibana-security FTR tests
(#228452)](#228452)

<!--- 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-18T12:36:32Z","message":"[ska]
relocate kibana-security FTR tests (#228452)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving security FTR tests from x-pack/test\n\n```\nx-pack/test/\n
| - security_api_integration/\n | - security_functional/\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | - security_api_integration/\n | -
security_functional/\n```\n\nThis PR also updates FTR configs that load
test plugins from relocated\npaths.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5e1d6d7cf3d821be06eddd9b35e564f0a42fa8fe","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[ska]
relocate kibana-security FTR
tests","number":228452,"url":"https://github.com/elastic/kibana/pull/228452","mergeCommit":{"message":"[ska]
relocate kibana-security FTR tests (#228452)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving security FTR tests from x-pack/test\n\n```\nx-pack/test/\n
| - security_api_integration/\n | - security_functional/\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | - security_api_integration/\n | -
security_functional/\n```\n\nThis PR also updates FTR configs that load
test plugins from relocated\npaths.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5e1d6d7cf3d821be06eddd9b35e564f0a42fa8fe"}},"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/228452","number":228452,"mergeCommit":{"message":"[ska]
relocate kibana-security FTR tests (#228452)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving security FTR tests from x-pack/test\n\n```\nx-pack/test/\n
| - security_api_integration/\n | - security_functional/\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | - security_api_integration/\n | -
security_functional/\n```\n\nThis PR also updates FTR configs that load
test plugins from relocated\npaths.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5e1d6d7cf3d821be06eddd9b35e564f0a42fa8fe"}}]}]
BACKPORT-->
Bluefinger pushed a commit to Bluefinger/kibana that referenced this pull request Jul 22, 2025
## Summary

Part of elastic/kibana-team#1503

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

```
x-pack/test/
     | - security_api_integration/
     | - security_functional/
```

After: 
```
x-pack/platform/test/
     | - security_api_integration/
     | - security_functional/
```

This PR also updates FTR configs that load test plugins from relocated
paths.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
## Summary

Part of elastic/kibana-team#1503

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

```
x-pack/test/
     | - security_api_integration/
     | - security_functional/
```

After: 
```
x-pack/platform/test/
     | - security_api_integration/
     | - security_functional/
```

This PR also updates FTR configs that load test plugins from relocated
paths.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Aug 5, 2025
## Summary

Part of elastic/kibana-team#1503

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

```
x-pack/test/
     | - security_api_integration/
     | - security_functional/
```

After:
```
x-pack/platform/test/
     | - security_api_integration/
     | - security_functional/
```

This PR also updates FTR configs that load test plugins from relocated
paths.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 5e1d6d7)

# Conflicts:
#	.buildkite/ftr_platform_stateful_configs.yml
#	.github/CODEOWNERS
#	.gitignore
#	package.json
#	tsconfig.base.json
#	x-pack/platform/test/security_api_integration/session_shard_missing.config.ts
#	x-pack/platform/test/security_api_integration/tests/session_shard_missing/index.ts
#	x-pack/platform/test/security_api_integration/tests/session_shard_missing/shard_missing.ts
#	x-pack/test/functional_enterprise_search/apps/enterprise_search/with_host_configured/index.ts
#	x-pack/test/security_api_integration/tests/session_shard_missing/index.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

dmlemeshko added a commit that referenced this pull request Aug 6, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [[ska] relocate kibana-security FTR tests
(#228452)](#228452)

<!--- Backport version: 10.0.0 -->

### 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-18T12:36:32Z","message":"[ska]
relocate kibana-security FTR tests (#228452)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving security FTR tests from x-pack/test\n\n```\nx-pack/test/\n
| - security_api_integration/\n | - security_functional/\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | - security_api_integration/\n | -
security_functional/\n```\n\nThis PR also updates FTR configs that load
test plugins from relocated\npaths.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5e1d6d7cf3d821be06eddd9b35e564f0a42fa8fe","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[ska]
relocate kibana-security FTR
tests","number":228452,"url":"https://github.com/elastic/kibana/pull/228452","mergeCommit":{"message":"[ska]
relocate kibana-security FTR tests (#228452)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving security FTR tests from x-pack/test\n\n```\nx-pack/test/\n
| - security_api_integration/\n | - security_functional/\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | - security_api_integration/\n | -
security_functional/\n```\n\nThis PR also updates FTR configs that load
test plugins from relocated\npaths.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5e1d6d7cf3d821be06eddd9b35e564f0a42fa8fe"}},"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/228714","number":228714,"state":"MERGED","mergeCommit":{"sha":"4ec0dc1e5bdff9718b8365061a1a81e7f172dd4e","message":"[9.1]
[ska] relocate kibana-security FTR tests (#228452) (#228714)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.1`:\n- [[ska] relocate kibana-security FTR
tests\n(#228452)](https://github.com/elastic/kibana/pull/228452)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n"}},{"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/228452","number":228452,"mergeCommit":{"message":"[ska]
relocate kibana-security FTR tests (#228452)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving security FTR tests from x-pack/test\n\n```\nx-pack/test/\n
| - security_api_integration/\n | - security_functional/\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | - security_api_integration/\n | -
security_functional/\n```\n\nThis PR also updates FTR configs that load
test plugins from relocated\npaths.\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"5e1d6d7cf3d821be06eddd9b35e564f0a42fa8fe"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
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.2 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants