Skip to content

AsyncSearchIndexServiceTests.testCircuitBreaker fails #143411

@dakrone

Description

@dakrone

CI Link

https://gradle-enterprise.elastic.co/s/ikrddpz2m7mpi

Repro line

./gradlew ":x-pack:plugin:core:test" --tests "org.elasticsearch.xpack.core.async.AsyncSearchIndexServiceTests.testCircuitBreaker" -Dtests.seed=36080E195E259A0A -Dtests.locale=en-TO -Dtests.timezone=America/Argentina/Cordoba -Druntime.java=25

Does it reproduce?

Yes

Applicable branches

main

Failure history

No response

Failure excerpt

AsyncSearchIndexServiceTests > testCircuitBreaker FAILED
    org.elasticsearch.common.breaker.CircuitBreakingException: Current used [0] and requesting bytes [16440] is greater than the limit [16417]
        at __randomizedtesting.SeedInfo.seed([36080E195E259A0A:D4E33A757A2100DD]:0)
        at app//org.elasticsearch.xpack.core.async.AsyncSearchIndexServiceTests$AdjustableLimitCircuitBreaker.addEstimateBytesAndMaybeBreak(AsyncSearchIndexServiceTests.java:210)
        at app//org.elasticsearch.common.util.BigArrays.adjustBreaker(BigArrays.java:526)
        at app//org.elasticsearch.common.util.BigArrays.validate(BigArrays.java:584)
        at app//org.elasticsearch.common.util.BigArrays.newByteArray(BigArrays.java:618)
        at app//org.elasticsearch.common.io.stream.BytesStreamOutput.<init>(BytesStreamOutput.java:79)
        at app//org.elasticsearch.common.io.stream.ReleasableBytesStreamOutput.<init>(ReleasableBytesStreamOutput.java:69)
        at app//org.elasticsearch.common.io.stream.ReleasableBytesStreamOutput.<init>(ReleasableBytesStreamOutput.java:56)
        at app//org.elasticsearch.xpack.core.async.AsyncTaskIndexService$ReleasableBytesStreamOutputWithLimit.<init>(AsyncTaskIndexService.java:606)
        at app//org.elasticsearch.xpack.core.async.AsyncTaskIndexService.allocateBuffer(AsyncTaskIndexService.java:319)
        at app//org.elasticsearch.xpack.core.async.AsyncTaskIndexService.updateResponse(AsyncTaskIndexService.java:284)
        at app//org.elasticsearch.xpack.core.async.AsyncTaskIndexService.updateResponse(AsyncTaskIndexService.java:244)
        at app//org.elasticsearch.xpack.core.async.AsyncSearchIndexServiceTests.testCircuitBreaker(AsyncSearchIndexServiceTests.java:319)

Metadata

Metadata

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