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

compiler/graalunit/HotspotTest.java failed in ExplicitExceptionTest

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12, 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b04

      Description

      The following test failed in the jdk/jdk CI:

      compiler/graalunit/HotspotTest.java

      Here's a snippet of the log file:

      There was 1 failure:
      1) testAIOOBE(org.graalvm.compiler.hotspot.test.ExplicitExceptionTest)
      java.lang.AssertionError: Exception message expected:<null> but was:<Index 10 out of bounds for length 4>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:834)
      at org.junit.Assert.assertEquals(Assert.java:118)
      at org.graalvm.compiler.core.test.GraalCompilerTest.assertEquals(GraalCompilerTest.java:878)
      at org.graalvm.compiler.core.test.GraalCompilerTest.testAgainstExpected(GraalCompilerTest.java:857)
      at org.graalvm.compiler.core.test.GraalCompilerTest.testAgainstExpected(GraalCompilerTest.java:852)
      at org.graalvm.compiler.core.test.GraalCompilerTest.test(GraalCompilerTest.java:821)
      at org.graalvm.compiler.core.test.GraalCompilerTest.test(GraalCompilerTest.java:790)
      at org.graalvm.compiler.core.test.GraalCompilerTest.test(GraalCompilerTest.java:783)
      at org.graalvm.compiler.hotspot.test.ExplicitExceptionTest.testAIOOBE(ExplicitExceptionTest.java:84)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      at org.junit.runners.Suite.runChild(Suite.java:128)
      at org.junit.runners.Suite.runChild(Suite.java:27)
      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      at com.oracle.mxtool.junit.MxJUnitWrapper.runRequest(MxJUnitWrapper.java:280)
      at com.oracle.mxtool.junit.MxJUnitWrapper.main(MxJUnitWrapper.java:196)

      FAILURES!!!
      Tests run: 273, Failures: 1


      10 longest running test classes:
          113,283 ms org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest
           29,953 ms org.graalvm.compiler.hotspot.test.CRC32CSubstitutionsTest
           18,697 ms org.graalvm.compiler.hotspot.test.ArrayCopyIntrinsificationTest
           15,008 ms org.graalvm.compiler.hotspot.test.CompressedOopTest
           12,021 ms org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest
           10,741 ms org.graalvm.compiler.hotspot.test.ExplicitExceptionTest
           10,485 ms org.graalvm.compiler.hotspot.test.ArrayNewInstanceTest
           10,248 ms org.graalvm.compiler.hotspot.test.ForeignCallDeoptimizeTest
            9,214 ms org.graalvm.compiler.hotspot.test.CompileTheWorldTest
            8,699 ms org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest
      10 longest running tests:
          113,279 ms test1(org.graalvm.compiler.hotspot.test.InstalledCodeExecuteHelperTest)
           15,570 ms test2(org.graalvm.compiler.hotspot.test.CRC32CSubstitutionsTest)
           14,380 ms test1(org.graalvm.compiler.hotspot.test.CRC32CSubstitutionsTest)
           12,016 ms readBeanInfo(org.graalvm.compiler.hotspot.test.HotSpotGraalManagementTest)
            9,213 ms testJDK(org.graalvm.compiler.hotspot.test.CompileTheWorldTest)
            8,535 ms test17(org.graalvm.compiler.hotspot.test.CompressedOopTest)
            7,694 ms testPrimitiveClassObject(org.graalvm.compiler.hotspot.test.AheadOfTimeCompilationTest)
            5,965 ms testCallSiteGetTarget(org.graalvm.compiler.hotspot.test.HotSpotMethodSubstitutionTest)
            4,139 ms testNPE(org.graalvm.compiler.hotspot.test.ExplicitExceptionTest)
            3,911 ms testObjectExact(org.graalvm.compiler.hotspot.test.ArrayCopyIntrinsificationTest)
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:419)
      at compiler.graalunit.common.GraalUnitTestLauncher.main(GraalUnitTestLauncher.java:269)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
      ----------rerun:(34/7058)*----------

        Attachments

          Activity

            People

            • Assignee:
              thartmann Tobias Hartmann
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: