Bug 995807
| Summary: | Jenkins builds fail on downloadable cartridges | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | gideon |
| Component: | Image | Assignee: | Ben Parees <bparees> |
| Status: | CLOSED UPSTREAM | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | bmeng, bparees, gideon, xtian |
| Target Milestone: | --- | Keywords: | UpcomingRelease |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-24 16:00:52 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: | |||
|
Description
gideon
2013-08-11 09:46:00 UTC
I use https://raw.github.com/qiushui/perlv2cart/master/metadata/manifest.yml. As long as we have additional/spare gear, I can get successful result. Another report of the same issue: http://lists.openshift.redhat.com/openshift-archives/dev/2013-July/msg00169.html Here's the cartridge that I'm trying to enable Jenkins on: https://github.com/accursoft/Haskell-Cloud This is currently a limitation of the openshift java client. Once the support is added there for the upcoming eclipse tools release we will add the support to the jenkins implementation as well. *** Bug 1028974 has been marked as a duplicate of this bug. *** Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/e985ee5f2c5511069d3ce801fbcf3556f5bfd711 Bug 995807 - Jenkins builds fail on downloadable cartridges Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/a9f5b8ba9302fb78ac60925b9f527c73071cb7fe Bug 995807 - Jenkins builds fail on downloadable cartridges The issue still can be reproduced on devenv_4230. WARNING: Caught com.openshift.client.OpenShiftException: Cartridge for bmeng-p2rl-5.10 not found. Will retry 0 more times before canceling build. Jan 16, 2014 1:47:15 AM hudson.plugins.openshift.OpenShiftCloud provision WARNING: Cancelling build due to earlier exceptions com.openshift.client.OpenShiftException: Cartridge for bmeng-p2rl-5.10 not found at hudson.plugins.openshift.OpenShiftSlave.getCartridge(OpenShiftSlave.java:110) at hudson.plugins.openshift.OpenShiftSlave.createApp(OpenShiftSlave.java:235) at hudson.plugins.openshift.OpenShiftSlave.provision(OpenShiftSlave.java:226) at hudson.plugins.openshift.OpenShiftCloud.provisionSlave(OpenShiftCloud.java:474) at hudson.plugins.openshift.OpenShiftCloud.provision(OpenShiftCloud.java:402) at hudson.slaves.NodeProvisioner.update(NodeProvisioner.java:264) at hudson.slaves.NodeProvisioner.access$000(NodeProvisioner.java:51) at hudson.slaves.NodeProvisioner$NodeProvisionerInvoker.doRun(NodeProvisioner.java:347) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Jan 16, 2014 1:47:15 AM hudson.plugins.openshift.OpenShiftCloud cancelItem INFO: Cancelling Item Jan 16, 2014 1:47:15 AM hudson.plugins.openshift.OpenShiftCloud cancelItem WARNING: Build custom1-build custom1bldr has been canceled Working for me on devenv_4232. Perhaps I am missing something about your scenario, here are the steps i'm using: 1) create an application with jenkins enabled using a downloadable cartridge: rhc app create mygo "https://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-go-cart" --enable-jenkins 2) confirm the build definition in jenkins. Specifically, confirm that the "builder type" for the "mygo-build" configuration contains: https://cartreflect-claytondev.rhcloud.com/reflect?github=smarterclayton/openshift-go-cart 3) push a change to the mygo application: cd mygo edit web.go git commit -am . ; git push 4) a gear for the mygobldr application is created and the go cartridge is placed on that gear rch ssh mygo ls (output includes "go" cartridge directory) 5) the build completes successfully. mygo application is updated. Please also confirm your devenv has the 0.6.28 version of the jenkins plugin rpm: jenkins-plugin-openshift-0.6.28-0.el6oso.x86_64 We're going to back this change out for this sprint as we want to solve it a different way, so I'm going to move this back to assigned for now. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/0e9e75f37af22ff2fea091cca24cfdbc4e48accb Revert "Bug 995807 - Jenkins builds fail on downloadable cartridges" This reverts commit a9f5b8ba9302fb78ac60925b9f527c73071cb7fe. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/47b49f44ec28144f617d3edb1502dc122ddff50a Bug 995807 - Jenkins builds fail on downloadable cartridges |