Skip to content

RISC-V test plan #4976

@luhenry

Description

@luhenry

Relates to adoptium/temurin-build#3591

Action Items

  • Rework gnu.testlet.java.lang.Math and gnu.testlet.java.lang.StrictMath in Mauve directly, the tests are broken for platform that have canonical NaNs

Test Failures

MiniMix_aot_5m
LT  FAIL: gnu.testlet.java.lang.StrictMath.tanh_strictfp (number 22)
LT  got 9221120237041090560 but expected 9223231299366420480
LT  FAIL: gnu.testlet.java.lang.StrictMath.tanh_strictfp (number 23)
LT  got 9221120237041090560 but expected -140737488355328
LT  FAIL: gnu.testlet.java.lang.StrictMath.tanh_strictfp (number 24)
LT  got 9221120237041090560 but expected 9223232550370790895
LT  FAIL: gnu.testlet.java.lang.StrictMath.tanh_strictfp (number 25)
LT  got 9221120237041090560 but expected -139486483984913
LT  FAIL: gnu.testlet.java.lang.StrictMath.tanh_strictfp (number 26)
LT  got 9221120237041090560 but expected 9223090561878065153
LT  FAIL: gnu.testlet.java.lang.StrictMath.tanh_strictfp (number 27)
LT  got 9221120237041090560 but expected -281474976710655
LT  FAIL: gnu.testlet.java.lang.StrictMath.tanh_strictfp (number 28)
LT  got 9221120237041090560 but expected 9223220665868348875
LT  FAIL: gnu.testlet.java.lang.StrictMath.tanh_strictfp (number 29)
LT  got 9221120237041090560 but expected -151370986426933
MiniMix_5m
LT  FAIL: gnu.testlet.java.lang.StrictMath.atan (number 25)
LT  got 9221120237041090560 but expected 9223231299366420480
LT  FAIL: gnu.testlet.java.lang.StrictMath.atan (number 26)
LT  got 9221120237041090560 but expected -140737488355328
LT  FAIL: gnu.testlet.java.lang.StrictMath.atan (number 27)
LT  got 9221120237041090560 but expected 9223232550370790895
LT  FAIL: gnu.testlet.java.lang.StrictMath.atan (number 28)
LT  got 9221120237041090560 but expected -139486483984913
LT  FAIL: gnu.testlet.java.lang.StrictMath.atan (number 29)
LT  got 9221120237041090560 but expected 9223090561878065153
LT  FAIL: gnu.testlet.java.lang.StrictMath.atan (number 30)
LT  got 9221120237041090560 but expected -281474976710655
LT  FAIL: gnu.testlet.java.lang.StrictMath.atan (number 31)
LT  got 9221120237041090560 but expected 9223220665868348875
LT  FAIL: gnu.testlet.java.lang.StrictMath.atan (number 32)
LT  got 9221120237041090560 but expected -151370986426933
MauveSingleThrdLoad_HS_5m
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 25)
LT  got 9221120237041090560 but expected 9223231299366420480
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 26)
LT  got 9221120237041090560 but expected -140737488355328
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 27)
LT  got 9221120237041090560 but expected 9223232550370790895
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 28)
LT  got 9221120237041090560 but expected -139486483984913
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 29)
LT  got 9221120237041090560 but expected 9223090561878065153
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 30)
LT  got 9221120237041090560 but expected -281474976710655
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 31)
LT  got 9221120237041090560 but expected 9223220665868348875
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 32)
LT  got 9221120237041090560 but expected -151370986426933
MauveSingleInvocLoad_HS_5m
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 25)
LT  got 9221120237041090560 but expected 9223231299366420480
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 26)
LT  got 9221120237041090560 but expected -140737488355328
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 27)
LT  got 9221120237041090560 but expected 9223232550370790895
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 28)
LT  got 9221120237041090560 but expected -139486483984913
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 29)
LT  got 9221120237041090560 but expected 9223090561878065153
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 30)
LT  got 9221120237041090560 but expected -281474976710655
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 31)
LT  got 9221120237041090560 but expected 9223220665868348875
LT  FAIL: gnu.testlet.java.lang.Math.acos (number 32)
LT  got 9221120237041090560 but expected -151370986426933
MauveMultiThrdLoad_5m
LT  FAIL: gnu.testlet.java.lang.StrictMath.acos_strictfp (number 25)
LT  got 9221120237041090560 but expected 9223231299366420480
LT  FAIL: gnu.testlet.java.lang.StrictMath.acos_strictfp (number 26)
LT  got 9221120237041090560 but expected -140737488355328
LT  FAIL: gnu.testlet.java.lang.StrictMath.acos_strictfp (number 27)
LT  got 9221120237041090560 but expected 9223232550370790895
LT  FAIL: gnu.testlet.java.lang.StrictMath.acos_strictfp (number 28)
LT  got 9221120237041090560 but expected -139486483984913
LT  FAIL: gnu.testlet.java.lang.StrictMath.acos_strictfp (number 29)
LT  got 9221120237041090560 but expected 9223090561878065153
LT  FAIL: gnu.testlet.java.lang.StrictMath.acos_strictfp (number 30)
LT  got 9221120237041090560 but expected -281474976710655
LT  FAIL: gnu.testlet.java.lang.StrictMath.acos_strictfp (number 31)
LT  got 9221120237041090560 but expected 9223220665868348875
LT  FAIL: gnu.testlet.java.lang.StrictMath.acos_strictfp (number 32)
LT  got 9221120237041090560 but expected -151370986426933
ConcurrentLoadTest_5m
LT  testFailure: testAPI(net.adoptopenjdk.test.concurrent.atomic.AtomicLongArrayTest): 30 : weakCompareAndSet() expected:<true> but was:<false>
LT  junit.framework.AssertionFailedError: 30 : weakCompareAndSet() expected:<true> but was:<false>
LT  	at junit.framework.Assert.fail(Assert.java:57)
LT  	at junit.framework.Assert.failNotEquals(Assert.java:329)
LT  	at junit.framework.Assert.assertEquals(Assert.java:78)
LT  	at junit.framework.Assert.assertEquals(Assert.java:174)
LT  	at junit.framework.TestCase.assertEquals(TestCase.java:333)
LT  	at net.adoptopenjdk.test.concurrent.atomic.AtomicLongArrayTest.testAPI(AtomicLongArrayTest.java:140)
LT  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
LT  	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
LT  	at junit.framework.TestCase.runTest(TestCase.java:176)
LT  	at junit.framework.TestCase.runBare(TestCase.java:141)
LT  	at junit.framework.TestResult$1.protect(TestResult.java:122)
LT  	at junit.framework.TestResult.runProtected(TestResult.java:142)
LT  	at junit.framework.TestResult.run(TestResult.java:125)
LT  	at junit.framework.TestCase.run(TestCase.java:129)
LT  	at junit.framework.TestSuite.runTest(TestSuite.java:252)
LT  	at junit.framework.TestSuite.run(TestSuite.java:247)
LT  	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
LT  	at org.junit.runners.Suite.runChild(Suite.java:128)
LT  	at org.junit.runners.Suite.runChild(Suite.java:27)
LT  	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
LT  	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
LT  	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
LT  	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
LT  	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
LT  	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
LT  	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
LT  	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
LT  	at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:130)
LT  	at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
LT  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
LT  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
LT  	at java.base/java.lang.Thread.run(Thread.java:1583)
renaissance-philosophers
Exception in thread "Thread-125" java.lang.IllegalMonitorStateException: current thread is not owner
	at java.base/java.lang.Object.notifyAll(Native Method)
	at scala.concurrent.stm.ccstm.TxnLevelImpl.notifyCompleted(TxnLevelImpl.scala:138)
	at scala.concurrent.stm.ccstm.TxnLevelImpl.setCommitted(TxnLevelImpl.scala:104)
	at scala.concurrent.stm.ccstm.InTxnImpl.attemptTopLevelComplete(InTxnImpl.scala:723)
	at scala.concurrent.stm.ccstm.InTxnImpl.topLevelComplete(InTxnImpl.scala:618)
	at scala.concurrent.stm.ccstm.InTxnImpl.topLevelAttempt(InTxnImpl.scala:529)
	at scala.concurrent.stm.ccstm.InTxnImpl.topLevelAtomicImpl(InTxnImpl.scala:398)
	at scala.concurrent.stm.ccstm.InTxnImpl.atomic(InTxnImpl.scala:259)
	at scala.concurrent.stm.ccstm.CCSTMExecutor.apply(CCSTMExecutor.scala:24)
	at org.renaissance.scala.stm.RealityShowPhilosophers$PhilosopherThread.$anonfun$run$1(RealityShowPhilosophers.scala:36)
	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:158)
	at org.renaissance.scala.stm.RealityShowPhilosophers$PhilosopherThread.run(RealityShowPhilosophers.scala:27)
Exception in thread "Thread-28" java.lang.ClassCastException: class scala.concurrent.stm.Txn$Committing$ cannot be cast to class scala.concurrent.stm.Txn$RolledBack (scala.concurrent.stm.Txn$Committing$ and scala.concurrent.stm.Txn$RolledBack are in unnamed module of loader java.net.URLClassLoader @79ad8b2f)
	at scala.concurrent.stm.ccstm.InTxnImpl.topLevelComplete(InTxnImpl.scala:623)
	at scala.concurrent.stm.ccstm.InTxnImpl.topLevelAttempt(InTxnImpl.scala:529)
	at scala.concurrent.stm.ccstm.InTxnImpl.topLevelAtomicImpl(InTxnImpl.scala:398)
	at scala.concurrent.stm.ccstm.InTxnImpl.atomic(InTxnImpl.scala:259)
	at scala.concurrent.stm.ccstm.CCSTMExecutor.apply(CCSTMExecutor.scala:24)
	at org.renaissance.scala.stm.RealityShowPhilosophers$PhilosopherThread.$anonfun$run$1(RealityShowPhilosophers.scala:29)
	at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:158)
	at org.renaissance.scala.stm.RealityShowPhilosophers$PhilosopherThread.run(RealityShowPhilosophers.scala:27)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions