dragonwell-project / dragonwell17

Alibaba Dragonwell17 JDK
https://dragonwell-jdk.io/
GNU General Public License v2.0
294 stars 42 forks source link

【上游问题】compiler/intrinsics/sha/cli/TestUseSHA3IntrinsicsOptionOnSupportedCPU.java报错 #43

Open sendaoYan opened 1 year ago

sendaoYan commented 1 year ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/147251?tab=1

 stderr: [openjdk version "17.0.6" 2023-01-17
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-17.0.6.0.6+9-GA (build 17.0.6+9)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-17.0.6.0.6+9-GA (build 17.0.6+9, mixed mode, sharing)
]
 exitValue = 0

java.lang.AssertionError: Option 'UseSHA3Intrinsics' is expected to have 'true' value
Option 'UseSHA3Intrinsics' should be enabled by default
    at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValue(CommandLineOptionTest.java:307)
    at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValue(CommandLineOptionTest.java:280)
    at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValueForSameVM(CommandLineOptionTest.java:404)
    at compiler.intrinsics.sha.cli.testcases.GenericTestCaseForSupportedCPU.verifyOptionValues(GenericTestCaseForSupportedCPU.java:101)
    at compiler.intrinsics.sha.cli.DigestOptionsBase$TestCase.test(DigestOptionsBase.java:163)
    at compiler.intrinsics.sha.cli.DigestOptionsBase.runTestCases(DigestOptionsBase.java:139)
    at jdk.test.lib.cli.CommandLineOptionTest.test(CommandLineOptionTest.java:535)
    at compiler.intrinsics.sha.cli.TestUseSHA3IntrinsicsOptionOnSupportedCPU.main(TestUseSHA3IntrinsicsOptionOnSupportedCPU.java:46)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.RuntimeException: 'UseSHA3Intrinsics\s*:?=\s*true' missing from stdout/stderr 

    at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:340)
    at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValue(CommandLineOptionTest.java:299)
    ... 13 more
sendaoYan commented 1 year ago

compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnSupportedCPU.java

 stderr: [openjdk version "17.0.6" 2023-01-17
OpenJDK Runtime Environment (Alibaba Dragonwell Standard Edition)-17.0.6.0.6+9-GA (build 17.0.6+9)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell Standard Edition)-17.0.6.0.6+9-GA (build 17.0.6+9, mixed mode, sharing)
]
 exitValue = 0

java.lang.AssertionError: Option 'UseSHA512Intrinsics' is expected to have 'true' value
Option 'UseSHA512Intrinsics' should be enabled by default
    at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValue(CommandLineOptionTest.java:307)
    at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValue(CommandLineOptionTest.java:280)
    at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValueForSameVM(CommandLineOptionTest.java:404)
    at compiler.intrinsics.sha.cli.testcases.GenericTestCaseForSupportedCPU.verifyOptionValues(GenericTestCaseForSupportedCPU.java:101)
    at compiler.intrinsics.sha.cli.DigestOptionsBase$TestCase.test(DigestOptionsBase.java:163)
    at compiler.intrinsics.sha.cli.DigestOptionsBase.runTestCases(DigestOptionsBase.java:139)
    at jdk.test.lib.cli.CommandLineOptionTest.test(CommandLineOptionTest.java:535)
    at compiler.intrinsics.sha.cli.TestUseSHA512IntrinsicsOptionOnSupportedCPU.main(TestUseSHA512IntrinsicsOptionOnSupportedCPU.java:46)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
    at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.RuntimeException: 'UseSHA512Intrinsics\s*:?=\s*true' missing from stdout/stderr 

    at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:340)
    at jdk.test.lib.cli.CommandLineOptionTest.verifyOptionValue(CommandLineOptionTest.java:299)
    ... 13 more