Skip to content

Remove iouring support from simple test client#3189

Merged
robobario merged 1 commit intokroxylicious:mainfrom
robobario:remove-iouring
Jan 22, 2026
Merged

Remove iouring support from simple test client#3189
robobario merged 1 commit intokroxylicious:mainfrom
robobario:remove-iouring

Conversation

@robobario
Copy link
Copy Markdown
Member

@robobario robobario commented Jan 22, 2026

Type of change

  • Bugfix

Description

Resolves #3188
Resolves #3120

Integration tests on corretto 25 on main push are currently failing reliably. Debugging showed that netty threads were piling up, stuck trying to teardown IOUring resources. IOUring is the default implementation picked by the io.kroxylicious.test.client.KafkaClient test client we use to send single RPCs at the proxy and these new AuthZ tests started creating many of these throwaway clients, causing big growth in threads over time.

This was a copy-paste job from the production event group config. We never really cared about IOUring for this integration test client and have talked about removing it before.

Checklist

Please go through this checklist and make sure all applicable tasks have been done

  • PR raised from a fork of this repository and made from a branch rather than main.
  • Write tests
  • Update documentation
  • Make sure all unit/integration tests pass
  • Make sure all Sonarcloud warnings are addressed or are justifiably ignored.
  • If applicable to the change, trigger the system test suite. Make sure tests pass.
  • If applicable to the change, trigger the performance test suite. Ensure that any degradations to performance numbers are understood and justified.
  • Ensure the PR references relevant issue(s) so they are closed on merging.
  • For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

NOTE: You must be a member of @kroxylicious/developers to trigger the system test and performance test suites. If you are not part of this group, comment on the PR requesting a trigger, tagging @kroxylicious/developers.

@robobario robobario requested a review from a team as a code owner January 22, 2026 21:26
@robobario robobario added kind/bug Something isn't working test Relates to testing labels Jan 22, 2026
Copy link
Copy Markdown
Member

@SamBarker SamBarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sad to see this PR but I just don't have the cycles to look deeper.

Once the build failure is fixed:

Error:  Unused declared dependencies found:
Error:     io.netty:netty-transport-classes-io_uring:jar:4.2.9.Final:compile

I think you can tag this as fixing: #3120

This was a copy-paste job from the production event group config. We hit
on a test regression where netty threads on corretto 25 were failing to
be cleaned up on close. They were stuck in:

```
at io.netty.util.internal.CleanerJava25$CleanableDirectBufferImpl.clean(CleanerJava25.java:206)
```

This eventually caused tests to time out due to resource issues.

Signed-off-by: Robert Young <robertyoungnz@gmail.com>
@robobario
Copy link
Copy Markdown
Member Author

robobario commented Jan 22, 2026

I'm sad to see this PR but I just don't have the cycles to look deeper.

I'll try to make a simpler reproducer for the netty team, it looks like a bad combo of iouring/java25-corretto

@SamBarker
Copy link
Copy Markdown
Member

I'm sad to see this PR but I just don't have the cycles to look deeper.

I'll try to make a simpler reproducer for the netty team, it looks like a bad combo of iouring/java25-corretto

Tag me on that ticket when you do please

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'Proxy Runtime'

Failed conditions
66.7% Coverage on New Code (required ≥ 76%)

See analysis details on SonarQube Cloud

@sonarqubecloud
Copy link
Copy Markdown

@robobario
Copy link
Copy Markdown
Member Author

merging without sonar coverage % passing, unit testing the crossplatform support has been fragile to mock out in the past (need to mock static methods).

@robobario robobario merged commit 0fdfea4 into kroxylicious:main Jan 22, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working test Relates to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integration tests failing after 5 hours on corretto 25 Test failures due to RLIMIT_MEMLOCK

2 participants