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

java/time/test/java/time/format/TestZoneTextPrinterParser.java fails by timeout on slow device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u60
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b67
    • CPU:
      arm
    • OS:
      linux

      Backports

        Description

        The test run over 1 hour and failed.

        The test should be revised or split for several tests. Probably Random generator affects execution duration.

        After I've replaced Random by constant test passed after 18 minutes:

        ACTION: testng -- Passed. Execution successful
        REASON: Assumed action based on file name: run testng test.java.time.format.TestZoneTextPrinterParser
        TIME: 1109.355 seconds

          Activity

          Hide
          skovalev Sergei Kovalev (Inactive) added a comment -
          Test passed on re-run. Execution time: 8804 seconds.
          Show
          skovalev Sergei Kovalev (Inactive) added a comment - Test passed on re-run. Execution time: 8804 seconds.
          Hide
          rriggs Roger Riggs added a comment -
          The test should be updated to print the random seed to improve reproducability.
          The running time of the test can be reduced by running only 8 separate times instead of 50.
          Since the times are a product of the random numbers; issue with specific days or times
          will be caught on some run of the tests.
          Show
          rriggs Roger Riggs added a comment - The test should be updated to print the random seed to improve reproducability. The running time of the test can be reduced by running only 8 separate times instead of 50. Since the times are a product of the random numbers; issue with specific days or times will be caught on some run of the tests.
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/ebd182b4453c
          User: rriggs
          Date: 2015-05-27 20:11:29 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/ebd182b4453c User: rriggs Date: 2015-05-27 20:11:29 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/ebd182b4453c
          User: lana
          Date: 2015-06-03 20:22:43 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/ebd182b4453c User: lana Date: 2015-06-03 20:22:43 +0000

            People

            • Assignee:
              rriggs Roger Riggs
              Reporter:
              skovalev Sergei Kovalev (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: