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

java/util/Arrays/Sorting.java fails with "Array is not sorted at 8228-th position: 8251.0 and 8153.0"

    XMLWordPrintable

Details

    • b19
    • 22
    • b21
    • x86_64
    • linux
    • Verified

    Description

      The following test failed in the JDK22 CI:

      java/util/Arrays/Sorting.java

      Here's a snippet from log file:

      #section:main
      ----------messages:(6/501)----------
      command: main -XX:-TieredCompilation -XX:CompileCommand=CompileThresholdScaling,java.util.DualPivotQuicksort::sort,0.0001 Sorting -shortrun
      reason: User specified action: run main/othervm -XX:-TieredCompilation -XX:CompileCommand=CompileThresholdScaling,java.util.DualPivotQuicksort::sort,0.0001 Sorting -shortrun
      started: Tue Oct 17 07:18:41 UTC 2023
      Mode: othervm [/othervm specified, test or library overrides a system module]
      finished: Tue Oct 17 07:19:11 UTC 2023
      elapsed time (seconds): 30.358
      ----------configuration:(3/357)----------

      <snip>

      [Arrays.parallelSort] 'Test with check sum' length = 10000, random = C0FFEE, m = 128, CHAR STAGGER
      [Arrays.parallelSort] 'Test with check sum' length = 10000, random = C0FFEE, m = 128, SHORT STAGGER
      [Arrays.parallelSort] 'Test with check sum' length = 10000, random = C0FFEE, m = 128, FLOAT STAGGER
      ----------System.err:(25/1026)----------

      *** TEST FAILED ***

      Array is not sorted at 8228-th position: 8251.0 and 8153.0

      java.lang.RuntimeException: Test failed
      at Sorting.fail(Sorting.java:644)
      at Sorting.checkSorted(Sorting.java:892)
      at Sorting.checkSorted(Sorting.java:841)
      at Sorting.checkWithCheckSum(Sorting.java:638)
      at Sorting.testWithCheckSum(Sorting.java:438)
      at Sorting.testBasic(Sorting.java:109)
      at Sorting.testCore(Sorting.java:122)
      at Sorting.testAll(Sorting.java:140)
      at Sorting.testAll(Sorting.java:135)
      at Sorting.main(Sorting.java:85)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1570)

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

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed
      ----------rerun:(50/6633)*----------

      Attachments

        Issue Links

          Activity

            People

              sparasa Srinivas Parasa
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: