[JIRA] (JENKINS-38002) Lockable Resources Plugin releases executor while waiting and executing

3 views
Skip to first unread message

jzila (JIRA)

unread,
Sep 6, 2016, 7:15:01 PM9/6/16
to jenkinsc...@googlegroups.com
John Zila created an issue
 
Jenkins / Bug JENKINS-38002
Lockable Resources Plugin releases executor while waiting and executing
Issue Type: Bug Bug
Assignee: Unassigned
Components: lockable-resources-plugin
Created: 2016/Sep/06 11:14 PM
Priority: Major Major
Reporter: John Zila

When using the lockable resources plugin with pipelines, nothing really works as it should.

I have a lock that appears as follows:

lock("foo_${env.NODE_NAME}") {
    sh 'do something on node in my current context'
}

The intent is to be able to run many jobs on one machine, but only lock critical sections on a node-by-node basis, for things that require singleton resources on the node.

However, as soon as my job starts waiting, it releases its executor. If it doesn't wait, it still releases the executor but continues executing. This can cause jobs to execute when they shouldn't be, and can lose access to nodes that are necessary once out of the critical section.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

tobias-jenkins@23.gs (JIRA)

unread,
Oct 12, 2019, 6:01:02 PM10/12/19
to jenkinsc...@googlegroups.com
Tobias Gruetzmacher resolved as Cannot Reproduce
 

Sorry, but I cannot reproduce this behaviour at all. That shouldn't even be possible. If you encounter this bug again, please reopen and assign this issue to me and we can try to track down this issue.

Change By: Tobias Gruetzmacher
Status: Open Resolved
Resolution: Cannot Reproduce
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages