Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-3668

Error while generating Grinder reports in Hudson

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • grinder-plugin
    • None
    • Platform: All, OS: All

      Dear Team,

      I have come across an error when trying to generate grinder reports using
      Hudson- grinder plug-in.

      I have created a new job, selected grinder option and entered the path of the
      out log file generated by grinder.
      When I have run the build, the build failed and the following error was
      displayed in the console output.

      Console Output

      Started by user anonymous
      FATAL: null
      java.util.InputMismatchException
      at java.util.Scanner.throwFor(Scanner.java:840)
      at java.util.Scanner.next(Scanner.java:1461)
      at java.util.Scanner.nextDouble(Scanner.java:2387)
      at hudson.plugins.grinder.ResultReader.readTest(ResultReader.java:76)
      at hudson.plugins.grinder.ResultReader.parse(ResultReader.java:50)
      at hudson.plugins.grinder.ResultReader.<init>(ResultReader.java:36)
      at
      hudson.plugins.grinder.GrinderBuildAction.<init>(GrinderBuildAction.java:39)
      at hudson.plugins.grinder.GrinderPublisher.perform(GrinderPublisher.java:43)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372)
      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360)
      at hudson.model.Build$RunnerImpl.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345)
      at hudson.model.Run.run(Run.java:919)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)

      Below is the out log file for which I have tried generating a grinder report in
      Hudson but it failed.

      3/13/09 3:40:41 PM (process vcc-pcs-test05-0): The Grinder version 3.0.1
      3/13/09 3:40:41 PM (process vcc-pcs-test05-0): Sun Microsystems Inc. Java
      HotSpot(TM) Client VM 10.0-b19 on Windows XP x86 5.1
      3/13/09 3:40:41 PM (process vcc-pcs-test05-0): time zone is IST (+0530)
      3/13/09 3:40:46 PM (process vcc-pcs-test05-0): executing "statistics.py" using
      Jython 2.2.1
      3/13/09 3:40:47 PM (process vcc-pcs-test05-0): registered plug-in
      net.grinder.plugin.http.HTTPPlugin
      3/13/09 3:40:47 PM (process vcc-pcs-test05-0): starting threads
      3/13/09 3:40:47 PM (thread 0): sleeping for 476 ms
      3/13/09 3:40:47 PM (thread 0): about to do 1 run
      3/13/09 3:40:47 PM (process vcc-pcs-test05-0): start time is 1236939047772 ms
      since Epoch
      3/13/09 3:40:47 PM (thread 0 run 0 test 1):
      http://ontime.satyam.com/Default.aspx -> 302 Found, 130 bytes [Redirect, ensure
      the next URL is /Relogin.aspx]
      3/13/09 3:40:47 PM (thread 0 run 0 test 1): The last test took 161 milliseconds
      3/13/09 3:40:47 PM (thread 0 run 0 test 1):
      http://ontime.satyam.com/Default.aspx -> 302 Found, 130 bytes [Redirect, ensure
      the next URL is /Relogin.aspx]
      3/13/09 3:40:47 PM (thread 0 run 0 test 2):
      http://ontime.satyam.com/Default.aspx -> 302 Found, 130 bytes [Redirect, ensure
      the next URL is /Relogin.aspx]
      3/13/09 3:40:48 PM (thread 0 run 0 test 2):
      http://ontime.satyam.com/Styles/style.css -> 200 OK, 13971 bytes
      3/13/09 3:40:48 PM (thread 0 run 0 test 2): GET foo.css returned a 13971 byte body
      3/13/09 3:40:48 PM (thread 0 run 0 test 2): Page has taken 337 ms so far
      3/13/09 3:40:48 PM (thread 0 run 0 test 2):
      http://ontime.satyam.com/images/1pix.gif -> 200 OK, 43 bytes
      3/13/09 3:40:48 PM (thread 0 test 2): finished 1 run
      3/13/09 3:40:48 PM (process vcc-pcs-test05-0): Final statistics for this process:
      Tests Errors Mean Test Test Time Mean
      Response Response Mean time to Mean time to Mean time to
      Time (ms) Standard response
      bytes per errors resolve host establish first byte
      Deviation length
      second connection
      (ms)

      Test 1 2 0 112.50 48.50 130.00 ?
      0 8.50 48.50 112.50 "Basic request"
      Test 2 3 0 139.00 94.98 4714.67 ?
      0 0.00 0.00 64.33 "Request resource"
      (Test 3 0 1 ? 0.00 ? ?
      0 ? ? ?) "Page"

      Totals 5 0 128.40 80.76 2880.80 ?
      0 3.40 19.40 83.60
      (0) (1)

      Tests resulting in error only contribute to the Errors column.
      Statistics for individual tests can be found in the data file, including
      (possibly incomplete) statistics for erroneous tests. Composite tests
      are marked with () and not included in the totals.

      3/13/09 3:40:48 PM (process vcc-pcs-test05-0): finished

      Please kindly tell us as to how to overcome the above error with which we are
      stuck up for the past 2-3 months.
      Please provide us with the solution so that we can generate grinder reports
      using Hudson effectively.

      Thanks and Regards

      Pratima Jagadish

            Unassigned Unassigned
            pratima123 pratima123
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: