Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-4823

[jdktools][jdwp] 2 jdtdebug tests fail with similar messages in EUT 3.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • JDK
    • None
    • All
    • Advanced

    Description

      When massive failures with 'did not suspend' error (HARMONY-4631) do not occur, 2 tests fail in EUT 3.2 jdt debug suite with following close error messages:
      ------------------------------------------
      org.eclipse.jdt.debug.tests.core.StepIntoSelectionTests.testStepIntoBinaryMethod
      Should be in method 'addElement' expected:<addElement> but was:<step>
      junit.framework.ComparisonFailure: Should be in method 'addElement' expected:<addElement> but was:<step>
      at org.eclipse.jdt.debug.tests.core.StepIntoSelectionTests.testStepIntoBinaryMethod(StepIntoSelectionTests.java:174)
      at java.lang.reflect.VMReflection.invokeMethod(Native Method)
      at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:53)
      at java.lang.Thread.run(Unknown Source)
      ------------------------------------------
      org.eclipse.jdt.debug.tests.core.StepIntoSelectionTests.testStepIntoBinaryConstructor
      Should be in constructor expected:<<init>> but was:<step>
      junit.framework.ComparisonFailure: Should be in constructor expected:<<init>> but was:<step>
      at org.eclipse.jdt.debug.tests.core.StepIntoSelectionTests.testStepIntoBinaryConstructor(StepIntoSelectionTests.java:209)
      at java.lang.reflect.VMReflection.invokeMethod(Native Method)
      at org.eclipse.jdt.debug.tests.DebugSuite$1.run(DebugSuite.java:53)
      at java.lang.Thread.run(Unknown Source)
      ------------------------------------------

      Looks like it can be a regression in JVMTI stepping algorithm.

      To reproduce failures:
      1) Use Harmony JDK from http://people.apache.org/builds/harmony/snapshots/r576550/apache-harmony-jdk-r576550-windows-x86-32-snapshot.zip
      2) Download http://mirrors.nsa.co.il/eclipse/eclipse/downloads/drops/R-3.2-200606291905/eclipse-Automated-Tests-3.2.zip
      3) To run with script or command line, use instructions in eclipse-testing/readme.html from eclipse-Automated-Tests-3.2.zip archive
      4) To run from Eclipse GUI follow the instruction in http://wiki.apache.org/harmony/Eclipse_Unit_Tests_Pass_on_DRLVM#How_to_run_EUT_individual

      Attachments

        1. StepIntoSelectionClass.java
          1 kB
          Gregory Shimansky
        2. HARMONY-4823.patch
          1 kB
          Gregory Shimansky
        3. HARMONY-4823.patch
          0.8 kB
          Gregory Shimansky

        Issue Links

          Activity

            People

              gshimansky Gregory Shimansky
              iberezhn Ilya Berezhniuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: