[JIRA] (JENKINS-40839) pipeline timeout doesn't kill the job

2017-01-13 Thread sascha.schuenem...@googlemail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sascha Schuenemann edited a comment on  JENKINS-40839  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: pipeline timeout doesn't kill the job   
 

  
 
 
 
 

 
 I might have encountered the same issue on Jenkins ver. 2.35In our case we have an outer timeout across a pipeline job using docker:  { quote code:java }  timeout(30) {node('foo') {def WORKSPACE = pwd()dir('src') {deleteDir()unstash 'source'}stage('Prepare Docker environment') {docker.image('bar').pull()def buildImg = docker.build(bar', "${WORKSPACE}/src")buildImg.inside {timeout(1) {stage('Start services') {sh "foo bar'"}sleep 3m}   }   }}}  { quote code }  We have hit the outer 30min timeout just after building the image but before starting the container.But jenkins failed to kill the build and hangs at:Successfully built 9b6a1a125fb8[Pipeline] dockerFingerprintFrom[Pipeline] sh[PF-PEP-gerrit_4] Running shell script+ docker inspect -f . bar.Cancelling nested steps due to timeoutBody did not finish within grace period; terminating with extreme prejudice  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-40839) pipeline timeout doesn't kill the job

2017-01-13 Thread sascha.schuenem...@googlemail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sascha Schuenemann edited a comment on  JENKINS-40839  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: pipeline timeout doesn't kill the job   
 

  
 
 
 
 

 
 I might have encountered the same issue on Jenkins ver. 2.35In our case we have an outer timeout across a pipeline job using docker: {quote} timeout(30) {node('foo') {def WORKSPACE = pwd()dir('src') {deleteDir()unstash 'source'}stage('Prepare Docker environment') {docker.image('bar').pull()def buildImg = docker.build(bar', "${WORKSPACE}/src")buildImg.inside {timeout(1) {stage('Start services') {sh "foo bar'"}sleep 3m}   }   }}} {quote} We have hit the outer 30min timeout just after building the image but before starting the container.But jenkins failed to kill the build and hangs at:Successfully built 9b6a1a125fb8[Pipeline] dockerFingerprintFrom[Pipeline] sh[PF-PEP-gerrit_4] Running shell script+ docker inspect -f . bar.Cancelling nested steps due to timeoutBody did not finish within grace period; terminating with extreme prejudice  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-40839) pipeline timeout doesn't kill the job

2017-01-13 Thread sascha.schuenem...@googlemail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sascha Schuenemann edited a comment on  JENKINS-40839  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: pipeline timeout doesn't kill the job   
 

  
 
 
 
 

 
 I might have encountered the same issue on Jenkins ver. 2.35In our case we have an outer timeout across a pipeline job using docker: imeout timeout (30) {node('foo') {def WORKSPACE = pwd()dir('src') {deleteDir()unstash 'source'}stage('Prepare Docker environment') {docker.image('bar').pull()def buildImg = docker.build(bar', "${WORKSPACE}/src")buildImg.inside {timeout(1) {stage('Start services') {sh "foo bar'"}sleep 3m}   }   }}}We have hit the outer 30min timeout just after building the image but before starting the container.But jenkins failed to kill the build and hangs at:Successfully built 9b6a1a125fb8[Pipeline] dockerFingerprintFrom[Pipeline] sh[PF-PEP-gerrit_4] Running shell script+ docker inspect -f . bar.Cancelling nested steps due to timeoutBody did not finish within grace period; terminating with extreme prejudice  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-40839) pipeline timeout doesn't kill the job

2017-01-13 Thread sascha.schuenem...@googlemail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Sascha Schuenemann commented on  JENKINS-40839  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: pipeline timeout doesn't kill the job   
 

  
 
 
 
 

 
 I might have encountered the same issue on Jenkins ver. 2.35 In our case we have an outer timeout across a pipeline job using docker: imeout(30) { node('foo') { def WORKSPACE = pwd()  dir('src')  { deleteDir() unstash 'source' }  stage('Prepare Docker environment') { docker.image('bar').pull() def buildImg = docker.build(bar', "$ {WORKSPACE} /src")  buildImg.inside { timeout(1) { stage('Start services')  { sh "foo bar'" }  sleep 3m } } } } } We have hit the outer 30min timeout just after building the image but before starting the container. But jenkins failed to kill the build and hangs at: Successfully built 9b6a1a125fb8 [Pipeline] dockerFingerprintFrom [Pipeline] sh [PF-PEP-gerrit_4] Running shell script + docker inspect -f . bar . Cancelling nested steps due to timeout Body did not finish within grace period; terminating with extreme prejudice  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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.