[9.2] Fixes flaky serverless reporting tests (#244993)#245258
Merged
Conversation
Fixes elastic#237285 ## Summary The serverless version of these tests were failing with `Response aborted while reading the body` errors, which means the report is short-circuiting before completing. I noticed a previous change elastic#185878 to increase the time the test waits for a report to `10m` however, the queue timeout for reporting was still set to the default `4m` so this increases the queue timeout for reporting to `10m` in these tests to give it more time to complete. This should also address the following tests (all failed due to `Response aborted while reading the body`): - elastic#244269 - elastic#238317 - elastic#238182 - elastic#236220 Flaky test runner runs: There were some failures but seem unrelated... ``` 2025-12-02 22:03:51 UTC | ERROR UNHANDLED ERROR -- | -- 2025-12-02 22:03:51 UTC | ERROR ResponseError: index_not_found_exception 2025-12-02 22:03:51 UTC | Root causes: 2025-12-02 22:03:51 UTC | index_not_found_exception: no such index [.kibana-event-log-ds] 2025-12-02 22:03:51 UTC | at SniffingTransport._request (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1764712453512576396/elastic/kibana-flaky-test-suite-runner/kibana/node_modules/@elastic/elasticsearch/node_modules/@elastic/transport/src/Transport.ts:591:17) 2025-12-02 22:03:51 UTC | at processTicksAndRejections (node:internal/process/task_queues:105:5) 2025-12-02 22:03:51 UTC | at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1764712453512576396/elastic/kibana-flaky-test-suite-runner/kibana/node_modules/@elastic/elasticsearch/node_modules/@elastic/transport/src/Transport.ts:697:22 2025-12-02 22:03:51 UTC | at SniffingTransport.request (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1764712453512576396/elastic/kibana-flaky-test-suite-runner/kibana/node_modules/@elastic/elasticsearch/node_modules/@elastic/transport/src/Transport.ts:694:14) 2025-12-02 22:03:51 UTC | at Indices.putSettings (/opt/buildkite-agent/builds/bk-agent-prod-gcp-1764712453512576396/elastic/kibana-flaky-test-suite-runner/kibana/node_modules/@elastic/src/api/api/indices.ts:3529:12) 2025-12-02 22:03:51 UTC | at putFastRefreshSettings (es.ts:54:5) 2025-12-02 22:03:51 UTC | at es.ts:142:5 2025-12-02 22:03:51 UTC | at lifecycle_phase.ts:77:11 2025-12-02 22:03:51 UTC | at async Promise.all (index 2) 2025-12-02 22:03:51 UTC | at LifecyclePhase.trigger (lifecycle_phase.ts:74:5) 2025-12-02 22:03:51 UTC | at functional_test_runner.ts:115:9 2025-12-02 22:03:51 UTC | at FunctionalTestRunner.runHarness (functional_test_runner.ts:267:14) 2025-12-02 22:03:51 UTC | at FunctionalTestRunner.run (functional_test_runner.ts:49:12) 2025-12-02 22:03:51 UTC | at runFtr (run_ftr.ts:24:24) 2025-12-02 22:03:51 UTC | at run_tests.ts:180:11 2025-12-02 22:03:51 UTC | at withProcRunner (with_proc_runner.ts:30:5) 2025-12-02 22:03:51 UTC | at run_tests.ts:105:7 2025-12-02 22:03:51 UTC | at tooling_log.ts:95:18 2025-12-02 22:03:51 UTC | at runTests (run_tests.ts:67:5) 2025-12-02 22:03:51 UTC | at description (cli.ts:25:7) 2025-12-02 22:03:51 UTC | at run.ts:69:10 2025-12-02 22:03:51 UTC | at withProcRunner (with_proc_runner.ts:30:5) 2025-12-02 22:03:51 UTC | at run (run.ts:67:5) ``` - https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/9963 Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> (cherry picked from commit 58886b6)
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.2:Questions ?
Please refer to the Backport tool documentation