Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to build war for game-of-life #283

Open
varunreddyr opened this issue Sep 6, 2019 · 1 comment
Open

failed to build war for game-of-life #283

varunreddyr opened this issue Sep 6, 2019 · 1 comment

Comments

@varunreddyr
Copy link


T E S T S

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f92a48ab000, 262144, 0) failed; error='Cannot allocate memory' (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 262144 bytes for committing reserved memory.

An error report file with more information is saved as:

/var/lib/jenkins/workspace/game-of-life/hs_err_pid6694.log

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[WARNING] Attempt to (de-)serialize anonymous class org.jfrog.hudson.maven2.MavenDependenciesRecorder$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for gameoflife 1.0-SNAPSHOT:
[INFO]
[INFO] gameoflife ......................................... FAILURE [ 9.705 s]
[INFO] gameoflife-build ................................... SKIPPED
[INFO] gameoflife-core .................................... SKIPPED
[INFO] gameoflife-web ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.863 s
[INFO] Finished at: 2019-09-06T09:09:38Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.11:test (unit-tests) on project gameoflife: Error occured in starting fork, check output in log -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[JENKINS] Archiving /var/lib/jenkins/workspace/game-of-life/gameoflife-build/pom.xml to com.wakaleo.gameoflife/gameoflife-build/1.0-SNAPSHOT/gameoflife-build-1.0-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/workspace/game-of-life/pom.xml to com.wakaleo.gameoflife/gameoflife/1.0-SNAPSHOT/gameoflife-1.0-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/workspace/game-of-life/gameoflife-core/pom.xml to com.wakaleo.gameoflife/gameoflife-core/1.0-SNAPSHOT/gameoflife-core-1.0-SNAPSHOT.pom
[JENKINS] Archiving /var/lib/jenkins/workspace/game-of-life/gameoflife-web/pom.xml to com.wakaleo.gameoflife/gameoflife-web/1.0-SNAPSHOT/gameoflife-web-1.0-SNAPSHOT.pom
channel stopped
[DeployPublisher][INFO] Build failed, project not deployed
Finished: FAILURE

@HanJiang915
Copy link

Could I ask how you solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants