Skip to content

[CI] AsyncSearchActionIT testRestartAfterCompletion failing #126974

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
elasticsearchmachine opened this issue Apr 17, 2025 · 3 comments · Fixed by #127010
Closed

[CI] AsyncSearchActionIT testRestartAfterCompletion failing #126974

elasticsearchmachine opened this issue Apr 17, 2025 · 3 comments · Fixed by #127010
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch >test-failure Triaged test failures from CI

Comments

@elasticsearchmachine
Copy link
Collaborator

elasticsearchmachine commented Apr 17, 2025

Build Scans:

Reproduction Line:

./gradlew ":x-pack:plugin:async-search:internalClusterTest" --tests "org.elasticsearch.xpack.search.AsyncSearchActionIT.testRestartAfterCompletion" -Dtests.seed=6F53D51DF23B43B7 -Dtests.locale=prg -Dtests.timezone=SystemV/PST8 -Druntime.java=24

Applicable branches:
main

Reproduces locally?:
N/A

Failure History:
See dashboard

Failure Message:

java.lang.AssertionError: 
Expected: an empty collection
     but: <[LEAK: ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information.
Recent access records: 
Created at:
	io.netty.buffer.PooledByteBufAllocator.newHeapBuffer(PooledByteBufAllocator.java:393)
	io.netty.buffer.AbstractByteBufAllocator.heapBuffer(AbstractByteBufAllocator.java:169)
	org.elasticsearch.transport.netty4.NettyAllocator$NoDirectBuffers.heapBuffer(NettyAllocator.java:301)
	org.elasticsearch.transport.netty4.NettyAllocator$NoDirectBuffers.heapBuffer(NettyAllocator.java:301)
	org.elasticsearch.transport.netty4.NettyAllocator$TrashingByteBufAllocator.heapBuffer(NettyAllocator.java:408)
	org.elasticsearch.transport.netty4.NettyAllocator$1.obtain(NettyAllocator.java:144)
	org.elasticsearch.transport.TransportDecompressor.maybeAddNewPage(TransportDecompressor.java:93)
	org.elasticsearch.transport.DeflateTransportDecompressor.decompress(D
[truncated]

Issue Reasons:

  • [main] 10 failures in test testRestartAfterCompletion (2.1% fail rate in 482 executions)
  • [main] 2 failures in step part-2 (1.0% fail rate in 206 executions)
  • [main] 3 failures in pipeline elasticsearch-periodic-platform-support (33.3% fail rate in 9 executions)
  • [main] 3 failures in pipeline elasticsearch-pull-request (1.5% fail rate in 206 executions)

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

@elasticsearchmachine elasticsearchmachine added :Search/Search Search-related issues that do not fall into other categories >test-failure Triaged test failures from CI Team:Search Meta label for search team needs:risk Requires assignment of a risk label (low, medium, blocker) labels Apr 17, 2025
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-search (Team:Search)

@javanna javanna added :Search Foundations/Search Catch all for Search Foundations and removed :Search/Search Search-related issues that do not fall into other categories labels Apr 17, 2025
@elasticsearchmachine elasticsearchmachine added Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch and removed Team:Search Meta label for search team labels Apr 17, 2025
@elasticsearchmachine
Copy link
Collaborator Author

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@elasticsearchmachine
Copy link
Collaborator Author

original-brownbear added a commit to original-brownbear/elasticsearch that referenced this issue Apr 17, 2025
Missed a spot here when moving this to delayed deserialization, we can leak pending batch results here on exceptions.

closes elastic#126994
closes elastic#126995
closes elastic#126975
closes elastic#126999
closes elastic#127001
closes elastic#126974
closes elastic#127008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:risk Requires assignment of a risk label (low, medium, blocker) :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants