Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8169363

TEST_BUG: java/rmi/activation/Activatable tests fail due to "java.net.SocketException: Operation not supported on transport endpoint"

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      solaris

      Description

      java/rmi/activation/Activatable/restartLatecomer/RestartLatecomer.java
      java/rmi/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.java




      ----------System.out:(4/72)----------

      Regression test for bug 4526514

      RMIDSelectorProvider.inheritedChannel
      ----------System.err:(55/5065)----------
      RMID: Starting rmid on port 0.
      JAVAVM: command = [/scratch/export/home/aurora/sandbox_keepme/jdk/bin/java, -ea, -esa, -Xmx512m, -Djava.security.policy=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/activation/Activatable/restartLatecomer/rmid.security.policy, -Dsun.rmi.server.activation.debugExec=true, -Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/activation/Activatable/restartLatecomer, -Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_30/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/restartLatecomer, -Djava.rmi.server.logLevel=v, -Dsun.rmi.activation.execTimeout=60000, -classpath, /scratch/export/home/aurora/sandbox_keepme/results/run_30/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/restartLatecomer:/scratch/export/home/aurora/sandbox_keepme/results/run_30/tier3/JTwork/jdk_test/classes/5/java/rmi/testlibrary, --add-exports=java.base/sun.nio.ch=ALL-UNNAMED, -Djava.nio.channels.spi.SelectorProvider=RMIDSelectorProvider, -Dsun.rmi.server.activation.disableErrRedirect=true, sun.rmi.server.Activation, -log, /scratch/export/home/aurora/sandbox_keepme/results/run_30/tier3/JTwork/jdk_test/scratch/8/./log, -C-Dtest.src=/scratch/export/home/aurora/sandbox_keepme/testbase/jdk/test/java/rmi/activation/Activatable/restartLatecomer, -C-Dtest.classes=/scratch/export/home/aurora/sandbox_keepme/results/run_30/tier3/JTwork/jdk_test/classes/5/java/rmi/activation/Activatable/restartLatecomer, -C-ea, -C-esa, -C-Xmx512m, -C-Djava.rmi.server.useCodebaseOnly=false]
      Activation.main: an exception occurred: java.security.PrivilegedActionException: java.net.SocketException: Operation not supported on transport endpoint
      java.security.PrivilegedActionException: java.net.SocketException: Operation not supported on transport endpoint
      at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
      at sun.rmi.server.Activation.main(java.rmi@9-ea/Activation.java:1957)
      Caused by: java.net.SocketException: Operation not supported on transport endpoint
      at sun.nio.ch.Net.listen(java.base@9-ea/Native Method)
      at sun.nio.ch.ServerSocketChannelImpl.bind(java.base@9-ea/ServerSocketChannelImpl.java:226)
      at java.nio.channels.ServerSocketChannel.bind(java.base@9-ea/ServerSocketChannel.java:157)
      at RMIDSelectorProvider.inheritedChannel(RMIDSelectorProvider.java:101)
      at java.lang.System.inheritedChannel(java.base@9-ea/System.java:276)
      at sun.rmi.server.Activation$2.run(java.rmi@9-ea/Activation.java:1960)
      at sun.rmi.server.Activation$2.run(java.rmi@9-ea/Activation.java:1958)
      ... 2 more
      RMID: Started rmid on port 0.
      TEST FAILED: Rmid process exited with status 1 after 102ms.
      TEST FAILED:
      Test failed with: TEST FAILED: Rmid process exited with status 1 after 102ms.
      TestFailedException: TEST FAILED: Rmid process exited with status 1 after 102ms.
      at TestLibrary.bomb(TestLibrary.java:121)
      at TestLibrary.bomb(TestLibrary.java:124)
      at RMID.start(RMID.java:312)
      at RMID.start(RMID.java:271)
      at RestartLatecomer.main(RestartLatecomer.java:171)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:537)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)
      RMID: shutdown()
      RMID: lookupSystem() returned null after 158ms.
      RMID: Destroying RMID process.
      RMID: Destroy successful after 162ms.
      TestFailedException: TEST FAILED: ; nested exception is:
      TestFailedException: TEST FAILED: Rmid process exited with status 1 after 102ms.
      TestFailedException: TEST FAILED: Rmid process exited with status 1 after 102ms.
      at TestLibrary.bomb(TestLibrary.java:121)
      at TestLibrary.bomb(TestLibrary.java:124)
      at RMID.start(RMID.java:312)
      at RMID.start(RMID.java:271)
      at RestartLatecomer.main(RestartLatecomer.java:171)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:537)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-ea/Thread.java:844)

      JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: ; nested exception is:
      TestFailedException: TEST FAILED: Rmid process exited with status 1 after 102ms.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: ; nested exception is: TestFailedException: TEST FAILED: Rmid process exited with status 1 after 102ms.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              msheppar Mark Sheppard
              Reporter:
              mli Hamlin Li
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated: