Log file issue when threads count >1 (was - Is there a way to single thread specificbuilds when the threads count is >1?)

"Bartlett, Gregory M" <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <5E6D5A7E5882224FAB2A2D8BEB14DB860472CC96@XCH-NW-9V2.nw.nos.boeing.com>
Lockfilelistener/bootstrapper works good :)

I spent a good amount of time looking through the issues (open as well
as closed) on JIRA, but could not seem to find an issue like what I have
experienced where my log file contents are mixed up between projects.

I was running a threads count=4 and was up for a number of weeks before
seeing this issue, but basically for a (random) pair of project builds
the log files have the actual contents of a different build.

Like: 
.../logs/PROJA/log<timestamp>.xml will have its contents swapped with:
.../logs/PROJB/log<timestamp>.xml

>From doing a google search, I think this link (below) is referencing the
same issue.

http://www.nabble.com/Ant-logs-for-multi-thread-builds-td21619956.html

Greg

-----Original Message-----
From: Jeffrey Fredrick [mailto:[email protected]] 
Sent: Friday, February 06, 2009 4:45 PM
To: [email protected]
Subject: Re: [Cruisecontrol-user] Is there a way to single thread
specificbuilds when the threads count is >1?

Hi Greg,

> Is there a way to specify that these builds have to run
single-threaded?

Lockfilelistener/bootstrapper pair is designed to do just that:

http://cruisecontrol.sourceforge.net/main/configxml.html#lockfilelistene
r

> ... If this is still an issue, is there a tracking number for it that 
> we can check to see if it is resolved in the future?

Not sure but you can check the JIRA:

http://jira.public.thoughtworks.org/browse/CC

Jtf

--
 Free hour of CI consulting: http://the.ci-guys.com


On Fri, Feb 6, 2009 at 12:30 PM, Bartlett, Gregory M
<[email protected]> wrote:
> We have 100-ish builds, of which about 10 use the same database (DB,
> user, schema) for junit tests.
>
> I would like to enable parallel builds within CruiseControl by setting
> the <threads count='8' />, but I can't have any of these
afore-mentioned
> 10 builds run concurrently with the others.
>
> Is there a way to specify that these builds have to run
single-threaded?
>
> Also, while on the topic of increasing the thread count, has the issue
> of having the log files getting the incorrect contents been resolved
> yet?  I see it in 2.7.1, and I saw that it was noted to still be
present
> in 2.8.1.  If this is still an issue, is there a tracking number for
it
> that we can check to see if it is resolved in the future?
>
> Thank you
>
> Greg Bartlett
> CM Analyst
> Maintenance Performance Toolbox
> Boeing
>
>

------------------------------------------------------------------------
------
Create and Deploy Rich Internet Apps outside the browser with
Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and
code to
build responsive, highly engaging applications that combine the power of
local
resources and data with the reach of the web. Download the Adobe AIR SDK
and
Ajax docs to start building applications
today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.