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

TEST_BUG: 22 Regression-test java/rmi/activation/ fails in Solaris 10

XMLWordPrintable

    • b29
    • x86, sparc
    • solaris_10
    • Verified



      Name: icR10030 Date: 10/29/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b23, b24, b25
      Testbase : Regression-test
      Platform[s] : Solaris 10 (sparc), Solaris 10 (x86)
      switch/Mode :
      Falling test[s]:
      java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java
      java/rmi/activation/Activatable/checkAnnotations/CheckAnnotations.java
      java/rmi/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.java
      java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java
      java/rmi/activation/Activatable/createPrivateActivable/CreatePrivateActivatable.java
      java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java
      java/rmi/activation/Activatable/downloadSecurityManager/DownloadSecurityManager.java
      java/rmi/activation/Activatable/elucidateNoSuchMethod/ElucidateNoSuchMethod.java
      java/rmi/activation/Activatable/forceLogSnapshot/ForceLogSnapshot.java
      java/rmi/activation/Activatable/inactiveGroup/InactiveGroup.java
      java/rmi/activation/Activatable/nestedActivate/NestedActivate.java
      java/rmi/activation/Activatable/nonExistentActivatable/NonExistentActivatable.java
      java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java
      java/rmi/activation/Activatable/restartLatecomer/RestartLatecomer.java
      java/rmi/activation/Activatable/restartService/RestartService.java
      java/rmi/activation/Activatable/unregisterInactive/UnregisterInactive.java
      java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java
      java/rmi/activation/ActivationGroupDesc/useExecPolicy/UseDefaultExecPolicy.java
      java/rmi/activation/ActivationGroupDesc/useExecPolicy/UseExecPolicy.java
      java/rmi/activation/ActivationSystem/activeGroup/IdempotentActiveGroup.java
      java/rmi/activation/ActivationSystem/modifyDescriptor/ModifyDescriptor.java
      java/rmi/activation/ActivationSystem/unregisterGroup/UnregisterGroup.java


      22 Regression-test java/rmi/activation/* test fails with JDK1.5.0-b23, b24, b25 in Solaris 10 only
      The tests pass in jdk1.5.0-b20

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b24/ws/j2se/test/java/rmi/activation/ActivationSystem/activeGroup/IdempotentActiveGroup.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/ActivationSystem/activeGroup/IdempotentActiveGroup.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/ActivationSystem/activeGroup/IdempotentActiveGroup.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/229)----------
      command: compile /net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/ActivationSystem/activeGroup/../../../testlibrary/RMID.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 10.589
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:build
      ----------messages:(3/133)----------
      command: build IdempotentActiveGroup
      reason: User specified action: run build IdempotentActiveGroup
      elapsed time (seconds): 0.0030
      result: Passed. No need to compile: IdempotentActiveGroup.java

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

      #section:main
      ----------messages:(3/172)----------
      command: main IdempotentActiveGroup
      reason: User specified action: run main/othervm/policy=security.policy/timeout=480 IdempotentActiveGroup
      elapsed time (seconds): 18.04
      ----------System.out:(0/0)----------
      ----------System.err:(24/2036)----------

      Regression test for bug 4720528

      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/ActivationSystem/activeGroup/rmid.security.policy
      -Dsun.rmi.server.activation.debugExec=true -Dtest.src=/net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/ActivationSystem/activeGroup
      -Dtest.classes=/net/linux-15/export/home/results_full/tiger/b24/regtest/sparc/sol10_sparc_cde_linux-8/workDir/test/classes/java/rmi/activation/ActivationSystem/activeGroup
      -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/ActivationSystem/activeGroup
      -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/ActivationSystem/activeGroup

      # Activation.main: warning: sun.rmi.activation.execPolicy system
      # property unspecified and no ExecPermissions/ExecOptionPermissions
      # granted; subsequent activation attempts may fail due to unsuccessful
      # ExecPermission/ExecOptionPermission permission checks. For
      # documentation on how to configure rmid security, refer to:
      #
      # http://java.sun.com/j2se/1.4/docs/tooldocs/solaris/rmid.html
      # http://java.sun.com/j2se/1.4/docs/tooldocs/win32/rmid.html
      #
      JAVAVM: finished starting vm.
      java.lang.NoClassDefFoundError
      at java.rmi.registry.LocateRegistry.getRegistry(LocateRegistry.java:158)
      at java.rmi.registry.LocateRegistry.getRegistry(LocateRegistry.java:106)
      at java.rmi.Naming.getRegistry(Naming.java:204)
      at java.rmi.Naming.list(Naming.java:182)
      at ActivationLibrary.rmidRunning(ActivationLibrary.java:72)
      at ActivationLibrary$DestroyThread.run(ActivationLibrary.java:172)
      STATUS:Failed.`main' threw exception: java.lang.NoClassDefFoundError
      result: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError


      test result: Failed. Execution failed: `main' threw exception: java.lang.NoClassDefFoundError


      Specific machine info:
      ======================
      Hostname: linux-8
      OS: Solaris 10 (sparc) (CDE)
      SunOS linux-8 5.10 s10_40 sun4u sparc SUNW,Sun-Blade-100

      Hostname: linux-18
      OS: Solaris 10 (x86) (CDE)
      SunOS linux-18 5.10 s10_42 i86pc i386 i86pc


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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: