[JIRA] (JENKINS-59886) Queue stops working when a NodeProperty or QueueTaskDispatcher throw some exception

19 views
Skip to first unread message

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Oct 22, 2019, 10:04:07 AM10/22/19
to jenkinsc...@googlegroups.com
Ramon Leon created an issue
 
Jenkins / Bug JENKINS-59886
Queue stops working when a NodeProperty or QueueTaskDispatcher throw some exception
Issue Type: Bug Bug
Assignee: Ramon Leon
Components: core
Created: 2019-10-22 14:03
Environment: Jenkins master with at least two agents
Priority: Critical Critical
Reporter: Ramon Leon

When an implementation of NodeProperty or QueueTaskDispatcher throws an exception and Jenkins is using two or more agents, the queue stops moving the tasks because the maintain method ends unexpectedly.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Oct 22, 2019, 10:13:03 AM10/22/19
to jenkinsc...@googlegroups.com
Ramon Leon commented on Bug JENKINS-59886
 
Re: Queue stops working when a NodeProperty or QueueTaskDispatcher throw some exception

I link to JENKINS-59844 because it is the issue that discovers this one. A NodeProperty implementer was calling the ProcessBuilder#_start method (JDK) with an empty command, therefore throwing an _IndexOutOfBoundExceptions and hanging the queue. Every job reviewed in the Queue#maintain method after this event is not managed because the method ends abruptly.

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Oct 22, 2019, 10:13:03 AM10/22/19
to jenkinsc...@googlegroups.com
Ramon Leon started work on Bug JENKINS-59886
 
Change By: Ramon Leon
Status: Open In Progress

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Oct 22, 2019, 10:21:02 AM10/22/19
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Oct 22, 2019, 10:22:05 AM10/22/19
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:14:02 AM10/22/19
to jenkinsc...@googlegroups.com

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Oct 22, 2019, 11:14:02 AM10/22/19
to jenkinsc...@googlegroups.com

bmathus+ossjira@cloudbees.com (JIRA)

unread,
Oct 29, 2019, 5:07:03 AM10/29/19
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Mar 11, 2020, 2:52:02 AM3/11/20
to jenkinsc...@googlegroups.com
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Mar 11, 2020, 3:27:03 AM3/11/20
to jenkinsc...@googlegroups.com
 

Right, it should be closed, my fault

Change By: Ramon Leon
Status: In Review Resolved
Resolution: Fixed
Released As: 2.204

ogondza@gmail.com (JIRA)

unread,
Mar 11, 2020, 6:06:02 AM3/11/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages