One more test fails from vmTestBase
Vladimir Kempik
vladimir.kempik at gmail.com
Mon Aug 29 16:50:07 UTC 2022
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/20220829/e85243b8/attachment.htm>
More information about the riscv-port-dev
mailing list