Skip to content

Commit 58886b6

Browse files
ymao1dmlemeshkoelasticmachine
authored
Fixes flaky serverless reporting tests (#244993)
Fixes #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 #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`): - #244269 - #238317 - #238182 - #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>
1 parent 473937b commit 58886b6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • x-pack/platform/test/serverless/api_integration/configs/observability

x-pack/platform/test/serverless/api_integration/configs/observability/config.group1.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@ export default createTestConfig({
5252
'--xpack.dataUsage.autoops.api.url=http://localhost:9000',
5353
`--xpack.dataUsage.autoops.api.tls.certificate=${KBN_CERT_PATH}`,
5454
`--xpack.dataUsage.autoops.api.tls.key=${KBN_KEY_PATH}`,
55+
`--xpack.reporting.queue.timeout="10m"`,
5556
],
5657
});

0 commit comments

Comments
 (0)