CCNet 1.2.1 Projects in "Stopped" status?

209 views
Skip to first unread message

cgraham86

unread,
Feb 26, 2007, 2:36:43 PM2/26/07
to ccnet-user
Our development group just migrated from 1.0.1 to 1.2.1, and migrated
all of our builds over successfully. However, over the weekend we
noticed that our CI builds weren't kicking off. We also discovered
that our Master builds (full builds that run only once a day) weren't
kicking off either. Upon inspection of the web dashboard we noticed
that all of the CCNet projects were in "Stopped" status with a "Start"
button enabled under the "Force" button. Selecting the "Start" button
seems to suddenly enable scheduling, and kicks off each build
regardless the first time.

What forced these projects into "Stopped" status? I haven't been able
to get any answers from the logs. How do we keep our projects from
slipping into this status?

thanks,

cgraham86

Owen Rogers

unread,
Feb 26, 2007, 5:01:13 PM2/26/07
to ccnet...@googlegroups.com

what triggers are you using? i believe that if some triggers throw an
exception, it will cause the project to stop the integration loop.
cheers,
owen.
--
Owen Rogers | http://dotnetjunkies.com/weblog/exortech |
CruiseControl.NET - http://ccnet.thoughtworks.com

cgraham86

unread,
Feb 26, 2007, 8:22:14 PM2/26/07
to ccnet-user

On Feb 26, 2:01 pm, "Owen Rogers" <exort...@gmail.com> wrote:

We're using perforce and a client spec to check the repository for
changes to the depot. If it detects changes it's supposed to wake up
and build using P4.exe, credentials and the client spec:

<sourcecontrol type="p4">
<view>//mydepot/trunk/...</view>
<executable>D:\Program Files\Perforce\p4.exe</executable>
<client>_Build_Trunk_Continuous_Integration</client>
<user>toolbox</user>
<password>******!</password>
<applyLabel>false</applyLabel>
<autoGetSource>true</autoGetSource>
<forceSync>false</forceSync>
</sourcecontrol>

<triggers>
<filterTrigger startTime="02:00" endTime="02:30">
<trigger type="intervalTrigger" seconds="120" />
</filterTrigger>
</triggers>

We set the filter trigger this way because the Perforce server goes
down for a bit, and we want to avoid trying to do builds during this
time. Also, the logs showed some interesting things...it appears that
all of the projects stopped and CCNet was recycled when some supposed
configuration changes were read in after the ccnet.config file was
updated...related?

cgraham86

unread,
Mar 1, 2007, 1:01:41 PM3/1/07
to ccnet-user

> updated...related?- Hide quoted text -
>
> - Show quoted text -

Ok, I think I see a pattern. When we edit the config file in place
without stopping the service (add a project for example) I noticed
that at some point all of the existing projects will slip into
"Stopped" status. I think CCNet is managing this when it reads in
configuration changes as the service is running. Restarting the
windows service brings all of the projects back into "Running"
status. We can select the "Start" button, but in some cases this
initiates an unwanted build right away.

I think we're going to have to be careful with how we manage the
configuration. I think waiting for all of the builds to be dormant
(using the "Stop" button to prevent the schedule from kicking off any
other builds), stopping the service before making any configuration
changes, and then starting it afterwards is the way to go...

Reply all
Reply to author
Forward
0 new messages