Red Hat Bugzilla – Bug 1030238
Unable to launch jenkins slave
Last modified: 2017-03-08 12:35 EST
Description of problem:
Jenkins can't be launched with app which enabled jenkins-client.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create one app with --enable-jenkins parameter
2. Modified app's repo and git push it
Warning: Permanently added 'php3-cha1q1.ose-1113.com.cn,10.4.59.171' (RSA) to the list of known hosts.
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 211 bytes, done.
Total 2 (delta 1), reused 0 (delta 0)
remote: Executing Jenkins build.
remote: You can track your build at https://j1-cha1q1.ose-1113.com.cn/job/php3-build
remote: Waiting for build to schedule.............................
remote: **BUILD FAILED/CANCELLED**
remote: Please see the Jenkins log for more details via 'rhc tail'
remote: Deployment Halted!
remote: If the build failed before the deploy step, your previous
remote: build is still running. Otherwise, your application may be
remote: partially deployed or inaccessible.
remote: Fix the build and try again.
remote: An error occurred executing 'gear postreceive' (exit code: 1)
remote: Error message: Failed to execute: 'control post-receive' for /var/lib/openshift/52847b662ca05ebb490008ed/jenkins-client
remote: For more details about the problem, try running the command again with the '--trace' option.
bd8ad59..8b823cd master -> master
Jenkins server's log :
INFO: Creating slave with 15mins time-to-live
Nov 14, 2013 12:47:49 AM com.openshift.internal.client.RestService request
INFO: Requesting GET with protocol 1.2 on https://broker.ose-1113.com.cn/broker/rest/cartridges
Nov 14, 2013 12:47:49 AM hudson.plugins.openshift.OpenShiftCloud provision
WARNING: Caught com.openshift.client.OpenShiftException: Cartridge for redhat-php-5.3 not found. Will retry 4 more times before canceling build.
Nov 14, 2013 12:47:54 AM hudson.plugins.openshift.OpenShiftCloud hasCapacity
INFO: Checking capacity
This is related to Bug #1025451. On a side note there were a few fixes made to the openshift-java-client for OSE. Those have been resolved the the new client build is happening as part of https://issues.jboss.org/browse/JBIDE-15879. I we rebuilt the jenkins plugin as soon as we have the official build from the JBIDE team.
Verified on puddle 2.0/2013-11-14.3