Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Locking misbehaving?
Locking misbehaving? [message #923044] Tue, 25 September 2012 15:04 Go to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
We've noticed that some Virgo Hudson jobs configured with the virgo-serialise lock seems to execute concurrently on the same slave. For example, we saw the following jobs on slave2 today:

virgo.nano.snapshot #556
Tue, 25 Sep 2012 05:01:28 GMT
Tue, 25 Sep 2012 05:03:52 GMT

virgo.util.snapshot #863
Tue, 25 Sep 2012 05:03:52 GMT
Tue, 25 Sep 2012 05:05:25 GMT

virgo.apps.snapshot #1087
Tue, 25 Sep 2012 05:03:52 GMT
Tue, 25 Sep 2012 05:04:59 GMT

Note that util normally takes 1.5 minutes to build and apps takes just over 1 minute, thats a total of 2.5 minutes, whereas both jobs completed within 1 minute and 33 seconds according to the above stats.

Can anyone explain this behaviour?

[Updated on: Tue, 25 September 2012 15:09]

Report message to a moderator

Re: Locking misbehaving? [message #923094 is a reply to message #923044] Tue, 25 September 2012 15:41 Go to previous messageGo to next message
Steve Christou is currently offline Steve Christou
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

For virgo.nano.snapshot, where do you get the "Tue, 25 Sep 2012 05:03:52 GMT" from? I checked https://hudson.eclipse.org/hudson/computer/hudson-slave2/builds and found only the build #556 which is the time 5:01:28 AM

/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Re: Locking misbehaving? [message #923112 is a reply to message #923044] Tue, 25 September 2012 15:59 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
We got those times from the build history. See this screenshot for one of them.
Re: Locking misbehaving? [message #923173 is a reply to message #923112] Tue, 25 September 2012 17:13 Go to previous messageGo to next message
Steve Christou is currently offline Steve Christou
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

How are your locks and latches configured?

/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Re: Locking misbehaving? [message #923919 is a reply to message #923173] Wed, 26 September 2012 10:00 Go to previous messageGo to next message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
Build Environment/Locks is ticked and the lock virgo-serialise is specified.
Re: Locking misbehaving? [message #925064 is a reply to message #923919] Thu, 27 September 2012 10:37 Go to previous message
Glyn Normington is currently offline Glyn Normington
Messages: 1222
Registered: July 2009
Senior Member
I've raised bug 390541 to capture this.
Previous Topic:Change build history bar
Next Topic:Job cascading/inheritance issues
Goto Forum:
  


Current Time: Sat Sep 20 00:09:12 GMT 2014

Powered by FUDForum. Page generated in 0.01754 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software