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

sun/hotspot/whitebox/CPUInfoTest.java fails after JDK-8239090

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 16
    • 16
    • hotspot
    • b19
    • x86
    • Verified

    Description

      The following test failed in the JDK16 CI:

      sun/hotspot/whitebox/CPUInfoTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(4/292)----------
      command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI CPUInfoTest
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI CPUInfoTest
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 0.639
      ----------configuration:(0/0)----------
      ----------System.out:(4/1046)----------
      WB.getCPUFeatures(): "(16 cores per cpu, 2 threads per core) family 23 model 1 stepping 2 microcode 0x1000065, cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4a, sse4.1, sse4.2, popcnt, lzcnt, tsc, avx, avx2, aes, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, hv"
      CPUInfo.getAdditionalCPUInfo(): "(16 cores per cpu, 2 threads per core) family 23 model 1 stepping 2 microcode 0x1000065"
      CPUInfo.getFeatures(): [cx8, cmov, fxsr, ht, mmx, 3dnowpref, sse, sse2, sse3, ssse3, sse4a, sse4.1, sse4.2, popcnt, lzcnt, tsc, avx, avx2, aes, clmul, bmi1, bmi2, adx, sha, fma, vzeroupper, clflush, clflushopt, hv]
      Well-known CPU features: [avx512vl, avx512dq, avx2, avx512f, fxsr, mmx, sse4a, sse3, sse2, avx512_vnni, avx512pf, tsc, aes, avx512_vpclmulqdq, avx512_vbmi2, vzeroupper, sse4.2, sse4.1, bmi2, bmi1, sha, avx, ht, tscinvbit, lzcnt, popcnt, clflushopt, mmxext, fma, adx, cx8, avx512cd, tscinv, erms, clmul, sse, rtm, 3dnowpref, avx512bw, clwb, avx512_vpopcntdq, cmov, avx512er, avx512_vaes, ssse3, clflush]
      ----------System.err:(15/1011)----------
      java.lang.RuntimeException: not all features are known: expected true, was false
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
      at CPUInfoTest.main(CPUInfoTest.java:78)
      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: not all features are known: expected true, was false
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: not all features are known: expected true, was false
      ----------rerun:(44/5459)*----------

      Attachments

        Issue Links

          Activity

            People

              iveresov Igor Veresov
              iveresov Igor Veresov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: