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

java/util/Random/RandomTestMoments.java had two Gaussian fails

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      x86_64
    • OS:
      windows

      Backports

        Description

        The following test failed in the JDK18 CI:

        java/util/Random/RandomTestMoments.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(5/153)----------
        command: main RandomTestMoments
        reason: User specified action: run main RandomTestMoments
        Mode: agentvm
        Agent id: 86
        elapsed time (seconds): 2.617
        ----------configuration:(14/1248)*----------
        Boot Layer
          class path: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\javatest.jar
                      C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jtreg.jar
                      C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\junit.jar
                      C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\hamcrest.jar
                      C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\testng.jar
                      C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\jcommander.jar
                      C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6\\1\\bundles\\jtreg-6+1.zip\\jtreg\\lib\\guice.jar
          patch: java.base T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_util\\patches\\java.base

        Test Layer
          class path: T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_util\\classes\\3\\java\\util\\Random\\RandomTestMoments.d
                      C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-18+10-471\\src.full\\open\\test\\jdk\\java\\util\\Random

        ----------rerun:(36/4475)*----------

        <snip>

        ----------System.err:(16/990)----------
        SecureRandom
          Gaussian fail: actual=55.330287, expected=38.298500, basis=38.298500, tolerance=0.200000
          Gaussian fail: actual=216.303488, expected=105.000000, basis=105.000000, tolerance=0.400000
        java.lang.RuntimeException: 2 fails detected
        at RandomTestMoments.exceptionOnFail(RandomTestMoments.java:56)
        at RandomTestMoments.main(RandomTestMoments.java:202)
        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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
        at java.base/java.lang.Thread.run(Thread.java:833)

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: