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

nsk/jdwp/EventRequest/ClearAllBreakpoints/clrallbreakp001 fail

XMLWordPrintable

    • x86
    • generic

      ---------------------------------------------------------
      Test: nsk/jdwp/EventRequest/ClearAllBreakpoints/clrallbreakp001
      JDK: Mantis b09, b08
      VM: Server
      Mode: comp
      OS: WinXP
      ---------------------------------------------------------
      This test case PASSED with (client,comp) and (server, mixed) config.

      *************
      Test output:
      *************
      #!C:/mks/mksnt/sh.exe

      PATH="Y:/weekly/mantis/JDK/latest/win/bin\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/src/nsk/share/lib/wintel;"
      SHELL=C:/mks/mksnt/sh.exe
      RAS_OPTIONS=
      CLASSPATH="Y:/weekly/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ServerVM-comp-WIN-en-2002-12-05-12-29-32-0109/work/Javasoft.WinXP.x86/clrallbreakp001;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/src/classes\;\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/src/classes\;\;\;Y:/weekly/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/classes\;Y:/weekly/mantis/JDK/latest/win/classes\;Y:/weekly/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/classes\;Y:/weekly/mantis/JDK/latest/win/classes"
      WINDIR=C:/WINDOWS
      SystemRoot=C:/WINDOWS

      while [ $# -gt 0 ];
      do
        if [ $1 = "-jdk" ]; then
              shift 1
              PATH=${1}/bin;${PATH}
              shift 1
        fi
      done

      export PATH
      export SHELL
      export RAS_OPTIONS
      export CLASSPATH
      export WINDIR
      export SystemRoot

      #annotate TEST javaopt=-server -server -Xcomp -XX:-ShowMessageBoxOnError
      Y:/weekly/mantis/JDK/latest/win/bin/java -server -DHANGINGJAVA984 -server -Xcomp -XX:-ShowMessageBoxOnError nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001 -arch=wintel -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-server -DHANGINGJAVA984 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA984 -server -Xcomp"
      ##Exit status of execution step=97
      ##!checkExitCode

      ##>
      ##> WARNING: switching log to verbose mode,
      ##> because error is complained
      ##>
      #
      #>>> Starting debugee
      #
      #Launching debugee
      #Debugee> Starting java process:
      #Y:\weekly\mantis\JDK\latest\win\jre\bin\java "-server" "-DHANGINGJAVA984" "-server" "-Xcomp" "-XX:-ShowMessageBoxOnError" "-DHANGINGJAVA984" "-server" "-Xcomp" "-Xdebug" "-Xrunjdwp:server=y,transport=dt_socket,address=8000" "nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001a" "-arch=wintel" "-waittime=2" "-debugee.vmkind=java" "-debugee.vmkeys=-server -DHANGINGJAVA984 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA984 -server -Xcomp"
      #Debugee> Establishing JDWP socket connection
      #Debugee> Attaching to debugee: localhost:8000
      #transport> JDWP socket connection established
      # ... debugee launched
      #
      #Setting timeout for debuggee responces: 2 minute(s)
      # ... timeout set
      #Waiting for VM_INIT event
      # ... VM_INIT event received
      #Querying for IDSizes
      # ... size of VM-dependent types adjusted
      #
      #>>> Get debuggee prepared for testing
      #
      #Waiting for tested class loaded
      # ... got classID: 2
      #
      #Getting tested methodID by name: run
      # ... got methodID: 117449472
      #Making request for BREAKPOINT event at: run:59
      # ... got requestID: 3
      #
      #>>> Testing JDWP command
      #
      #Create command packet: EventRequest.ClearAllBreakpoints
      # no out data
      # ... command packet created
      #Sending command packet:
      #Packet header (11 bytes):
      # 0000 (length) : 0x0000000b (11)
      # 0004 (id) : 0x00000008 (8)
      # 0008 (flags) : 0x00 (0)
      # 0009 (cmd set): 0x0f (15)
      # 000a (command): 0x03 (3)
      #Entire packet (11 bytes):
      # 0000: 00 00 00 0b 00 00 00 08 00 0f 03 ...........
      #Packet end
      # ... command packet sent
      #
      #Waiting for reply packet
      # ... reply packet received:
      #Packet header (11 bytes):
      # 0000 (length) : 0x0000000b (11)
      # 0004 (id) : 0x00000008 (8)
      # 0008 (flags) : 0x80 (-128)
      # 000a (error) : 0x0000 (0)
      #Entire packet (11 bytes):
      # 0000: 00 00 00 0b 00 00 00 08 80 00 00 ...........
      #Packet end
      #
      #Checking header of reply packet
      # ... packet header is correct
      #Parsing reply packet data:
      # no out data
      # ... packet data is parsed
      #
      #>>> Finishing debuggee
      #
      #Resuming debuggee
      # ... debuggee resumed
      #Waiting for VM_DEATH event instead of BREAKPOINT event
      #Waiting for event packet
      ## ERROR: Unable to read tested event packet:
      ## ERROR: java.net.SocketException: Connection reset
      #Resuming debuggee
      #java.net.SocketException: Connection reset by peer: socket write error
      # at java.net.SocketOutputStream.socketWrite0(Native Method)
      # at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
      # at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
      # at nsk.share.jdwp.SocketTransport.write(SocketTransport.java:166)
      # at nsk.share.jdwp.Transport.write(Transport.java:57)
      # at nsk.share.jdwp.Packet.writeTo(Packet.java:439)
      # at nsk.share.jdwp.Transport.write(Transport.java:71)
      # at nsk.share.jdwp.Debugee.sendCommand(Debugee.java:555)
      # at nsk.share.jdwp.Debugee.receiveReplyFor(Debugee.java:651)
      # at nsk.share.jdwp.Debugee.resume(Debugee.java:536)
      # at nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001.runIt(clrallbreakp001.java:148)
      # at nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001.run(clrallbreakp001.java:83)
      # at nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001.main(clrallbreakp001.java:76)
      ## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Resume:
      ## ERROR: java.net.SocketException: Connection reset by peer: socket write error
      #Debugee> Reply packet:
      #Packet header (11 bytes):
      # 0000 (length) : 0x0000000b (11)
      # 0004 (id) : 0x0000000a (10)
      # 0008 (flags) : 0x00 (0)
      # 0009 (cmd set): 0x01 (1)
      # 000a (command): 0x09 (9)
      #Entire packet (11 bytes):
      # 0000: 00 00 00 0b 00 00 00 0a 00 01 09 ...........
      #Packet end
      ## ERROR: TEST FAILED: Error occured while sending command: VirtualMachine.Resume
      #
      #>>> Finishing test
      #
      #Disconnecting debuggee
      #java.net.SocketException: Connection reset by peer: socket write error
      # at java.net.SocketOutputStream.socketWrite0(Native Method)
      # at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
      # at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
      # at nsk.share.jdwp.SocketTransport.write(SocketTransport.java:166)
      # at nsk.share.jdwp.Transport.write(Transport.java:57)
      # at nsk.share.jdwp.Packet.writeTo(Packet.java:439)
      # at nsk.share.jdwp.Transport.write(Transport.java:71)
      # at nsk.share.jdwp.Debugee.sendCommand(Debugee.java:555)
      # at nsk.share.jdwp.Debugee.receiveReplyFor(Debugee.java:651)
      # at nsk.share.jdwp.Debugee.dispose(Debugee.java:545)
      # at nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001.quitDebugee(clrallbreakp001.java:439)
      # at nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001.runIt(clrallbreakp001.java:168)
      # at nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001.run(clrallbreakp001.java:83)
      # at nsk.jdwp.EventRequest.ClearAllBreakpoints.clrallbreakp001.main(clrallbreakp001.java:76)
      ## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Dispose:
      ## ERROR: java.net.SocketException: Connection reset by peer: socket write error
      #Debugee> Reply packet:
      #Packet header (11 bytes):
      # 0000 (length) : 0x0000000b (11)
      # 0004 (id) : 0x0000000b (11)
      # 0008 (flags) : 0x00 (0)
      # 0009 (cmd set): 0x01 (1)
      # 000a (command): 0x06 (6)
      #Entire packet (11 bytes):
      # 0000: 00 00 00 0b 00 00 00 0b 00 01 06 ...........
      #Packet end
      #Failed to finally disconnect debuggee:
      # Error occured while sending command: VirtualMachine.Dispose
      #Waiting for debuggee exit
      # ... debuggee exited with exit code: 95
      ## ERROR: TEST FAILED
      #
      #
      ##>
      ##> SUMMARY: Following errors occured
      ##> during test execution:
      ##>
      ## ERROR: Unable to read tested event packet:
      ## ERROR: java.net.SocketException: Connection reset
      ## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Resume:
      ## ERROR: java.net.SocketException: Connection reset by peer: socket write error
      ## ERROR: TEST FAILED: Error occured while sending command: VirtualMachine.Resume
      ## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Dispose:
      ## ERROR: java.net.SocketException: Connection reset by peer: socket write error
      ## ERROR: TEST FAILED

      ***********************
      TO REPRODUCE THE BUG:
      ***********************
      1. cd /net/jano.sfbay/export/disk20/GammaBase/Bugs/[bug ID]/*
      2. run rerun.sh

            alanb Alan Bateman
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: