reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Weimer <mar...@weimo.de>
Subject Re: Travis builds are failing
Date Mon, 07 Aug 2017 22:25:49 GMT
Hi,

so I found the root cause. Travis updated their default linux:

https://docs.travis-ci.com/user/precise-to-trusty-migration-guide/

And that linux no longer comes with oraclejdk7.  I filled REEF-1858 to
change to `openjdk7`.

Markus

On Mon, Aug 7, 2017 at 3:21 PM, Markus Weimer <markus@weimo.de> wrote:
> Hello,
>
> it looks like out travis build are failing. A recent example is here[0]:
>
> ```
> $ mvn clean install -q -ff -Dsurefire.useFile=false -DLOG_LEVEL=WARN
>
> Error: JAVA_HOME is not defined correctly.
>
>   We cannot execute /usr/lib/jvm/java-7-oracle/bin/java
> ```
>
> This seems to be caused by an earlier error / warning:
>
> ```
> $ jdk_switcher use oraclejdk7
>
> Switching to Oracle JDK7 (java-7-oracle), JAVA_HOME will be set to
> /usr/lib/jvm/java-7-oracle
>
> update-java-alternatives: directory does not exist: /usr/lib/jvm/java-7-oracle
> ```
>
> This strikes me as something outside of our control? Is this a travis bug?
>
> Thanks,
>
> Markus
>
>
>
> [0]: https://travis-ci.org/apache/reef/jobs/261996992

Mime
View raw message