Building target 'test' in configuration 'linux-riscv64-server-fastdebug' Running tests using JTREG control variable 'VM_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:+UseZvbb' Test selection 'compiler/vectorization/TestRotateByteAndShortVector.java', will run: * jtreg:test/hotspot/jtreg/compiler/vectorization/TestRotateByteAndShortVector.java Clean up dirs for jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java Running test 'jtreg:test/hotspot/jtreg/compiler/vectorization/TestRotateByteAndShortVector.java' -------------------------------------------------- TEST: compiler/vectorization/TestRotateByteAndShortVector.java TEST JDK: /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/jdk ACTION: build -- Passed. Build successful REASON: Named class compiled on demand TIME: 163.411 seconds messages: command: build TestRotateByteAndShortVector reason: Named class compiled on demand started: Thu Apr 03 12:07:35 CST 2025 Test directory: compile: TestRotateByteAndShortVector finished: Thu Apr 03 12:10:18 CST 2025 elapsed time (seconds): 163.411 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 162.645 seconds messages: command: compile /home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization/TestRotateByteAndShortVector.java reason: .class file out of date or does not exist started: Thu Apr 03 12:07:35 CST 2025 Mode: agentvm Agent id: 1 Process id: 11164 finished: Thu Apr 03 12:10:18 CST 2025 elapsed time (seconds): 162.645 configuration: Boot Layer (javac runtime environment) class path: /home/ubuntu/tools/jtreg/lib/javatest.jar /home/ubuntu/tools/jtreg/lib/jtreg.jar patch: java.base /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/patches/java.base javac compilation environment source path: /home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization /home/ubuntu/jdk/test/lib class path: /home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/test/lib rerun: cd /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/scratch/0 && \ DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus \ DOCS_JDK_IMAGE_DIR=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/docs \ HOME=/home/ubuntu \ LANG=C.UTF-8 \ LC_ALL=C.UTF-8 \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/test \ XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop \ XDG_RUNTIME_DIR=/run/user/1000 \ XDG_SESSION_CLASS=user \ XDG_SESSION_ID=3 \ XDG_SESSION_TYPE=tty \ _JVM_DWARF_PATH=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/symbols \ /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/jdk/bin/javac \ -J-XX:MaxRAMPercentage=6.25 \ -J-Dtest.boot.jdk=/home/ubuntu/tools/boot-jdk \ -J-Djava.io.tmpdir=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/tmp \ -J-XX:+UnlockExperimentalVMOptions \ -J-XX:+UseZvbb \ -J-Dtest.vm.opts='-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/home/ubuntu/tools/boot-jdk -Djava.io.tmpdir=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/tmp -XX:+UnlockExperimentalVMOptions -XX:+UseZvbb' \ -J-Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/home/ubuntu/tools/boot-jdk -J-Djava.io.tmpdir=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/tmp -J-XX:+UnlockExperimentalVMOptions -J-XX:+UseZvbb' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts= \ -J-Dtest.jdk=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/jdk \ -J-Dcompile.jdk=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/jdk \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.nativepath=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/test/hotspot/jtreg/native \ -J-Dtest.root=/home/ubuntu/jdk/test/hotspot/jtreg \ -J-Dtest.name=compiler/vectorization/TestRotateByteAndShortVector.java \ -J-Dtest.verbose=Verbose[p=SUMMARY,f=FULL,e=FULL,t=false,m=false] \ -J-Dtest.file=/home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization/TestRotateByteAndShortVector.java \ -J-Dtest.src=/home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization \ -J-Dtest.src.path=/home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization:/home/ubuntu/jdk/test/lib \ -J-Dtest.classes=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d \ -J-Dtest.class.path=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d:/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/test/lib \ -J-Dtest.class.path.prefix=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d:/home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization:/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/test/lib \ -d /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d \ -sourcepath /home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization:/home/ubuntu/jdk/test/lib \ -classpath /home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization:/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d:/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/test/lib /home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization/TestRotateByteAndShortVector.java ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: rol value = 101, shift = 2, error: expect -108 but result is -107 REASON: User specified action: run main/othervm -XX:-TieredCompilation -XX:CompileCommand=compileonly,TestRotateByteAndShortVector::testRotate* -Xbatch TestRotateByteAndShortVector TIME: 14.488 seconds messages: command: main -XX:-TieredCompilation -XX:CompileCommand=compileonly,TestRotateByteAndShortVector::testRotate* -Xbatch TestRotateByteAndShortVector reason: User specified action: run main/othervm -XX:-TieredCompilation -XX:CompileCommand=compileonly,TestRotateByteAndShortVector::testRotate* -Xbatch TestRotateByteAndShortVector started: Thu Apr 03 12:10:18 CST 2025 Mode: othervm [/othervm specified] Process id: 11217 finished: Thu Apr 03 12:10:33 CST 2025 elapsed time (seconds): 14.488 configuration: STDOUT: CompileCommand: compileonly TestRotateByteAndShortVector.testRotate* bool compileonly = true For random generator using seed: -6075467526051532785 To re-run test with same seed value please add "-Djdk.test.lib.random.seed=-6075467526051532785" to command line. warmup Testing... STDERR: java.lang.RuntimeException: rol value = 101, shift = 2, error: expect -108 but result is -107 at TestRotateByteAndShortVector.runRotateLeftByteTest(TestRotateByteAndShortVector.java:88) at TestRotateByteAndShortVector.main(TestRotateByteAndShortVector.java:56) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:565) at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) at java.base/java.lang.Thread.run(Thread.java:1447) JavaTest Message: Test threw exception: java.lang.RuntimeException: rol value = 101, shift = 2, error: expect -108 but result is -107 JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: rol value = 101, shift = 2, error: expect -108 but result is -107 rerun: cd /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/scratch/0 && \ DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus \ DOCS_JDK_IMAGE_DIR=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/docs \ HOME=/home/ubuntu \ LANG=C.UTF-8 \ LC_ALL=C.UTF-8 \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/test \ XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop \ XDG_RUNTIME_DIR=/run/user/1000 \ XDG_SESSION_CLASS=user \ XDG_SESSION_ID=3 \ XDG_SESSION_TYPE=tty \ _JVM_DWARF_PATH=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/symbols \ CLASSPATH=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d:/home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization:/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/test/lib:/home/ubuntu/jdk/test/lib:/home/ubuntu/tools/jtreg/lib/javatest.jar:/home/ubuntu/tools/jtreg/lib/jtreg.jar \ /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/jdk/bin/java \ -Dtest.vm.opts='-XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/home/ubuntu/tools/boot-jdk -Djava.io.tmpdir=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/tmp -XX:+UnlockExperimentalVMOptions -XX:+UseZvbb' \ -Dtest.tool.vm.opts='-J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/home/ubuntu/tools/boot-jdk -J-Djava.io.tmpdir=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/tmp -J-XX:+UnlockExperimentalVMOptions -J-XX:+UseZvbb' \ -Dtest.compiler.opts= \ -Dtest.java.opts= \ -Dtest.jdk=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/jdk \ -Dcompile.jdk=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/jdk \ -Dtest.timeout.factor=4.0 \ -Dtest.nativepath=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/test/hotspot/jtreg/native \ -Dtest.root=/home/ubuntu/jdk/test/hotspot/jtreg \ -Dtest.name=compiler/vectorization/TestRotateByteAndShortVector.java \ -Dtest.verbose=Verbose[p=SUMMARY,f=FULL,e=FULL,t=false,m=false] \ -Dtest.file=/home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization/TestRotateByteAndShortVector.java \ -Dtest.src=/home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization \ -Dtest.src.path=/home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization:/home/ubuntu/jdk/test/lib \ -Dtest.classes=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d \ -Dtest.class.path=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d:/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/test/lib \ -Dtest.class.path.prefix=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/compiler/vectorization/TestRotateByteAndShortVector.d:/home/ubuntu/jdk/test/hotspot/jtreg/compiler/vectorization:/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/classes/0/test/lib \ -XX:MaxRAMPercentage=6.25 \ -Dtest.boot.jdk=/home/ubuntu/tools/boot-jdk \ -Djava.io.tmpdir=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/tmp \ -XX:+UnlockExperimentalVMOptions \ -XX:+UseZvbb \ -Djava.library.path=/home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/images/test/hotspot/jtreg/native \ -XX:-TieredCompilation \ -XX:CompileCommand=compileonly,TestRotateByteAndShortVector::testRotate* \ -Xbatch \ com.sun.javatest.regtest.agent.MainWrapper /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/compiler/vectorization/TestRotateByteAndShortVector.d/main.0.jta TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: rol value = 101, shift = 2, error: expect -108 but result is -107 -------------------------------------------------- Test results: failed: 1 Report written to /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-results/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java/html/report.html Results written to /home/ubuntu/jdk/build/linux-riscv64-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java Error: Some tests failed or other problems occurred. Finished running test 'jtreg:test/hotspot/jtreg/compiler/vectorization/TestRotateByteAndShortVector.java' Test report is stored in build/linux-riscv64-server-fastdebug/test-results/jtreg_test_hotspot_jtreg_compiler_vectorization_TestRotateByteAndShortVector_java ============================== Test summary ============================== TEST TOTAL PASS FAIL ERROR SKIP jtreg:test/hotspot/jtreg/compiler/vectorization/TestRotateByteAndShortVector.java >> 1 0 1 0 0 << ============================== TEST FAILURE make[1]: *** [/home/ubuntu/jdk/make/Init.gmk:150: main] Error 1 make: *** [/home/ubuntu/jdk/make/PreInit.gmk:158: test] Error 2