[JIRA] (JENKINS-55626) Build hangs using inheritFrom without a label

2019-01-17 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez assigned an issue to Guillermo Sanchez Urien  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55626  
 
 
  Build hangs using inheritFrom without a label   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Assignee: 
 Carlos Guillermo  Sanchez  Urien  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

  
 

   





-- 
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-55626) Build hangs using inheritFrom without a label

2019-01-17 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55626  
 
 
  Build hangs using inheritFrom without a label   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Component/s: 
 kubernetes-plugin  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

  
 

   





-- 
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-55626) Build hangs using inheritFrom without a label

2019-01-17 Thread lostinberlin2...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Boardwell updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55626  
 
 
  Build hangs using inheritFrom without a label   
 

  
 
 
 
 

 
Change By: 
 Steve Boardwell  
 

  
 
 
 
 

 
 h3. Problem StatementThe build hangs when using {{inheritFrom}} in a declarative pipeline (have not tested in a script pipeline) and you either * set an identical {{label}} to the one defined in the Pod Template* omit the {{label}} tag meaning the inherited label is used (i.e.  almost  also  identical) The problem is, however, that there is no information that something is wrong. The build just hangs.h3. To ReproduceUse the following (uncomment label to make it work):{noformat}pipeline {agent {kubernetes {inheritFrom 'nodejs'// THIS WOULD FAIL --> label 'jenkins-nodejs'// THIS WOULD BE OK --> label 'my-agent'containerTemplate {name 'nodejs'image 'jenkinsxio/builder-nodejs8x:0.1.187'}defaultContainer 'nodejs'}}stages {stage('Npm Check') {steps {sh 'npm -v'}}}post {always {cleanWs()}}}{noformat}From the Jenkins log:{noformat}Jan 16, 2019 5:01:51 PM org.jenkinsci.plugins.jx.resources.BuildSyncRunListener upsertBuildINFO: Updated  pipeline activity .Jan 16, 2019 5:01:53 PM com.elasticbox.jenkins.k8s.services.task.ScheduledPoolingTask executeINFO: Pooling task: WaitForThePodToBeRunningTask finished successfullyJan 16, 2019 5:01:53 PM com.elasticbox.jenkins.k8s.services.slavesprovisioning.chain.steps.WaitForPodToBeRunning handleINFO: Pod is up and runningJan 16, 2019 5:01:59 PM com.elasticbox.jenkins.k8s.plugin.clouds.KubernetesCloud canProvisionINFO: Checking label: jenkins-jx-base.Jan 16, 2019 5:02:00 PM com.elasticbox.jenkins.k8s.plugin.clouds.KubernetesCloud canProvisionINFO: Checking label: jenkins-swiftJan 16, 2019 5:02:00 PM com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform getSelectedProtocolINFO: ALPN callback dropped: SPDY and HTTP/2 are disabled. Is alpn-boot on the boot class path?Jan 16, 2019 5:02:53 PM com.elasticbox.jenkins.k8s.services.task.ScheduledPoolingTask executeSEVERE: Timeout reached(60 secs) executing task: WaitForTheSlaveToBeOnlineTaskJan 16, 2019 5:02:53 PM com.elasticbox.jenkins.k8s.services.slavesprovisioning.chain.steps.WaitForSlaveToBeOnline handleSEVERE: Error waiting for the Jenkins slave to be onlineJan 16, 2019 5:02:53 PM com.elasticbox.jenkins.k8s.services.SlaveProvisioningServiceImpl slaveProvisionSEVERE: Error provisioning Pod Jenkins slaveJan 16, 2019 5:02:57 PM hudson.slaves.NodeProvisioner$2 runWARNING: Unexpected exception encountered while provisioning agent Jenkins Kubernetes Slavecom.elasticbox.jenkins.k8s.services.error.ServiceException: Error waiting for the Jenkins slave to be online at com.elasticbox.jenkins.k8s.services.slavesprovisioning.chain.steps.WaitForSlaveToBeOnline.handle(WaitForSlaveToBeOnline.java:64) at com.elasticbox.jenkins.k8s.services.Sla

[JIRA] (JENKINS-55626) Build hangs using inheritFrom without a label

2019-01-16 Thread lostinberlin2...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Boardwell updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55626  
 
 
  Build hangs using inheritFrom without a label   
 

  
 
 
 
 

 
Change By: 
 Steve Boardwell  
 
 
Component/s: 
 kubernetes-ci-plugin  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

  
 

   





-- 
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-55626) Build hangs using inheritFrom without a label

2019-01-16 Thread lostinberlin2...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Boardwell updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55626  
 
 
  Build hangs using inheritFrom without a label   
 

  
 
 
 
 

 
Change By: 
 Steve Boardwell  
 

  
 
 
 
 

 
 h3. Problem StatementThe build hangs when using {{inheritFrom}} in a declarative pipeline (have not tested in a script pipeline) and you  either * set an identical {{label}} to the one defined in the Pod Template*  omit the {{label}} tag  meaning the inherited label is used (i . e. almost identical)   The problem is , however,  that there is no information that something is wrong.  The build just hangs. h3. To ReproduceUse the following (uncomment label to make it work):{noformat}pipeline {agent {kubernetes {inheritFrom 'nodejs'//  THIS WOULD FAIL -->  label ' jenkins-nodejs'// THIS WOULD BE OK --> label ' my-agent'containerTemplate {name 'nodejs'image 'jenkinsxio/builder-nodejs8x:0.1.187'}defaultContainer 'nodejs'}}stages {stage('Npm Check') {steps {sh 'npm -v'}}}post {always {cleanWs()}}}{noformat}From the Jenkins log:{noformat}Jan 16, 2019 5:01:51 PM org.jenkinsci.plugins.jx.resources.BuildSyncRunListener upsertBuildINFO: Updated  pipeline activity .Jan 16, 2019 5:01:53 PM com.elasticbox.jenkins.k8s.services.task.ScheduledPoolingTask executeINFO: Pooling task: WaitForThePodToBeRunningTask finished successfullyJan 16, 2019 5:01:53 PM com.elasticbox.jenkins.k8s.services.slavesprovisioning.chain.steps.WaitForPodToBeRunning handleINFO: Pod is up and runningJan 16, 2019 5:01:59 PM com.elasticbox.jenkins.k8s.plugin.clouds.KubernetesCloud canProvisionINFO: Checking label: jenkins-jx-base.Jan 16, 2019 5:02:00 PM com.elasticbox.jenkins.k8s.plugin.clouds.KubernetesCloud canProvisionINFO: Checking label: jenkins-swiftJan 16, 2019 5:02:00 PM com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform getSelectedProtocolINFO: ALPN callback dropped: SPDY and HTTP/2 are disabled. Is alpn-boot on the boot class path?Jan 16, 2019 5:02:53 PM com.elasticbox.jenkins.k8s.services.task.ScheduledPoolingTask executeSEVERE: Timeout reached(60 secs) executing task: WaitForTheSlaveToBeOnlineTaskJan 16, 2019 5:02:53 PM com.elasticbox.jenkins.k8s.services.slavesprovisioning.chain.steps.WaitForSlaveToBeOnline handleSEVERE: Error waiting for the Jenkins slave to be onlineJan 16, 2019 5:02:53 PM com.elasticbox.jenkins.k8s.services.SlaveProvisioningServiceImpl slaveProvisionSEVERE: Error provisioning Pod Jenkins slaveJan 16, 2019 5:02:57 PM hudson.slaves.NodeProvisioner$2 runWARNING: Unexpected exception encountered while provisioning agent Jenkins Kubernetes Slavecom.elasticbox.jenkins.k8s.services.error.ServiceException: Error waiting for the Jenkins slave to be online at com.elasticbox.jenkins.k8s.services.slavesprovisioning.chain.steps.WaitForSlaveToBeOnline.handle(WaitForSlaveToBeOnline.java:64) at com.elasticbox.jenkins.k8s.servi

[JIRA] (JENKINS-55626) Build hangs using inheritFrom without a label

2019-01-16 Thread lostinberlin2...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Boardwell updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55626  
 
 
  Build hangs using inheritFrom without a label   
 

  
 
 
 
 

 
Change By: 
 Steve Boardwell  
 

  
 
 
 
 

 
 h3. Problem StatementThe build hangs when using {{inheritFrom}} in a declarative pipeline (have not tested in a script pipeline) and you omit the {{label}} tag. The problem is that there is no information that something is wrong.h3. To ReproduceUse the following (uncomment label to make it work):{noformat}pipeline {agent {kubernetes {inherit>From 'nodejs'// label 'my-agent'containerTemplate {name 'nodejs'image 'jenkinsxio/builder-nodejs8x:0.1.187'}defaultContainer 'nodejs'}}stages {stage('Npm Check') {steps {sh 'npm -v' input 'wait' }}}post {always {cleanWs()}}}{noformat}From the Jenkins log:{noformat}Jan 16, 2019 5:01:51 PM org.jenkinsci.plugins.jx.resources.BuildSyncRunListener upsertBuildINFO: Updated  pipeline activity .Jan 16, 2019 5:01:53 PM com.elasticbox.jenkins.k8s.services.task.ScheduledPoolingTask executeINFO: Pooling task: WaitForThePodToBeRunningTask finished successfullyJan 16, 2019 5:01:53 PM com.elasticbox.jenkins.k8s.services.slavesprovisioning.chain.steps.WaitForPodToBeRunning handleINFO: Pod is up and runningJan 16, 2019 5:01:59 PM com.elasticbox.jenkins.k8s.plugin.clouds.KubernetesCloud canProvisionINFO: Checking label: jenkins-jx-base.Jan 16, 2019 5:02:00 PM com.elasticbox.jenkins.k8s.plugin.clouds.KubernetesCloud canProvisionINFO: Checking label: jenkins-swiftJan 16, 2019 5:02:00 PM com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform getSelectedProtocolINFO: ALPN callback dropped: SPDY and HTTP/2 are disabled. Is alpn-boot on the boot class path?Jan 16, 2019 5:02:53 PM com.elasticbox.jenkins.k8s.services.task.ScheduledPoolingTask executeSEVERE: Timeout reached(60 secs) executing task: WaitForTheSlaveToBeOnlineTaskJan 16, 2019 5:02:53 PM com.elasticbox.jenkins.k8s.services.slavesprovisioning.chain.steps.WaitForSlaveToBeOnline handleSEVERE: Error waiting for the Jenkins slave to be onlineJan 16, 2019 5:02:53 PM com.elasticbox.jenkins.k8s.services.SlaveProvisioningServiceImpl slaveProvisionSEVERE: Error provisioning Pod Jenkins slaveJan 16, 2019 5:02:57 PM hudson.slaves.NodeProvisioner$2 runWARNING: Unexpected exception encountered while provisioning agent Jenkins Kubernetes Slavecom.elasticbox.jenkins.k8s.services.error.ServiceException: Error waiting for the Jenkins slave to be online at com.elasticbox.jenkins.k8s.services.slavesprovisioning.chain.steps.WaitForSlaveToBeOnline.handle(WaitForSlaveToBeOnline.java:64) at com.elasticbox.jenkins.k8s.services.SlaveProvisioningServiceImpl.slaveProvision(SlaveProvisioningServiceImpl.java:55) at com.elasticbox.jenkins.k8s.plugin.clouds.KubernetesCloud$1.call(KubernetesCloud.java:172) at com.elasticbox.jenkins.k8s.plugin.clouds.Kubern

[JIRA] (JENKINS-55626) Build hangs using inheritFrom without a label

2019-01-16 Thread lostinberlin2...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Steve Boardwell created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55626  
 
 
  Build hangs using inheritFrom without a label   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Carlos Sanchez  
 
 
Components: 
 kubernetes-plugin  
 
 
Created: 
 2019-01-16 17:30  
 
 
Environment: 
 Jenkins ver. 2.150.1  Kubernetes Plugin: 1.13.2  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Steve Boardwell  
 

  
 
 
 
 

 
 Problem Statement The build hangs when using inheritFrom in a declarative pipeline (have not tested in a script pipeline) and you omit the label tag. The problem is that there is no information that something is wrong. To Reproduce Use the following (uncomment label to make it work):
  

 
pipeline {
agent {
kubernetes {
inheritFrom 'nodejs'
// label 'my-agent'
containerTemplate {
name 'nodejs'
image 'jenkinsxio/builder-nodejs8x:0.1.187'
}
defaultContainer 'nodejs'
}
}
stages {
stage('Npm Check') {
steps {
sh 'npm -v'
input 'wait'
}
}
}
post {
always {
cleanWs()
}
}
}
 

 From the Jenkins log: 

 
Jan 16, 2019 5:01:51 PM org.jenkinsci.plugins.jx.resources.BuildSyncRunListener upsertBuild
INFO: Updated  pipeline activity .
Jan 16, 2019 5:01:53 PM com.e