One more test fails from vmTestBase

jiangfeilong jiangfeilong at huawei.com
Tue Aug 30 11:22:42 UTC 2022


Thanks for pointing this out. I got the same error on the unmatched board.
> That doesn’t sound right, should I file a bug in JBS ?
Yes, please file a bug to help track this issue.

Thanks, Feilong.

From: riscv-port-dev <riscv-port-dev-retn at openjdk.org> On Behalf Of Vladimir Kempik
Sent: Tuesday, August 30, 2022 12:50 AM
To: riscv-port-dev at openjdk.org
Subject: One more test fails from vmTestBase

Hello
While running some tests (tier4:hotspot) and especially vmTestbase set of tests I have found some test to constantly fail on jdk20/risc-v:

test/hotspot/jtreg/vmTestbase/nsk/stress/jni/jnistress002.java

seeing lots of these errors in the log:

JNI object
public java.lang.String nsk.stress.jni.objectsJNI.instName = "Thread-2"
public int nsk.stress.jni.objectsJNI.i = 1072273735
public long nsk.stress.jni.objectsJNI.l = 8325085374318028103
public char[] nsk.stress.jni.objectsJNI.c = "Thread-2"
public float nsk.stress.jni.objectsJNI.f = 0.49921197
public double nsk.stress.jni.objectsJNI.d = NaN
Java object
public java.lang.String nsk.stress.jni.objectsJNI.instName = "Thread-2"
public int nsk.stress.jni.objectsJNI.i = 1072273735
public long nsk.stress.jni.objectsJNI.l = 8325085374318028103
public char[] nsk.stress.jni.objectsJNI.c = "Thread-2"
public float nsk.stress.jni.objectsJNI.f = 0.955677
public double nsk.stress.jni.objectsJNI.d = 0.49921197125621386
The fields No. 4 are different
Objects are different


That doesn’t sound right, should I file a bug in JBS ?

Running it this way:
make  OUTPUTDIR=build/prebuilt-output BOOT_JDK=~/syntaj20 JT_HOME=~/jtreg6.1/ JDK_IMAGE_DIR=~/syntaj20 TEST_IMAGE_DIR=~/test20/ LOG_CMDLINES=true JTREG="TIMEOUT_FACTOR=8"  run-test-prebuilt TEST="test/hotspot/jtreg/vmTestbase/nsk/stress/jni/jnistress002.java"
Checked on hifive and thead


Regards, Vladimir.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/riscv-port-dev/attachments/20220830/6dc5b797/attachment-0001.htm>


More information about the riscv-port-dev mailing list