Skip to content
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

JDK16+ some tests under jdk/incubator/vector/ failed on arm #2874

Open
sophia-guo opened this issue Sep 16, 2021 · 4 comments
Open

JDK16+ some tests under jdk/incubator/vector/ failed on arm #2874

sophia-guo opened this issue Sep 16, 2021 · 4 comments

Comments

@sophia-guo
Copy link
Contributor

sophia-guo commented Sep 16, 2021

jdk/incubator/vector/Byte64VectorTests.java.Byte64VectorTests
jdk/incubator/vector/ByteMaxVectorTests.java.ByteMaxVectorTests
jdk/incubator/vector/Int64VectorTests.java.Int64VectorTests
jdk/incubator/vector/IntMaxVectorTests.java.IntMaxVectorTests
jdk/incubator/vector/Short64VectorTests.java.Short64VectorTests
jdk/incubator/vector/ShortMaxVectorTests.java.ShortMaxVectorTests

Tests failed with similar message:

20:21:08  test ByteMaxVectorTests.ASHRByteMaxVectorTestsMasked(byte[-i * 5], byte[cornerCaseValue(i)], mask[true]): failure
20:21:08  java.lang.AssertionError: at index #3, input1 = -15, input2 = 127, mask = true expected [-1] but found [-128]
20:21:08  	at org.testng.Assert.fail(Assert.java:99)
20:21:08  	at org.testng.Assert.failNotEquals(Assert.java:1037
20:21:08  STDERR:
20:21:08  WARNING: Using incubator modules: jdk.incubator.vector
20:21:08  java.lang.Exception: failures: 5
20:21:08  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
20:21:08  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
20:21:08  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
20:21:08  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
20:21:08  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
20:21:08  	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
20:21:08  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
20:21:08  	at java.base/java.lang.Thread.run(Thread.java:833)
20:21:08  
20:21:08  JavaTest Message: Test threw exception: java.lang.Exception: failures: 5
20:21:08  JavaTest Message: shutting down test

https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_2/12/consoleFull
https://ci.adoptopenjdk.net/job/Test_openjdk16_hs_extended.openjdk_arm_linux_testList_2/11/consoleFull

Test jdk/incubator/vector/Byte512VectorLoadStoreTests.java.Byte512VectorLoadStoreTests
jdk/incubator/vector/Byte64VectorTests.java.Byte64VectorTests also with crash information and error message TEST RESULT: Failed. Unexpected exit from test [exit code: 134]

20:20:14  # A fatal error has been detected by the Java Runtime Environment:
20:20:14  #
20:20:14  #  SIGSEGV (0xb) at pc=0xf76da7ac, pid=962363, tid=962379
20:20:14  #
20:20:14  # JRE version: OpenJDK Runtime Environment Temurin-17+35 (17.0+35) (build 17+35)
20:20:14  # Java VM: OpenJDK Server VM Temurin-17+35 (17+35, mixed mode, sharing, g1 gc, linux-arm)
20:20:14  # Problematic frame:
20:20:14  # V  [libjvm.so+0x7597ac]  PhaseIdealLoop::build_loop_late_post_work(Node*, bool)+0xf8
20:20:14  #
20:20:14  # Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_2/aqa-tests/TKG/output_16316620517389/jdk_vector_2/work/scratch/5/core.962363)
20:20:14  #
20:20:14  [thread 962392 also had an error]
20:20:14  # An error report file with more information is saved as:
20:20:14  # /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_2/aqa-tests/TKG/output_16316620517389/jdk_vector_2/work/scratch/5/hs_err_pid962363.log
20:20:14  test Byte512VectorLoadStoreTests.loadStoreByteBuffer(byte[i * 5], HB:RW:NE, BIG_ENDIAN): success
20:20:14  test Byte512VectorLoadStoreTests.loadStoreByteBuffer(byte[i * 5], DB:RW:NE, LITTLE_ENDIAN): success
20:20:14  test Byte512VectorLoadStoreTests.loadStoreByteBuffer(byte[i * 5], DB:RW:NE, BIG_ENDIAN): success
20:20:14  #
20:20:14  # Compiler replay data is saved as:
20:20:14  # /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_2/aqa-tests/TKG/output_16316620517389/jdk_vector_2/work/scratch/5/replay_pid962363.log
20:20:14  #

#2854

@sophia-guo
Copy link
Contributor Author

Two more tests
jdk/incubator/vector/Byte256VectorLoadStoreTests.java.Byte256VectorLoadStoreTests
jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java.ByteMaxVectorLoadStoreTests

09:27:11  [thread 2844039 also had an error]
09:27:11  #
09:27:11  # A fatal error has been detected by the Java Runtime Environment:
09:27:11  #
09:27:11  #  SIGSEGV (0xb) at pc=0xf75a5be4, pid=2844023, tid=2844042
09:27:11  #
09:27:11  # JRE version: OpenJDK Runtime Environment Temurin-17+35 (17.0+35) (build 17+35)
09:27:11  # Java VM: OpenJDK Server VM Temurin-17+35 (17+35, mixed mode, sharing, g1 gc, linux-arm)
09:27:11  # Problematic frame:
09:27:11  # V  [libjvm.so+0x75bbe4]test Byte256VectorLoadStoreTests.loadStoreByteBuffer(byte[i * 5], MS:RW:NE, LITTLE_ENDIAN): success
09:27:11    PhaseIdealLoop::build_loop_late_post_work(Node*, bool)+0xf8
09:27:11  #
09:27:11  # Core dump will be written. Default location: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_1/aqa-tests/TKG/output_16338695791416/jdk_vector_2/work/scratch/2/core
09:27:11  #
09:27:11  # An error report file with more information is saved as:
09:27:11  # /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_1/aqa-tests/TKG/output_16338695791416/jdk_vector_2/work/scratch/2/hs_err_pid2844023.log
09:27:11  [thread 2844043 also had an error]
09:27:11  test Byte256VectorLoadStoreTests.loadStoreByteBuffer(byte[i + 1], HB:RW:NE, BIG_ENDIAN): success
09:27:11  #
09:27:11  # Compiler replay data is saved as:
09:27:11  # /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_1/aqa-tests/TKG/output_16338695791416/jdk_vector_2/work/scratch/2/replay_pid2844023.log
09:27:57  # A fatal error has been detected by the Java Runtime Environment:
09:27:57  #
09:27:57  #  SIGSEGV (0xb) at pc=0xf780bbe4, pid=2844228, tid=2844245
09:27:57  #
09:27:57  # JRE version: OpenJDK Runtime Environment Temurin-17+35 (17.0+35) (build 17+35)
09:27:57  # Java VM: OpenJDK Server VM Temurin-17+35 (17+35, mixed mode, sharing, g1 gc, linux-arm)
09:27:57  # Problematic frame:
09:27:57  # V  [libjvm.so+0x75bbe4]  PhaseIdealLoop::build_loop_late_post_work(Node*, bool)+0xf8
09:27:57  #
09:27:57  # Core dump will be written. Default location: /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_1/aqa-tests/TKG/output_16338695791416/jdk_vector_2/work/scratch/1/core
09:27:57  #
09:27:57  # An error report file with more information is saved as:
09:27:57  # /home/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_1/aqa-tests/TKG/output_16338695791416/jdk_vector_2/work/scratch/1/hs_err_pid2844228.log

https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_arm_linux_testList_1/14/console

@sophia-guo
Copy link
Contributor Author

jdk/incubator/vector/Byte128VectorLoadStoreTests.java same issue in jdk17

@sophia-guo
Copy link
Contributor Author

jdk/incubator/vector/Byte256VectorLoadStoreTests.java.Byte256VectorLoadStoreTests
jdk/incubator/vector/Byte512VectorLoadStoreTests.java.Byte512VectorLoadStoreTests

same issue on jdk17 x86-32_windowns
https://ci.adoptopenjdk.net/job/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_1/26/#showFailuresLink

@smlambert
Copy link
Contributor

https://ci.adoptopenjdk.net/job/Test_openjdk18_hs_extended.openjdk_arm_linux_testList_1/22/testReport/
shows 3 more vector test cases that occur on arm_linux for jdk18 run:

jdk/incubator/vector/Byte64VectorLoadStoreTests.java.Byte64VectorLoadStoreTests
jdk/incubator/vector/ByteMaxVectorLoadStoreTests.java.ByteMaxVectorLoadStoreTests
jdk/incubator/vector/Byte128VectorLoadStoreTests.java.Byte128VectorLoadStoreTests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants