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

[lworld] ciReplay tests sometime fail when running with --enable-preview

XMLWordPrintable

      When running tests in test/hotspot/jtreg/compiler/ciReplay with --enable-preview, some tests fail. Failures are not 100% reproducible, but those tests reliably pass when -enable-preview is not used.

      Example of failed run:

      ==============================
      Test summary
      ==============================
         TEST TOTAL PASS FAIL ERROR
      >> jtreg:open/test/hotspot/jtreg/compiler/ciReplay 10 7 3 0 <<
      ==============================

      Failed tests:

      # newfailures.txt
      compiler/ciReplay/TestInlining.java
      compiler/ciReplay/TestLambdas.java
      compiler/ciReplay/TestServerVM.java

      Stack trace from TestServerVM.java:

      java.lang.RuntimeException: Unexpected exit code for positive case: [-XX:TieredStopAtLevel=1]: expected 1 to equal 0
      at jdk.test.lib.Asserts.fail(Asserts.java:634)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
      at compiler.ciReplay.CiReplayBase.positiveTest(CiReplayBase.java:271)
      at compiler.ciReplay.VMBase.testAction(VMBase.java:52)
      at compiler.ciReplay.CiReplayBase.runTest(CiReplayBase.java:131)
      at compiler.ciReplay.VMBase.main(VMBase.java:33)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

            thartmann Tobias Hartmann
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: