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

nsk/jdwp/ThreadReference/Interrupt/interrupt001 fail on Windows 2008 R2

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      windows_2008

      Description

      nsk/jdwp/ThreadReference/Interrupt/interrupt001 fail on Windows 2008 R2 with JVM 1.4.2 (all updates). The test pass on other Windows, for example Windows 2000 Server, Windows 2008, Windows XP. The test failt with both i586 and x64 bit JVM.

      OS: Windows Server 2008 R2 Enterprise Build 7201.

      #
      [2009-09-09T17:12:55.23] export CLASSPATH
      [2009-09-09T17:12:55.23] export PERL
      [2009-09-09T17:12:55.23] export PATH
      [2009-09-09T17:12:55.23] export TESTLIST
      [2009-09-09T17:12:55.23] export HOME
      [2009-09-09T17:12:55.23] export DISPLAY
      [2009-09-09T17:12:55.23] export LD_LIBRARY_PATH
      [2009-09-09T17:12:55.23] export SystemRoot
      [2009-09-09T17:12:55.23] TEST_DEST_DIR="interrupt001"
      [2009-09-09T17:12:55.29] # Actual: TEST_DEST_DIR=interrupt001
      [2009-09-09T17:12:55.29] TESTNAME="${test_case_name}"
      [2009-09-09T17:12:55.29] # Actual: TESTNAME=interrupt001
      [2009-09-09T17:12:55.29] testName="nsk/jdwp/ThreadReference/Interrupt//interrupt001"
      [2009-09-09T17:12:55.29] # Actual: testName=nsk/jdwp/ThreadReference/Interrupt//interrupt001
      [2009-09-09T17:12:55.29] TESTDIR="${test_work_dir}"
      [2009-09-09T17:12:55.29] # Actual: TESTDIR=C:\jqa\ts142\vm\i586/root.Windows_Server_2008.amd64/interrupt001
      [2009-09-09T17:12:55.29] testWorkDir="${test_work_dir}/"
      [2009-09-09T17:12:55.29] # Actual: testWorkDir=C:\jqa\ts142\vm\i586/root.Windows_Server_2008.amd64/interrupt001/
      [2009-09-09T17:12:55.30] export testWorkDir
      [2009-09-09T17:12:55.30] tlogOutFile="${test_work_dir}/${test_name}.tlog"
      [2009-09-09T17:12:55.30] # Actual: tlogOutFile=C:\jqa\ts142\vm\i586/root.Windows_Server_2008.amd64/interrupt001/interrupt001.tlog
      [2009-09-09T17:12:55.30] testErrFile="${test_work_dir}/${test_name}.err"
      [2009-09-09T17:12:55.30] # Actual: testErrFile=C:\jqa\ts142\vm\i586/root.Windows_Server_2008.amd64/interrupt001/interrupt001.err
      [2009-09-09T17:12:55.30] EXECUTE_CLASS="${test_name}"
      [2009-09-09T17:12:55.30] # Actual: EXECUTE_CLASS=interrupt001
      [2009-09-09T17:12:55.30] TEST_ARGS="${JDWP_TEST_KEYS} -debugee.vmkeys=${JDWP_DEBUGEE_VM_KEYS}"
      [2009-09-09T17:12:55.30] # Actual: TEST_ARGS=-debugee.vmkeys=
      [2009-09-09T17:12:55.30] EXECUTE_CLASS="nsk.jdwp.ThreadReference.Interrupt.interrupt001"
      [2009-09-09T17:12:55.30] # Actual: EXECUTE_CLASS=nsk.jdwp.ThreadReference.Interrupt.interrupt001
      [2009-09-09T17:12:55.30] APPLICATION_TIMEOUT="${TIMEOUT}"
      [2009-09-09T17:12:55.30] # Actual: APPLICATION_TIMEOUT=30
      [2009-09-09T17:12:55.30] CLASSPATH="${test_work_dir}${PS}${CLASSPATH}"
      [2009-09-09T17:12:55.30] # Actual: CLASSPATH=C:\jqa\ts142\vm\i586/root.Windows_Server_2008.amd64/interrupt001;K:/dtf/dtf_ws/suites/142_Suites/vm/src/classes;C:/j2sdk1.4.2_22/lib/tools.jar;K:/dtf/dtf_ws/suites/142_Suites/share/harness/tonga/tonga3.0.jar;K:/dtf/dtf_ws/suites/142_Suites/share/harness/javatest/javatest.jar;.;K:/dtf/dtf_ws/suites/142_Suites/share/JCK-vm/1.1.8/JCK-118a;K:/dtf/dtf_ws/suites/142_Suites/share/JCK-vm/1.2.2/JCK-compiler-122/classes
      [2009-09-09T17:12:55.30] export CLASSPATH
      [2009-09-09T17:12:55.30] PATH="${PATH}${PS}${LD_LIBRARY_PATH}"
      [2009-09-09T17:12:55.30] # Actual: PATH=c:/MKS/mksnt;K:/dtf/dtf_ws/suites/142_Suites/vm/src/nsk/share/lib/wintel;C:/j2sdk1.4.2_22/jre/lib/i386;C:/j2sdk1.4.2_22/jre/lib/i386/server
      [2009-09-09T17:12:55.30] export PATH
      [2009-09-09T17:12:55.30] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS}
      [2009-09-09T17:12:55.31] # Actual: C:/j2sdk1.4.2_22/bin/java nsk.jdwp.ThreadReference.Interrupt.interrupt001 -debugee.vmkeys=
      [2009-09-09T17:12:55.31] #>
      [2009-09-09T17:13:06.66] #> WARNING: switching log to verbose mode,
      [2009-09-09T17:13:06.66] #> because error is complained
      [2009-09-09T17:13:06.66] #>
      [2009-09-09T17:13:06.66]
      [2009-09-09T17:13:06.66] >>> Preparing debugee for testing
      [2009-09-09T17:13:06.66]
      [2009-09-09T17:13:06.66] Launching debugee
      [2009-09-09T17:13:06.66] Debugee> Starting java process:
      [2009-09-09T17:13:06.66] C:\j2sdk1.4.2_22\jre\bin\java "-Xdebug" "-Xrunjdwp:server=y,transport=dt_socket,address=8000" "nsk.jdwp.ThreadReference.Interrupt.interrupt001a" "-debugee.vmkeys="
      [2009-09-09T17:13:06.66] Debugee> Establishing JDWP socket connection
      [2009-09-09T17:13:06.66] Debugee> Attaching to debugee: localhost:8000
      [2009-09-09T17:13:06.66] transport> JDWP socket connection established
      [2009-09-09T17:13:06.66] Waiting for VM_INIT event
      [2009-09-09T17:13:06.66] Querying for IDSizes
      [2009-09-09T17:13:06.66] Resuming debugee VM
      [2009-09-09T17:13:06.66] Waiting for signal from debugee: ready
      [2009-09-09T17:13:06.66] Received signal from debugee: ready
      [2009-09-09T17:13:06.66]
      [2009-09-09T17:13:06.66] >>> Obtaining requred data from debugee
      [2009-09-09T17:13:06.66]
      [2009-09-09T17:13:06.66] Getting classID by signature:
      [2009-09-09T17:13:06.66] Lnsk/jdwp/ThreadReference/Interrupt/interrupt001a$TestedClass;
      [2009-09-09T17:13:06.66] got classID: 2
      [2009-09-09T17:13:06.66] Getting threadID value from static field: thread
      [2009-09-09T17:13:06.66] got threadID: 3
      [2009-09-09T17:13:06.66]
      [2009-09-09T17:13:06.66] >>> Testing JDWP command
      [2009-09-09T17:13:06.66]
      [2009-09-09T17:13:06.66] Create command packet:
      [2009-09-09T17:13:06.66] Command: ThreadReference.Interrupt
      [2009-09-09T17:13:06.66] threadID: 3
      [2009-09-09T17:13:06.66] Sending command packet:
      [2009-09-09T17:13:06.66] Packet header (11 bytes):
      [2009-09-09T17:13:06.66] 0000 (length) : 0x00000013 (19)
      [2009-09-09T17:13:06.67] 0004 (id) : 0x00000006 (6)
      [2009-09-09T17:13:06.67] 0008 (flags) : 0x00 (0)
      [2009-09-09T17:13:06.67] 0009 (cmd set): 0x0b (11)
      [2009-09-09T17:13:06.67] 000a (command): 0x0b (11)
      [2009-09-09T17:13:06.67] Entire packet (19 bytes):
      [2009-09-09T17:13:06.67] 0000: 00 00 00 13 00 00 00 06 00 0b 0b 00 00 00 00 00 ................
      [2009-09-09T17:13:06.67] 0010: 00 00 03 ...
      [2009-09-09T17:13:06.67] Packet end
      [2009-09-09T17:13:06.67] Waiting for reply packet
      [2009-09-09T17:13:06.67] Reply packet received:
      [2009-09-09T17:13:06.67] Packet header (11 bytes):
      [2009-09-09T17:13:06.67] 0000 (length) : 0x0000000b (11)
      [2009-09-09T17:13:06.67] 0004 (id) : 0x00000006 (6)
      [2009-09-09T17:13:06.67] 0008 (flags) : 0x80 (-128)
      [2009-09-09T17:13:06.67] 000a (error) : 0x0000 (0)
      [2009-09-09T17:13:06.67] Entire packet (11 bytes):
      [2009-09-09T17:13:06.67] 0000: 00 00 00 0b 00 00 00 06 80 00 00 ...........
      [2009-09-09T17:13:06.67] Packet end
      [2009-09-09T17:13:06.67] Checking reply packet header
      [2009-09-09T17:13:06.67] Parsing reply packet:
      [2009-09-09T17:13:06.67]
      [2009-09-09T17:13:06.67] >>> Checking that tested thread was really interrupted
      [2009-09-09T17:13:06.67]
      [2009-09-09T17:13:06.67] Sending signal to debugee: run
      [2009-09-09T17:13:06.67] Waiting for signal from debugee: interrupted/true
      [2009-09-09T17:13:06.67] Received signal from debugee: interrupted/false
      [2009-09-09T17:13:06.67] # ERROR: Tested thread was NOT interrupted into debuggee
      [2009-09-09T17:13:06.67]
      [2009-09-09T17:13:06.67] >>> Finishing test
      [2009-09-09T17:13:06.67]
      [2009-09-09T17:13:06.67] Sending signal to debugee: quit
      [2009-09-09T17:13:06.67] Waiting for debugee exits
      [2009-09-09T17:13:07.17] Debugee PASSED with exit code: 95
      [2009-09-09T17:13:07.17] # ERROR: TEST FAILED
      [2009-09-09T17:13:07.17]
      [2009-09-09T17:13:07.17]
      [2009-09-09T17:13:07.17] #>
      [2009-09-09T17:13:07.17] #> SUMMARY: Following errors occured
      [2009-09-09T17:13:07.17] #> during test execution:
      [2009-09-09T17:13:07.17] #>
      [2009-09-09T17:13:07.17] # ERROR: Tested thread was NOT interrupted into debuggee
      [2009-09-09T17:13:07.17] # ERROR: TEST FAILED
      [2009-09-09T17:13:07.17] # Test level exit status: 97

        Attachments

          Activity

            People

            • Assignee:
              vikram Vikram Aroskar (Inactive)
              Reporter:
              rkapshevsunw Roman Kapshevich (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: