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

JCK-122a Corba/DSI failure with Cricket jdk122t

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2
    • other-libs
    • None
    • merlin
    • x86
    • windows_nt
    • Verified

      With the recent Cricket jdk122t build the following test is failing randomly on WinNT systems:

      api/org_omg/CORBA/DSI/DSITest.html#DSI_test_compilation

      The test was recently removed from the JCK-122a exclude-list. It was excluded for Bug 4222997 - which caused the test to fail on all platforms. Now that it has been removed from the exclude-list we are only seeing problems with WinNT platform. Possible race condition?

      The test fails, but not on all of our WinNT machines:

      wescafe (WinNT - dual proc./SP3) - 1 out of 5 times
      daikon (WinNT - SP1) - 1 out of 20 times
      lunar (WinNT - dual proc./SP4) - no failures

      Here's the failing .jtr file:

      ------

      #Test Results
      #Wed May 19 16:14:10 PDT 1999
      description=file:Z:/tests/api/org_omg/CORBA/DSI/DSITest.html#DSI_test_compilation
      testsuite=Z:\\tests
      executeArgs=-server javasoft.sqe.tests.api.org_omg.CORBA.DSI.DSITestServer $StdIDLArgs
      execStatus=Failed. FAILED: details in the log file
      end=Wed May 19 16:14:10 PDT 1999
      work=D:\\t122wescafe122a_JIT_NT\\api\\org_omg\\CORBA\\DSI
      executeClass=javasoft.sqe.tests.api.org_omg.CORBA.DII.DIIClient
      status=Failed. FAILED: details in the log file
      keywords=positive runtime
      start=Wed May 19 16:14:06 PDT 1999
      title=DSI/DII_test_exec
      javatestVersion=JT_2.0_zn
      id=DSI_test_compilation
      file=Z:\\tests\\api\\org_omg\\CORBA\\DSI\\DSITest.html
      name=DSI/DII_test_exec
      sections=testExecute testExecute
      environment=jck-runtime-windowsNT
      source=diiidl.idl dsineg.idl ../DII/DIIClient.java DSINegClient.java servers/DSINegTestImpl.java servers/DSITestImpl.java servers/DSITestServer.java

      test: api\org_omg\CORBA\DSI\DSITest.html#DSI_test_compilation
      script: javasoft.sqe.javatest.lib.JCKScript -runtime
      Executing test class...
      command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=D:\t122wescafe122a_JIT_NT\classes;Z:\tests\..\classes;Z:\javatest.jar;E:/jdk122t\lib\tools.jar;E:/jdk122t\jre\lib\rt.jar;E:/jdk122t\jre\lib\i18n.jar windir=C:\winnt SystemRoot=C:\winnt HOME=C:\WINNT\Profiles\madhava PATH=Z:\tests\..\lib\lib_windowsNT E:\jdk122t\bin\java -Xfuture javasoft.sqe.tests.api.org_omg.CORBA.DII.DIIClient -server javasoft.sqe.tests.api.org_omg.CORBA.DSI.DSITestServer -ORBInitialPort 1234 -classDir D:\t122wescafe122a_JIT_NT\classes
      ----------ref:testExecute(48/1867)----------
      ICSBaseTest : load class javasoft.sqe.tests.api.org_omg.CORBA.DSI.DSITestServer
       ICSBaseTest : parseArgs ...
      ICSBaseTest: init
      ICSBaseTest: init() done !!
      DSI: invoke called, op = in_test_simple
      DSI: invoke called, op = in_out_test_simple
      DII Test#2: Test passed
      DII Test#2: Test passed
      DSI: invoke called, op = inout_test_simple
      DII Test#3: Test Passed
      DSI: invoke called, op = return_test_simple
      DII Test#4: Test Passed
      DSI: invoke called, op = out_test_exception
      DII Test#5: Test Passed
      DSI: invoke called, op = out_test_simple
      DII Test#9: Test Passed
      DSI: invoke called, op = out_test_struct
      DII Test#10: Test Passed
      DSI: invoke called, op = out_test_any
      DII Test#11: Test Passed
      DSI: invoke called, op = inout_test_simple
      DII Test#12: Test Passed
      DSI: invoke called, op = inout_test_simple
      DII Test#13: Test Passed
      DSI: invoke called, op = inout_test_simple
      DSI: invoke called, op = inout_test_simple
      ----Looking for Response--------------
      *******Got response for***inout_test_simple
      DII Test:14 PASSED
      DSI: invoke called, op = inout_test_simple
      DII Test#15: Test Passed
      DSI: invoke called, op = out_test_exception
      DII Test#16: Test Passed
      ----Looking for next Response--------------
      DSI: invoke called, op = inout_test_simple
      DSI: invoke called, op = inout_test_simple
      DSI: invoke called, op = in_out_test_simple
      *******Got response for***inout_test_simple
      inout_test_simple: unexpected exceptionorg.omg.CORBA.Bounds
      *******Got response for***in_out_test_simple
      *******Got response for***inout_test_simple
      DII Test:7--------TEST PASSED---------------------------
      Test8: Multiple Requests Deferred
      Test8: ----Looking for next Response--------------
      DSI: invoke called, op = inout_test_simple
      DII Test#8: #######Test passed#######
      DSI: invoke called, op = inout_test_simple
      DII Test#8: #######Test passed#######
      ----------log:testExecute(53/2584)----------
      Persist : getInitialSrvcs : InitialNamingContext obtained !
      No. of Tests :0
      No. of Errors :0
      DSIserver : run
      DSIserver : dii_intefaceServantImpl object created
      DSIserver : Persistify the dii_intefaceServantImpl object
      DSIserver : DSINegTestImpl object created
      DSIserver : Persistify the DSINegTestImpl object
      DSIserver : passed
      Persist : getInitialSrvcs : InitialNamingContext obtained !
      Persist : get() : name service ...
      in_test_simple: In value: This is a very long string to test how the marshalling code handles long strings when using DII.
      in_test_simple: In value: -1
      Persist : get() : name service ...
      Persist : get() : name service ...
      inout_test_simple: InOut value: inout_test_simple()
      Persist : get() : name service ...
      Persist : get() : name service ...
      Persist : get() : name service ...
      out_test_simple: Out value:
      Persist : get() : name service ...
      Persist : get() : name service ...
      Persist : get() : name service ...
      inout_test_simple: InOut value: inout_test_simple()
      Persist : get() : name service ...
      inout_test_simple: InOut value: This is a very long string to test how the marshalling code handles long strings when using DII.
      Persist : get() : name service ...
      inout_test_simple: InOut value: ONE: inout_test_simple()
      inout_test_simple: InOut value: TWO: inout_test_simple()
      DII Test14: Thread: Thread-0After send_deferred
      Persist : get() : name service ...
      doTest15
      inout_test_simple: InOut value: inout_test_simple()
      Persist : get() : name service ...
      Persist : get() : name service ...
      DII Test7: Thread: mainAfter send_deferred
      inout_test_simple: InOut value: ONE: inout_test_simple()
      inout_test_simple: InOut value: Three: inout_test_simple()
      org.omg.CORBA.Bounds
      at com.sun.CORBA.idl.NVListImpl.item(NVListImpl.java:82)
      at javasoft.sqe.tests.api.org_omg.CORBA.DSI.dii_interfaceServantImpl.inout_test_simple(DSITestImpl.java:189)
      at javasoft.sqe.tests.api.org_omg.CORBA.DSI.dii_interfaceServantImpl.invoke(DSITestImpl.java:91)
      at com.sun.CORBA.idl.GenericCORBAServerSC.dispatch(GenericCORBAServerSC.java:199)
      at com.sun.CORBA.iiop.ORB.process(ORB.java:183)
      at com.sun.CORBA.iiop.WorkerThread.run(WorkerThread.java:68)
      Persist : get() : name service ...
      Test8: DII: Thread: mainAfter send_deferred
      inout_test_simple: InOut value: inout_test_simple()
      test8: *******Got response for***inout_test_simple
      inout_test_simple: InOut value: inout_test_simple()
      test8: *******Got response for***inout_test_simple
      Persist : get() : name service ...
      STATUS:Failed. FAILED: details in the log file
      command result: Failed. FAILED: details in the log file
      test result: Failed. FAILED: details in the log file

      ------

      rick.reynaga@eng 1999-06-12

      Since the bug report was written, both of the machines have had the Service Pack level upgraded. The bug seems to follow the Compaq machines (and not Service Pack Level). We have not been able to reproduce the failure on our Gateway WinNT system.

      Here are updated metrics using latest Cricket jdk122v build and jdk121a (Gnat):

      jdk122v (Cricket)
      -------
      wescafe (WinNT - dual proc./SP4) - test fails 1/5 attempts (Bounds exception)
      daikon (WinNT - SP5) - test hangs (timeouts) 1/8 attempts


      jdk121a (FCS - Gnat)
      -------
      wescafe (WinNT - dual proc./SP4) - not reproducable
      daikon (WinNT - SP5) - test fails 1/30 attempts (Bounds exception)


      What's of concern is that with Cricket build it is not difficult to get one of the machines (daikon) to hang, causing the JCK test to timeout after 10 min.

      -------
      rick.reynaga@eng 1999-07-29

      - Ran the test on one of the failing machines (daikon) 60 times with kestrel jdk13m build. The test passes each time, so the bug seems related to Cricket, JDK1.2.2. Removing the Red tag as this bug apears on Kestrel reports.

            sbauersunw Stefan Bauer (Inactive)
            rreynagasunw Rick Reynaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: