You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/01/17 23:02:00 UTC

[jira] [Commented] (DRILL-6085) Travis build sometimes fails becomes vm suddenly exits.

    [ https://issues.apache.org/jira/browse/DRILL-6085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16329661#comment-16329661 ] 

ASF GitHub Bot commented on DRILL-6085:
---------------------------------------

GitHub user ilooner opened a pull request:

    https://github.com/apache/drill/pull/1095

    DRILL-6085: Fixed spontaneous vm exits on Travis.

    This error occurs sporadically on Travis.
    
    ```
    Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project drill-java-exec: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
    ```
    
    I believe the issue is caused by the fact that our travis containers only have 4gb of memory and our test vms are given up to 4 gb of direct memory and heap memory (for a total of up to 8gb). Because we are promising more memory than we have it seems we occasionally hit the limit of our 4gb vm. I have added the ```sudo: "required"``` option to travis.yml which increases the amount of memory in the container to 7gb.
    
    The vm exits occurred about 30% of the time lately before this change for me. With this change I ran 5 consecutive builds without a vm exit.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ilooner/drill DRILL-6085

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/1095.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1095
    
----
commit 4b2c4f0d1a3175e6a8cffa5be42cdf51632ae1c2
Author: Timothy Farkas <ti...@...>
Date:   2018-01-16T20:11:25Z

    DRILL-6085: Fixed spontaneous vm exits on Travis.

----


> Travis build sometimes fails becomes vm suddenly exits.
> -------------------------------------------------------
>
>                 Key: DRILL-6085
>                 URL: https://issues.apache.org/jira/browse/DRILL-6085
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Timothy Farkas
>            Assignee: Timothy Farkas
>            Priority: Major
>
> Travis fails with the following error.
> {code}
> Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project drill-java-exec: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
> {code}
> I believe this error is caused by the vm running out of memory. I will try bumping up the memory slightly and doing several runs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)