-
Bug
-
Resolution: Fixed
-
P4
-
24
-
b23
-
riscv
-
linux
Testing on linux-riscv64 platform without RISC-V Zvkn extension:
Error message looks like:
stderr: [OpenJDK 64-Bit Server VM warning: AES intrinsics require Zvkn extension (not available on this CPU).
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'void jdk.test.whitebox.WhiteBox.registerNatives()'
at jdk.test.whitebox.WhiteBox.registerNatives(Native Method)
at jdk.test.whitebox.WhiteBox.<clinit>(WhiteBox.java:67)
at jdk.test.whitebox.code.Compiler.<clinit>(Compiler.java:35)
at compiler.codegen.aes.TestAESMain.main(TestAESMain.java:158)
]
exitValue = 1
java.lang.AssertionError: Expected message not found: 'warning: AES instructions are not available on this CPU'.
Case testUseAES failed
at jdk.test.lib.cli.CommandLineOptionTest.verifyOutput(CommandLineOptionTest.java:159)
at compiler.cpuflags.TestAESIntrinsicsOnUnsupportedConfig.testUseAES(TestAESIntrinsicsOnUnsupportedConfig.java:96)
at compiler.cpuflags.TestAESIntrinsicsOnUnsupportedConfig.runTestCases(TestAESIntrinsicsOnUnsupportedConfig.java:54)
at compiler.cpuflags.TestAESIntrinsicsOnUnsupportedConfig.main(TestAESIntrinsicsOnUnsupportedConfig.java:106)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
Caused by: java.lang.RuntimeException: 'warning: AES instructions are not available on this CPU' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:372)
at jdk.test.lib.cli.CommandLineOptionTest.verifyOutput(CommandLineOptionTest.java:154)
... 7 more
JavaTest Message: Test threw exception: java.lang.AssertionError: Expected message not found: 'warning: AES instructions are not available on this CPU'.
Case testUseAES failed
JavaTest Message: shutting down test
Error message looks like:
stderr: [OpenJDK 64-Bit Server VM warning: AES intrinsics require Zvkn extension (not available on this CPU).
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'void jdk.test.whitebox.WhiteBox.registerNatives()'
at jdk.test.whitebox.WhiteBox.registerNatives(Native Method)
at jdk.test.whitebox.WhiteBox.<clinit>(WhiteBox.java:67)
at jdk.test.whitebox.code.Compiler.<clinit>(Compiler.java:35)
at compiler.codegen.aes.TestAESMain.main(TestAESMain.java:158)
]
exitValue = 1
java.lang.AssertionError: Expected message not found: 'warning: AES instructions are not available on this CPU'.
Case testUseAES failed
at jdk.test.lib.cli.CommandLineOptionTest.verifyOutput(CommandLineOptionTest.java:159)
at compiler.cpuflags.TestAESIntrinsicsOnUnsupportedConfig.testUseAES(TestAESIntrinsicsOnUnsupportedConfig.java:96)
at compiler.cpuflags.TestAESIntrinsicsOnUnsupportedConfig.runTestCases(TestAESIntrinsicsOnUnsupportedConfig.java:54)
at compiler.cpuflags.TestAESIntrinsicsOnUnsupportedConfig.main(TestAESIntrinsicsOnUnsupportedConfig.java:106)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
Caused by: java.lang.RuntimeException: 'warning: AES instructions are not available on this CPU' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:372)
at jdk.test.lib.cli.CommandLineOptionTest.verifyOutput(CommandLineOptionTest.java:154)
... 7 more
JavaTest Message: Test threw exception: java.lang.AssertionError: Expected message not found: 'warning: AES instructions are not available on this CPU'.
Case testUseAES failed
JavaTest Message: shutting down test
- duplicates
-
JDK-8343475 RISC-V: Test TestAESIntrinsicsOnUnsupportedConfig.java fails
-
- Closed
-
- relates to
-
JDK-8334999 RISC-V: implement AES single block encryption/decryption intrinsics
-
- Resolved
-
-
JDK-8343475 RISC-V: Test TestAESIntrinsicsOnUnsupportedConfig.java fails
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk/20f3aaff
-
Review(master) openjdk/jdk/21847