Skip to content

Comments

[ska] relocate api and func tests#227466

Merged
dmlemeshko merged 11 commits intoelastic:mainfrom
dmlemeshko:ska/relocate-security-and-oblt--tests
Jul 11, 2025
Merged

[ska] relocate api and func tests#227466
dmlemeshko merged 11 commits intoelastic:mainfrom
dmlemeshko:ska/relocate-security-and-oblt--tests

Conversation

@dmlemeshko
Copy link
Contributor

@dmlemeshko dmlemeshko commented Jul 10, 2025

Summary

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

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

Before:

x-pack/test/api_integration/apis/cases
x-pack/test/api_integration/apis/security
x-pack/test/functional/apps/slo

After:

x-pack/platform/test/
     | - api_integration/apis/cases

x-pack/solutions/observability/test/
     | - api_integration/apis/cases
     | - functional/apps/slo

x-pack/solutions/security/test/
     | - api_integration/apis/cases
     | - api_integration/apis/security

@dmlemeshko dmlemeshko self-assigned this Jul 11, 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 11, 2025
@dmlemeshko dmlemeshko marked this pull request as ready for review July 11, 2025 08:08
@dmlemeshko dmlemeshko requested review from a team as code owners July 11, 2025 08:08
@dmlemeshko dmlemeshko requested a review from a team July 11, 2025 08:08
Copy link
Contributor

@rmyz rmyz left a comment

Choose a reason for hiding this comment

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

x-pack/solutions/observability/test/api_integration/services/index.ts changes LGTM

Copy link
Contributor

@shahzad31 shahzad31 left a comment

Choose a reason for hiding this comment

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

LGTM !!

Copy link
Contributor

@janmonschke janmonschke left a comment

Choose a reason for hiding this comment

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

kibana-cases changes ltgm

@elasticmachine
Copy link
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

History

cc @dmlemeshko

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

Starting backport for target branches: 8.19, 9.1

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

@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

