Thanks for the response.  I didn't see any files like you described.  I
will keep an eye out the next time it starts building out of control.

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Sam Calder
Sent: Monday, February 09, 2009 9:40 PM
To: [email protected]
Subject: [ccnet-user] Re: trigger not working correctly

 

I had an issue that might've been similar a while back... another
symptom was that the build/change number would not increment. Can I ask
if your CCNet server directory contains two files for the project, one
of which has the suffix "-NEW" ?

If that is happening in your case, it could be that CCNet is reading
state from the old (normal) file and writing to the "new" file on each
build... then next time it checks it reads from the old file again, etc.
If that is happening, you need to figure out why it isn't writing back
to the normal file.

In my case, this happened due to a permissions issue. I changed the
account the ccnet service was running as, and the new account didn't
have permission to write to the old file... so it (apparently) made its
own "-NEW" file instead. There could be other causes... eg the file has
been made read-only, no permission to write to the directory (rather
than the file), etc.

Long story short - might be an idea to check that your ccnet service
account is able to write to the required directories/files. Hope that
helps, although it might be a long shot...

Cheers,

 - Sam.

On Mon, Feb 9, 2009 at 7:41 AM, Scott Sam <[email protected]> wrote:

Was anyone able to see anything?  Between Friday and Saturday 94 builds
were ran with only one check-in late Friday night.  This is kind of a
big problem for us as build take much longer to run when there is more
than one going at the same time.  With this one running all the time for
no reason all of our other build are taking too long to build.

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Scott Sam
Sent: Thursday, February 05, 2009 9:18 AM
To: [email protected]
Subject: [ccnet-user] Re: trigger not working correctly

 

I've attached the log file from when it happened.  It started just
before 10 am on 2/4/09.  It ran every 10 minutes until about 3:30 pm.

 

From: [email protected] [mailto:[email protected]]
On Behalf Of Ruben Willems
Sent: Thursday, February 05, 2009 2:19 AM
To: [email protected]
Subject: [ccnet-user] Re: trigger not working correctly

 

Hi

Can you post the log of the time perion when this happend?
maybe we can see something there.


with kind regards
Ruben Willems

On Wed, Feb 4, 2009 at 8:28 PM, Scott Sam <[email protected]> wrote:

I have a ccnet project with the following trigger.

It's supposed run builds whenever a checkin occurs except between 7 and
10 pm.  Sometimes it works like that, but sometimes it runs a build
every time it checks for a modification regardless of whether or not
there was one.  It will show the last checkin as the modification
causing it to build, even if it has run 5 builds since the specified
checkin actually occurred.  Is this a bug? Something wrong with my
environment? Something with my ccnet.config file?

 

    <triggers>

      <filterTrigger startTime="19:00" endTime="22:00">

        <trigger type="intervalTrigger"  seconds="300" />

      </filterTrigger>

    </triggers>

 

 

Reply via email to