Skip to content

[CI] NettyAllocatorTests testTrashingCompositeByteBuf failing #126743

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

./gradlew ":modules:transport-netty4:test" --tests "org.elasticsearch.transport.netty4.NettyAllocatorTests.testTrashingCompositeByteBuf" -Dtests.seed=5F2096B0C9B4D83D -Dtests.locale=ne-IN -Dtests.timezone=Australia/Melbourne -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: 
#1:
	Hint: Caller of readInbound() will handle the message from this point
	io.netty.buffer.AdvancedLeakAwareCompositeByteBuf.touch(AdvancedLeakAwareCompositeByteBuf.java:36)
	io.netty.handler.codec.http.HttpObjectAggregator$AggregatedFullHttpMessage.touch(HttpObjectAggregator.java:366)
	io.netty.handler.codec.http.HttpObjectAggregator$AggregatedFullHttpRequest.touch(HttpObjectAggregator.java:445)
	io.netty.handler.codec.http.HttpObjectAggregator$AggregatedFullHttpRequest.touch(HttpObjectAggregator.java:396)
	io.netty.channel.embedded.EmbeddedChannel.readInbound(EmbeddedChannel.java:314)
	org.elasticsearch.http.netty4.Netty4HttpHeaderValidatorTests.testWithFlowControlAndAggregator(Netty4HttpHeaderValidatorTests.java:160)
	java.base/jdk.internal.ref
[truncated]

Issue Reasons:

  • [main] 3 consecutive failures in step ubuntu-2404-aarch64_checkpart1_platform-support-arm
  • [main] 2 consecutive failures in step ubuntu-2004-aarch64_checkpart1_platform-support-arm
  • [main] 2 consecutive failures in step concurrent-search-tests
  • [main] 2 consecutive failures in step ubuntu-2004_platform-support-unix
  • [main] 3 consecutive failures in step ubuntu-2404_platform-support-unix
  • [main] 5 consecutive failures in step rocky-9_platform-support-unix
  • [main] 2 consecutive failures in step rhel-9_platform-support-unix
  • [main] 5 consecutive failures in step amazonlinux-2023_platform-support-aws
  • [main] 7 consecutive failures in step oraclelinux-9_platform-support-unix
  • [main] 4 consecutive failures in step single-processor-node-tests
  • [main] 97 failures in test testTrashingCompositeByteBuf (15.3% fail rate in 636 executions)
  • [main] 3 failures in step almalinux-8-aarch64_checkpart1_platform-support-arm (33.3% fail rate in 9 executions)
  • [main] 7 failures in step ubuntu-2404-aarch64_checkpart1_platform-support-arm (77.8% fail rate in 9 executions)
  • [main] 7 failures in step ubuntu-2004-aarch64_checkpart1_platform-support-arm (77.8% fail rate in 9 executions)
  • [main] 4 failures in step ubuntu-2204_platform-support-unix (44.4% 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

Assignees

Labels

:Distributed Coordination/NetworkHttp and internode communication implementations>test-failureTriaged test failures from CITeam:Distributed CoordinationMeta label for Distributed Coordination 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