@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:
- [ska] relocate oblt deployment-agnostic api integration tests (#227194)
- [ska] remove 'test-suites-xpack-observability' imports in x-pack/test (#226174)

Manual backport

To create the backport manually run:

node scripts/backport --pr 227466

Questions ?

Please refer to the Backport tool documentation

@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 227466

Questions ?

Please refer to the Backport tool documentation

@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

@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 227466

Questions ?

Please refer to the Backport tool documentation

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

Part of elastic/kibana-team#1503

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

Before:
```
x-pack/test/api_integration/apis/cases
x-pack/test/api_integration/apis/security
x-pack/test/functional/apps/slo
```

After:
```
x-pack/platform/test/
     | - api_integration/apis/cases

x-pack/solutions/observability/test/
     | - api_integration/apis/cases
     | - functional/apps/slo

x-pack/solutions/security/test/
     | - api_integration/apis/cases
     | - api_integration/apis/security
```

---------

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

# Conflicts:
#	.buildkite/ftr_oblt_stateful_configs.yml
#	.buildkite/ftr_platform_stateful_configs.yml
#	.github/CODEOWNERS
@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 17, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [[ska] relocate api and func tests
(#227466)](#227466)

<!--- 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-11T16:07:34Z","message":"[ska]
relocate api and func tests (#227466)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform and solutions tests
from\nx-pack/test\n\nBefore:\n```\nx-pack/test/api_integration/apis/cases\nx-pack/test/api_integration/apis/security\nx-pack/test/functional/apps/slo\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | -
api_integration/apis/cases\n\nx-pack/solutions/observability/test/\n | -
api_integration/apis/cases\n | -
functional/apps/slo\n\nx-pack/solutions/security/test/\n | -
api_integration/apis/cases\n | -
api_integration/apis/security\n```\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a2ed624e85efd8fec8f98d12e2614f9413726731","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 api and func
tests","number":227466,"url":"https://github.com/elastic/kibana/pull/227466","mergeCommit":{"message":"[ska]
relocate api and func tests (#227466)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform and solutions tests
from\nx-pack/test\n\nBefore:\n```\nx-pack/test/api_integration/apis/cases\nx-pack/test/api_integration/apis/security\nx-pack/test/functional/apps/slo\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | -
api_integration/apis/cases\n\nx-pack/solutions/observability/test/\n | -
api_integration/apis/cases\n | -
functional/apps/slo\n\nx-pack/solutions/security/test/\n | -
api_integration/apis/cases\n | -
api_integration/apis/security\n```\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a2ed624e85efd8fec8f98d12e2614f9413726731"}},"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/227466","number":227466,"mergeCommit":{"message":"[ska]
relocate api and func tests (#227466)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform and solutions tests
from\nx-pack/test\n\nBefore:\n```\nx-pack/test/api_integration/apis/cases\nx-pack/test/api_integration/apis/security\nx-pack/test/functional/apps/slo\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | -
api_integration/apis/cases\n\nx-pack/solutions/observability/test/\n | -
api_integration/apis/cases\n | -
functional/apps/slo\n\nx-pack/solutions/security/test/\n | -
api_integration/apis/cases\n | -
api_integration/apis/security\n```\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a2ed624e85efd8fec8f98d12e2614f9413726731"}}]}]
BACKPORT-->
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 platform and solutions tests from
x-pack/test

Before:
```
x-pack/test/api_integration/apis/cases
x-pack/test/api_integration/apis/security
x-pack/test/functional/apps/slo
```

After: 
```
x-pack/platform/test/
     | - api_integration/apis/cases

x-pack/solutions/observability/test/
     | - api_integration/apis/cases
     | - functional/apps/slo

x-pack/solutions/security/test/
     | - api_integration/apis/cases
     | - api_integration/apis/security
```

---------

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

Part of elastic/kibana-team#1503

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

Before:
```
x-pack/test/api_integration/apis/cases
x-pack/test/api_integration/apis/security
x-pack/test/functional/apps/slo
```

After:
```
x-pack/platform/test/
     | - api_integration/apis/cases

x-pack/solutions/observability/test/
     | - api_integration/apis/cases
     | - functional/apps/slo

x-pack/solutions/security/test/
     | - api_integration/apis/cases
     | - api_integration/apis/security
```

---------

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

# Conflicts:
#	.buildkite/ftr_platform_stateful_configs.yml
#	.github/CODEOWNERS
#	x-pack/test/api_integration/apis/slos/helper/es.ts
@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 4, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [[ska] relocate api and func tests
(#227466)](#227466)

<!--- 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-11T16:07:34Z","message":"[ska]
relocate api and func tests (#227466)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform and solutions tests
from\nx-pack/test\n\nBefore:\n```\nx-pack/test/api_integration/apis/cases\nx-pack/test/api_integration/apis/security\nx-pack/test/functional/apps/slo\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | -
api_integration/apis/cases\n\nx-pack/solutions/observability/test/\n | -
api_integration/apis/cases\n | -
functional/apps/slo\n\nx-pack/solutions/security/test/\n | -
api_integration/apis/cases\n | -
api_integration/apis/security\n```\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a2ed624e85efd8fec8f98d12e2614f9413726731","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 api and func
tests","number":227466,"url":"https://github.com/elastic/kibana/pull/227466","mergeCommit":{"message":"[ska]
relocate api and func tests (#227466)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform and solutions tests
from\nx-pack/test\n\nBefore:\n```\nx-pack/test/api_integration/apis/cases\nx-pack/test/api_integration/apis/security\nx-pack/test/functional/apps/slo\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | -
api_integration/apis/cases\n\nx-pack/solutions/observability/test/\n | -
api_integration/apis/cases\n | -
functional/apps/slo\n\nx-pack/solutions/security/test/\n | -
api_integration/apis/cases\n | -
api_integration/apis/security\n```\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a2ed624e85efd8fec8f98d12e2614f9413726731"}},"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/228349","number":228349,"state":"MERGED","mergeCommit":{"sha":"dcd78470aede574aeeb619a49b4a539c1569a591","message":"[9.1]
[ska] relocate api and func tests (#227466) (#228349)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`9.1`:\n- [[ska] relocate api and func
tests\n(#227466)](https://github.com/elastic/kibana/pull/227466)\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/227466","number":227466,"mergeCommit":{"message":"[ska]
relocate api and func tests (#227466)\n\n## Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform and solutions tests
from\nx-pack/test\n\nBefore:\n```\nx-pack/test/api_integration/apis/cases\nx-pack/test/api_integration/apis/security\nx-pack/test/functional/apps/slo\n```\n\nAfter:
\n```\nx-pack/platform/test/\n | -
api_integration/apis/cases\n\nx-pack/solutions/observability/test/\n | -
api_integration/apis/cases\n | -
functional/apps/slo\n\nx-pack/solutions/security/test/\n | -
api_integration/apis/cases\n | -
api_integration/apis/security\n```\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"a2ed624e85efd8fec8f98d12e2614f9413726731"}}]}]
BACKPORT-->
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 v8.19.1 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants