[JIRA] (JENKINS-60765) Parameterized trigger blocks executors

2 views
Skip to first unread message

KMOmarovich@gmail.com (JIRA)

unread,
Jan 14, 2020, 10:19:09 AM1/14/20
to jenkinsc...@googlegroups.com
Kamil Magomedov created an issue
 
Jenkins / Bug JENKINS-60765
Parameterized trigger blocks executors
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: Deadlock.png
Components: parameterized-trigger-plugin
Created: 2020-01-14 15:18
Environment: Jenkins ver. 2.204.1
Parameterized Trigger plugin ver. 2.35.2
Labels: deadlock parameterized-trigger executors lock
Priority: Minor Minor
Reporter: Kamil Magomedov

In Freestyle job, the "Trigger parameterized build on other projects" step in Post-build Actions seems to block an executor until the triggered downstream job starts. This creates a situation, where using this plugin might lead to deadlock, which can only be resolved by cancelling the step. 
For instance, I have 4 available executors. I schedule 4 jobs to run at the same time, all of which have a parameterized trigger in post-build actions. Once any job is finished, it attempts to trigger its downstream project, however since there are no free executors available, the downstream project is simply moved to the build queue. This prevents the upstream project from ever releasing the executor, which results in a deadlock. I'm not sure if this is intended behaviour, however this makes the plugin unusable when applied to multiple projects. Here's what it looks like:

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages