Cruisecontrol freezes when checking SVN for modifications

From the moment the Cruisecontrol build server is transferred to a new computer, it sometimes freezes during the “modification” phase of the build cycle (it is configured to check for changes every 15 minutes). Cruisecontrol itself remains responsive, only the assembly does not progress.

When this happens, there is no significant CPU load, and I saw that it remained in this state for an hour or more, although in the end it seems to have come out of this state. It seems that there is no template to which they refer. The hardware is brand new and I checked memtest without any problems.

This is the system configuration:

  • Ubuntu 9.04 server, amd64, fully updated
  • svn version 1.5.4 (r33841) - the latest version of apt-get will install
  • Sun JRE 64-bit version 1.6.0_16-b01 - again, the latest version
  • CruiseControl 2.7.3 (not the latest)

This is how my modifications look like

<modificationset quietperiod="10">
    <veto><!-- there are several of these -->
        <triggers>
            <svn LocalWorkingCopy="${checkout_dir}/base" />
        </triggers>
        <buildstatus logdir="${log_dir}/base" />
    </veto>
    <timebuild time="2330" />
    <svn LocalWorkingCopy="${checkout_dir}/${project.name}" />
</modificationset>

So what can be done here?

Edit: Here is an excerpt from the cruisecontrol log file showing project A hanging at 16:07 (it still hangs now at 17:48)

2009-10-27 16:07:55,096 [Thread-38860] INFO  Project          - Project projectA:  bootstrapping
2009-10-27 16:07:55,096 [Thread-38860] INFO  ProjectController - projectA Controller: build progress event: bootstrapping
2009-10-27 16:07:55,262 [Thread-38862] INFO  ScriptRunner     - Buildfile: work/build-cruisecontrol.xml
2009-10-27 16:07:59,230 [Thread-38860] INFO  AntBootstrapper  - Bootstrap successful.
2009-10-27 16:07:59,230 [Thread-38860] INFO  Project          - Project projectA:  checking for modifications
2009-10-27 16:07:59,230 [Thread-38860] INFO  ProjectController - projectA Controller: build progress event: checking for modifications
2009-10-27 16:11:14,954 [Project projectB thread] INFO  Project          - Project projectB:  in build queue
+5
source share
3 answers

Another idea. You can always run the JVM CruiseControl in debug mode. And whenever it freezes, connect to it using some IDE, for example. Eclipse. And then you can use all the threads of the CC application and pause some of them and see that they are busy.

+2
source

SVN ? ?

+1

:

  • ? ? - , ?

  • config.xml ( , , -, )?

  • , subversion (, , ?) , - , , , , , ?

These are just troubleshooting pointers, so they are by no means the actual answers to your question. Perhaps this concerns how I approach the problem (in addition to executing commands manually, as in Grzhegorz Oledsky’s answer).

+1
source

All Articles