Project stuck in idle state
Antoine Levy Lambert <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am using CruiseControl 2.7.2 [I know this is old, I am working on
being able to update by integrating my modifications into the trunk of
CruiseControl].
Anyway, I have a build project which is using the
LockFileListener/LockFileBootstrapper combo, and this project now
remains in idle state. I manage to rebuild it using a custom JMX
operation called execute. After the build, the project attempts once
again to build itself 5 minutes later as expected. The
LockFileBootstrapper then throws an exception because of another
companion project which has already started and taken the lock. This is
fine. The problem is that this time, the "Autodeploy_Selenium_6.1_dev"
project does not print the usual message : "next build in 5 minutes" but
gets stuck in idle state.
The status from the JMX console is in build queue - [ COMPLETE ] .
This is reminiscent of http://jira.public.thoughtworks.org/browse/CC-443
See below log messages showing what is happening on my system.
Regards,
Antoine
2010-02-16 09:56:40,480 [BuildQueueThread] DEBUG ThreadQueue -
Preparing to add worker task Autodeploy_Selenium_6.2_dev
2010-02-16 09:56:40,480 [Project Autodeploy_Selenium_6.2_dev thread]
DEBUG Project - Project Autodeploy_Selenium_6.2_dev: waiting
for build to finish
2010-02-16 09:56:40,573 [Thread-4 ] DEBUG ThreadQueue - handling
waiting task
2010-02-16 09:56:40,573 [Thread-7235] DEBUG ProjectWrapper - executing
project Autodeploy_Selenium_6.2_dev
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: buildInterval = [300000]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: buildForced = [false]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: buildAfterFailed = [false]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: requireModifcation = [true]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: forceOnly = [false]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: buildCounter = [49]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: isPaused = [false]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: label =
[Autodeploy_Selenium_6.2_dev.0.25]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: lastBuild = [20100215153536]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: lastSuccessfulBuild = [20100215153536]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: logDir =
[logs\Autodeploy_Selenium_6.2_dev]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: logXmlEncoding = [null]
2010-02-16 09:56:40,573 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: wasLastBuildSuccessful = [true]
2010-02-16 09:56:40,573 [Thread-7235] INFO Project - Project
Autodeploy_Selenium_6.2_dev: bootstrapping
2010-02-16 09:56:40,573 [Thread-7235] DEBUG CurrentBuildStatusListener -
updating status to bootstrapping for project Autodeploy_Selenium_6.2_dev
2010-02-16 09:56:40,573 [Thread-7235] DEBUG CreateViewBootstrapper -
Starting CreateViewBootstrapper
2010-02-16 09:56:40,573 [Thread-7235] DEBUG CreateViewBootstrapper -
checking if view exists
2010-02-16 09:56:40,573 [Thread-7235] DEBUG CreateViewBootstrapper -
lsview command cleartool lsview
buildadm_testautomation3_Autodeploy_Selenium_6.2_dev
2010-02-16 09:56:40,683 [Thread-7235] INFO CreateViewBootstrapper -
View buildadm_testautomation3_Autodeploy_Selenium_6.2_dev already
exists; will not be created
2010-02-16 09:56:40,683 [Thread-7235] DEBUG CreateViewBootstrapper -
view is last modified: 1264608067135
2010-02-16 09:56:40,683 [Thread-7235] DEBUG CreateViewBootstrapper -
config spec is last modified: 1172092180000
2010-02-16 09:56:40,683 [Thread-7235] DEBUG CreateViewBootstrapper -
loadrules is last modified: 1264607073000
2010-02-16 09:56:40,683 [Thread-7235] DEBUG CreateViewBootstrapper - is
view uptodate: true
2010-02-16 09:56:40,683 [Thread-7235] INFO Project - Project
Autodeploy_Selenium_6.2_dev: idle
2010-02-16 09:56:40,683 [Thread-7235] DEBUG CurrentBuildStatusListener -
updating status to idle for project Autodeploy_Selenium_6.2_dev
2010-02-16 09:56:40,683 [Thread-7235] DEBUG LockFileListener - Project
Autodeploy_Selenium_6.2_dev failed to delete lock file C:/Program
Files/CruiseControl/logs/.seleniumut_6.2_dev.lock
2010-02-16 09:56:40,683 [Thread-7235] DEBUG LockFileListener - Content
(seleniumunittests_6.2_dev) didn't match projectName attribute
(Autodeploy_Selenium_6.2_dev)
2010-02-16 09:56:40,683 [Thread-7235] ERROR Project - exception
attempting build in project Autodeploy_Selenium_6.2_dev
net.sourceforge.cruisecontrol.CruiseControlException: Lock file
[C:/Program Files/CruiseControl/logs/.seleniumut_6.2_dev.lock] already
exists from project seleniumunittests_6.2_dev , aborting build attempt.
at
net.sourceforge.cruisecontrol.bootstrappers.LockFileBootstrapper.bootstrap(LockFileBootstrapper.java:28)
at
net.sourceforge.cruisecontrol.Project.bootstrap(Project.java:788)
at
net.sourceforge.cruisecontrol.Project.build(Project.java:195)
at
net.sourceforge.cruisecontrol.Project.execute(Project.java:150)
at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:385)
at
net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
at java.lang.Thread.run(Thread.java:619)
2010-02-16 09:56:40,683 [Thread-7235] DEBUG Project - Project
Autodeploy_Selenium_6.2_dev: build finished
2010-02-16 09:56:40,792 [Thread-4 ] DEBUG ThreadQueue - Found a
finished task
2010-02-16 09:56:40,792 [Thread-4 ] DEBUG ThreadQueue -
tempTask.getName() = Autodeploy_Selenium_6.2_dev
2010-02-16 09:56:40,792 [Thread-4 ] DEBUG ThreadQueue -
tempTask.getResult() = finished
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev