eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 722 forks source link

JTreg test fail : java/rmi/server/RemoteServer/AddrInUse.java #3377

Open ben-walsh opened 6 years ago

ben-walsh commented 6 years ago

Test https://github.com/ibmruntimes/openj9-openjdk-jdk11/blob/openj9/test/jdk/java/rmi/server/RemoteServer/AddrInUse.java fails with ...

Regression test for bug 4111507

Created a ServerSocket on port 45118...
create a registry on the same port...
(should cause an ExportException)
java.lang.RuntimeException: TEST FAILED: export on already-bound port succeeded
    at AddrInUse.main(AddrInUse.java:91)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
    at java.base/java.lang.Thread.run(Thread.java:825)

Test passes against Hotspot.

Log archive : AddrInUseProb.tar.gz

adam-thorpe commented 4 years ago

Update on the issue, it still occurs. It is a consistent failure on all platforms, all jdk versions