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

LIN64: SuspendPolicy test in JDI test suite fails as suspendpolicy expected

XMLWordPrintable

    • rc
    • itanium
    • linux_redhat_7.2
    • Verified

      -------------------------------------
      Test : nsk/jdi/EventSet/suspendPolicy/suspendpolicy010
      TestBase : testbase_nsk
      VM : server
      Mode : int
      Platform : Itanium
      OS : RH7.2

      ----------------------------------------

      Steps to reproduce :

      * Go to /net/jano.sfbay/export/disk20/GammaBase/Bugs/{BugID}
      * Execute as ksh doit.ksh

      Error :
      ##Exit status of execution step=97
      ##!checkExitCode

      ##>
      ##> WARNING: switching log to verbose mode,
      ##> because error is complained
      ##>
      #--> debugger: launching a debuggee :
      #--> debugger: nsk.jdi.EventSet.suspendPolicy.suspendpolicy010a
      #binder> VirtualMachineManager: version 1.4
      #binder> Finding connector: default
      #binder> LaunchingConnector:
      #binder> name: com.sun.jdi.CommandLineLaunch
      #binder> description: Launches target using Sun Java VM command line and atta
      ches to it
      #binder> transport: dt_socket
      #binder> Connector arguments:
      #binder> home=/export/local-data/linux-ia64/jre
      #binder> vmexec=java
      #binder> options=
      #binder> main=nsk.jdi.EventSet.suspendPolicy.suspendpolicy010a -arch=linuxia6
      4 "-waittime=2" "-debugee.vmkind=java" "-debugee.vmkeys="
      #binder> quote="
      #binder> suspend=true
      #binder> Launching debugee
      #--> debugger: debuggee launched
      #--> debugger: invocation of the method runTest()
      #--> debugger: waiting for VMStartEvent
      #--> debugger: VMStartEvent received; test begins
      #--> debugger: ......getting ClassPrepareEvent for debuggee's class
      #--> debugger: received: ClassPrepareEvent for debuggeeClass
      #--> debugger: ......setting up ClassPrepareEvent for breakpointForCommunication
      #--> debugger: ......setting up a breakpoint:
      #--> debugger: thread: instance of java.lang.Thread(name='main', id=1); cl
      ass: class nsk.jdi.EventSet.suspendPolicy.suspendpolicy010a (loaded by instance o
      f sun.misc.Launcher$AppClassLoader(id=56)); method: methodForCommunication; line:
       lineForComm
      #--> debugger: a breakpoint has been set up
      #
      #==> nsk/jdi/EventSet/suspendPolicy/suspendpolicy010 TESTING BEGINS
      #--> debugger: breakpointForCommunication
      #
      #==> nsk/jdi/EventSet/suspendPolicy/suspendpolicy010 :::::: case: # 0
      #--> debugger: ......setting up StepRequest:
      #--> debugger: thread: instance of java.lang.Thread(name='main', id=1); pr
      operty: StepRequest1
      #--> debugger: StepRequest has been set up
      #--> debugger: ......got : instanceof StepEvent
      ## ERROR: ##> debugger: ERROR: eventSet.suspendPolicy() != policyExpected
      ## ERROR: ##> debugger: eventSet.suspendPolicy() == 1
      ## ERROR: ##> debugger: policyExpected == 0
      #--> debugger: breakpointForCommunication
      #
      #==> nsk/jdi/EventSet/suspendPolicy/suspendpolicy010 :::::: case: # 1
      #--> debugger: ......setting up StepRequest:
      #--> debugger: thread: instance of java.lang.Thread(name='main', id=1); pr
      operty: StepRequest2
      #--> debugger: StepRequest has been set up
      #--> debugger: ......got : instanceof StepEvent
      #--> debugger: breakpointForCommunication
      ## ERROR: ##> debugger: ERROR: Exception : nsk.jdi.EventSet.suspendPolicy.suspend
      policy010$JDITestRuntimeException: JDITestRuntimeException : ** event IS NOT a br
      eakpoint **
      ## ERROR: ##> debugger: test phase has not finished normally: debuggee is still a
      live
      #--> debugger: ......forcing: vm.exit();
      ## ERROR: ##> debugger: ERROR: Exception : e
      #TEST FAILED
      #
      #
      ##>
      ##> SUMMARY: Following errors occured
      ##> during test execution:
      ##>
      ## ERROR: ##> debugger: ERROR: eventSet.suspendPolicy() != policyExpected
      ## ERROR: ##> debugger: eventSet.suspendPolicy() == 1
      ## ERROR: ##> debugger: policyExpected == 0
      ## ERROR: ##> debugger: ERROR: Exception : nsk.jdi.EventSet.suspendPolicy.suspend
      policy010$JDITestRuntimeException: JDITestRuntimeException : ** event IS NOT a br
      eakpoint **
      ## ERROR: ##> debugger: test phase has not finished normally: debuggee is still a
      live
      ## ERROR: ##> debugger: ERROR: Exception : e

            busersunw Btplusnull User (Inactive)
            dhvaradhsunw Dhanalakshmi Varadharaj (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: