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

Regression-test .../FiniteGCLatency.java fails on Win2003(64)

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description



      Name: vsR10238 Date: 05/13/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b22
      Testbase : Regression-test
      Platform[s] : Windows 2003 Enterprise (64 bit)
      switch/Mode : -server
      Falling test[s]:
              java/rmi/server/Unreferenced/finiteGCLatency/FiniteGCLatency.java

      Regression-test java/rmi/server/Unreferenced/finiteGCLatency/FiniteGCLatency.java test fails on
      Windows 2003 (64 bit) with JDK1.4.2 (tested with b22), JDK1.4.1 (tested with b21).

      The test passes on Windows 2003 (32 bit) (tested with JDK1.4.2-b22).


      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/rmi/server/Unreferenced/finiteGCLatency/FiniteGCLatency.java


      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh
                                                                                                                                 
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="h:/jct-tools/3.1.2"
      JAVA_HOME="c:/j2sdk1.4.2"
      #JAVA_HOME="z:/jdk/1.4.1/promoted/fcs/b21/binaries/windows-ia64"
      TEST_BASE_PATH="z:/jdk/1.4.2/promoted/rc/b22/ws/j2se/test"
                                                                                                                                 
      JEMMY_JAR=h:/Jemmy/jemmy.jar
                                                                                                                                 
      HOST=`uname -n`
                                                                                                                                 
      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME
                                                                                                                                 
      JTOPTS="-server"
      TESTVMOPTS="-server"
                                                                                                                                 
      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"
                                                                                                                                 
      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH
                                                                                                                                 
      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1
                                                                                                                                 
      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
                                                                                                                                 
      cd $WORK_DIR/scratch
                                                                                                                                 
      $JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS \
      -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,\
      DISPLAY=:0,HOME=$HOME/.regtest,SystemRoot=c:/windows,PATH=C:/PROGRA~2/MKSTOO~1/mksnt,CPAPPEND=$JEMMY_JAR,\
      TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= \
      -DDISPLAY=:0 -DlocalHost="$HOST" -Dprogram=jtreg com.sun.javatest.regtest.Main \
      -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t \
      "$TEST_BASE_PATH" \
      "$TEST_BASE_PATH/java/rmi/server/Unreferenced/finiteGCLatency/FiniteGCLatency.java"
                                                                                                                                 
      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(20/1035)----------

      Regression test for bug 4164696

      exported remote object
      created registry
      bound remote object in registry
      unbound remote object from registry; waiting for unreferenced() callback...
      java.lang.RuntimeException: TEST FAILED: unrefereced() not invoked after 50.0 seconds
      at FiniteGCLatency.main(FiniteGCLatency.java:75)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:534)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: TEST FAILED: unrefereced() not invoked after 50.0 seconds
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: TEST FAILED: unrefereced() not invoked after 50.0 seconds
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TEST FAILED: unrefereced() not invoked after 50.0 seconds


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: TEST FAILED: unrefereced() not invoked after 50.0 seconds


      Specific machine info:
      ======================
      Hostname: JCC-ITANIUM-02
      OS: Windows 2003 Enterprise



      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peterjones Peter Jones
              Reporter:
              vshsunw Vsh Vsh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: