| Summary: | push build often got failed when trying jenkins build for the first time | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OKD | Reporter: | Meng Bo <bmeng> | ||||
| Component: | Containers | Assignee: | Bill DeCoste <wdecoste> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 1.x | CC: | jialiu, rmillner, xtian | ||||
| Target Milestone: | --- | Keywords: | Regression, Triaged | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-04-27 20:47:09 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: | |||||
| Attachments: |
|
||||||
|
Description
Meng Bo
2012-04-06 10:13:28 UTC
This bug does not always happen, it will often happen when you try to build with jenkins the first time, but it could be successful if you git push again to trigger the jenkins build,leave this bug open to see if there is any fix for this. The first time build error log is like following : com.openshift.express.client.OpenShiftEndpointException: Could not configure application "jbsbldr" at "https://localhost/broker/cartridge" at com.openshift.express.client.OpenShiftService.sendRequest(OpenShiftService.java:528) at com.openshift.express.client.OpenShiftService.requestApplicationAction(OpenShiftService.java:435) at com.openshift.express.client.OpenShiftService.createApplication(OpenShiftService.java:290) at hudson.plugins.openshift.OpenShiftSlave.createApp(OpenShiftSlave.java:235) at hudson.plugins.openshift.OpenShiftSlave.provision(OpenShiftSlave.java:204) at hudson.plugins.openshift.OpenShiftCloud$2.call(OpenShiftCloud.java:459) at hudson.plugins.openshift.OpenShiftCloud$2.call(OpenShiftCloud.java:451) 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) Caused by: com.openshift.express.internal.client.httpclient.BadRequestException: {"api_c":["placeholder"],"data":"","debug":"","broker_c":[ "namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"api":"1.1.3","result":"Failed: E ither application limit has already reached or domain doesn't exist for 'xtian+t82'","messages":"","exit_code":1} What AMI and environment are you seeing this? There is not a medium builder available for JBoss in devenvs, so it will always fail. Hi, Bill It should be devenv_1696 or devenv_1697, we have already changed the node profile to medium , so it should not be caused short of medium builder. Thanks Re-test this bug on devenv_1735, still failed when do jenkins build for the first time, but some symptom has changed. About the error - "Either application limit has already reached or domain doesn't exist" has been fixed in BZ#811192. The following is my steps to reflect current status: 1. Launch a devenv instance. 2. Create app with jenkins embedded. 3. Do git push to trigger jenkins build. ***The first jenkins build failed*** 4. After jenkins build failed, do git push again. ***This jenkins build succeed*** Check jenkins log, found the first failure is caused by the following error: <--snip--> Caused by: com.openshift.express.internal.client.httpclient.InternalServerErrorException: {"api":"1.1.3","api_c":["placeholder"],"messages":"\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nWARNING: The 'bldr' suffix is used by the CI system (Jenkins) for its slave \nbuilders. If you create an app of this name you can't also create an app \ncalled 'phptest' and build that app in Jenkins without conflicts.\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n","data":"","exit_code":1,"result":"Error communicating with DNS system. If the problem persists please contact Red Hat support.","debug":"","broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"]} <--snip--> Please check attachment (jenkins.log) for more details info Created attachment 579408 [details]
jenkins.log
Looks like there was already an application of the name phptestblder - can you confirm there isn't a conflict with the existing applications? My concern is that a builder is not being cleaned up properly. I just created a new jenkins-plugin-openshift build (0.5.18) to revolve another bug so you should test with that version. Now the version of jenkins-plugin-openshift in the latest instance (devenv_1741) is jenkins-plugin-openshift-0.5.17, after get the new jenkins-plugin-openshift build (0.5.18), I will test it again. Re-test this issue on devenv-stage_176, it works fine now. So move it to "ON_QA". |