It's all about the answers!

Ask a question

Build Failed. Exit value was 137


Vidhya Prakash (852831) | asked Jun 27 '14, 1:43 a.m.
edited Jun 27 '14, 9:08 a.m.
Hi,

Can anyone help me figure out what this error could be and how to fix this during RTC Build?

Error

Build Failed. Exit value was 137

Build Log

2014-06-25 19:03:14 [Jazz build engine]
2014-06-25 19:03:14 [Jazz build engine] Substituted the following configuration element property variables:
2014-06-25 19:03:14 [Jazz build engine]     com.ibm.team.build.udeploy : team.udeploy.version = ${buildLabel}   -->   team.udeploy.version = 20140625-1903
2014-06-25 19:03:14 [Jazz build engine]     com.ibm.team.build.udeploy : team.udeploy.links = RTC BuildResults=${repositoryAddress}resources/itemOid/com.ibm.team.build.BuidResult/${buildResultUUID}   -->   team.udeploy.links = RTC BuildResults=https://igartc01.swg.usma.ibm.com/jazz/resources/itemOid/com.ibm.team.build.BuidResult/${buildResultUUID}
2014-06-25 19:03:14 [Jazz build engine]     com.ibm.team.build.udeploy : team.udeploy.links = RTC BuildResults=https://igartc01.swg.usma.ibm.com/jazz/resources/itemOid/com.ibm.team.build.BuidResult/${buildResultUUID}   -->   team.udeploy.links = RTC BuildResults=https://igartc01.swg.usma.ibm.com/jazz/resources/itemOid/com.ibm.team.build.BuidResult/_WGybkPybEeOrApK-m3kgSg
2014-06-25 19:03:14 [Jazz build engine]
2014-06-25 19:03:14 [Jazz build engine] running on host: prtdev2was1
2014-06-25 19:03:14 [Jazz build engine] Should build occur?
2014-06-25 19:03:14 [Jazz build engine] Yes: Always build a user initiated request.
2014-06-25 19:03:14 [Jazz build engine] Invoking pre-build participant "com.ibm.team.build.jazzscm"
2014-06-25 19:03:15 [Jazz build engine] Accepting changes into workspace "Daniel Build workspace for 3.5.2.2 ReleaseStream" ...
2014-06-25 19:03:18 [Jazz build engine] Deleting fetch destination "/gsa/pokgsa-p2/01/wwprt-3.0/.aheweb01/projects/w3dev2/tmp/finance/tools/wwprt/fetchedTEST2Price_3.5.2.2" before fetching ...
2014-06-25 19:04:19 [Jazz build engine] Fetching files to fetch destination "/gsa/pokgsa-p2/01/wwprt-3.0/.aheweb01/projects/w3dev2/tmp/finance/tools/wwprt/fetchedTEST2Price_3.5.2.2" ...
2014-06-25 19:09:08 [Jazz build engine] Invoking build participant "com.ibm.team.build.ant"
Apache Ant version 1.7.1 compiled on June 27 2008
Apache Ant version 1.7.1 compiled on June 27 2008
Buildfile: /gsa/pokgsa-p2/01/wwprt-3.0/.aheweb01/projects/w3dev2/tmp/finance/tools/wwprt/fetchedTEST2Price_3.5.2.2/WwprtWebApp/build.xml
Detected Java version: 1.6 in: /usr/lib64/jvm/java-1_6_0-ibm-1.6.0/jre
Detected OS: Linux
parsing buildfile /gsa/pokgsa-p2/01/wwprt-3.0/.aheweb01/projects/w3dev2/tmp/finance/tools/wwprt/fetchedTEST2Price_3.5.2.2/WwprtWebApp/build.xml with URI = file:/gsa/pokgsa-p2/01/wwprt-3.0/.aheweb01/projects/w3dev2/tmp/finance/tools/wwprt/fetchedTEST2Price_3.5.2.2/WwprtWebApp/build.xml
Project base dir set to: /gsa/pokgsa-p2/01/wwprt-3.0/.aheweb01/projects/w3dev2/tmp/finance/tools/wwprt/fetchedTEST2Price_3.5.2.2/WwprtWebApp
Build failed. Exit value was 137.
2014-06-25 19:09:28 [Jazz build engine] Invoking post-build participant "com.ibm.team.build.junit.publishing"
2014-06-25 19:09:28 [Jazz build engine] Invoking post-build participant "com.ibm.team.build.jdt.publishing"
2014-06-25 19:09:28 [Jazz build engine] Invoking post-build participant "com.ibm.team.build.udeploy"
2014-06-25 19:09:28 [Jazz build engine] INFO: Post-build Deploy validate completed successfully.
2014-06-25 19:09:30 [Jazz build engine] INFO: Create component version completed successfully.
2014-06-25 19:09:30 [Jazz build engine] INFO: Publish build result link completed successfully.
2014-06-25 19:09:31 [Jazz build engine] INFO: Add component version files completed successfully.
2014-06-25 19:09:31 [Jazz build engine] INFO: Set component version properties completed successfully.
2014-06-25 19:09:32 [Jazz build engine] INFO: Add component version links completed successfully.
2014-06-25 19:09:32 [Jazz build engine] INFO: Post-build Deploy publish completed successfully.
2014-06-25 19:09:33 [Jazz build engine] INFO: Request application process completed successfully.
2014-06-25 19:09:33 [Jazz build engine] INFO: Post-build Deploy process completed successfully

Comments
Krzysztof Ka┼║mierczyk commented Jun 27 '14, 8:51 a.m.

Hi Vidhya,
Please provide full build log


Vidhya Prakash commented Jun 27 '14, 9:09 a.m.

Added the build log


Vidhya Prakash commented Jul 02 '14, 5:28 a.m.

Can you please help me fix this?

One answer



permanent link
Nick Edgar (6.5k711) | answered Jul 02 '14, 6:32 a.m.
JAZZ DEVELOPER
edited Jul 02 '14, 6:33 a.m.
The Ant process (launched by JBE) is failing with exit code 137.  On Linux (indicated in output), this indicates someone killed it with a signal 9 (137-128 = 9). Assuming this wasn't done manually, it most likely was done by the OS due to hitting a kernel memory limit or other limit.  See http://stackoverflow.com/questions/6773726/command-mvn-package-fails-with-status-137

Your answer


Register or to post your answer.