[
https://issues.jenkins-ci.org/browse/JENKINS-12035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159107#comment-159107
]
Richard Mortimer commented on JENKINS-12035:
--------------------------------------------
titix29 just reported the same symptoms on IRC.
In that case the problem was the linux kernel running out of virtual memory.
The kernel OOM (out of memory) killer then stepped in and killed the most
(un)deserving victim/runaway process which happened to be the GWT/maven build
process.
To determine if that is the case you can use the {{dmesg}} command from a linux
shell. Somewhere towards the end of the output there will be a line similar to
{code}
Out of memory: kill process 946 (daemon) score 1073527 or a child
{code}
For reference the status code 137 (128 + 9) typically means (can differ between
flavours of unix). That the process was terminated by receipt of a signal. In
this case signal 9 which is SIGKILL and unblockable kill.
If this is the case the underlying machine/OS needs more virtual memory. This
can be added by either adding physical memory or swap space as appropriate.
> Job killed before the end
> --------------------------
>
> Key: JENKINS-12035
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12035
> Project: Jenkins
> Issue Type: Bug
> Components: maven
> Affects Versions: current
> Environment: Ubuntu Server 10.4, OpenJDK 1.6, Maven 3.03, GWT 2.4
> Reporter: kianby
>
> I have created a free-style project which relies on Maven. Targets are "clean
> package". All Maven modules are built except the GWT one which uses
> gwt-maven-plugin. The build stops at different steps during GWT module
> compilation and it's like Jenkins kills the job. I can see a message "[ERROR]
> Killed" which appears while GWT compiles permutations.
> Console output ends with:
> [ERROR] Failed to execute goal
> org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile (default) on project Blah:
> Command [[
> [ERROR] /bin/sh -c /usr/lib/jvm/java-6-sun-1.6.0.26/jre/bin/java -Xmx512m
> -classpath
> /usr/share/tomcat6/.jenkins/jobs/Sheron/workspace/client/src/main/java:/usr/share/tomcat6/.jenkins/jobs/Sheron/workspace/client/src/main/resources:/usr/share/tomcat6/.jenkins/jobs/Sheron/workspace/common/target/common-1.0-SNAPSHOT.jar:/usr/share/tomcat6/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/usr/share/tomcat6/.m2/repository/log4j/log4j/1.2.16/log4j-1.2.16.jar:/usr/share/tomcat6/.m2/repository/com/smartgwt/smartgwt/2.5/smartgwt-2.5.jar:/usr/share/tomcat6/.m2/repository/com/smartgwt/smartgwt-skins/2.5/smartgwt-skins-2.5.jar:/usr/share/tomcat6/.m2/repository/com/google/gwt/gwt-servlet/2.4.0/gwt-servlet-2.4.0.jar:/usr/share/tomcat6/.m2/repository/com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar:/usr/share/tomcat6/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.1/jackson-mapper-asl-1.9.1.jar:/usr/share/tomcat6/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.1/jackson-core-asl-1.9.1.jar:/usr/share/tomcat6/.m2/repository/com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar:/usr/share/tomcat6/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/usr/share/tomcat6/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/usr/share/tomcat6/.m2/repository/com/google/gwt/gwt-dev/2.4.0/gwt-dev-2.4.0.jar:/usr/share/tomcat6/.jenkins/jobs/Sheron/workspace/common/target/common-1.0-SNAPSHOT-sources.jar
> com.google.gwt.dev.Compiler -gen
> /usr/share/tomcat6/.jenkins/jobs/Sheron/workspace/client/target/.generated
> -logLevel INFO -style OBF -war
> /usr/share/tomcat6/.jenkins/jobs/Sheron/workspace/client/target/Blah-1.0-SNAPSHOT
> -localWorkers 2 com.blah.dm.ui.BlahClient
> [ERROR] ]] failed with status 137
> Does it sound something to anyone?
> Cheers,
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira