[JIRA] (JENKINS-58256) Improve Jenkins timeout messages for tracing their cause

4 views
Skip to first unread message

ilatypov@yahoo.ca (JIRA)

unread,
Jun 28, 2019, 1:25:03 PM6/28/19
to jenkinsc...@googlegroups.com
Ilguiz Latypov created an issue
 
Jenkins / Bug JENKINS-58256
Improve Jenkins timeout messages for tracing their cause
Issue Type: Bug Bug
Assignee: Unassigned
Components: durable-task-plugin, workflow-basic-steps-plugin
Created: 2019-06-28 17:24
Labels: user-experience pipeline
Priority: Minor Minor
Reporter: Ilguiz Latypov

I blamed our vendor for misinterpreting a timeout option in their code.  They helpfully pointed out that their code did not generate the error messages "Cancelling nested steps due to timeout" and "Sending interrupt signal to process".

Searching for the source of these messages on Github, even after scoping to the jenkinsci organization, was a challenge.  For one, some recent branches did not carry these messages.

 

I thought that being explicit in the log messages would not hurt (I think of a progress we made since the Unix times with their say-not-a-single-word-more idea).

 

https://github.com/jenkinsci/workflow-durable-task-step-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/steps/durable_task/DurableTaskStep.java#L405

 

https://github.com/jenkinsci/workflow-basic-steps-plugin/blob/stable/src/main/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepExecution.java#L177

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ilatypov@yahoo.ca (JIRA)

unread,
Jun 28, 2019, 1:27:02 PM6/28/19
to jenkinsc...@googlegroups.com
Ilguiz Latypov updated an issue
Change By: Ilguiz Latypov
I blamed our vendor for misinterpreting a timeout option in their code.  They helpfully pointed out that their code did not generate the error messages "Cancelling nested steps due to timeout" and "Sending interrupt signal to process".

Searching for the source of these messages on Github, even after scoping to the jenkinsci organization, was a challenge.  For one, some recent branches did not carry these messages.

 

I thought that being explicit in the log messages would not hurt (I think of a progress we made since the Unix times with their say-not-a-single-word-more idea).   E.g., the messages can mention the "timeout" DSL clause that was the origin of it (with or without its location) and the amount of time that was allocated in that clause.

 

[https://github.com/jenkinsci/workflow-durable-task-step-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/steps/durable_task/DurableTaskStep.java#L405]

 

[https://github.com/jenkinsci/workflow-basic-steps-plugin/blob/stable/src/main/java/org/jenkinsci/plugins/workflow/steps/TimeoutStepExecution.java#L177]

 

ilatypov@yahoo.ca (JIRA)

unread,
Jun 28, 2019, 1:43:02 PM6/28/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages