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

ThreadSuspendTest fails with -classic option but passes with -server

XMLWordPrintable

    • x86
    • windows_vista

      #############################################################
      The test fails when -classic is used, see test output below:
      #############################################################

      [2008-02-14T13:58:51.82] export RMIC
      [2008-02-14T13:58:51.82] export JAVA
      [2008-02-14T13:58:51.82] export JAVA_HOME
      [2008-02-14T13:58:51.82] export COMPUTERNAME
      [2008-02-14T13:58:51.82] export SHELL
      [2008-02-14T13:58:51.82] export DISPLAY
      [2008-02-14T13:58:51.82] export SYSTEMROOT
      [2008-02-14T13:58:51.82] export LOGONSERVER
      [2008-02-14T13:58:51.82] export ROOTDIR
      [2008-02-14T13:58:51.82] export HOME
      [2008-02-14T13:58:51.82] export JAVA_G
      [2008-02-14T13:58:51.82] export CLASSPATH
      [2008-02-14T13:58:51.82] export JAVAC
      [2008-02-14T13:58:51.82] export WINDIR
      [2008-02-14T13:58:51.82] export PATH
      [2008-02-14T13:58:51.82]
      [2008-02-14T13:58:51.82]
      [2008-02-14T13:58:51.82] # Dtonga sync function sub.
      [2008-02-14T13:58:51.82] cwd=`echo $0 | sed 's/[^\/]*.tlog//'`
      [2008-02-14T13:58:51.82]
      [2008-02-14T13:58:51.82] dt_wait () {
      [2008-02-14T13:58:51.82] # Is not emplemented yet
      [2008-02-14T13:58:51.82] sleep 5
      [2008-02-14T13:58:51.82] }
      [2008-02-14T13:58:51.82] dt_post () {
      [2008-02-14T13:58:51.82] # Is not emplemented yet
      [2008-02-14T13:58:51.82] echo $@
      [2008-02-14T13:58:51.82] }
      [2008-02-14T13:58:51.82]
      [2008-02-14T13:58:51.82] dt_kill () {
      [2008-02-14T13:58:51.82] # Is not emplemented yet
      [2008-02-14T13:58:51.82] echo $@
      [2008-02-14T13:58:51.82] }
      [2008-02-14T13:58:51.82]
      [2008-02-14T13:58:51.82]
      [2008-02-14T13:58:51.82] # Dtonga deploy function sub.
      [2008-02-14T13:58:51.82] deploy () {
      [2008-02-14T13:58:51.82] rsh $1 sh -s << --EOF--
      [2008-02-14T13:58:51.82] `cat ${cwd}/${2}/${3}.tlog`
      [2008-02-14T13:58:51.82] --EOF--
      [2008-02-14T13:58:51.82] }
      [2008-02-14T13:58:51.82]
      [2008-02-14T13:58:51.82] TEST_DEST_DIR="ThreadSuspendTest"
      [2008-02-14T13:58:51.93] # Actual: TEST_DEST_DIR=ThreadSuspendTest
      [2008-02-14T13:58:51.93] TESTNAME="${test_case_name}"
      [2008-02-14T13:58:51.93] # Actual: TESTNAME=ThreadSuspendTest
      [2008-02-14T13:58:51.93] testName="misc/threads//ThreadSuspendTest"
      [2008-02-14T13:58:51.93] # Actual: testName=misc/threads//ThreadSuspendTest
      [2008-02-14T13:58:51.93] TESTDIR="${test_work_dir}"
      [2008-02-14T13:58:51.93] # Actual: TESTDIR=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest
      [2008-02-14T13:58:51.93] testWorkDir="${test_work_dir}/"
      [2008-02-14T13:58:51.93] # Actual: testWorkDir=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest/
      [2008-02-14T13:58:51.93] export testWorkDir
      [2008-02-14T13:58:51.93] tlogOutFile="${test_work_dir}/${test_name}.tlog"
      [2008-02-14T13:58:51.93] # Actual: tlogOutFile=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest/ThreadSuspendTest.tlog
      [2008-02-14T13:58:51.93] testErrFile="${test_work_dir}/${test_name}.err"
      [2008-02-14T13:58:51.93] # Actual: testErrFile=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest/ThreadSuspendTest.err
      [2008-02-14T13:58:51.93] EXECUTE_CLASS="${test_name}"
      [2008-02-14T13:58:51.93] # Actual: EXECUTE_CLASS=ThreadSuspendTest
      [2008-02-14T13:58:51.93] APPLICATION_TIMEOUT="${TIMEOUT}"
      [2008-02-14T13:58:51.93] # Actual: APPLICATION_TIMEOUT=10
      [2008-02-14T13:58:51.93] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
      [2008-02-14T13:58:51.93] # Actual: CLASSPATH=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest;.;Y:/VM/testbase/testbase_vm/links/jck118/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck118/classes;Y:/VM/testbase/testbase_vm/links/jck12;Y:/VM/testbase/testbase_vm/links/jck12/JCK-runtime-api-12a/classes;Y:/VM/testbase/testbase_vm/links/jck12/JCK-runtime-api-12a/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck12/JCK-compiler-12a/classes;Y:/VM/testbase/testbase_vm/links/jck12/JCK-compiler-12a/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck12/JCK-runtime-lang-12a/classes;Y:/VM/testbase/testbase_vm/links/jck12/JCK-runtime-lang-12a/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck13;Y:/VM/testbase/testbase_vm/links/jck13/JCK-runtime-13a/classes;Y:/VM/testbase/testbase_vm/links/jck13/JCK-runtime-13a/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck13/JCK-compiler-13a/classes;Y:/VM/testbase/testbase_vm/links/jck13/JCK-compiler-13a/javatest.jar
      [2008-02-14T13:58:51.93] export CLASSPATH
      [2008-02-14T13:58:51.93] PATH="${PATH}${PS}${LD_LIBRARY_PATH}"
      [2008-02-14T13:58:51.93] # Actual: PATH=C:/MKS/bin;C:/MKS/bin/X11;C:/MKS/mksnt;C:/Windows/system32;C:/Windows;C:/Windows/Sbem;
      [2008-02-14T13:58:51.93] export PATH
      [2008-02-14T13:58:51.93] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS} 1>${test_work_dir}/${test_name}.eout
      [2008-02-14T13:58:51.93] # Actual: C:/jdk1.3.1_15/bin/java -classic ThreadSuspendTest
      [2008-02-14T13:58:51.93] # Test level exit status: 151
      [2008-02-14T14:08:51.96] [C:/131_VM/WORK_CLASSIC/Administrator.Windows_Vista.x86/ThreadSuspendTest]

      ################################################################
      The test Passes when -server is used, see test output below:
      ################################################################

      [2008-02-14T13:55:08.37] export RMIC
      [2008-02-14T13:55:08.37] export JAVA
      [2008-02-14T13:55:08.37] export JAVA_HOME
      [2008-02-14T13:55:08.37] export COMPUTERNAME
      [2008-02-14T13:55:08.37] export SHELL
      [2008-02-14T13:55:08.37] export DISPLAY
      [2008-02-14T13:55:08.37] export SYSTEMROOT
      [2008-02-14T13:55:08.37] export LOGONSERVER
      [2008-02-14T13:55:08.37] export ROOTDIR
      [2008-02-14T13:55:08.37] export HOME
      [2008-02-14T13:55:08.37] export JAVA_G
      [2008-02-14T13:55:08.37] export CLASSPATH
      [2008-02-14T13:55:08.37] export JAVAC
      [2008-02-14T13:55:08.37] export WINDIR
      [2008-02-14T13:55:08.37] export PATH
      [2008-02-14T13:55:08.37]
      [2008-02-14T13:55:08.37]
      [2008-02-14T13:55:08.37] # Dtonga sync function sub.
      [2008-02-14T13:55:08.37] cwd=`echo $0 | sed 's/[^\/]*.tlog//'`
      [2008-02-14T13:55:08.37]
      [2008-02-14T13:55:08.37] dt_wait () {
      [2008-02-14T13:55:08.37] # Is not emplemented yet
      [2008-02-14T13:55:08.37] sleep 5
      [2008-02-14T13:55:08.37] }
      [2008-02-14T13:55:08.37] dt_post () {
      [2008-02-14T13:55:08.37] # Is not emplemented yet
      [2008-02-14T13:55:08.37] echo $@
      [2008-02-14T13:55:08.37] }
      [2008-02-14T13:55:08.37]
      [2008-02-14T13:55:08.37] dt_kill () {
      [2008-02-14T13:55:08.37] # Is not emplemented yet
      [2008-02-14T13:55:08.37] echo $@
      [2008-02-14T13:55:08.37] }
      [2008-02-14T13:55:08.37]
      [2008-02-14T13:55:08.37]
      [2008-02-14T13:55:08.37] # Dtonga deploy function sub.
      [2008-02-14T13:55:08.37] deploy () {
      [2008-02-14T13:55:08.37] rsh $1 sh -s << --EOF--
      [2008-02-14T13:55:08.37] `cat ${cwd}/${2}/${3}.tlog`
      [2008-02-14T13:55:08.37] --EOF--
      [2008-02-14T13:55:08.37] }
      [2008-02-14T13:55:08.37]
      [2008-02-14T13:55:08.37] TEST_DEST_DIR="ThreadSuspendTest"
      [2008-02-14T13:55:08.48] # Actual: TEST_DEST_DIR=ThreadSuspendTest
      [2008-02-14T13:55:08.48] TESTNAME="${test_case_name}"
      [2008-02-14T13:55:08.48] # Actual: TESTNAME=ThreadSuspendTest
      [2008-02-14T13:55:08.48] testName="misc/threads//ThreadSuspendTest"
      [2008-02-14T13:55:08.48] # Actual: testName=misc/threads//ThreadSuspendTest
      [2008-02-14T13:55:08.48] TESTDIR="${test_work_dir}"
      [2008-02-14T13:55:08.48] # Actual: TESTDIR=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest
      [2008-02-14T13:55:08.48] testWorkDir="${test_work_dir}/"
      [2008-02-14T13:55:08.48] # Actual: testWorkDir=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest/
      [2008-02-14T13:55:08.48] export testWorkDir
      [2008-02-14T13:55:08.48] tlogOutFile="${test_work_dir}/${test_name}.tlog"
      [2008-02-14T13:55:08.48] # Actual: tlogOutFile=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest/ThreadSuspendTest.tlog
      [2008-02-14T13:55:08.48] testErrFile="${test_work_dir}/${test_name}.err"
      [2008-02-14T13:55:08.48] # Actual: testErrFile=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest/ThreadSuspendTest.err
      [2008-02-14T13:55:08.48] EXECUTE_CLASS="${test_name}"
      [2008-02-14T13:55:08.48] # Actual: EXECUTE_CLASS=ThreadSuspendTest
      [2008-02-14T13:55:08.48] APPLICATION_TIMEOUT="${TIMEOUT}"
      [2008-02-14T13:55:08.48] # Actual: APPLICATION_TIMEOUT=30
      [2008-02-14T13:55:08.48] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
      [2008-02-14T13:55:08.48] # Actual: CLASSPATH=C:/131_VM/WORK/Administrator.Windows_Vista.x86/ThreadSuspendTest;.;Y:/VM/testbase/testbase_vm/links/jck118/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck118/classes;Y:/VM/testbase/testbase_vm/links/jck12;Y:/VM/testbase/testbase_vm/links/jck12/JCK-runtime-api-12a/classes;Y:/VM/testbase/testbase_vm/links/jck12/JCK-runtime-api-12a/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck12/JCK-compiler-12a/classes;Y:/VM/testbase/testbase_vm/links/jck12/JCK-co
      mpiler-12a/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck12/JCK-runtime-lang-12a/classes;Y:/VM/testbase/testbase_vm/links/jck12/JCK-runtime-lang-12a/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck13;Y:/VM/testbase/testbase_vm/links/jck13/JCK-runtime-13a/classes;Y:/VM/testbase/testbase_vm/links/jck13/JCK-runtime-13a/javatest.jar;Y:/VM/testbase/testbase_vm/links/jck13/JCK-compiler-13a/classes;Y:/VM/testbase/testbase_vm/links/jck13/JCK-compiler-13a/javatest.jar
      [2008-02-14T13:55:08.48] export CLASSPATH
      [2008-02-14T13:55:08.48] PATH="${PATH}${PS}${LD_LIBRARY_PATH}"
      [2008-02-14T13:55:08.48] # Actual: PATH=C:/MKS/bin;C:/MKS/bin/X11;C:/MKS/mksnt;C:/Windows/system32;C
      :/Windows;C:/Windows/Sbem;
      [2008-02-14T13:55:08.48] export PATH
      [2008-02-14T13:55:08.48] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS} 1>${test_work_dir}/${test_name}.eout
      [2008-02-14T13:55:08.48] # Actual: C:/jdk1.3.1_15/bin/java -server ThreadSuspendTest
      [2008-02-14T13:55:08.48] STATUS:Passed. OKAY
      [2008-02-14T13:55:08.96] # Test level exit status: 95
      [2008-02-14T13:55:09.07] [C:/131_VM/WORK_SERVER/Administrator.Windows_Vista.x86/ThreadSuspendTest]


      The test Passes when tested on WindowsXpPro.

            Unassigned Unassigned
            amoote Abdulkadir Moote (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: