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

two MD5 tests fail "RuntimeException: Unexpected count of intrinsic"

XMLWordPrintable

    • b11
    • x86_64
    • linux

        The following two test fail in the JDK16 CI:

        compiler/intrinsics/sha/sanity/TestMD5MultiBlockIntrinsics.java
        compiler/intrinsics/sha/sanity/TestMD5Intrinsics.java

        Here's a snippet from the TestMD5MultiBlockIntrinsics.java log file:

        #section:main
        ----------messages:(5/516)----------
        command: main -DverificationStrategy=VERIFY_INTRINSIC_USAGE compiler.testlibrary.intrinsics.Verifier positive.log positive_def.log negative.log
        reason: User specified action: run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE compiler.testlibrary.intrinsics.Verifier positive.log positive_def.log negative.log
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
        elapsed time (seconds): 0.532
        ----------configuration:(4/111)----------
        Boot Layer
          add modules: java.base java.management
          add exports: java.base/jdk.internal.misc ALL-UNNAMED

        ----------System.out:(2/118)----------
        Verifying positive.log
        Intrinsic _digestBase_implCompressMB verification, is expected: true, matched: 0, suspected: 0
        ----------System.err:(15/1228)----------
        java.lang.RuntimeException: Unexpected count of intrinsic _digestBase_implCompressMB is expected:true, matched: 0, suspected: 0
        at compiler.testlibrary.intrinsics.Verifier$VerificationStrategy$2.verify(Verifier.java:73)
        at compiler.testlibrary.intrinsics.Verifier.verify(Verifier.java:142)
        at compiler.testlibrary.intrinsics.Verifier.main(Verifier.java:103)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:832)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected count of intrinsic _digestBase_implCompressMB is expected:true, matched: 0, suspected: 0
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected count of intrinsic _digestBase_implCompressMB is expected:true, matched: 0, suspected: 0
        ----------rerun:(44/9768)*----------


        Here's a snippet from the TestMD5Intrinsics.java log file:

        #section:main
        ----------messages:(5/482)----------
        command: main -DverificationStrategy=VERIFY_INTRINSIC_USAGE compiler.testlibrary.intrinsics.Verifier positive.log negative.log
        reason: User specified action: run main/othervm -DverificationStrategy=VERIFY_INTRINSIC_USAGE compiler.testlibrary.intrinsics.Verifier positive.log negative.log
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
        elapsed time (seconds): 0.598
        ----------configuration:(4/111)----------
        Boot Layer
          add modules: java.base java.management
          add exports: java.base/jdk.internal.misc ALL-UNNAMED

        ----------System.out:(2/109)----------
        Verifying positive.log
        Intrinsic _md5_implCompress verification, is expected: true, matched: 0, suspected: 0
        ----------System.err:(15/1201)----------
        java.lang.RuntimeException: Unexpected count of intrinsic _md5_implCompress is expected:true, matched: 0, suspected: 0
        at compiler.testlibrary.intrinsics.Verifier$VerificationStrategy$2.verify(Verifier.java:73)
        at compiler.testlibrary.intrinsics.Verifier.verify(Verifier.java:142)
        at compiler.testlibrary.intrinsics.Verifier.main(Verifier.java:103)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:832)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected count of intrinsic _md5_implCompress is expected:true, matched: 0, suspected: 0
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected count of intrinsic _md5_implCompress is expected:true, matched: 0, suspected: 0
        ----------rerun:(44/9681)*----------


        Even though these are Tier6 failures, I'm starting this as
        a P2 since it looks like a regression due to a recent change.

              kvn Vladimir Kozlov
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: