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

java/util/concurrent/tck/JSR166TestCase.java fails an unknown test case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P4 P4
    • tbd
    • 21
    • core-libs

      The following test failed in the JDK21 CI on macos-x64-debug -XX:+UseParallelGC -Xcomp.

      java/util/concurrent/tck/JSR166TestCase.java

      Here's all the information I was able to find:

      JavaTest Message: JUnit Platform Failure(s): 1

      [ JUnit Containers: found 222, started 222, succeeded 186, failed 0, aborted 0, skipped 0]
      [ JUnit Tests: found 4087, started 4066, succeeded 4065, failed 1, aborted 0, skipped 0]

      java.lang.Exception: JUnit test failure
      at com.sun.javatest.regtest.agent.JUnitRunner.runWithJUnitPlatform(JUnitRunner.java:149)
      at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:95)
      at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:61)
      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:1583)

      JavaTest Message: Test threw exception: java.lang.Exception: JUnit test failure
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: JUnit test failure
      ----------rerun:(44/6690)*----------

      Unfortunately, the test failure occurred in this portion of the log:

      STARTED LinkedTransferQueueTest::testElement 'testElement'
      SUCCESSFUL LinkedTransferQueueTest::testElement 'testElement'
      STARTED LinkedTransferQueueTest::testToArray2 'testToArray2'
      SUCCESSFUL LinkedTransfer

      ...
      Output overflow:
      JT Harness has limited the test output to the text
      at the beginning and the end, so that you can see how the
      test began, and how it completed.

      If you need to see more of the output from the test,
      set the system property javatest.maxOutputSize to a higher
      value. The current value is 100000
      ...

      ::testCancelledForkJoinCC 'testCancelledForkJoinCC'
      SUCCESSFUL ForkJoinPool8Test::testCancelledForkJoinCC 'testCancelledForkJoinCC'
      STARTED ForkJoinPool8Test::testReinitializeAbnormal 'testReinitializeAbnormal'
      SUCCESSFUL ForkJoinPool8Test::testReinitializeAbnormal 'testReinitializeAbnormal'

      The test has a couple of other unresolved failing sub tests:

      JDK-8282313 java/util/concurrent/tck/JSR166TestCase.java fails testAwaitQuiescence2 test

      JDK-8278527 java/util/concurrent/tck/JSR166TestCase.java fails nanoTime test


      This test is in need of improved diagnostics so that failure information
      is not lost. I downloaded the artifacts associated with the test job and
      I wasn't able to figure out which of JSR166TestCase's sub-tests failed.

            vklang Viktor Klang
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: