Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I'm trying to build AsyncHttpClient from source. I've checked it out from GitHub, and have run ./mvnw clean package on my Fedora Workstation. I've used both openjdk 21.0.7 and Oracle JDK 17.0.2 as my system JDK and the results are the same.

The build fails with the error DefaultAsyncHttpClientTest.testNativeTransportWithoutEpollOnly:62 » IllegalState failed to create a child event loop.

I have tried the tip of the main branch as well as several release tags, all result in the same error.

The latest output in async-http-client/client/target/surefire-reports is for the prior successful test (org.asynchttpclient.ws.WebSocketWriteFutureTest).

If I update the top-level pom.xml to exclude <exclude>**/DefaultAsyncHttpClientTest.java</exclude>, the rest of the tests pass successfully.

I've tried disabling my firewalld, and I've looked through my system and logs to see if ulimits or selinux is getting in the way. Nothing leaps out.

Google searches for "testNativeTransportWithoutEpollOnly" and "IllegalState failed to create a child event loop" have not yielded any useful results.

Without a better error message or a test/error log, I'm at a loss to think of next steps other than stepping into a debugger during the test phase. This doesn't seem like it should be necessary if I'm not making changes and am just trying to build the project from source.

Any suggestions?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.