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

sample/chatserver/ChatTest.java fails intermittently

XMLWordPrintable

      TESTFAIL:sample/chatserver/ChatTest.java

      The sample/chatserver/ChatTest.java fails in jdk9-b03 single binary run on solaris platform

      #section:main
      ----------messages:(3/105)----------
      command: main ChatTest
      reason: User specified action: run main ChatTest
      elapsed time (seconds): 180.053
      ----------rerun:(21/1901)*----------
      HOME=/Users/aurora \\
      LANG=en_US.UTF-8 \\
      LC_ALL=en_US.UTF-8 \\
      PATH=/bin:/usr/bin \\
      TZ=PST8PDT \\
          /Users/aurora/sandbox_keepme/jdk/bin/java \\
              -Dtest.vm.opts='-ea -esa -Xmx512m' \\
              -Dcompile.jdk=/Users/aurora/sandbox_keepme/jdk \\
              -Dtest.src.path=/Users/aurora/sandbox_keepme/testbase/test/sample/chatserver:/Users/aurora/sandbox_keepme/testbase/src/share/sample/nio/chatserver \\
              -Dtest.src=/Users/aurora/sandbox_keepme/testbase/test/sample/chatserver \\
              -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \\
              -Dtest.class.path=/Users/aurora/sandbox_keepme/results/run_118/testoutput/jdk_other/JTwork/classes/sample/chatserver:/Users/aurora/sandbox_keepme/results/run_118/testoutput/jdk_other/JTwork/src/share/sample/nio/chatserver \\
              -Dtest.timeout.factor=4.0 \\
              -Dtest.classes=/Users/aurora/sandbox_keepme/results/run_118/testoutput/jdk_other/JTwork/classes/sample/chatserver \\
              -Dtest.class.path.prefix=/Users/aurora/sandbox_keepme/results/run_118/testoutput/jdk_other/JTwork/classes/sample/chatserver:/Users/aurora/sandbox_keepme/testbase/test/sample/chatserver:/Users/aurora/sandbox_keepme/results/run_118/testoutput/jdk_other/JTwork/src/share/sample/nio/chatserver \\
              -Dtest.jdk=/Users/aurora/sandbox_keepme/jdk \\
              -Dtest.java.opts= \\
              -Dtest.compiler.opts= \\
              -classpath /Users/aurora/sandbox_keepme/jtreg/lib/javatest.jar:/Users/aurora/sandbox_keepme/jtreg/lib/jtreg.jar:/Users/aurora/sandbox_keepme/jdk/lib/tools.jar:/Users/aurora/sandbox_keepme/results/run_118/testoutput/jdk_other/JTwork/classes/sample/chatserver:/Users/aurora/sandbox_keepme/testbase/test/sample/chatserver:/Users/aurora/sandbox_keepme/results/run_118/testoutput/jdk_other/JTwork/src/share/sample/nio/chatserver:/Users/aurora/sandbox_keepme/jdk/lib/tools.jar \\
              ChatTest
      ----------System.err:(18/1018)----------
      java.lang.NullPointerException
      at sun.nio.ch.UnixAsynchronousSocketChannelImpl.implClose(UnixAsynchronousSocketChannelImpl.java:219)
      at sun.nio.ch.AsynchronousSocketChannelImpl.close(AsynchronousSocketChannelImpl.java:143)
      at sun.nio.ch.Port.closeAllChannels(Port.java:169)
      at sun.nio.ch.AsynchronousChannelGroupImpl.shutdownNow(AsynchronousChannelGroupImpl.java:286)
      at ChatServer.shutdown(ChatServer.java:108)
      at ChatTest.testPortOpen(ChatTest.java:75)
      at ChatTest.main(ChatTest.java:46)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:484)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:754)
      at java.lang.Thread.run(Thread.java:744)

      JavaTest Message: Test threw exception: java.lang.NullPointerException
      JavaTest Message: shutting down test

      result: Error. Error while cleaning up threads after test


      test result: Error. Error while cleaning up threads after test

            bchristi Brent Christian
            ewang Eric Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: