-
Bug
-
Resolution: Duplicate
-
P4
-
repo-valhalla
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)
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)
- duplicates
-
JDK-8316526 ciReplay fails with "tag mismatch: wrong class files?" when CDS is disabled
- Open