Bug 1048674
| Summary: | Jenkins build failed due to an error occurred executing 'gear postreceive' for all cartridges | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Lei Zhang <lzhang> |
| Component: | Image | Assignee: | Ben Parees <bparees> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.x | CC: | jhonce, lxia, misalunk, xtian |
| Target Milestone: | --- | ||
| 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-30 00:54:50 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
Lei Zhang
2014-01-06 05:33:06 UTC
I could not reproduce with the directions given on latest devenv Still can reproduce this issue on INT(devenv_4217) and devenv_4219 ==========Failed to git push:========== remote: Syncing git content to other proxy gears remote: Executing Jenkins build. remote: remote: You can track your build at https://jenkins-chunchen.dev.rhcloud.com/job/myruby18s-build remote: remote: Waiting for build to schedule................................... remote: **BUILD FAILED/CANCELLED** remote: Please see the Jenkins log for more details via 'rhc tail' 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: !!!!!!!! remote: An error occurred executing 'gear postreceive' (exit code: 1) remote: Error message: Failed to execute: 'control post-receive' for /var/lib/openshift/52d4be8aa3d9bd378c000007/jenkins-client remote: remote: For more details about the problem, try running the command again with the '--trace' option. To ssh://52d4be8aa3d9bd378c000007.rhcloud.com/~/git/myruby18s.git/ 888a08b..f2aa0c3 master -> master ==========./jenkins/logs/jenkins.log========== Jan 13, 2014 11:38:58 PM hudson.plugins.openshift.OpenShiftCloud createConnection INFO: Using credentials system_builder:rtYRtqiSbSIT Jan 13, 2014 11:38:58 PM hudson.plugins.openshift.OpenShiftCloud reloadConfig INFO: Reload ResponseCode: 200 Jan 13, 2014 11:38:58 PM hudson.plugins.openshift.OpenShiftCloud reloadConfig INFO: Config reload result: Jan 13, 2014 11:38:58 PM hudson.plugins.openshift.OpenShiftSlave <init> INFO: Creating slave with 15mins time-to-live Jan 13, 2014 11:38:58 PM com.openshift.internal.client.RestService request INFO: Requesting GET with protocol 1.2 on https://localhost/broker/rest/cartridges Jan 13, 2014 11:38:59 PM hudson.plugins.openshift.OpenShiftSlave createApp INFO: Creating builder application ruby-1.8 myruby18sbldr chunchen of size small ... Jan 13, 2014 11:38:59 PM com.openshift.internal.client.RestService request INFO: Requesting POST with protocol 1.2 on https://localhost/broker/rest/domain/chunchen/applications?include=cartridges Jan 13, 2014 11:39:27 PM hudson.plugins.openshift.OpenShiftSlave createApp INFO: Stopping application on builder gear ... Jan 13, 2014 11:39:27 PM com.openshift.internal.client.RestService request INFO: Requesting POST with protocol 1.2 on https://localhost/broker/rest/domain/chunchen/application/myruby18sbldr/events Jan 13, 2014 11:39:28 PM hudson.plugins.openshift.OpenShiftSlave connect INFO: Connecting to slave myruby18sbldr... Jan 13, 2014 11:39:28 PM com.openshift.internal.client.RestService request INFO: Requesting GET with protocol 1.2 on https://localhost/broker/rest/domain/chunchen/application/myruby18sbldr/gear_groups Jan 13, 2014 11:39:28 PM hudson.plugins.openshift.OpenShiftSlave connect INFO: Established UUID = 52d4bf63a3d9bd378c000057 Jan 13, 2014 11:39:33 PM hudson.plugins.openshift.OpenShiftSlave connect INFO: Checking to see if slave DNS for myruby18sbldr-chunchen.dev.rhcloud.com is resolvable ... (timeout: 300000ms) Jan 13, 2014 11:39:33 PM hudson.plugins.openshift.OpenShiftSlave connect INFO: Slave DNS resolved - myruby18sbldr-chunchen.dev.rhcloud.com/10.137.72.75 Jan 13, 2014 11:39:33 PM hudson.plugins.openshift.OpenShiftCloud provision INFO: Provisioned 1 new nodes Jan 13, 2014 11:39:33 PM hudson.slaves.NodeProvisioner update INFO: Started provisioning myruby18s-build from OpenShift Cloud with 2 executors. Remaining excess workload:-1.0 Jan 13, 2014 11:39:33 PM hudson.plugins.openshift.OpenShiftComputer <init> INFO: Creating Computer Jan 13, 2014 11:39:33 PM hudson.plugins.openshift.OpenShiftComputerLauncher launch INFO: Launching slave... Jan 13, 2014 11:39:33 PM hudson.plugins.openshift.OpenShiftComputerLauncher launch INFO: Checking availability of computer hudson.plugins.openshift.OpenShiftSlave@85ed673e Jan 13, 2014 11:39:33 PM hudson.plugins.openshift.OpenShiftComputerLauncher launch INFO: Checking SSH access to application myruby18sbldr-chunchen.dev.rhcloud.com Jan 13, 2014 11:39:33 PM hudson.plugins.openshift.OpenShiftComputerLauncher launch INFO: Connecting via SSH '52d4bf63a3d9bd378c000057' 'myruby18sbldr-chunchen.dev.rhcloud.com' '/var/lib/openshift/52d4bec2a3d9bd378c000028/app-root/data/.ssh/jenkins_id_rsa' Jan 13, 2014 11:39:33 PM hudson.slaves.NodeProvisioner update INFO: myruby18s-build provisioning successfully completed. We have now 1 computer(s) Jan 13, 2014 11:39:35 PM hudson.plugins.openshift.OpenShiftComputerLauncher launch INFO: Connected via SSH. Jan 13, 2014 11:39:35 PM hudson.plugins.openshift.OpenShiftComputerLauncher launch INFO: Exec mkdir -p $OPENSHIFT_DATA_DIR/jenkins && cd $OPENSHIFT_DATA_DIR/jenkins && rm -f slave.jar && wget -q --no-check-certificate https://jenkins-chunchen.dev.rhcloud.com/jnlpJars/slave.jar Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud provision INFO: Provisioning new node for workload = 2 and label = myruby18s-build Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud getOpenShiftConnection INFO: Initiating Java Client Service - Configured for OpenShift Server https://localhost Jan 13, 2014 11:39:37 PM com.openshift.internal.client.RestService request INFO: Requesting GET with protocol 1.2 on https://localhost/broker/rest/api Jan 13, 2014 11:39:37 PM com.openshift.internal.client.RestService request INFO: Requesting GET with protocol 1.2 on https://localhost/broker/rest/user Jan 13, 2014 11:39:37 PM com.openshift.internal.client.RestService request INFO: Requesting GET with protocol 1.2 on https://localhost/broker/rest/domains Jan 13, 2014 11:39:37 PM com.openshift.internal.client.RestService request INFO: Requesting GET with protocol 1.2 on https://localhost/broker/rest/domain/chunchen/applications?include=cartridges Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud getSlaves INFO: Found existing slave for: myruby18sbldr Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud getSlave INFO: slaveExists myruby18sbldr myruby18sbldr Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud builderExists INFO: Capacity remaining - checking for existing type... Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud builderExists INFO: Found an existing builder. Not provisioning... Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud provisionSlave INFO: Slave exists. Not provisioning Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud provision INFO: Provisioned 0 new nodes Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud cancelItem INFO: Cancelling Item Jan 13, 2014 11:39:37 PM hudson.plugins.openshift.OpenShiftCloud cancelItem WARNING: Build myruby18s-build myruby18sbldr has been canceled ===========./app-root/data/logs/slaves/myruby18sbldr/slave.log================ Attempting to connect slave... Transferring slave.jar file... Executing slave jar to make connection... ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins ha:AAAAWB+LCAAAAAAAAABb85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=java.io.EOFException: unexpected stream termination at hudson.remoting.ClassicCommandTransport.create(ClassicCommandTransport.java:100) at hudson.remoting.Channel.<init>(Channel.java:392) at hudson.remoting.Channel.<init>(Channel.java:388) at hudson.remoting.Channel.<init>(Channel.java:349) at hudson.remoting.Channel.<init>(Channel.java:345) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:338) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:315) at hudson.plugins.openshift.OpenShiftComputerLauncher.launch(OpenShiftComputerLauncher.java:120) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:222) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Saw same error in slave.log using devenv_4221 known issue, new jenkins plugin 0.6.28 should resolve it. this should be working again w/ the new builds. Verified on INT(devenv_4227) [master 862dec2] t 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 jenkins_trigger.txt remote: Executing Jenkins build. remote: remote: You can track your build at https://jenkinsy5637-b7kwk7e0bh.int.rhcloud.com/job/jbossewsvr62aok-build remote: remote: Waiting for build to schedule..........................................................Done remote: Waiting for job to complete.........................................................................................................................Done remote: SUCCESS remote: New build has been deployed. remote: Result: success remote: Deployment completed with status: success To ssh://52d739626cec0e4e670003ab.rhcloud.com/~/git/jbossewsvr62aok.git/ 7581b79..862dec2 master -> master Command Return: 0 |