Maven Site generation failure

2010-09-19 Thread Stefan Seelmann
Hi,

I'm trying to generate the Maven Sites of the Directory projects. I
noticed that it depends on the machine if the site generation is
successful or not. Site generation on Ubuntu1 works fine, but
generation on Ubuntu2 or Solaris1 fails with the following error (see
[1] for the full logs):

Embedded error: Error rendering Maven report: Failed during checkstyle
configuration
FileLength is not allowed as a child in Checker

Any idea why the machines (at least Ubuntu1 and Ubuntu2) behave different?

Kind Regards,
Stefan

[1] https://hudson.apache.org/hudson/view/Directory/job/dir-shared-site/


Re: hudson very confused

2010-09-19 Thread Niklas Gustavsson
On Sun, Sep 19, 2010 at 1:20 AM, Ted Dunning  wrote:
> Hudson also thinks that I am logged in as System.  That doesn't seem right.

This is a known bug in Hudson and has been reported to the Hudson devs:
http://issues.hudson-ci.org/browse/HUDSON-7256

Feel free to upvote or comment on the issue.

/niklas


Re: Hudson hanging due to polling errors

2010-09-19 Thread Niklas Gustavsson
On Sun, Sep 19, 2010 at 1:54 AM, Gav...  wrote:
> Error Message:
>
> "..There are more SCM polling activities scheduled than handled, so the
> threads are not keeping up with the demands. Check if your polling is
> hanging, and/or increase the number of threads if necessary.."

This happens when a slave gets wedged. Hudson does not correctly
finish the SCM trigger threads for that slave. It's a known bug in
Hudson and there is currently some work ongoing which might ease this.

I got a script which kills these threads, which will get the affected
builds running again. However, I'm still not sure if it does anything
positive for the general Hudson well-being. Restarting Hudson, as you
did, is probably a better option.

/niklas


Re: Builds that have been failing for a while

2010-09-19 Thread Niklas Gustavsson
On Sun, Sep 19, 2010 at 1:49 AM, Gav...  wrote:
> If there are many projects like this using up resources that more attentive
> projects could otherwise be using
> then I think they should be removed after ONE WEEK of failing at the VERY
> LATEST.

+1, I'll look into scripting this. Don't think we need to remove them,
but we should at least disable them.

/niklas


wget

2010-09-19 Thread Lukasz Lenart
Is it possible to install wget?

Please take a look on that
https://hudson.apache.org/hudson/view/Struts/job/struts2/240/org.apache.struts$struts2-assembly/console


Thanks in advance
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
Kapituła Javarsovia 2010 http://javarsovia.pl


Re: wget

2010-09-19 Thread Niklas Gustavsson
On Sun, Sep 19, 2010 at 10:45 AM, Lukasz Lenart
 wrote:
> Is it possible to install wget?

wget is available on the Ubuntu slaves, if that's an option for you.
Else, please open a JIRA issue as described here:
http://wiki.apache.org/general/Hudson#How_do_I_report_a_bug_.2BAC8_contact_the_maintainers.3F

/niklas


Re: Maven Site generation failure

2010-09-19 Thread Niklas Gustavsson
On Sun, Sep 19, 2010 at 10:12 AM, Stefan Seelmann  wrote:
> Embedded error: Error rendering Maven report: Failed during checkstyle
> configuration
> FileLength is not allowed as a child in Checker
>
> Any idea why the machines (at least Ubuntu1 and Ubuntu2) behave different?

Assuming your build are using the Maven Checkstyle plugin, have you
pinned down the version of Checkstyle to be used in your build?
Otherwise, you might be getting different Checkstyle versions on
different boxes.

/niklas


Re: wget

2010-09-19 Thread Niklas Gustavsson
On Sun, Sep 19, 2010 at 11:11 AM, Lukasz Lenart
 wrote:
> Is it possible to stick build with given type of slave?

Yes, you can tie your build the the label "Ubuntu"

/niklas


Re: Maven Site generation failure

2010-09-19 Thread Stefan Seelmann
On Sun, Sep 19, 2010 at 11:06 AM, Niklas Gustavsson
 wrote:
> On Sun, Sep 19, 2010 at 10:12 AM, Stefan Seelmann  wrote:
>> Embedded error: Error rendering Maven report: Failed during checkstyle
>> configuration
>> FileLength is not allowed as a child in Checker
>>
>> Any idea why the machines (at least Ubuntu1 and Ubuntu2) behave different?
>
> Assuming your build are using the Maven Checkstyle plugin, have you
> pinned down the version of Checkstyle to be used in your build?
> Otherwise, you might be getting different Checkstyle versions on
> different boxes.

Yes, the build uses the Maven Checkstyle plugin.

I checked the effective pom: In plugin management we pin
maven-checkstyle-plugin down to version 2.5 which uses Checkstyle 5.0.
But it seems [1] that the version in the plugin management section
isn't used for the reporting plugins, so I'll add them manually.

Thanks Niklas for the hint :-)

Kind Regards,
Stefan


[1] http://jira.codehaus.org/browse/MSITE-443


Re: hudson very confused

2010-09-19 Thread Ted Dunning
Will do.

On Sun, Sep 19, 2010 at 1:17 AM, Niklas Gustavsson wrote:

> On Sun, Sep 19, 2010 at 1:20 AM, Ted Dunning 
> wrote:
> > Hudson also thinks that I am logged in as System.  That doesn't seem
> right.
>
> This is a known bug in Hudson and has been reported to the Hudson devs:
> http://issues.hudson-ci.org/browse/HUDSON-7256
>
> Feel free to upvote or comment on the issue.
>
> /niklas
>