Skip to content

[9.5] [ML] Report hung test batches to Test Analytics and fail them fast (#3283) - #3325

Merged
elastic-vault-github-plugin-prod[bot] merged 1 commit into
9.5from
backport/9.5/pr-3283
Nov 24, 2026
Merged

elastic-vault-github-plugin-prod[bot] merged 1 commit into
9.5from
backport/9.5/pr-3283

Conversation

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.5:

Questions ?

Please refer to the Backport tool documentation

…3283)

A test batch that hangs is killed by CTest after 45 minutes. Boost.Test only
writes its JUnit file on completion, so the killed batch left an empty file,
its cases vanished from the merged results ("0 failures") and Test Analytics
showed nothing, even though the build failed.

- Record batches with no complete JUnit file as failed cases before merging.
- Default TEST_TIMEOUT to 900s for non-debug test steps (was 2700s).
- Run batches under a watchdog that dumps thread stacks just before the
  timeout, so the underlying hang can be diagnosed from the log.

(cherry picked from commit c57bfaa)

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated approval: clean backport of an already-reviewed change. Auto-merge is armed and will merge once the required CI checks are green.

@edsavage

Copy link
Copy Markdown
Contributor

ES integration tests currently fail waiting for the ES version bump to v9.5.8

@elastic-vault-github-plugin-prod
elastic-vault-github-plugin-prod Bot merged commit 55afbe8 into 9.5 Nov 24, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically merge backport PRs when CI passes backport :ml >test v9.5.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants