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

ThreadInterruptTest3 produces wrong output on Windows

    Details

    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      x86
    • OS:
      windows_2000

      Backports

        Description

        While analysing PIT fail results.

        Logs and detailes:

        /net/gtee.sfbay/export/gtee/results/MUSTANG/NIGHTLY/VM-MAIN/2006-11-24/Main_Baseline/vm/WINDOWS-I586/client/mixed/vm-vm_6.0_client_mixed_WINDOWS-I5862006-11-24-19-54-36

        http://gtee.sfbay/gtee/results/MUSTANG/NIGHTLY/VM-MAIN/2006-11-24/Main_Baseline/vm/WINDOWS-I586/client/mixed/vm-vm_6.0_client_mixed_WINDOWS-I5862006-11-24-19-54-36/analysis.html

        HOSTNAME=VM-X86-3



        It looks like some of join() calls was not invoked (look for **++** in *.diff) and not syncronized.

        There is the same bug with -server mode:

        Details:

        /net/gtee.sfbay/export/gtee/results/MUSTANG/NIGHTLY/VM-MAIN/2006-11-24/Main_Baseline/vm/WINDOWS-I586/server/mixed/vm-vm_6.0_server_mixed_WINDOWS-I5862006-11-24-19-48-11

        http://gtee.sfbay/gtee/results/MUSTANG/NIGHTLY/VM-MAIN/2006-11-24/Main_Baseline/vm/WINDOWS-I586/server/mixed/vm-vm_6.0_server_mixed_WINDOWS-I5862006-11-24-19-48-11/analysis.html
        HOSTNAME=KARISHMA
        The test re-surfaced again in the U1 testing & here is the results file

        http://gtee.sfbay.sun.com/gtee/results/MUSTANG_UR/PROMOTION/VM-WEEKLY/1.6.0_01-b04-070215143730/vm/64BITWIN03-AMD64/server/batch/vm-vm_6.0_server_batch_64BITWIN03-AMD642007-02-15-14-38-51/analysis.html#New_Failures

        I wasnt able to reproduce it always but out of 4 turns I was able to reproduce it once.

        Here is the log :
        #
        [2007-02-15T23:50:20.34] export CLASSPATH
        [2007-02-15T23:50:20.34] export RAS_OPTIONS
        [2007-02-15T23:50:20.34] export PATH
        [2007-02-15T23:50:20.36] export TESTBASE
        [2007-02-15T23:50:20.36] export SHELL
        [2007-02-15T23:50:20.36] export WINDIR
        [2007-02-15T23:50:20.36] export SystemRoot
        [2007-02-15T23:50:20.36]
        [2007-02-15T23:50:20.36]
        [2007-02-15T23:50:20.36] # Dtonga sync function sub.
        [2007-02-15T23:50:20.36] cwd=`echo $0 | sed 's/[^\/]*.tlog//'`
        [2007-02-15T23:50:20.36]
        [2007-02-15T23:50:20.36] dt_wait () {
        [2007-02-15T23:50:20.36] # Is not emplemented yet
        [2007-02-15T23:50:20.36] sleep 5
        [2007-02-15T23:50:20.36] }
        [2007-02-15T23:50:20.36] dt_post () {
        [2007-02-15T23:50:20.36] # Is not emplemented yet
        [2007-02-15T23:50:20.36] echo $@
        [2007-02-15T23:50:20.36] }
        [2007-02-15T23:50:20.36]
        [2007-02-15T23:50:20.36] dt_kill () {
        [2007-02-15T23:50:20.36] # Is not emplemented yet
        [2007-02-15T23:50:20.36] echo $@
        [2007-02-15T23:50:20.36] }
        [2007-02-15T23:50:20.36]
        [2007-02-15T23:50:20.36]
        [2007-02-15T23:50:20.36] # Dtonga deploy function sub.
        [2007-02-15T23:50:20.36] deploy () {
        [2007-02-15T23:50:20.36] rsh $1 sh -s << --EOF--
        [2007-02-15T23:50:20.36] `cat ${cwd}/${2}/${3}.tlog`
        [2007-02-15T23:50:20.36] --EOF--
        [2007-02-15T23:50:20.36] }
        [2007-02-15T23:50:20.36]
        [2007-02-15T23:50:20.36] TEST_DEST_DIR="ThreadInterruptTest3"
        [2007-02-15T23:50:40.69] # Actual: TEST_DEST_DIR=ThreadInterruptTest3
        [2007-02-15T23:50:40.69] TESTNAME="${test_case_name}"
        [2007-02-15T23:50:40.69] # Actual: TESTNAME=ThreadInterruptTest3
        [2007-02-15T23:50:40.69] testName="runtime/threads//ThreadInterruptTest3"
        [2007-02-15T23:50:40.69] # Actual: testName=runtime/threads//ThreadInterruptTest3
        [2007-02-15T23:50:40.69] TESTDIR="${test_work_dir}"
        [2007-02-15T23:50:40.69] # Actual: TESTDIR=X:/gtee/results/MUSTANG_UR/PROMOTION/VM-WEEKLY/1.6.0_01-b04-070215143730/vm/64BITWIN03-AMD64/server/batch/vm-vm_6.0_server_batch_64BITWIN03-AMD642007-02-15-14-38-51/ResultDir/ThreadInterruptTest3
        [2007-02-15T23:50:40.69] testWorkDir="${test_work_dir}/"
        [2007-02-15T23:50:40.69] # Actual: testWorkDir=X:/gtee/results/MUSTANG_UR/PROMOTION/VM-WEEKLY/1.6.0_01-b04-070215143730/vm/64BITWIN03-AMD64/server/batch/vm-vm_6.0_server_batch_64BITWIN03-AMD642007-02-15-14-38-51/ResultDir/ThreadInterruptTest3/
        [2007-02-15T23:50:40.69] export testWorkDir
        [2007-02-15T23:50:40.69] tlogOutFile="${test_work_dir}/${test_name}.tlog"
        [2007-02-15T23:50:40.69] # Actual: tlogOutFile=X:/gtee/results/MUSTANG_UR/PROMOTION/VM-WEEKLY/1.6.0_01-b04-070215143730/vm/64BITWIN03-AMD64/server/batch/vm-vm_6.0_server_batch_64BITWIN03-AMD642007-02-15-14-38-51/ResultDir/ThreadInterruptTest3/ThreadInterruptTest3.tlog
        [2007-02-15T23:50:40.69] testErrFile="${test_work_dir}/${test_name}.err"
        [2007-02-15T23:50:40.69] # Actual: testErrFile=X:/gtee/results/MUSTANG_UR/PROMOTION/VM-WEEKLY/1.6.0_01-b04-070215143730/vm/64BITWIN03-AMD64/server/batch/vm-vm_6.0_server_batch_64BITWIN03-AMD642007-02-15-14-38-51/ResultDir/ThreadInterruptTest3/ThreadInterruptTest3.err
        [2007-02-15T23:50:40.69] EXECUTE_CLASS="${test_name}"
        [2007-02-15T23:50:40.69] # Actual: EXECUTE_CLASS=ThreadInterruptTest3
        [2007-02-15T23:50:40.69] TONGA_FILTER="grep -v VM option"
        [2007-02-15T23:50:40.69] # Actual: TONGA_FILTER=grep -v "VM option"
        [2007-02-15T23:50:40.69] EXECUTE_CLASS="runtime.threads.ThreadInterruptTest3.ThreadInterruptTest3"
        [2007-02-15T23:50:40.69] # Actual: EXECUTE_CLASS=runtime.threads.ThreadInterruptTest3.ThreadInterruptTest3
        [2007-02-15T23:50:40.69] APPLICATION_TIMEOUT="${TIMEOUT}"
        [2007-02-15T23:50:40.69] # Actual: APPLICATION_TIMEOUT=30
        [2007-02-15T23:50:40.69] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
        [2007-02-15T23:50:40.69] # Actual: CLASSPATH=X:/gtee/results/MUSTANG_UR/PROMOTION/VM-WEEKLY/1.6.0_01-b04-070215143730/vm/64BITWIN03-AMD64/server/batch/vm-vm_6.0_server_batch_64BITWIN03-AMD642007-02-15-14-38-51/ResultDir/ThreadInterruptTest3;c:/temp/testbase/vm/bin/classes;c:/temp/Work/JDK/vm/windows-amd64/lib/tools.jar
        [2007-02-15T23:50:40.69] export CLASSPATH
        [2007-02-15T23:50:40.69] PATH="${PATH}${PS}${LD_LIBRARY_PATH}"
        [2007-02-15T23:50:40.69] # Actual: PATH="c:/temp/Work/JDK/vm/windows-amd64/bin;C:/WINDOWS/system32;C:/MKS/mksnt;C:/Program Files (x86)/MKS Toolkit/mksnt;D:/Program Files (x86)/MKS Toolkit/mksnt;D:/MKS/mksnt;c:/temp/Work/JDK/vm/windows-amd64/jre/bin/server;c:/temp/Work/JDK/vm/windows-amd64/jre/bin;"
        [2007-02-15T23:50:40.69] export PATH
        [2007-02-15T23:50:40.69] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS} 1>${test_work_dir}/${test_name}.eout
        [2007-02-15T23:50:40.73] # Actual: c:/temp/Work/JDK/vm/windows-amd64/bin/java -server -Xbatch -XX:-ShowMessageBoxOnError -DHANGINGJAVA4260 -XX:CompileThreshold=2 -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -XX:-PrintVMOptions runtime.threads.ThreadInterruptTest3.ThreadInterruptTest3
        [2007-02-15T23:50:40.73] ***++****++****+***+**
        [2007-02-15T23:54:03.12] # Test level exit status: 0
        [2007-02-15T23:54:03.23] ***++****++****+***+**
        [2007-02-15T23:54:03.53] ***++****++****+***+**
        [2007-02-15T23:54:03.94]

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  minqi Yumin Qi
                  Reporter:
                  imikhailsunw Igor Mikhailuk (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: