Skip to content

[CI] ThreadPoolMergeExecutorServiceDiskSpaceTests testAbortingOrRunningMergeTaskHoldsUpBudget failing #130268

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":server:test" --tests "org.elasticsearch.index.engine.ThreadPoolMergeExecutorServiceDiskSpaceTests.testAbortingOrRunningMergeTaskHoldsUpBudget" -Dtests.seed=21E167790644E370 -Dtests.locale=da-GL -Dtests.timezone=Atlantic/Jan_Mayen -Druntime.java=24

Applicable branches:
8.19

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

org.mockito.exceptions.verification.WantedButNotInvoked: 
Wanted but not invoked:
mergeTask.schedule();
-> at org.elasticsearch.index.engine.ThreadPoolMergeExecutorServiceDiskSpaceTests.lambda$testAbortingOrRunningMergeTaskHoldsUpBudget$22(ThreadPoolMergeExecutorServiceDiskSpaceTests.java:578)

However, there were exactly 201 interactions with this mock:
mergeTask.hasStartedRunning();
-> at org.elasticsearch.index.engine.ThreadPoolMergeExecutorService.submitMergeTask(ThreadPoolMergeExecutorService.java:241)

mergeTask.supportsIOThrottling();
-> at org.elasticsearch.index.engine.ThreadPoolMergeExecutorService.submitMergeTask(ThreadPoolMergeExecutorService.java:248)

mergeTask.estimatedRemainingMergeSize();
-> at org.elasticsearch.index.engine.ThreadPoolMergeExecutorService$PriorityBlockingQueueWithBudget.enqueue(ThreadPoolMergeExecutorService.java:597)

mergeTask.estimatedRemainingMergeSize();
-> at org.elasticsearch.index.engine.ThreadPoolMergeExecutorService$PriorityBlockingQueueWithB
[truncated]

Issue Reasons:

  • [8.19] 3 failures in test testAbortingOrRunningMergeTaskHoldsUpBudget (0.8% fail rate in 357 executions)
  • [8.19] 2 failures in pipeline elasticsearch-periodic-platform-support (22.2% fail rate in 9 executions)

Note:
This issue was created using new test triage automation. Please report issues or feedback to es-delivery.

Metadata

Metadata

Labels

:Distributed Indexing/EngineAnything around managing Lucene and the Translog in an open shard.>test-failureTriaged test failures from CITeam:Distributed IndexingMeta label for Distributed Indexing teamlow-riskAn open issue or test failure that is a low risk to future releases

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions