You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions