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

testParkTimesOut_parkUntil(LockSupportTest) hangs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Introduced In Build:
      b151
    • Introduced In Version:
      9
    • CPU:
      generic
    • OS:
      linux

      Description

      JSR166TestCase is failing with `main' threw exception: java.lang.Exception: JUnit test failure

      junit.framework.AssertionFailedError: timed out waiting for thread to terminate

      Attached the logs for more infromation
      1. JSR166TestCase.txt
        47 kB
        Abdul Kolarkunnu
      2. JSR166TestCase#id1.txt
        41 kB
        Abdul Kolarkunnu

        Issue Links

          Activity

          Hide
          dholmes David Holmes added a comment -
          System info from dmesg:

          ACPI: HPET id: 0x0 base: 0xfed00000
          hpet clockevent registered
          HPET: 3 timers in total, 0 timers will be used for per-cpu timer
          Fast TSC calibration using PIT
          Detected 2792.069 MHz processor.
          Calibrating delay loop (skipped), value calculated using timer frequency.. 5584.13 BogoMIPS (lpj=2792069)
          hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31
          hpet0: 3 comparators, 32-bit 25.000000 MHz counter
          Switching to clocksource hpet
          Clocksource tsc unstable (delta = -161462907 ns)

          ---

          Use of hpet as timer seems stable and no sign of any elapsed-time jumps.
          Show
          dholmes David Holmes added a comment - System info from dmesg: ACPI: HPET id: 0x0 base: 0xfed00000 hpet clockevent registered HPET: 3 timers in total, 0 timers will be used for per-cpu timer Fast TSC calibration using PIT Detected 2792.069 MHz processor. Calibrating delay loop (skipped), value calculated using timer frequency.. 5584.13 BogoMIPS (lpj=2792069) hpet0: at MMIO 0xfed00000, IRQs 2, 8, 31 hpet0: 3 comparators, 32-bit 25.000000 MHz counter Switching to clocksource hpet Clocksource tsc unstable (delta = -161462907 ns) --- Use of hpet as timer seems stable and no sign of any elapsed-time jumps.
          Hide
          dholmes David Holmes added a comment -
          ~Martin: is there a way to run just LockSupportTest ?
          Show
          dholmes David Holmes added a comment - ~Martin: is there a way to run just LockSupportTest ?
          Hide
          martin Martin Buchholz added a comment -
          You can run jtreg with args like these:
           -Djsr166.methodFilter=LockSupport -Djsr166.runsPerTest=30 JSR166TestCase.java
          or
           -Djsr166.methodFilter=testParkTimesOut -Djsr166.runsPerTest=300 JSR166TestCase.java
          Show
          martin Martin Buchholz added a comment - You can run jtreg with args like these:  -Djsr166.methodFilter=LockSupport -Djsr166.runsPerTest=30 JSR166TestCase.java or  -Djsr166.methodFilter=testParkTimesOut -Djsr166.runsPerTest=300 JSR166TestCase.java
          Hide
          dholmes David Holmes added a comment -
          Thanks. I ended up hacking the sources as I didn't have jtreg available.
          Show
          dholmes David Holmes added a comment - Thanks. I ended up hacking the sources as I didn't have jtreg available.
          Hide
          dholmes David Holmes added a comment -
          I ran the test overnight continually, many thousands of times with no failures.

          As the failure does not reproduce anywhere I'm closing as "Cannot reproduce".
          Show
          dholmes David Holmes added a comment - I ran the test overnight continually, many thousands of times with no failures. As the failure does not reproduce anywhere I'm closing as "Cannot reproduce".

            People

            • Assignee:
              dholmes David Holmes
              Reporter:
              akolarkunnu Abdul Kolarkunnu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: