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

TEST_BUG: regtest java/rmi/activation/Activatable/shutdownGracefully/ShutdownG

    XMLWordPrintable

Details

    • b29
    • generic
    • solaris_10
    • Verified

    Description



      Name: icR10030 Date: 11/04/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b26
      Testbase : Regression-test
      Platform[s] : Solaris 10 (sparc), Solaris 10 (x86)
      switch/Mode :
      Falling test[s]:
               java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java

      Regression-test java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java test fails
      with JDK1.5.0-b22/23/24/25/26 in Solaris 10 only (both x86 and sparc).
      The test passes in other Solaris (both x86 and sparc).
      The test passes with JDK1.5.0-b20, JDK1.4.2-b28.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b24/ws/j2se/test/java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b24/regtest/sparc/sol10_sparc_cde_linux-8/workDir/test/java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.jtr

      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

      #Paths in Java Software:
      JT_HOME="/java/re/jct-tools/3.1.2/archive/fcs/binaries"
      JEMMY_JAR="/net/jdk/export/jpse04/Jemmy/jemmy.jar"
      JAVA_HOME="/java/re/jdk/1.5.0/promoted/all/b24/binaries/solaris-sparc"
      TEST_BASE_PATH="/java/re/jdk/1.5.0/promoted/all/b24/ws/j2se/test"

      #Alternative paths outside Java Software:
      #JT_HOME="/net/koori.sfbay/onestop/jct-tools/3.1.2/archive/fcs/binaries"
      #JEMMY_JAR="/net/jdk/export/jpse04/Jemmy/jemmy.jar"
      #JAVA_HOME="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b24/binaries/solaris-sparc"
      #TEST_BASE_PATH="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b24/ws/j2se/test"

      #Alternative paths for the NSK site:
      #JT_HOME="/net/linux-15/export/home/java/jct"
      #JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
      #JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/sparc"
      #TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"


      TESTVMOPTS=""
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"

      TEST="java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java"

      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 -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-8" -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/$TEST"

      --- script end ---

      Script output:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/231)----------
      command: compile /net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully/../../../testlibrary/RMID.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 11.108
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/232)----------
      command: compile /net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully/../../../testlibrary/JavaVM.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 8.395
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/236)----------
      command: compile /net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully/../../../testlibrary/StreamPipe.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 7.528
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/126)----------
      command: build TestSecurityManager
      reason: User specified action: run build TestSecurityManager
      elapsed time (seconds): 7.4
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/224)----------
      command: compile /net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully/TestSecurityManager.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 7.392
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/134)----------
      command: build RegisteringActivatable
      reason: User specified action: run build RegisteringActivatable
      elapsed time (seconds): 6.708
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/227)----------
      command: compile /net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully/RegisteringActivatable.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 6.705
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/126)----------
      command: build ShutdownGracefully
      reason: User specified action: run build ShutdownGracefully
      elapsed time (seconds): 8.843
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/223)----------
      command: compile /net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 8.839
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/136)----------
      command: build ShutdownGracefully_Stub
      reason: User specified action: run build ShutdownGracefully_Stub
      elapsed time (seconds): 7.822
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/228)----------
      command: compile /net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully_Stub.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 7.817
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/105)----------
      command: build ShutdownGracefully
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0030
      result: Passed. No need to compile: ShutdownGracefully.java

      #section:main
      ----------messages:(3/168)----------
      command: main ShutdownGracefully
      reason: User specified action: run main/othervm/policy=security.policy/timeout=700 ShutdownGracefully
      elapsed time (seconds): 421.825
      ----------System.out:(0/0)----------
      ----------System.err:(26/2252)----------

      Regression test for bug/rfe 4183169

      RMID: starting rmid...
      JAVAVM: command = /net/linux-15/export/home/java/jdk1.5.0/sparc/jre/bin/java
      -Djava.security.policy=/net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully/rmid.security.policy
      -Djava.security.manager=TestSecurityManager -Dsun.rmi.activation.snapshotInterval=1 -Dsun.rmi.server.activation.debugExec=true
      -Dtest.src=/net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully
      -Dtest.classes=/net/linux-15/export/home/results_full/tiger/b24/regtest/sparc/sol10_sparc_cde_linux-8/workDir/test/classes/java/rmi/activation/Activatable/shutdownGracefully
      -Djava.rmi.server.logLevel=v sun.rmi.server.Activation -log
      /net/linux-15/export/home/results_full/tiger/b24/regtest/sparc/sol10_sparc_cde_linux-8/workDir/test/scratch/./log -port 1098
      -C-Dtest.src=/net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/shutdownGracefully
      -C-Dtest.classes=/net/linux-15/export/home/results_full/tiger/b24/regtest/sparc/sol10_sparc_cde_linux-8/workDir/test/classes/java/rmi/activation/Activatable/shutdownGracefully

      JAVAVM: finished starting vm.
      waiting for rmid to shutdown
      rmid has shutdown
      TEST FAILED: rmid did not shutdown gracefully in time
      TEST FAILED: exception waiting for rmid to shut down
      TestFailedException: TEST FAILED: exception waiting for rmid to shut down
      at TestLibrary.bomb(TestLibrary.java:71)
      at TestLibrary.bomb(TestLibrary.java:74)
      at ShutdownGracefully.main(ShutdownGracefully.java:171)
      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:549)

      JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: exception waiting for rmid to shut down
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: TestFailedException: TEST FAILED: exception waiting for rmid to shut down
      result: Failed. Execution failed: `main' threw exception: TestFailedException: TEST FAILED: exception waiting for rmid to shut down


      test result: Failed. Execution failed: `main' threw exception: TestFailedException: TEST FAILED: exception waiting for rmid to shut down


      Specific machine info:
      ======================
      Hostname: linux-8
      OS: Solaris 10 (sparc)
      Hostname: linux-18
      OS: Solaris 10 (x86)



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

      Attachments

        Issue Links

          Activity

            People

              peterjones Peter Jones
              ichesunw Iche Iche (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: