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

Various JVMCI tests fail on unexpected exception

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b96

      Description

      Lots of failures with:

      Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>

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


      section:junit
      ----------messages:(3/298)----------
      command: junit -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI compiler.jvmci.errors.TestInvalidCompilationResult
      reason: User specified action: run junit/othervm -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI compiler.jvmci.errors.TestInvalidCompilationResult
      elapsed time (seconds): 22.905
      ----------System.out:(0/0)----------
      ----------System.err:(33/4755)----------
      JavaTest Message: JUnit Failure: testInvalidAssumption(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testInvalidAlignment(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testNullDataPatchInDataSection(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<java.lang.NullPointerException> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testNullReferenceInDataSection(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<java.lang.NullPointerException> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testInvalidDataSectionReference(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testInvalidNarrowMethodInDataSection(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testNullConstantInDataSection(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<java.lang.NullPointerException> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testInvalidConstantInDataSection(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testNullReferenceInCode(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<java.lang.NullPointerException> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testNullConstantInCode(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<java.lang.NullPointerException> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testInvalidConstantInCode(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testInvalidReference(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testOutOfBoundsDataSectionReference(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testInvalidMark(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testInvalidMarkInt(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testNullInfopoint(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<java.lang.NullPointerException> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testUnknownInfopointReason(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testInfopointMissingDebugInfo(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      JavaTest Message: JUnit Failure: testSafepointMissingDebugInfo(compiler.jvmci.errors.TestInvalidCompilationResult): Unexpected exception, expected<jdk.vm.ci.common.JVMCIError> but was<java.lang.AssertionError>
      java.lang.Exception: JUnit test failure
      at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:106)
      at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:85)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:747)

      JavaTest Message: Test threw exception: java.lang.Exception: JUnit test failure
      JavaTest Message: shutting down test

        Attachments

          Activity

            People

            • Assignee:
              rschatz Roland Schatz
              Reporter:
              neliasso Nils Eliasson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: