[Issue 1083] New - Locks-and-latches plugin not locking properly

9 messages Options
Embed this post
Permalink
crleblanc-2

[Issue 1083] New - Locks-and-latches plugin not locking properly

Reply Threaded More More options
Print post
Permalink
https://hudson.dev.java.net/issues/show_bug.cgi?id=1083
                 Issue #|1083
                 Summary|Locks-and-latches plugin not locking properly
               Component|hudson
                 Version|current
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|ENHANCEMENT
                Priority|P3
            Subcomponent|plugin
             Assigned to|stephenconnolly
             Reported by|crleblanc






------- Additional comments from [hidden email] Mon Dec 10 22:13:16 +0000 2007 -------
The locks-and-latches plugin fails to lock each slave when running a matrix job
running on several slaves.  Instead, the job is run on each slave in parallel.

Stephen Connolly has posted these follow ups on the mailing list:

"I think the other issue is a bug in ResourceLists in the core of
Hudson.  I'll write a unit test to check my theory and maybe commit
the fix.  I have a work-around in the Locks and Latches plugin that
_should_ detect when the bug is fixed in the core and disable it's
workaround!"


"I have filed an issue and checked-in JUnit tests with regards to the
resources issue:

https://hudson.dev.java.net/issues/show_bug.cgi?id=1080

When these are fixed that _might_ fix the matrix issue.  The RFE may
still need some work, if somebody can raise the RFE that way I'll
remember to get back to it when the core is fixed.

-Stephen"

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

dvrzalik

[Issue 1083] Locks-and-latches plugin not locking properly

Reply Threaded More More options
Print post
Permalink
https://hudson.dev.java.net/issues/show_bug.cgi?id=1083



User dvrzalik changed the following:

                What    |Old value                 |New value
================================================================================
                      CC|''                        |'dvrzalik'
--------------------------------------------------------------------------------
              Issue type|ENHANCEMENT               |DEFECT
--------------------------------------------------------------------------------
                Priority|P3                        |P2
--------------------------------------------------------------------------------
            Subcomponent|plugin                    |matrix
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Feb 19 13:09:57 +0000 2008 -------
I can see at least two problems which prevent the Locks plugin from working with
matrix projects:
1) Project.getResourceActivities() method refers to Project.buildWrappers field.
MatrixConfiguration extends Project, but uses wrappers and publishers configured
in MatrixProject, which means that hudson scheduler doesn't know their
resources. Solution could be to modify Project.getResourceActivities() to
reflect child's wrappers, e.g. like this:
activities.addAll(Util.filter(getBuildWrappers().values(),ResourceActivity.class));
2) Another problem is that checking for occupied resources is done after the
task enters the executor. See issue #1122.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

dvrzalik

[Issue 1083] Locks-and-latches plugin not locking properly

Reply Threaded More More options
Print post
Permalink
In reply to this post by crleblanc-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1083



User dvrzalik changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|stephenconnolly           |kohsuke
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Tue Feb 19 13:12:49 +0000 2008 -------
Assigning to Kohsuke.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

stephenconnolly-2

[Issue 1083] Locks-and-latches plugin not locking properly

Reply Threaded More More options
Print post
Permalink
In reply to this post by crleblanc-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1083






------- Additional comments from [hidden email] Thu Jun 12 12:29:20 +0000 2008 -------
*** Issue 1579 has been marked as a duplicate of this issue. ***

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

fhoare

[Issue 1083] Locks-and-latches plugin not locking properly

Reply Threaded More More options
Print post
Permalink
In reply to this post by crleblanc-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1083






------- Additional comments from [hidden email] Mon Nov 24 22:16:50 +0000 2008 -------
We're seeing this problem of latches and locks  not working correctly running
parallel builds on a single server (no slaves).  In fact we see exactly the
problem described in https://hudson.dev.java.net/issues/show_bug.cgi?id=1579
which has been closed as a duplicate of this.



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

mdonohue

[Issue 1083] Locks-and-latches plugin not locking properly

Reply Threaded More More options
Print post
Permalink
In reply to this post by crleblanc-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1083



User mdonohue changed the following:

                What    |Old value                 |New value
================================================================================
              QA contact|issues@hudson             |stephenconnolly
--------------------------------------------------------------------------------
            Subcomponent|matrix                    |locks-and-latches
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Mon Jul 13 14:40:06 +0000 2009 -------
Moving to 'locks-and-latches' subcomponent

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

gregallen

[Issue 1083] Locks-and-latches plugin not locking properly

Reply Threaded More More options
Print post
Permalink
In reply to this post by crleblanc-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1083






------- Additional comments from [hidden email] Thu Jul 23 11:07:29 +0000 2009 -------
Information here seems relevant:
http://www.nabble.com/Login-Problems-tt23478350.html#a23501510

However, removing %APPDATA%\Subversion\* did not seem to help me.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

kohsuke-djn

[Issue 1083] Locks-and-latches plugin not locking properly

Reply Threaded More More options
Print post
Permalink
In reply to this post by crleblanc-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1083



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
       Status whiteboard|                          |mrooney
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Fri Nov  6 20:10:49 +0000 2009 -------
This came up in a conversation with mrooney.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

kohsuke-djn

[Issue 1083] Locks-and-latches plugin not locking properly

Reply Threaded More More options
Print post
Permalink
In reply to this post by crleblanc-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1083






------- Additional comments from [hidden email] Fri Nov  6 20:11:14 +0000 2009 -------
also see issue #4359

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]