logo       

RE: Re: Cruisecontrol locks up: msg#00045

java.cruise-control.user

Subject: RE: Re: Cruisecontrol locks up


What you're seeing seems to be the problem that I've been having, in a
similar configuration (RH9, Sun JDK 1.4.2_02, CC 2.1.4).

What _should_ happen is that after the "[BuildQueueThread] DEBUG Project -
Project marineproj: build finished" is you should see a message like
"[Project marineprojec thread] DEBUG Schedule - getTimeToNextBuild", which
is from the build queue thread waking the scheduling thread as it exits.
For some reason this doesn't always happen. I've no idea why.

I don't know if it is a real fix, but this week I went from the 2.4.20
kernel to 2.4.22 -- because someone here said 2.4.20 "hung alot" -- and I
haven't had the problem since. Time will tell if this is a real fix...

Something else that you can try would be to modify Project.buildFinished(),
and change line 277 from scheduleMutex.notify() to
scheduleMutex.notifyAll().

I'd be really interested to know if that change in Project works for you.

I'd also be interested in a thread dump from the VM when the hang happens,
on the off chance there's a deadlock. Try kill -3 on the CC pid.

Jtf

-----Original Message-----
From: cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx
[mailto:cruisecontrol-user-admin@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Tim
McNerney
Sent: Friday, December 12, 2003 12:41 PM
To: Jeffrey Fredrick
Cc: cruisecontrol-user@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Cruisecontrol-user] Re: Cruisecontrol locks up


Okay. Here's the info:

<snip/>

The last little bit in stdout:

[cc]Dec-12 10:49:31 belIncrementer- Incrementing label: build.80 ->
build.81
[cc]Dec-12 10:49:31 Project - Project marineproj: merging
accumulated log files
[cc]Dec-12 10:49:34 Project - Project marineproj: Writing log
file [/home/dev/n4/logs/marine/log20031212102639Lbuild.80.xml]
[cc]Dec-12 10:49:37 Project - Project marineproj: Serializing
project to [marineproj.ser]
[cc]Dec-12 10:49:37 Project - Project marineproj: publishing
build results
[cc]Dec-12 10:49:38 EmailPublisher- reportSuccess is set to 'fixes',
not sending emails for repeated successful builds.
[cc]Dec-12 10:49:38 Project - Project marineproj: idle
[cc]Dec-12 10:49:38 Project - Project marineproj: build finished

Looking at the cruisecontrol.log is a bit interesting.
cruisecontrol.log is dated 10:29, which is when the build began.
cruisecontrol.log.1 is dated 10:49, which is when the build finished.
It seems odd that cruisecontrol.log.1 is newer.


<snip/>

Anyway, hopefully the above information is useful enough to either
pinpoint the problem or at least suggest further tests.

Again, the stats:

RH9, IBM JDK 1.4.1. CC 2.1.4 with some minimal changes (only
cruisecontrol.sh).




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise