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

[jira] [Commented] (SAMOA-76) Failing Travis builds - changes in Travis config needed

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

ASF GitHub Bot commented on SAMOA-76:
-------------------------------------

Github user mgrzenda commented on the issue:

    https://github.com/apache/incubator-samoa/pull/74
  
    Here is a brief summary of findings and solution:
    1) oraclejdk7 is no longer available in Travis. Hence, the old Travis configuration failed.
    2) openjdk7 was a suggested replacement
    3) However, Travis builds based on openjdk7 are started, but never finish (are killed because of inactivity)
    4) This kind of hanging build can be obtained also on standalone Linux/ mvn if _JAVA_OPTIONS are set as in Travis i.e. to "-Xmx2048m -Xms512m" and openjdk7 is used
    5) Increasing memory limits in standalone mvn run resolves the problem 4), but not in Travis builds. Travis builds are still hanging in HDFS-related tests, as before even with less restrictive memory settings and forced garbage collection (see the list of commits to this JIRA issue for different options)
    6) The ultimate working solution is to replace oraclejdk7 with oraclejdk8. This seems to be acceptable solution.


> Failing Travis builds - changes in Travis config needed
> -------------------------------------------------------
>
>                 Key: SAMOA-76
>                 URL: https://issues.apache.org/jira/browse/SAMOA-76
>             Project: SAMOA
>          Issue Type: Bug
>            Reporter: Maciej Grzenda
>            Priority: Major
>
> Automated Travis builds fail because of Travis-Java settings. Actually, the builds are terminated at the very beginning, because of Java misconfiguration.
> The key issue seems to be in the messages:
> The JAVA_HOME environment variable is not defined correctly
> This environment variable is needed to run this program
> NB: JAVA_HOME should point to a JDK not a JRE__
> It seems the reason is the problem:  https://github.com/travis-ci/travis-ci/issues/7964, which is resolved as follows:
> oraclejdk7 is no longer available in Travis, replace it with openjdk7
> To test whether the change to openjdk helps, updates to Samoa Travis config are needed.



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