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

Regression test sun/rmi/rmic/newrmic/equivalence/run.sh fails

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris_8

      Description



      Name: aaR10208 Date: 02/02/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b32c (passes with jdk1.5.0-b32a, b32)
      Testbase : Regression-test
      Platform[s] : generic
      switch/Mode : generic
      Falling test[s]: sun/rmi/rmic/newrmic/equivalence/run.sh

      Regression-test sun/rmi/rmic/newrmic/equivalence/run.sh test fails with JDK1.5.0-b32c,
      but passes with b32a, b32.
      Unable to check with jdk1.4.2 as the test uses '-Xnew' rmic option unsupported by 1.4.2.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b32c/ws/j2se/test/sun/rmi/rmic/newrmic/equivalence/run.sh

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32c/regtest/linux/suse8.2_gnome_linux-2/workDir/test/sun/rmi/rmic/newrmic/equivalence/run.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/b32c/binaries/solaris-i586"
      TEST_BASE_PATH="/java/re/jdk/1.5.0/promoted/all/b32/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/b32/binaries/solaris-i586"
      #TEST_BASE_PATH="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b32c/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/linux"
      #TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"


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

      TEST="sun/rmi/rmic/newrmic/equivalence/run.sh"

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


      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(7/2967)----------
      + sh /net/linux-15/export/home/java/regtest.tiger/test/sun/rmi/rmic/newrmic/equivalence/batch.sh /net/linux-15/export/home/results_full/tiger/b32c/regtest/linux/suse8.2_gnome_linux-2/workDir/test/classes/sun/rmi/rmic/newrmic/equivalence AgentServerImpl AppleImpl AppleUserImpl ComputeServerImpl
      CountServerImpl DayTimeServerImpl G1Impl MyObjectImpl NotActivatableServerImpl OrangeEchoImpl OrangeImpl ServerImpl
      + /net/linux-15/export/home/java/jdk1.5.0/linux/bin/rmic -keep -nowrite -v1.1 -d ./ref-v1.1-output -classpath /net/linux-15/export/home/results_full/tiger/b32c/regtest/linux/suse8.2_gnome_linux-2/workDir/test/classes/sun/rmi/rmic/newrmic/equivalence AgentServerImpl AppleImpl AppleUserImpl
      ComputeServerImpl CountServerImpl DayTimeServerImpl G1Impl MyObjectImpl NotActivatableServerImpl OrangeEchoImpl OrangeImpl ServerImpl
      + /net/linux-15/export/home/java/jdk1.5.0/linux/bin/rmic -keep -nowrite -vcompat -d ./ref-vcompat-output -classpath /net/linux-15/export/home/results_full/tiger/b32c/regtest/linux/suse8.2_gnome_linux-2/workDir/test/classes/sun/rmi/rmic/newrmic/equivalence AgentServerImpl AppleImpl AppleUserImpl
      ComputeServerImpl CountServerImpl DayTimeServerImpl G1Impl MyObjectImpl NotActivatableServerImpl OrangeEchoImpl OrangeImpl ServerImpl
      + /net/linux-15/export/home/java/jdk1.5.0/linux/bin/rmic -keep -v1.2 -d ./ref-v1.2-output -classpath /net/linux-15/export/home/results_full/tiger/b32c/regtest/linux/suse8.2_gnome_linux-2/workDir/test/classes/sun/rmi/rmic/newrmic/equivalence AgentServerImpl AppleImpl AppleUserImpl ComputeServerImpl
      CountServerImpl DayTimeServerImpl G1Impl MyObjectImpl NotActivatableServerImpl OrangeEchoImpl OrangeImpl ServerImpl
      + /net/linux-15/export/home/java/jdk1.5.0/linux/bin/rmic -Xnew -nowrite -keep -v1.1 -d ./new-v1.1-output -classpath /net/linux-15/export/home/results_full/tiger/b32c/regtest/linux/suse8.2_gnome_linux-2/workDir/test/classes/sun/rmi/rmic/newrmic/equivalence AgentServerImpl AppleImpl AppleUserImpl
      ComputeServerImpl CountServerImpl DayTimeServerImpl G1Impl MyObjectImpl NotActivatableServerImpl OrangeEchoImpl OrangeImpl ServerImpl
      + /net/linux-15/export/home/java/jdk1.5.0/linux/bin/rmic -Xnew -nowrite -keep -vcompat -d ./new-vcompat-output -classpath /net/linux-15/export/home/results_full/tiger/b32c/regtest/linux/suse8.2_gnome_linux-2/workDir/test/classes/sun/rmi/rmic/newrmic/equivalence AgentServerImpl AppleImpl
      AppleUserImpl ComputeServerImpl CountServerImpl DayTimeServerImpl G1Impl MyObjectImpl NotActivatableServerImpl OrangeEchoImpl OrangeImpl ServerImpl
      + /net/linux-15/export/home/java/jdk1.5.0/linux/bin/rmic -Xnew -keep -v1.2 -d ./new-v1.2-output -classpath /net/linux-15/export/home/results_full/tiger/b32c/regtest/linux/suse8.2_gnome_linux-2/workDir/test/classes/sun/rmi/rmic/newrmic/equivalence AgentServerImpl AppleImpl AppleUserImpl
      ComputeServerImpl CountServerImpl DayTimeServerImpl G1Impl MyObjectImpl NotActivatableServerImpl OrangeEchoImpl OrangeImpl ServerImpl
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1


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


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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peterjones Peter Jones
                Reporter:
                sundrsunw Sundr Sundr (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: