Bug 859913
Summary: | [US2105][fork] Can not jenkins build a jbossas-7/jbosseap-6.0 application | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | OKD | Reporter: | Jianwei Hou <jhou> | ||||||
Component: | Containers | Assignee: | Bill DeCoste <wdecoste> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 2.x | CC: | dmace, pmorie | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-11-06 18:50:30 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
NOTE: This issue also exists in devenv_2215, and is not specific to the fork AMI in which it was found. This issue is also with Jenkins in general, not just JBoss/Jenkins integration. Create a new Jenkins instance in dev, and it will fail to start due to a port binding exception. Dan, any idea why is Jenkins now trying to bind to 0.0.0.0 instead of OPENSHIFT_INTERNAL_IP? *** This bug has been marked as a duplicate of bug 859828 *** This bug can be reproduce on fork_ami_US2105_178 devenv already has a fix for bug 859828, but I still can not jenkins build jbossas/jbosseap apps on fork_ami_US2105_178, I can embed jenkins-client to app and was able to access jenkins webconsole, and this seems different from bug 859828 Problem is described in comment 1 So reopen this bug and expect a fix Created attachment 618536 [details]
jenkins_20120928.log
I was able to recreate this: Sep 28, 2012 12:23:12 PM hudson.slaves.NodeProvisioner update WARNING: Provisioned slave jbossas-build failed to launch com.openshift.client.OpenShiftException: Cartridge for jenkins-client-1.4 not found at hudson.plugins.openshift.OpenShiftSlave.getCartridge(OpenShiftSlave.java:105) at hudson.plugins.openshift.OpenShiftSlave.createApp(OpenShiftSlave.java:235) at hudson.plugins.openshift.OpenShiftSlave.provision(OpenShiftSlave.java:222) at hudson.plugins.openshift.OpenShiftCloud$2.call(OpenShiftCloud.java:450) at hudson.plugins.openshift.OpenShiftCloud$2.call(OpenShiftCloud.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Sep 28, 2012 12:23:11 PM hudson.plugins.openshift.OpenShiftCloud cancelBuild WARNING: Build for label/builderName jbossas-build/jbossasbldr has been cancelled Sep 28, 2012 12:23:11 PM hudson.plugins.openshift.OpenShiftCloud cancelBuild INFO: Cancelling build Root cause is that for jbossas/jbosseap, the jenkins job config is being created with an incorrect value. Fix pushed and will be available in the next AMI for US2105. Verified on fork_ami_US2105_189 Steps: 1. Create a jenkins server app 2. Create jbossas/jbosseap app, and embed jenkins client 3. Make some change in app's local repo and git push 4. Check both jbossas and jbosseap would git push successfully Result: Jenkins build for both jbossas and jbosseap app are successful. |
Created attachment 616505 [details] jenkins.log Description of problem: Can not jenkins build jbossas-7/jbosseap-6.0 application successfully Version-Release number of selected component (if applicable): On fork_ami_US2105_133 How reproducible: Always Steps to Reproduce: 1. Create a jenkins server app, then create a jbossas-7/jbosseap-6.0 application 2. Embed jenkins client to jbossas-7/jbosseap-6.0 app 3. Make some change in app's repo and git push Actual results: Jenkins build failed: ............ remote: Waiting for build to schedule........ remote: **BUILD FAILED/CANCELLED** remote: Please see the Jenkins log for more details via rhc-tail-files remote: !!!!!!!! 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: !!!!!!!! .............. Expected results: Jenkins build should be successful Additional info: Added jenkins.log