[JIRA] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-16 Thread o.v.nenas...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Oleg Nenashev commented on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
 Sam Van Oort Today Pham Vu Tuan hit it on ci.jenkins.io: https://ci.jenkins.io/job/Plugins/job/remoting-kafka-plugin/job/PR-1/3/display/redirect . It happens for properties() step there with a standard buildPlugin() there. Maybe it could help with troubleshooting  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-16 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer edited a comment on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
 > Could we get the first 15 lines of that your Jenkinsfile, please?Lines 1-13 are a copyright header and line 14 is blank, then there is:{noformat}properties([ gitLabConnection('enggit'), buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '90', numToKeepStr: ''))]){noformat}  > Second question Christoph Obexer do you have anything in your Jenkins logs along the lines of: "Nulling out FlowExecution due to error in build" or "failed to wait for"?I found this in the logs with "FlowExecution", and nothing for "failed to wait for":{noformat}INFORMATION:  app.telemetry  yyy / agent feature - rewrite-telemetry y  #5 completed: FAILUREMai 14, 2018 10:06:18 AM org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution getLastOrdinalInBuildWARNUNG: Failed to traverse flow graph to search the last milestone ordinaljava.io.IOException: yyy/feature-y #5 did not yet startat org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:1104)at org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution.getLastOrdinalInBuild(MilestoneStepExecution.java:227)at org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution.exit(MilestoneStepExecution.java:198)at org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution.access$000(MilestoneStepExecution.java:65)at org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution$Listener.onCompleted(MilestoneStepExecution.java:330)at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:797)at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:330)at hudson.model.ResourceController.execute(ResourceController.java:97)at hudson.model.Executor.run(Executor.java:429)Mai 14, 2018 10:06:18 AM org.jenkinsci.plugins.workflow.flow.FlowExecutionList unregisterWARNUNG: Owner[yyy/feature-y/5:yyy/feature-y #5] was not in the list to begin with: []{noformat}    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

  

[JIRA] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-16 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer commented on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
 > Could we get the first 15 lines of that your Jenkinsfile, please? Lines 1-13 are a copyright header and line 14 is blank, then there is: 

 
properties([
	gitLabConnection('enggit'),
	buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '90', numToKeepStr: ''))
])
 

 > Second question Christoph Obexer do you have anything in your Jenkins logs along the lines of: "Nulling out FlowExecution due to error in build" or "failed to wait for"? I found this in the logs with "FlowExecution", and nothing for "failed to wait for": 

 
INFORMATION: app.telemetry/agent-rewrite-telemetry #5 completed: FAILURE
Mai 14, 2018 10:06:18 AM org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution getLastOrdinalInBuild
WARNUNG: Failed to traverse flow graph to search the last milestone ordinal
java.io.IOException: yyy/feature-y #5 did not yet start
at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:1104)
at org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution.getLastOrdinalInBuild(MilestoneStepExecution.java:227)
at org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution.exit(MilestoneStepExecution.java:198)
at org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution.access$000(MilestoneStepExecution.java:65)
at org.jenkinsci.plugins.pipeline.milestone.MilestoneStepExecution$Listener.onCompleted(MilestoneStepExecution.java:330)
at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:797)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:330)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)

Mai 14, 2018 10:06:18 AM org.jenkinsci.plugins.workflow.flow.FlowExecutionList unregister
WARNUNG: Owner[yyy/feature-y/5:yyy/feature-y #5] was not in the list to begin with: []
 

    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

 

[JIRA] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-15 Thread svano...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sam Van Oort commented on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
 Second question Christoph Obexer do you have anything in your Jenkins logs along the lines of: "Nulling out FlowExecution due to error in build" or "failed to wait for"?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-15 Thread svano...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sam Van Oort started work on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Sam Van Oort  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-15 Thread svano...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sam Van Oort assigned an issue to Sam Van Oort  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51290  
 
 
  Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
Change By: 
 Sam Van Oort  
 
 
Assignee: 
 Sam Van Oort  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-15 Thread svano...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sam Van Oort commented on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
 Christoph Obexer The issue in JENKINS-50784 was one that caused other issues besides the one immediately reported as the cause – but since you already have the fix, that can't be it. Could we get the first 15 lines of that your Jenkinsfile, please? I cannot reproduce this issue with any of my local tests (including some additional manual tests in a full environment).   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-15 Thread svano...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sam Van Oort updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51290  
 
 
  Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
Change By: 
 Sam Van Oort  
 
 
Component/s: 
 workflow-job-plugin  
 
 
Component/s: 
 workflow-multibranch-plugin  
 
 
Component/s: 
 workflow-cps-plugin  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-15 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer commented on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
 I'm using workflow-job: 2.21 and workflow-multibranch: 2.18 both of them show no updates (the only pending updates are the downgraded workflow-cps and some jackson-api from today). JENKINS-50784: AFAIK I don't replay builds unless manually triggering a build counts as a replay? anyway I use more recent versions.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-14 Thread svano...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sam Van Oort commented on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
 I cannot reproduce the issue with the latest workflow-job (2.21) and workflow-multibranch plugin – I suspect this is a duplicate of https://issues.jenkins-ci.org/browse/JENKINS-50784 which is now-fixed by updates to those plugins. Christoph Obexer can you confirm?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-14 Thread svano...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sam Van Oort commented on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
 Christoph Obexer Are you on the absolute latest workflow-job and workflow-multibranch?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-14 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-51290  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
 fyi Sam Van Oort  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-51290) Builds fail to start with: IOException: repo/branch #5 did not yet start

2018-05-14 Thread cobe...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christoph Obexer created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51290  
 
 
  Builds fail to start with: IOException: repo/branch #5 did not yet start   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 workflow-cps-plugin  
 
 
Created: 
 2018-05-14 09:17  
 
 
Environment: 
 workflow-cps: 2.53  Jenkins: 2.121  
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 Christoph Obexer  
 

  
 
 
 
 

 
 Multibranch Pipelines fail to start with: 

 
Setting origin to git@gitlab:xxx/yyy.git
Fetching origin...
Obtained Jenkinsfile from 
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] properties
[Pipeline] End of Pipeline
java.io.IOException: yyy/feature-y #5 did not yet start
	at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:1104)
	at org.jenkinsci.plugins.workflow.multibranch.JobPropertyStep$Execution.run(JobPropertyStep.java:104)
	at org.jenkinsci.plugins.workflow.multibranch.JobPropertyStep$Execution.run(JobPropertyStep.java:84)
	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousStepExecution.start(AbstractSynchronousStepExecution.java:42)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:229)
	at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:153)
	at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:122)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at