-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[scout] support flaky test runner #234918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[scout] support flaky test runner #234918
Conversation
| const testSuites: Array< | ||
| | { type: 'group'; key: string; count: number } | ||
| | { type: 'ftrConfig'; ftrConfig: string; count: number } | ||
| | { type: 'scoutConfig'; scoutConfig: string; count: number } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When Scout config is selected in Flaky test runner, server should return in json:
{
type: 'scoutConfig',
title: 'Scout: path/to/config.ts',
id: 'scout:path/to/config.ts',
scoutConfig: 'path/to/config.ts',
count: 15
}
| steps.push({ | ||
| command: `.buildkite/scripts/steps/test/scout_configs.sh`, | ||
| env: { | ||
| SCOUT_CONFIG: testSuite.scoutConfig, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if SCOUT_CONFIG is set, running script will run explicitly defined config (Flaky test runner support) instead of fetching the json artifact and executing all the configs for the plugin (normal flow)
💚 Build Succeeded
Metrics [docs]
History
cc @dmlemeshko |
|
Starting backport for target branches: 8.18, 8.19, 9.0, 9.1 |
## Summary Extending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new `scoutConfig` type, that should trigger Scout tests execution from CI stats flaky-test-runner (cherry picked from commit 1fe19a3)
## Summary Extending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new `scoutConfig` type, that should trigger Scout tests execution from CI stats flaky-test-runner (cherry picked from commit 1fe19a3)
## Summary Extending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new `scoutConfig` type, that should trigger Scout tests execution from CI stats flaky-test-runner (cherry picked from commit 1fe19a3)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `9.0`: - [[scout] support flaky test runner (#234918)](#234918) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-09-18T09:18:59Z","message":"[scout] support flaky test runner (#234918)\n\n## Summary\n\nExtending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new\n`scoutConfig` type, that should trigger Scout tests execution from CI\nstats flaky-test-runner","sha":"1fe19a39faf9f5d96bddc7db432732f703578549","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","test:scout","v9.2.0"],"title":"[scout] support flaky test runner","number":234918,"url":"https://github.com/elastic/kibana/pull/234918","mergeCommit":{"message":"[scout] support flaky test runner (#234918)\n\n## Summary\n\nExtending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new\n`scoutConfig` type, that should trigger Scout tests execution from CI\nstats flaky-test-runner","sha":"1fe19a39faf9f5d96bddc7db432732f703578549"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/234918","number":234918,"mergeCommit":{"message":"[scout] support flaky test runner (#234918)\n\n## Summary\n\nExtending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new\n`scoutConfig` type, that should trigger Scout tests execution from CI\nstats flaky-test-runner","sha":"1fe19a39faf9f5d96bddc7db432732f703578549"}}]}] BACKPORT--> Co-authored-by: Dzmitry Lemechko <[email protected]>
# Backport This will backport the following commits from `main` to `8.19`: - [[scout] support flaky test runner (#234918)](#234918) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-09-18T09:18:59Z","message":"[scout] support flaky test runner (#234918)\n\n## Summary\n\nExtending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new\n`scoutConfig` type, that should trigger Scout tests execution from CI\nstats flaky-test-runner","sha":"1fe19a39faf9f5d96bddc7db432732f703578549","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","test:scout","v9.2.0"],"title":"[scout] support flaky test runner","number":234918,"url":"https://github.com/elastic/kibana/pull/234918","mergeCommit":{"message":"[scout] support flaky test runner (#234918)\n\n## Summary\n\nExtending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new\n`scoutConfig` type, that should trigger Scout tests execution from CI\nstats flaky-test-runner","sha":"1fe19a39faf9f5d96bddc7db432732f703578549"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/234918","number":234918,"mergeCommit":{"message":"[scout] support flaky test runner (#234918)\n\n## Summary\n\nExtending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new\n`scoutConfig` type, that should trigger Scout tests execution from CI\nstats flaky-test-runner","sha":"1fe19a39faf9f5d96bddc7db432732f703578549"}}]}] BACKPORT--> Co-authored-by: Dzmitry Lemechko <[email protected]>
# Backport This will backport the following commits from `main` to `9.1`: - [[scout] support flaky test runner (#234918)](#234918) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dzmitry Lemechko","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-09-18T09:18:59Z","message":"[scout] support flaky test runner (#234918)\n\n## Summary\n\nExtending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new\n`scoutConfig` type, that should trigger Scout tests execution from CI\nstats flaky-test-runner","sha":"1fe19a39faf9f5d96bddc7db432732f703578549","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","test:scout","v9.2.0"],"title":"[scout] support flaky test runner","number":234918,"url":"https://github.com/elastic/kibana/pull/234918","mergeCommit":{"message":"[scout] support flaky test runner (#234918)\n\n## Summary\n\nExtending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new\n`scoutConfig` type, that should trigger Scout tests execution from CI\nstats flaky-test-runner","sha":"1fe19a39faf9f5d96bddc7db432732f703578549"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/234918","number":234918,"mergeCommit":{"message":"[scout] support flaky test runner (#234918)\n\n## Summary\n\nExtending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new\n`scoutConfig` type, that should trigger Scout tests execution from CI\nstats flaky-test-runner","sha":"1fe19a39faf9f5d96bddc7db432732f703578549"}}]}] BACKPORT--> Co-authored-by: Dzmitry Lemechko <[email protected]>
|
Starting backport for target branches: 8.19, 9.0, 9.1 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
## Summary Extending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new `scoutConfig` type, that should trigger Scout tests execution from CI stats flaky-test-runner
## Summary Extending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new `scoutConfig` type, that should trigger Scout tests execution from CI stats flaky-test-runner
## Summary Extending `.buildkite/pipelines/flaky_tests/pipeline.ts` with new `scoutConfig` type, that should trigger Scout tests execution from CI stats flaky-test-runner
Summary
Extending
.buildkite/pipelines/flaky_tests/pipeline.tswith newscoutConfigtype, that should trigger Scout tests execution from CI stats flaky-test-runner