samoa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (SAMOA-76) Failing Travis builds - changes in Travis config needed
Date Fri, 19 Jan 2018 08:22:00 GMT


ASF GitHub Bot commented on SAMOA-76:

Github user mgrzenda commented on the issue:
    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:
>             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:,
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

View raw message