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

JSR166TestCase.java fails due to "AssertionFailedError: too many consecutive spurious wakeups?"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • tbd
    • 10
    • core-libs

      This failure was spotted in the 2017-08-09 JDK10-hs nightly:

      java/util/concurrent/tck/JSR166TestCase.java
          Test failed due to "junit.framework.AssertionFailedError: too many
          consecutive spurious wakeups?" on Win Server 2012 32-bit Server VM.

      Here is a snippet of the .jtr file:

      junit.framework.AssertionFailedError: too many consecutive spurious wakeups?
      at junit.framework.Assert.fail(Assert.java:50)
      at LockSupportTest$5.realRun(LockSupportTest.java:290)
      at JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:1535)
      at java.base/java.lang.Thread.run(Thread.java:844)
      junit.framework.AssertionFailedError: too many consecutive spurious wakeups?
      at junit.framework.Assert.fail(Assert.java:50)
      at LockSupportTest$5.realRun(LockSupportTest.java:290)
      at JSR166TestCase$CheckedRunnable.run(JSR166TestCase.java:1535)
      at java.base/java.lang.Thread.run(Thread.java:844)
      STATUS:Failed.`main' threw exception: junit.framework.AssertionFailedError: too many consecutive spurious wakeups?

            dholmes David Holmes
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: