Skip to content

[CI] Netty4HttpServerTransportTests testRespondAfterServiceCloseWithClientCancel failing #126749

@elasticsearchmachine

Description

@elasticsearchmachine

Build Scans:

Reproduction Line:

gradlew ":modules:transport-netty4:test" --tests "org.elasticsearch.http.netty4.Netty4HttpServerTransportTests.testRespondAfterServiceCloseWithClientCancel" -Dtests.seed=778FBDA0BE9F26AB -Dtests.locale=es-CL -Dtests.timezone=Europe/Monaco -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.
[truncated]

Issue Reasons:

  • [main] 3 failures in test testRespondAfterServiceCloseWithClientCancel (1.0% fail rate in 286 executions)
  • [main] 2 failures in step windows-2022_checkpart1_platform-support-windows (33.3% fail rate in 6 executions)
  • [main] 2 failures in pipeline elasticsearch-periodic-platform-support (33.3% fail rate in 6 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