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

java/util/concurrent/BlockingQueue/DrainToFails.java testBounded fails intermittently

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: 13
    • Component/s: core-libs
    • Labels:

      Description

      java/util/concurrent/BlockingQueue/DrainToFails.java once failed in CI on windows-x64, after jsr166 update 2019-05 (possible change of JDK-8221892 ?)

      ----------System.err:(49/2719)----------
      DelayQueue
      DelayedWorkQueue
      LinkedBlockingQueue
      LinkedBlockingDeque
      PriorityBlockingQueue
      LinkedBlockingQueue
      LinkedBlockingDeque
      java.lang.Exception: Stack trace
      at java.base/java.lang.Thread.dumpStack(Thread.java:1379)
      at DrainToFails.fail(DrainToFails.java:203)
      at DrainToFails.check(DrainToFails.java:206)
      at DrainToFails.testBounded(DrainToFails.java:173)
      at DrainToFails.test(DrainToFails.java:68)
      at DrainToFails.instanceMain(DrainToFails.java:213)
      at DrainToFails.main(DrainToFails.java:211)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)
      java.lang.Exception: Stack trace
      at java.base/java.lang.Thread.dumpStack(Thread.java:1379)
      at DrainToFails.fail(DrainToFails.java:203)
      at DrainToFails.check(DrainToFails.java:206)
      at DrainToFails.testBounded(DrainToFails.java:173)
      at DrainToFails.test(DrainToFails.java:68)
      at DrainToFails.instanceMain(DrainToFails.java:213)
      at DrainToFails.main(DrainToFails.java:211)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)
      ArrayBlockingQueue
      java.lang.AssertionError: Some tests failed
      at DrainToFails.instanceMain(DrainToFails.java:215)
      at DrainToFails.main(DrainToFails.java:211)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)

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

      ----------System.out:(3/30)----------

      Passed = 135, failed = 2

        Attachments

          Activity

            People

            • Assignee:
              martin Martin Buchholz
              Reporter:
              amlu Amy Lu
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: