Clover Plug-in Issues...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Clover Plug-in Issues...

Phil Beiler-2
We are having several problems with the Clover plug-in, namely centered around performance and disk space requirements. Hudson is running under SUSE Linux inside Tomcat 6.x,  version 1.347, all plug-ins up to date... nothing fancy...   We are using Clover 2.6 manually...  We have the Ant build configured to turn on  Clover and generate both the XML and HTML reports after the jUnits

1. Performance.  

With a fairly small project....  Only 145 Classes,  2500 Statements...  You can see from the log below, Ant usually takes about 5 to 6 minutes, including the generation of the Clover reports (XML&HTML)... However, once the Clover publishing processes begins (Ant has finished and Hudson is publishing the results,  it will usually adds another 30 minutes to the build...  Not very nice!
 
We have another loop for a project with about 12,000 classes..... Same process as above... The time to run the jUnits, and generate the clover report, inside of Ant, takes about 5 hours. Hudson then starts chewing on the data, and in about 5 more hours... the job finishes... Not quite continuous integration!!!! 

2. Disk Space.

With the large project, we generate the the reports inside the workspace checked out by Hudson (in a sub-directory); I assume pretty normal. Unfortunately, the Clover report for the large project is HUGE, maybe like 2 or 3 Gig.... Crazy, this is a Clover issue, not a Hudson issue.  However, the problem is that the Clover plug-in copies these files up to a new directory at the same level as workspace.  Now, I end up with 4 to 6 Gig of Clover reports. I can not even clean up the "in workspace" copy... without jumping thru lots of dependent downstream job hoops.... as my Ant task has already completed, and Hudson is now publishing... I see no easy way for me to clean up after Hudson.... (It would be great to have an option to delete the Clover  report "source" files after the plug-in is done with its publishing.....at least I would be back to one copy)

Is anyone else experiencing these problems?  I can deal with the disk space issue... but the performance issue is causing me to create multiple loops for each project, just because it takes to long to execute...

Any guidance would be greatly appreciated.... Thanks. Phil

Total time: 5 minutes 42 seconds
[TASKS] Scanning workspace files for tasks...
[TASKS] Found 5 annotations (0 new, 0 high, 5 normal, 0 low)
[TASKS] Not changing build status, since no threshold has been exceeded
Publishing Javadoc
Recording test results
Publishing Clover coverage report...
Publishing Clover HTML report...
Publishing Clover XML report...
Publishing Clover coverage results...

Email was triggered for: Failure
Email was triggered for: Still Failing
Trigger Failure was overridden by another trigger and will not send an email.
Sending email for trigger: Still Failing
Sending email to: [hidden email]
Finished: FAILURE
 
Other runs of the same Hudson job....
Total time: 4 minutes 27 seconds (Ant) – 29 Minutes (Hudson)
Total time: 5 minutes 37 seconds
(Ant) - 33 Minutes (Hudson)
Total time: 5 minutes 42 seconds
(Ant) – 41 Minutes (Hudson)
Total time: 5 minutes 22 seconds
(Ant) – 39 Minutes (Hudson)
Reply | Threaded
Open this post in threaded view
|

Re: Clover Plug-in Issues...

Kohsuke Kawaguchi
Administrator
Do you know which of those publishing phases take the long time? Or
are they equally taking a long time?

I'd recommend filing an issue to get an attention of the plugin developer.

2010/2/22 Phil Beiler <[hidden email]>:

> We are having several problems with the Clover plug-in, namely centered
> around performance and disk space requirements. Hudson is running under SUSE
> Linux inside Tomcat 6.x,  version 1.347, all plug-ins up to date... nothing
> fancy...   We are using Clover 2.6 manually...  We have the Ant build
> configured to turn on  Clover and generate both the XML and HTML reports
> after the jUnits
>
> 1. Performance.
>
> With a fairly small project....  Only 145 Classes,  2500 Statements...  You
> can see from the log below, Ant usually takes about 5 to 6 minutes,
> including the generation of the Clover reports (XML&HTML)... However, once
> the Clover publishing processes begins (Ant has finished and Hudson is
> publishing the results,  it will usually adds another 30 minutes to the
> build...  Not very nice!
>
> We have another loop for a project with about 12,000 classes..... Same
> process as above... The time to run the jUnits, and generate the clover
> report, inside of Ant, takes about 5 hours. Hudson then starts chewing on
> the data, and in about 5 more hours... the job finishes... Not quite
> continuous integration!!!!
>
> 2. Disk Space.
>
> With the large project, we generate the the reports inside the workspace
> checked out by Hudson (in a sub-directory); I assume pretty normal.
> Unfortunately, the Clover report for the large project is HUGE, maybe like 2
> or 3 Gig.... Crazy, this is a Clover issue, not a Hudson issue.  However,
> the problem is that the Clover plug-in copies these files up to a new
> directory at the same level as workspace.  Now, I end up with 4 to 6 Gig of
> Clover reports. I can not even clean up the "in workspace" copy... without
> jumping thru lots of dependent downstream job hoops.... as my Ant task has
> already completed, and Hudson is now publishing... I see no easy way for me
> to clean up after Hudson.... (It would be great to have an option to delete
> the Clover  report "source" files after the plug-in is done with its
> publishing.....at least I would be back to one copy)
>
> Is anyone else experiencing these problems?  I can deal with the disk space
> issue... but the performance issue is causing me to create multiple loops
> for each project, just because it takes to long to execute...
>
> Any guidance would be greatly appreciated.... Thanks. Phil
>
> Total time: 5 minutes 42 seconds
> [TASKS] Scanning workspace files for tasks...
> [TASKS] Found 5 annotations (0 new, 0 high, 5 normal, 0 low)
> [TASKS] Not changing build status, since no threshold has been exceeded
> Publishing Javadoc
> Recording test results
> Publishing Clover coverage report...
> Publishing Clover HTML report...
> Publishing Clover XML report...
> Publishing Clover coverage results...
> Email was triggered for: Failure
> Email was triggered for: Still Failing
> Trigger Failure was overridden by another trigger and will not send an
> email.
> Sending email for trigger: Still Failing
> Sending email to: [hidden email]
> Finished: FAILURE
>
> Other runs of the same Hudson job....
> Total time: 4 minutes 27 seconds (Ant) – 29 Minutes (Hudson)
> Total time: 5 minutes 37 seconds (Ant) - 33 Minutes (Hudson)
> Total time: 5 minutes 42 seconds (Ant) – 41 Minutes (Hudson)
> Total time: 5 minutes 22 seconds (Ant) – 39 Minutes (Hudson)



--
Kohsuke Kawaguchi

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]