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

TravisCI failes due to terminated VM #729

Closed
lgoltz opened this issue Aug 3, 2016 · 3 comments
Closed

TravisCI failes due to terminated VM #729

lgoltz opened this issue Aug 3, 2016 · 3 comments
Labels
blocks release blocks release bug error issue and bug (fix)
Milestone

Comments

@lgoltz
Copy link
Contributor

lgoltz commented Aug 3, 2016

The last TravisCI Jobs failed or errored. The following exception can be found in the log file:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project deegree-core-base: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
[ERROR] Command was/bin/sh -c cd /home/travis/build/deegree/deegree3/deegree-core/deegree-core-base && /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -jar /home/travis/build/deegree/deegree3/deegree-core/deegree-core-base/target/surefire/surefirebooter7010094970586568024.jar /home/travis/build/deegree/deegree3/deegree-core/deegree-core-base/target/surefire/surefire2083261284484003695tmp /home/travis/build/deegree/deegree3/deegree-core/deegree-core-base/target/surefire/surefire_5602126721869629010tmp
@lgoltz
Copy link
Contributor Author

lgoltz commented Aug 3, 2016

The problem is described in travis-ci/travis-ci#5631 Increasing the Java heap size in the surefire plugin should solve this problem:

    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
                <!-- Travis build workaround -->
                <argLine>-Xms1024m -Xmx2048m</argLine>
            </configuration>
        </plugin>
    </plugins>

@lgoltz
Copy link
Contributor Author

lgoltz commented Aug 3, 2016

All checks for the PR #730 passed, so the workaround seems to fix the problem.

@tfr42
Copy link
Member

tfr42 commented Aug 11, 2016

Fix applied for 3.4 with PR #730 and for 3.3 with PR #732.

@tfr42 tfr42 closed this as completed Aug 11, 2016
@tfr42 tfr42 added this to the 3.4 milestone Aug 11, 2016
adw1n added a commit to adw1n/hub-traffic that referenced this issue Jul 30, 2017
…rror "The forked VM terminated without saying properly goodbye." in one out of two builds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocks release blocks release bug error issue and bug (fix)
Projects
None yet
Development

No branches or pull requests

2 participants