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

2 microbenchmarks/other/Test_5 subtests failed due to exit code 134

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: External
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following tests failed in the JDK15 CI:

      applications/microbenchmarks/other/Test_5.java#id2
      applications/microbenchmarks/other/Test_5.java#id0

      Here's a snippet from the log file for Test_5.java#id2:

      [jmh] # JMH version: 1.21
      [jmh] # VM version: JDK 15-ea, Java HotSpot(TM) 64-Bit Server VM, 15-ea+15-598
      [jmh] # VM invoker: /scratch/mesos/jib-master/install/jdk-15+15-598/macosx-x64-debug.jdk/jdk-15/fastdebug/bin/java
      [jmh] # VM options: -XX:MaxRAMPercentage=12 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:-TieredCompilation -XX:-DoEscapeAnalysis --add-opens=java.base/java.io=ALL-UNNAMED -Djmh.ignoreLock=true
      [jmh] # Warmup: 3 iterations, 3 s each
      [jmh] # Measurement: 8 iterations, 2 s each
      [jmh] # Timeout: 10 min per iteration
      [jmh] # Threads: 1 thread, will synchronize iterations
      [jmh] # Benchmark mode: Throughput, ops/time
      [jmh] # Benchmark: oracle.micro.benchmarks.crypto.full.SignatureBench.ECDSA.sign
      [jmh] # Parameters: (algorithm = SHA256withECDSA, dataSize = 16384, keyGen = EC, keyLength = 256, provider = )
      [jmh] # Run progress: 83.33% complete, ETA 00:21:54
      [jmh] # Fork: 1 of 1
      ----------System.err:(16/962)----------
      java.lang.RuntimeException: assertEquals: expected 0 to equal 134
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:189)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:166)
      at applications.microbenchmarks.MicroRunner.main(MicroRunner.java:33)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test


      Here's a snippet from the log file for Test_5.java#id0:

      [jmh] # JMH version: 1.21
      [jmh] # VM version: JDK 15-ea, Java HotSpot(TM) 64-Bit Server VM, 15-ea+15-598
      [jmh] # VM invoker: /scratch/mesos/jib-master/install/jdk-15+15-598/macosx-x64-debug.jdk/jdk-15/fastdebug/bin/java
      [jmh] # VM options: -XX:MaxRAMPercentage=12 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:-TieredCompilation -XX:-DoEscapeAnalysis --add-opens=java.base/java.io=ALL-UNNAMED -Djmh.ignoreLock=true
      [jmh] # Warmup: 3 iterations, 3 s each
      [jmh] # Measurement: 8 iterations, 2 s each
      [jmh] # Timeout: 10 min per iteration
      [jmh] # Threads: 1 thread, will synchronize iterations
      [jmh] # Benchmark mode: Throughput, ops/time
      [jmh] # Benchmark: oracle.micro.benchmarks.crypto.full.RSABench.encrypt
      [jmh] # Parameters: (algorithm = RSA/ECB/PKCS1Padding, dataSize = 32, keyLength = 2048, provider = )
      [jmh] # Run progress: 44.44% complete, ETA 03:03:38
      [jmh] # Fork: 1 of 1
      [jmh] # Warmup Iteration 1: <forked VM failed with exit code 134>
      [jmh] <stdout last='20 lines'>
      [jmh] </stdout>
      [jmh] <stderr last='20 lines'>
      [jmh] </stderr>
      [jmh] Benchmark had encountered error, and fail on error was requested
      ----------System.err:(28/1700)----------
      [jmh] ERROR: org.openjdk.jmh.runner.RunnerException: Benchmark caught the exception
      [jmh] at org.openjdk.jmh.runner.Runner.runBenchmarks(Runner.java:578)
      [jmh] at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:320)
      [jmh] at org.openjdk.jmh.runner.Runner.run(Runner.java:209)
      [jmh] at org.openjdk.jmh.Main.main(Main.java:71)
      [jmh] Caused by: org.openjdk.jmh.runner.BenchmarkException: Benchmark error
      [jmh] at org.openjdk.jmh.runner.Runner.doFork(Runner.java:771)
      [jmh] at org.openjdk.jmh.runner.Runner.runSeparate(Runner.java:663)
      [jmh] at org.openjdk.jmh.runner.Runner.runBenchmarks(Runner.java:561)
      [jmh] ... 3 more
      [jmh] Suppressed: java.lang.IllegalStateException: Forked VM failed with exit code 134
      [jmh] ... 6 more
      java.lang.RuntimeException: assertEquals: expected 0 to equal 1
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:189)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:166)
      at applications.microbenchmarks.MicroRunner.main(MicroRunner.java:33)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test


      These failures remind me of the following bug:

          JDK-8229188 strange applications/microbenchmarks/other failures on OCI machines

      However, these are not OCI test machines.

      The test artifacts do not have any hs_err_pid files, but
      there are two core files for each failure. I have not tried
      to look at the core files. Without an hs_err_pid files, I
      have my doubts whether these are java core files, but,
      again, I haven't checked.

      I'm starting this bug in hotspot/test because there's no
      clear product issue here.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: