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

Regression test java/nio/Selector/BasicAccept.java failing

XMLWordPrintable

    • beta2
    • generic, sparc
    • generic, solaris_7
    • Verified

      naveena.suryadevara@Eng 2001-03-29

      JDK version: merlin beta build # 57
      Regression test: java/nio/channels/Selector/BasicAccept.java
                        java/nio/channels/Selector/SelectorTest.java
      Failing on OS: solaris,windows,linux solIA

      Note: both tests are failing for the reason " cannot resolve symbol "TestThread" in the code. looks like a test case bug.
             
      Output from test runs:
      ---------------------
      #section:script_messages
      ----------messages:(1/100)----------
      JDK under test: java full version "1.4.0-beta-b57" (/net/sqesvr/export/st1/jdk14-beta/b57/solsparc)

      #section:build
      ----------messages:(3/98)----------
      command: build BasicAccept
      reason: Named class compiled on demand
      elapsed time (seconds): 10.414
      result: Failed. Compilation failed

      #section:compile
      ----------messages:(3/197)----------
      command: compile /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/BasicAccept.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 10.405
      ----------System.out:(0/0)----------
      ----------System.err:(51/2604)----------
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:84: cannot resolve symbol
      symbol : class TestThread
      location: class SelectorTest.Client
          static class Client extends TestThread {
                                      ^
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:111: cannot resolve symbol
      symbol : class TestThread
      location: class SelectorTest.Server
          static class Server extends TestThread {
                                      ^
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:38: cannot resolve symbol
      symbol : method start ()
      location: class SelectorTest.Server
                  server.start();
                        ^
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:41: cannot resolve symbol
      symbol : method start ()
      location: class SelectorTest.Client
                  client.start();
                        ^
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:42: cannot resolve symbol
      symbol : method finish (int)
      location: class SelectorTest.Server
                  if ((server.finish(20000) & client.finish(20000)) == 0)
                             ^
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:42: cannot resolve symbol
      symbol : method finish (int)
      location: class SelectorTest.Client
                  if ((server.finish(20000) & client.finish(20000)) == 0)
                                                    ^
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:53: cannot resolve symbol
      symbol : method start ()
      location: class SelectorTest.Server
                  server.start();
                        ^
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:54: cannot resolve symbol
      symbol : method finish (int)
      location: class SelectorTest.Server
                  if (server.finish(20000) == 0)
                            ^
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:70: cannot resolve symbol
      symbol : method start ()
      location: class SelectorTest.Client
                  client.start();
                        ^
      /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b57/java/nio/Selector/SelectorTest.java:71: cannot resolve symbol
      symbol : method finish (int)
      location: class SelectorTest.Client
                  if (client.finish(20000) == 0)
                            ^
      10 errors
      result: Failed. Compilation failed


      test result: Failed. Compilation failed
      ///////////////////////////////////////

      al.smith@eng 2001-05-10

      Regression test java/nio/Selector/BasicAccept.java fails with Merlin build build 63 on sol2.7, host shallots. This test intermittently fails & passes. This test fails when run alone or part of the suite. If there are any questions, please contace me.
       For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html

      #Test Results (version 2)
      #Thu May 03 12:43:19 PDT 2001
      #checksum:328ed444ed1591f0
      #-----testdescription-----
      $file=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63/java/nio/Selector/BasicAccept.java
      $root=/net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63
      library=..
      run=ASSUMED_ACTION main BasicAccept\n
      source=BasicAccept.java
      title=Test Selector with ServerSocketChannels

      #-----environment-----

      #-----testresult-----
      description=file:///net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63/java/nio/Selector/BasicAccept.java
      end=Thu May 03 12:43:19 PDT 2001
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Connect not yet invoked
      javatestOS=SunOS 5.7 (sparc)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Thu May 03 12:43:09 PDT 2001
      status=Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Connect not yet invoked
      test=java/nio/Selector/BasicAccept.java
      work=/export0/results/regression/merlin/b63/shallots5.7-jth13-jdk14b63.05-03.10.03-ALL/java/nio/Selector

      #section:script_messages
      ----------messages:(4/225)----------
      JDK under test: (/net/sqesvr/export/st1/jdk14-beta/b63/solsparc)
      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b63)
      Java HotSpot(TM) Client VM (build 1.4.0-beta-b63, mixed mode)

      #section:build
      ----------messages:(3/97)----------
      command: build BasicAccept
      reason: Named class compiled on demand
      elapsed time (seconds): 6.261
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/195)----------
      command: compile /net/sqesvr/export/st1/regression/merlin/jdk1.4Tests/tests/b63/java/nio/Selector/BasicAccept.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 6.25
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/120)----------
      command: main BasicAccept
      reason: Assumed action based on file name: run main BasicAccept
      elapsed time (seconds): 3.78
      ----------System.out:(0/0)----------
      ----------System.err:(14/813)----------
      java.lang.IllegalStateException: Connect not yet invoked
      at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:214)
      at BasicAccept.main(BasicAccept.java:38)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:30)
      at sun.reflect.InflatableMethodAccessorImpl.invoke(InflatableMethodAccessorImpl.java:48)
      at java.lang.reflect.Method.invoke(Method.java:306)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:579)

      JavaTest Message: Test threw exception: java.lang.IllegalStateException: Connect not yet invoked
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Connect not yet invoked
      result: Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Connect not yet invoked

      test result: Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Connect not yet invoked

      //////////////////////////////////
      al.smith@eng 2001-06-01

      Putbacks in b64 apparently did not make it into b66. This failure does not verify in Merlin build 66 with Solaris 7. Probably due to the timing issue, this test almost perfectly alternates between pass and fail.

            mmcclosksunw Michael Mccloskey (Inactive)
            nsuryadesunw Naveena Suryadevara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: