eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.27k stars 720 forks source link

jdk_nio_0_FAILED sun/nio/cs/TestIBMBugs.java java.lang.ArrayIndexOutOfBoundsException at java.lang.CharacterDataLatin1.getProperties(CharacterDataLatin1.java:72) #17995

Open JasonFengJ9 opened 1 year ago

JasonFengJ9 commented 1 year ago

Failure link

From an internal build(win16x64rt-1-2):

openjdk version "1.8.0_392-beta"
IBM Semeru Runtime Open Edition (build 1.8.0_392-beta-202308190240-b01)
Eclipse OpenJ9 VM (build master-b47a6d454, JRE 1.8.0 Windows Server 2016 amd64-64-Bit Compressed References 20230819_749 (JIT enabled, AOT enabled)
OpenJ9   - b47a6d454
OMR      - ac8ca57b0
JCL      - 36ba274cc based on jdk8u392-b01)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

[2023-08-19T05:14:46.666Z] variation: Mode150
[2023-08-19T05:14:47.057Z] JVM_OPTIONS:  -XX:+UseCompressedOops 

[2023-08-19T05:25:43.893Z] TEST: sun/nio/cs/TestIBMBugs.java

[2023-08-19T05:25:43.897Z] STDERR:
[2023-08-19T05:25:43.897Z] java.lang.ArrayIndexOutOfBoundsException
[2023-08-19T05:25:43.897Z]  at java.lang.CharacterDataLatin1.getProperties(CharacterDataLatin1.java:72)
[2023-08-19T05:25:43.897Z]  at java.lang.CharacterDataLatin1.getType(CharacterDataLatin1.java:103)
[2023-08-19T05:25:43.897Z]  at java.lang.Character.getType(Character.java:6978)
[2023-08-19T05:25:43.897Z]  at java.lang.Character.isDefined(Character.java:5758)
[2023-08-19T05:25:43.897Z]  at java.lang.Character.isDefined(Character.java:5734)
[2023-08-19T05:25:43.897Z]  at TestIBMBugs.bug6577466(TestIBMBugs.java:168)
[2023-08-19T05:25:43.897Z]  at TestIBMBugs.main(TestIBMBugs.java:176)
[2023-08-19T05:25:43.897Z]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-08-19T05:25:43.897Z]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-08-19T05:25:43.897Z]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-08-19T05:25:43.897Z]  at java.lang.reflect.Method.invoke(Method.java:498)
[2023-08-19T05:25:43.897Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
[2023-08-19T05:25:43.897Z]  at java.lang.Thread.run(Thread.java:826)
[2023-08-19T05:25:43.897Z] 
[2023-08-19T05:25:43.897Z] JavaTest Message: Test threw exception: java.lang.ArrayIndexOutOfBoundsException
[2023-08-19T05:25:43.897Z] JavaTest Message: shutting down test
[2023-08-19T05:25:43.897Z] 
[2023-08-19T05:25:43.897Z] 
[2023-08-19T05:25:43.897Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.ArrayIndexOutOfBoundsException
[2023-08-19T05:25:43.897Z] --------------------------------------------------
[2023-08-19T05:27:08.805Z] Test results: passed: 328; failed: 1
[2023-08-19T05:27:33.292Z] Report written to C:\Users\jenkins\workspace\Test_openjdk8_j9_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_16924189572306\jdk_nio_0\report\html\report.html
[2023-08-19T05:27:33.292Z] Results written to C:\Users\jenkins\workspace\Test_openjdk8_j9_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_16924189572306\jdk_nio_0\work
[2023-08-19T05:27:33.292Z] Error: Some tests failed or other problems occurred.
[2023-08-19T05:27:33.292Z] -----------------------------------
[2023-08-19T05:27:33.292Z] jdk_nio_0_FAILED

50x internal grinder - this failure wasn't reproduced.

hzongaro commented 1 year ago

Reproduced this in another 50x internal grinder run.

JasonFengJ9 commented 12 months ago

JDK8 x86-64_windows 0.41 milestone 2(win11x86-svl-rt3-1)

[2023-10-03T19:33:42.492Z] variation: Mode150
[2023-10-03T19:33:42.492Z] JVM_OPTIONS:  -XX:+UseCompressedOops 

[2023-10-03T20:00:42.838Z] TEST: sun/nio/cs/TestIBMBugs.java

[2023-10-03T20:00:42.840Z] STDERR:
[2023-10-03T20:00:42.840Z] java.lang.ArrayIndexOutOfBoundsException
[2023-10-03T20:00:42.840Z]  at java.lang.CharacterDataLatin1.getProperties(CharacterDataLatin1.java:72)
[2023-10-03T20:00:42.840Z]  at java.lang.CharacterDataLatin1.getType(CharacterDataLatin1.java:103)
[2023-10-03T20:00:42.840Z]  at java.lang.Character.getType(Character.java:6978)
[2023-10-03T20:00:42.840Z]  at java.lang.Character.isDefined(Character.java:5758)
[2023-10-03T20:00:42.840Z]  at java.lang.Character.isDefined(Character.java:5734)
[2023-10-03T20:00:42.840Z]  at TestIBMBugs.bug6577466(TestIBMBugs.java:168)
[2023-10-03T20:00:42.840Z]  at TestIBMBugs.main(TestIBMBugs.java:176)
[2023-10-03T20:00:42.840Z]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-10-03T20:00:42.840Z]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-10-03T20:00:42.840Z]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-10-03T20:00:42.840Z]  at java.lang.reflect.Method.invoke(Method.java:498)
[2023-10-03T20:00:42.840Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
[2023-10-03T20:00:42.840Z]  at java.lang.Thread.run(Thread.java:826)
[2023-10-03T20:00:42.840Z] 
[2023-10-03T20:00:42.840Z] JavaTest Message: Test threw exception: java.lang.ArrayIndexOutOfBoundsException

[2023-10-03T20:02:27.991Z] jdk_nio_0_FAILED

50x grinder - 2 failures reproduced

JasonFengJ9 commented 11 months ago

JDK8 x86-64_windows(win19x86-svl-rt3-1)

openjdk version "1.8.0_392"
IBM Semeru Runtime Open Edition (build 1.8.0_392-b08)
Eclipse OpenJ9 VM (build v0.41.0-release-9c5799b80, JRE 1.8.0 Windows Server 2019 amd64-64-Bit Compressed References 20231018_794 (JIT enabled, AOT enabled)
OpenJ9   - 9c5799b80
OMR      - fa7b6ddc7
JCL      - b73cbdd342 based on jdk8u392-b08)

[2023-10-18T23:40:08.114Z] variation: Mode150
[2023-10-18T23:40:10.312Z] JVM_OPTIONS:  -XX:+UseCompressedOops 

[2023-10-19T00:01:58.123Z] TEST: sun/nio/cs/TestIBMBugs.java

[2023-10-19T00:01:58.124Z] STDERR:
[2023-10-19T00:01:58.124Z] java.lang.ArrayIndexOutOfBoundsException
[2023-10-19T00:01:58.124Z]  at java.lang.CharacterDataLatin1.getProperties(CharacterDataLatin1.java:72)
[2023-10-19T00:01:58.124Z]  at java.lang.CharacterDataLatin1.getType(CharacterDataLatin1.java:103)
[2023-10-19T00:01:58.124Z]  at java.lang.Character.getType(Character.java:6978)
[2023-10-19T00:01:58.124Z]  at java.lang.Character.isDefined(Character.java:5758)
[2023-10-19T00:01:58.124Z]  at java.lang.Character.isDefined(Character.java:5734)
[2023-10-19T00:01:58.124Z]  at TestIBMBugs.bug6577466(TestIBMBugs.java:168)
[2023-10-19T00:01:58.124Z]  at TestIBMBugs.main(TestIBMBugs.java:176)
[2023-10-19T00:01:58.124Z]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2023-10-19T00:01:58.124Z]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2023-10-19T00:01:58.124Z]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2023-10-19T00:01:58.124Z]  at java.lang.reflect.Method.invoke(Method.java:498)
[2023-10-19T00:01:58.124Z]  at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
[2023-10-19T00:01:58.124Z]  at java.lang.Thread.run(Thread.java:826)
[2023-10-19T00:01:58.124Z] 
[2023-10-19T00:01:58.124Z] JavaTest Message: Test threw exception: java.lang.ArrayIndexOutOfBoundsException
[2023-10-19T00:01:58.124Z] JavaTest Message: shutting down test
[2023-10-19T00:01:58.124Z] 
[2023-10-19T00:01:58.124Z] 
[2023-10-19T00:01:58.124Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.ArrayIndexOutOfBoundsException
[2023-10-19T00:01:58.124Z] --------------------------------------------------
[2023-10-19T00:03:43.507Z] Test results: passed: 328; failed: 1
[2023-10-19T00:03:57.367Z] Report written to C:\Users\jenkins\workspace\Test_openjdk8_j9_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_16976676245304\jdk_nio_0\report\html\report.html
[2023-10-19T00:03:57.367Z] Results written to C:\Users\jenkins\workspace\Test_openjdk8_j9_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_16976676245304\jdk_nio_0\work
[2023-10-19T00:03:57.367Z] Error: Some tests failed or other problems occurred.
[2023-10-19T00:03:57.367Z] -----------------------------------
[2023-10-19T00:03:57.367Z] jdk_nio_0_FAILED

50x grinder - 1 failure reproduced