[JIRA] [workflow-plugin] (JENKINS-28063) Triggering the same job twice results in zombie workflow run

2016-04-05 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-28063 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Triggering the same job twice results in zombie workflow run  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Jesse Glick Path: aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/build/BuildTriggerStepTest.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildQueueListener.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerAction.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerListener.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStepExecution.java http://jenkins-ci.org/commit/pipeline-build-step-plugin/4693412e578233dded9cfc93f3a56d1660899771 Log: [FIXED JENKINS-28063] BuildTriggerAction must implement FoldableAction and multiple instances checked. Otherwise any redundant upstream builds never receive notification of the downstream build’s completion, and hang. Originally-Committed-As: 90f9e44d498e167d6ab7fd3ef744ac0980ea65ae 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [workflow-plugin] (JENKINS-28063) Triggering the same job twice results in zombie workflow run

2015-05-04 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-28063 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Triggering the same job twice results in zombie workflow run  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Jesse Glick Path: CHANGES.md aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/build/BuildTriggerStepTest.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildQueueListener.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerAction.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerListener.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStepExecution.java http://jenkins-ci.org/commit/workflow-plugin/1c8d22ab0ee7471d0ceb56b03070579d873bf9b8 Log: Merge pull request #121 from jglick/coalesced-build-

JENKINS-28063
 


JENKINS-28063
 Handle redundant upstream builds 
Compare: https://github.com/jenkinsci/workflow-plugin/compare/408efbcfbc2f...1c8d22ab0ee7 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [workflow-plugin] (JENKINS-28063) Triggering the same job twice results in zombie workflow run

2015-05-04 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon resolved as Fixed 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-28063 
 
 
 
  Triggering the same job twice results in zombie workflow run  
 
 
 
 
 
 
 
 
 

Change By:
 
 SCM/JIRA link daemon 
 
 
 

Status:
 
 In Progress Resolved 
 
 
 

Resolution:
 
 Fixed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [workflow-plugin] (JENKINS-28063) Triggering the same job twice results in zombie workflow run

2015-05-04 Thread scm_issue_l...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 SCM/JIRA link daemon commented on  JENKINS-28063 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Triggering the same job twice results in zombie workflow run  
 
 
 
 
 
 
 
 
 
 
Code changed in jenkins User: Jesse Glick Path: CHANGES.md aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/build/BuildTriggerStepTest.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildQueueListener.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerAction.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerListener.java support/src/main/java/org/jenkinsci/plugins/workflow/support/steps/build/BuildTriggerStepExecution.java http://jenkins-ci.org/commit/workflow-plugin/90f9e44d498e167d6ab7fd3ef744ac0980ea65ae Log: [FIXED JENKINS-28063] BuildTriggerAction must implement FoldableAction and multiple instances checked. Otherwise any redundant upstream builds never receive notification of the downstream build’s completion, and hang. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [workflow-plugin] (JENKINS-28063) Triggering the same job twice results in zombie workflow run

2015-04-29 Thread jgl...@cloudbees.com (JIRA)














































Jesse Glick
 started work on  JENKINS-28063


Triggering the same job twice results in zombie workflow run
















Change By:


Jesse Glick
(29/Apr/15 9:45 PM)




Status:


Open
In Progress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [workflow-plugin] (JENKINS-28063) Triggering the same job twice results in zombie workflow run

2015-04-23 Thread micpie...@gmail.com (JIRA)














































Michal Piekarczyk
 created  JENKINS-28063


Triggering the same job twice results in zombie workflow run















Issue Type:


Bug



Assignee:


Jesse Glick



Components:


workflow-plugin



Created:


23/Apr/15 10:37 AM



Description:


When two workflow jobs try to trigger the same job at the same time, java.hudson.model.Queue#scheduleInternal may detect a duplicate.

When that happens, a second instance of WaitingItem does not get created, meaning one of the workflow runs will have no listeners related to the triggered job.

When the triggered job ends, only one workflow run will be notified and continue, the other one will stay listening forever.

The workaround I've had to apply to deal with this is running the following in scriptler:

Jenkins.instance.getItemByFullName(jobName)
  .builds.findAll{it.building}
  .each{it.execution.currentExecutions.get()
  .each{it.context.onFailure(new Exception())}
   }




Environment:


Jenkins ver. 1.610

workflow-plugin 1.5




Project:


Jenkins



Priority:


Critical



Reporter:


Michal Piekarczyk

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.