Skip to content

Auto-port 5.0: Configure TestLens for the PR builds - #17132

Merged
chrisvest merged 1 commit into
5.0from
auto-port-pr-17129-to-5.0
Jul 23, 2026
Merged

chrisvest merged 1 commit into
5.0from
auto-port-pr-17129-to-5.0

Conversation

@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port of #17129 to 5.0
Cherry-picked commit: 7990444


Motivation:
TestLens is a new tool by the JUnit maintainers that helps to get flaky tests under control. It is free for open source projects.

Modification:
TestLens needs to instrument the maven POM files, so this adds a github action invocation to the PR builds that do that before running our maven builds.

Result:
TestLens is now enabled in our PR builds.

Motivation:
TestLens is a new tool by the JUnit maintainers that helps to get flaky
tests under control. It is free for open source projects.

Modification:
TestLens needs to instrument the maven POM files, so this adds a github
action invocation to the PR builds that do that before running our maven
builds.

Result:
TestLens is now enabled in our PR builds.

(cherry picked from commit 7990444)
@chrisvest chrisvest added this to the 5.0.0.Final milestone Jul 23, 2026
@chrisvest
chrisvest enabled auto-merge (squash) July 23, 2026 21:06
@testlens-app

testlens-app Bot commented Jul 23, 2026 •

Copy link
Copy Markdown

🚨 TestLens detected 1 failed test 🚨

Here is what you can do:

  1. Inspect the test failures carefully.
  2. If you are convinced that some of the tests are flaky, you can mute them below.
  3. Finally, trigger a rerun by checking the rerun checkbox.

Test Summary

Build PR / macos-x86_64-java25-boringssl build > Netty/Transport/Native/KQueue

Test Runs Flakiness
KQueueCompositeBufferGatheringWriteTest > testCompositeBufferPartialWriteDoesNotCorruptData(TestInfo) ❌ 0% 🟢

🏷️ Commit: b119705
▶️ Tests: 40248 executed
⚪️ Checks: 12/12 completed

Test Failures

KQueueCompositeBufferGatheringWriteTest > testCompositeBufferPartialWriteDoesNotCorruptData(TestInfo) (Netty/Transport/Native/KQueue in Build PR / macos-x86_64-java25-boringssl build)
org.opentest4j.AssertionFailedError: expected: <2048> but was: <0>
	at io.netty.testsuite.transport.socket.CompositeBufferGatheringWriteTest$6$1.channelInactive(CompositeBufferGatheringWriteTest.java:258)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:206)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1423)
	at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:844)
	at io.netty.channel.AbstractChannel$IoTransportImpl$6.lambda$run$0(AbstractChannel.java:813)
	at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:624)
	at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:583)
	at io.netty.util.concurrent.DefaultPromise.notifyListenersAndHandlers(DefaultPromise.java:470)
	at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:678)
	at io.netty.util.concurrent.DefaultPromise.setSuccess0(DefaultPromise.java:667)
	at io.netty.util.concurrent.DefaultPromise.setSuccess(DefaultPromise.java:110)
	at io.netty.channel.kqueue.AbstractKQueueChannel.doDeregister(AbstractKQueueChannel.java:167)
	at io.netty.channel.AbstractChannel$IoTransportImpl$6.run(AbstractChannel.java:828)
	at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:138)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:131)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:529)
	at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:201)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1159)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:1474)
expected actual
2048 0

Muted Tests

Select tests to mute in this pull request:

  • KQueueCompositeBufferGatheringWriteTest > testCompositeBufferPartialWriteDoesNotCorruptData(TestInfo)

Reuse successful test results:

  • ♻️ Only rerun the tests that failed or were muted before

Click the checkbox to trigger a rerun:

  • Rerun jobs

Learn more about TestLens at testlens.app.

@chrisvest
chrisvest merged commit 20d8f84 into 5.0 Jul 23, 2026
12 of 13 checks passed
@chrisvest
chrisvest deleted the auto-port-pr-17129-to-5.0 branch July 23, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants