continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Venisse <emman...@venisse.net>
Subject Re: the last build is successful but the project shows as "build in error"
Date Thu, 30 Aug 2007 12:38:00 GMT


Julien Stern a écrit :
> On Thu, Aug 30, 2007 at 01:36:38PM +0200, Emmanuel Venisse wrote:
>>
>> Julien Stern a écrit :
>>> On Thu, Aug 30, 2007 at 03:23:13AM -0700, Ionut S wrote:
>>>> Hi,
>>>> I don't know for what reason one of our projects (shown when you hit 
>>>> "Show projects" link) show as "Build in error" although the last 10 or so

>>>> builds are successful.
>>>>
>>>> Did anybody had this problem ?
>>> Yes, this happens to us about twice a day with 1.1
>>> It may be related to http://jira.codehaus.org/browse/CONTINUUM-1384
>>>
>>> You may want to check your logs to see if this is the same issue
>>> or a different one.
> 
> Emmanuel,
> 
>> Do you have it with beta-2 too?
> 
> sorry, I haven't installed beta-2 yet. I will install it and let
> you know.
> 
>> What is your default schedule?
> 
> Our default schedule is short (15 minutes) with many projects (> 200).
> That's probably why we trigger this issue often.

yes.

> 
>> What is the max path length for your files?
> 
> I'm not sure I understand this question.
> If you mean the max length of the absolute unix file path from the cvs
> root, I'd hazard a guess as between 128 and 256.

it's what I meant.

> 
> I've taken a very quick look at the continuum code. I would tend to
> think that this issue may be related to a project state that is not set back
> to the correct value because two concurrent threads try to modify it
> (the thread that performs the scm update and the thread that queues the
> builds ?)
> 
> Maybe (just maybe, really :) ) in the class
> UpdateWorkingDirectoryFromScmContinuumAction.java the latest
> store.updateProject( project ) could fail, leaving an inconsistent
> state ?

if the problem always exist in beta-2, yes, it should be the right place to fix it.

> 
> Again, this is a wild guess that could be totally wrong, the continuum
> code is too complex to be understood after a quick look.

The code isn't too complex as you find where we can have an error about project state ;)

Emmanuel



Mime
View raw message