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

java/util/Random/RandomTestBsi1999.java failed "java.security.SecureRandom nextFloat consecutive"

XMLWordPrintable

    • b17
    • x86_64
    • windows

      The following test failed in the JDK17 CI:

      java/util/Random/RandomTestBsi1999.java

      Here's a snippet from the log file:

      ----------System.err:(15/919)----------
      SecureRandom
        run test failure for java.security.SecureRandom nextFloat consecutive (10220 1-bits)
        testRngBsi1999Int glitchjava.lang.RuntimeException: 2 fails detected
      at RandomTestBsi1999.exceptionOnFail(RandomTestBsi1999.java:108)
      at RandomTestBsi1999.main(RandomTestBsi1999.java:451)
      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:568)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 2 fails detected

      This is a new test recently added by:

      JDK-8248862 Implement Enhanced Pseudo-Random Number Generators

      There are no special JVM args for this test task.

            jlaskey Jim Laskey
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: