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

jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java failed "AssertionError: Expected terminated values: [666] but got: []"

XMLWordPrintable

    • b11
    • x86_64, aarch64
    • linux, windows
    • Verified

        The following test failed in the JDK20 CI:

        jdk/internal/misc/TerminatingThreadLocal/TestTerminatingThreadLocal.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(5/467)----------
        command: main -Djdk.virtualThreadScheduler.parallelism=1 -Djdk.virtualThreadScheduler.maxPoolSize=2 TestTerminatingThreadLocal
        reason: User specified action: run main/othervm -Djdk.virtualThreadScheduler.parallelism=1 -Djdk.virtualThreadScheduler.maxPoolSize=2 TestTerminatingThreadLocal
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
        elapsed time (seconds): 31.157
        ----------configuration:(4/111)----------
        Boot Layer
          add modules: java.base
          add exports: java.base/jdk.internal.misc ALL-UNNAMED

        ----------System.out:(0/0)----------
        ----------System.err:(12/794)----------
        java.lang.AssertionError: Expected terminated values: [666] but got: []
        at TestTerminatingThreadLocal.ttlTestVirtual(TestTerminatingThreadLocal.java:170)
        at TestTerminatingThreadLocal.main(TestTerminatingThreadLocal.java:48)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:578)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:1589)

        JavaTest Message: Test threw exception: java.lang.AssertionError: Expected terminated values: [666] but got: []
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.AssertionError: Expected terminated values: [666] but got: []
        ----------rerun:(41/5987)*----------

        Since this is a Tier1 failure, I'm starting this bug off as a P2.

              alanb Alan Bateman
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: