Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8257796

[TESTBUG] TestUseSHA512IntrinsicsOptionOnSupportedCPU.java fails on x86_32

    XMLWordPrintable

Details

    • b28
    • x86

    Backports

      Description

        STDOUT:
        CPU arch i386 does not match aarch64.*
        CPU arch i386 does not match s390.*
        CPU arch i386 does not match ppc64.*
        CPU arch i386 does not match ppc64le.*
        CPU arch i386 does not match amd64.*
        Running compiler.intrinsics.sha.cli.testcases.GenericTestCaseForSupportedCPU
        Command line: [/home/jdk/build/linux-x86-server-fastdebug/images/jdk/bin/java -cp /home/jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_intrinsics_sha_cli_TestUseSHA512IntrinsicsOptionOnSupportedCPU_java/classes/0/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnSupportedCPU.d:/home/jdk/test/hotspot/jtreg/compiler/intrinsics/sha/cli:/home/jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_intrinsics_sha_cli_TestUseSHA512IntrinsicsOptionOnSupportedCPU_java/classes/0/test/lib:/home/jdk/test/lib:/home/jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_intrinsics_sha_cli_TestUseSHA512IntrinsicsOptionOnSupportedCPU_java/classes/0/compiler/intrinsics/sha/cli/testcases:/home/jdk/test/hotspot/jtreg/compiler/intrinsics/sha/cli/testcases:/home/jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_compiler_intrinsics_sha_cli_TestUseSHA512IntrinsicsOptionOnSupportedCPU_java/classes/0:/home/jdk/test/hotspot/jtreg:/home/jtreg/lib/javatest.jar:/home/jtreg/lib/jtreg.jar -server -XX:-NeverActAsServerClassMachine -XX:+UnlockDiagnosticVMOptions -XX:+UseSHA512Intrinsics -version ]

        STDERR:
         stdout: [];
         stderr: [OpenJDK Server VM warning: Intrinsics for SHA-384 and SHA-512 crypto hash functions not available on this CPU.
        openjdk version "16-internal" 2021-03-16
        OpenJDK Runtime Environment (fastdebug build 16-internal+4-adhoc.jvm.jdk)
        OpenJDK Server VM (fastdebug build 16-internal+4-adhoc.jvm.jdk, mixed mode)
        ]
         exitValue = 0

        java.lang.AssertionError: Unexpected message found: 'Intrinsics for SHA-384 and SHA-512 crypto hash functions not available on this CPU.'.
        JVM should start with option 'UseSHA512Intrinsics' without any warnings
                at jdk.test.lib.cli.CommandLineOptionTest.verifyOutput(CommandLineOptionTest.java:172)
                at jdk.test.lib.cli.CommandLineOptionTest.verifyJVMStartup(CommandLineOptionTest.java:130)
                at jdk.test.lib.cli.CommandLineOptionTest.verifySameJVMStartup(CommandLineOptionTest.java:209)
                at compiler.intrinsics.sha.cli.testcases.GenericTestCaseForSupportedCPU.verifyWarnings(GenericTestCaseForSupportedCPU.java:58)
                at compiler.intrinsics.sha.cli.DigestOptionsBase$TestCase.test(DigestOptionsBase.java:162)
                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:78)
                at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.base/java.lang.reflect.Method.invoke(Method.java:567)
                at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
                at java.base/java.lang.Thread.run(Thread.java:831)

        Attachments

          Issue Links

            Activity

              People

                jiefu Jie Fu
                jiefu Jie Fu
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: