Skip to content

[CI] AsyncSearchTaskTests testFatalFailureDuringFetch failing #142626

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:async-search:test" --tests "org.elasticsearch.xpack.search.AsyncSearchTaskTests.testFatalFailureDuringFetch" -Dtests.seed=38E54DD88005E7F4 -Dtests.locale=pa-Arab-PK -Dtests.timezone=Etc/GMT-0 -Druntime.java=25

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: 
Expected: an empty collection
     but: <[LEAK: resource was not cleaned up before it was garbage-collected.
Recent access records: 
#1:
	in [Thread-119][testCompletionTimeoutAndSuppressPartialResults]
	org.elasticsearch.action.search.SearchResponse.decRef(SearchResponse.java:246)
	org.elasticsearch.xpack.search.MutableSearchResponse.closeInternal(MutableSearchResponse.java:522)
	org.elasticsearch.core.AbstractRefCounted.decRef(AbstractRefCounted.java:77)
	org.elasticsearch.xpack.search.AsyncSearchTask.getResponse(AsyncSearchTask.java:469)
	org.elasticsearch.xpack.search.AsyncSearchTask.getResponseWithHeaders(AsyncSearchTask.java:418)
	org.elasticsearch.xpack.search.AsyncSearchTask.addCompletionListener(AsyncSearchTask.java:222)
	org.elasticsearch.xpack.search.AsyncSearchTaskTests.lambda$assertCompletionListeners$13(AsyncSearchTaskTests.java:594)
	java.base/java.lang.Thread.run(Thread.java:1474)
#2:
	in [TEST-AsyncSearchTaskTests.testCompletionTimeoutAndSuppr
[truncated]

Issue Reasons:

  • [main] 2 failures in test testFatalFailureDuringFetch (1.0% fail rate in 196 executions)

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

Metadata

Metadata

Assignees

Labels

:Search Foundations/SearchCatch all for Search Foundations>test-failureTriaged test failures from CITeam:Search FoundationsMeta label for the Search Foundations team in Elasticsearchlow-riskAn open issue or test failure that is a low risk to future releases

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions