You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "cstamas (via GitHub)" <gi...@apache.org> on 2026/09/14 17:01:20 UTC

[I] Jetty (or transport) flaky test [maven-resolver]

cstamas opened a new issue, #2142:
URL: https://github.com/apache/maven-resolver/issues/2142

   ### Affected version
   
   master
   
   ### Bug description
   
   We had on CI this:
   ```
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.eclipse.aether.transport.jetty.InsecureRedirectGuardTest
   WARNING: A restricted method in java.lang.System has been called
   WARNING: java.lang.System::loadLibrary has been called by com.aayushatharva.brotli4j.Brotli4jLoader in an unnamed module (file:/C:/Users/runneradmin/.m2/repository/com/aayushatharva/brotli4j/brotli4j/1.23.0/brotli4j-1.23.0.jar)
   WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module
   WARNING: Restricted methods will be blocked in a future release unless native access is enabled
   
   [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.798 s -- in org.eclipse.aether.transport.jetty.InsecureRedirectGuardTest
   [INFO] Running org.eclipse.aether.transport.jetty.JettyTransporterTest
   [ERROR] Tests run: 90, Failures: 0, Errors: 1, Skipped: 10, Time elapsed: 15.12 s <<< FAILURE! -- in org.eclipse.aether.transport.jetty.JettyTransporterTest
   [ERROR] org.eclipse.aether.transport.jetty.JettyTransporterTest.testGet_HTTP3 -- Time elapsed: 0.147 s <<< ERROR!
   java.lang.IllegalStateException: Failed to find a port free for both TCP and UDP
   	at org.eclipse.aether.internal.test.util.http.HttpServer.findFreeTcpAndUdpPort(HttpServer.java:350)
   	at org.eclipse.aether.internal.test.util.http.HttpTransporterTest.testGet_HTTP3(HttpTransporterTest.java:943)
   	at org.eclipse.aether.transport.jetty.JettyTransporterTest.testGet_HTTP3(JettyTransporterTest.java:108)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
   	at java.base/java.util.ArrayList.forEach(ArrayList.java:1612)
   	at java.base/java.util.ArrayList.forEach(ArrayList.java:1612)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Jetty (or transport) flaky test [maven-resolver]

Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas closed issue #2142: Jetty (or transport) flaky test
URL: https://github.com/apache/maven-resolver/issues/2142


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org