-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JTReg test fail - Linux s390 : java/lang/String/UnicodeCasingTest.java #4597
Comments
Can we get some machine information? Which processor did this test run and fail on? Going to try to reproduce manually if I can find the documentation on how to do so. |
I cannot reproduce UnicodeCasingTest on my z13 using the latest nightly build of JDK11. We'll need more information on the machine this ran on. It is likely a JIT issue given the test runs fine on my machine. |
I can reproduce on an internal grinder. Going to try using the test infrastructure to reproduce locally too if I can. If not I can try to debug via grinders. |
From the top of this page - https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_j9_openjdktest_s390x_linux/140 ... the test was executed on test-marist-ubuntu1604-s390x-1. The details for this test machine can be found at https://ci.adoptopenjdk.net/computer/test-marist-ubuntu1604-s390x-1. |
I've got this ...
... through a temporary account on the test machine. Does that cover what you need ? @fjeremic |
Thanks that's what I needed. Odd that I cannot reproduce on my z13. Though I've just taken the test and compiled as is. Perhaps some of the options make a difference. Looking into it now and trying to reproduce via the testing makefiles. |
Short update is that this is definitely a Z codegen bug in our vector uppercase/lowercase intrinsic. We do have unit tests for this so I'm not sure how it has escaped this far. Will be fixing shortly and looking into why our unit tests did not catch this. |
@ben-walsh FYI the first link in the description is very misleading. It points to the java/lang/Character testing while the test that failed is in the java/lang/String testing (your second link). This is why my manual attempt at locally reproducing was not working. I was testing the wrong thing! |
@fjeremic Apologies. My mistake. |
Title and links in description corrected accordingly. |
In eclipse-openj9#4597 we identified cases on which `toUpperCase` fails on Linux on Z. This is due to some faulty login in the evaluator for these intrinsics on Z. Bugs seem to have been introduced in eclipse-openj9#2318 for certain characters. Namely the test in eclipse-openj9#4597 fails to convert the `\u00FF` character. The bug is obvious, since `toUpperCase` of such a character cannot be handled and the JIT evaluator determines the invalid character range by checking if the character is greater than 0xFF, but it should be checking if greater than or equal to. In addition the compressed String evaluator also fails on 0xB5 as determined by the unit tests. Both issues are fixed. Fixes: eclipse-openj9#4597 Signed-off-by: Filip Jeremic <fjeremic@ca.ibm.com>
Fix is in #4688 and is waiting for a committer to pick it up. Thanks for letting us know about this bug! |
Consistent multiple failures of test https://github.com/ibmruntimes/openj9-openjdk-jdk11/blob/openj9/test/jdk/java/lang/String/UnicodeCasingTest.java are observed on Linux s390 of the form ...
See https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_j9_openjdktest_s390x_linux/140/testReport/junit/java_lang_String_UnicodeCasingTest/java/UnicodeCasingTest
No such failures are observed on other platforms ...
e.g. Linux PPC ...
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_j9_openjdktest_ppc64le_linux/130/testReport/java_lang_String_UnicodeCasingTest/java/UnicodeCasingTest
e.g. Windows ...
https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk11_j9_openjdktest_x86-64_windows/130/testReport/java_lang_String_UnicodeCasingTest/java/UnicodeCasingTest
It seems to be all the locale variants of English that are failing, nothing else.
The text was updated successfully, but these errors were encountered: