On Sat, Feb 20, 2010 at 10:59 PM, Emmanuel Lecharny <elecha...@gmail.com> wrote:
> is there any reason why this stupid Hudson *always* fail when we commit some
> new code, and one hour later come back with again 6 useless mails telling us
> that "Hey, sorry, I was totally f*cked up last time I sent you 6 mails" ?

I don't think that is entirely correct. We're running four builds for
trunk (Ubuntu with Sun JDK 1.6, Ubuntu with Sun JDK 1.5, WIndows with
Sun JDK 1.6, WIndows with Sun JDK 1.5). These get reported separately
and might run at different times (due to how they are scheduled and
the current job queue in Hudson), therefore the different builds might
report their results at different times during about one hour (we poll
SVN once per hour).

One the the builds, on JDK 1.6 on Windows, consistently fails on one
of the MDC tests. I reported that on this list about a week ago but I
have not had the time to look into the details myself:
http://hudson.zones.apache.org/hudson/view/MINA/job/MINA-trunk-jdk1.6-windows/org.apache.mina$mina-core/14/testReport/org.apache.mina.filter.logging/MdcInjectionFilterTest/testOnlyRemoteAddress/

> If Hudson can't inform us when there are *real* errors, at some point, we
> will simply ignore the alerts and lose all interest of having Hudson as a
> safety belt !

I'm pretty sure that on most occasions Hudson is reporting the real
errors and that we should look into why the builds fail (like the one
on Windows).

That said, I've found a some builds in the last weeks where there
seems to be inconsistencies in the results. Some of these are also
worth looking into. Here are those I've found:
* Build creating corrupt JAR, Maven problem?:
http://hudson.zones.apache.org/hudson/view/MINA/job/MINA-trunk-jdk1.6-windows/9/
* Maven failed to install JAR, Maven problem?:
http://hudson.zones.apache.org/hudson/view/MINA/job/MINA-trunk-jdk1.6-ubuntu/226
* One-time test failure in XBean module:
http://hudson.zones.apache.org/hudson/view/MINA/job/MINA-trunk-jdk1.5-windows/7
* Hudson problem, possibly due to the MINA build getting killed by a
restart of Hudson:
http://hudson.zones.apache.org/hudson/view/MINA/job/MINA-trunk-jdk1.5-ubuntu/7/
* One-time test failure in core:
http://hudson.zones.apache.org/hudson/view/MINA/job/MINA-trunk-jdk1.5-ubuntu/6/

So, I think our time is better spent at looking at why our tests fail,
which will reduce the number of failed builds in Hudson (or any build
tool) and thus the email frequency.

/niklas

Reply via email to