[JIRA] Reopened: (HUDSON-3668) Error while generating Grinder reports in Hudson

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Reopened: (HUDSON-3668) Error while generating Grinder reports in Hudson

Kohsuke Kawaguchi
Administrator

     [ http://issues.hudson-ci.org/browse/HUDSON-3668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

cje2002 reopened HUDSON-3668:
-----------------------------

      Assignee:     (was: tailbon3)

We are still seeing a similar error using Hudson 1.387.  I have tried updating to a later version (1.388 and 1.389) but to no avail.

We have also recently updated Grinder to the current version in case this our output format is inconsistent with that expected by Hudson.

A relevant stack trace is pasted below:

Any assistance appreciated.

Thanks Chris

=================================================================================

ERROR: Publisher hudson.plugins.grinder.GrinderPublisher aborted due to exception
java.util.InputMismatchException
at java.util.Scanner.throwFor(Unknown Source)
at java.util.Scanner.next(Unknown Source)
at java.util.Scanner.nextDouble(Unknown Source)
at hudson.plugins.grinder.ResultReader.readTest(ResultReader.java:79)
at hudson.plugins.grinder.ResultReader.parse(ResultReader.java:53)
at hudson.plugins.grinder.ResultReader.<init>(ResultReader.java:37)
at hudson.plugins.grinder.GrinderBuildAction.<init>(GrinderBuildAction.java:39)
at hudson.plugins.grinder.GrinderPublisher.perform(GrinderPublisher.java:43)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:560)
at hudson.model.Build$RunnerImpl.post2(Build.java:156)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529)
at hudson.model.Run.run(Run.java:1361)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:140)


> Error while generating Grinder reports in Hudson
> ------------------------------------------------
>
>                 Key: HUDSON-3668
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-3668
>             Project: Hudson
>          Issue Type: Bug
>          Components: grinder
>    Affects Versions: current
>         Environment: Platform: All, OS: All
>            Reporter: pratima123
>             Fix For: current
>
>         Attachments: ResultReader.java
>
>
> 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

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira