All the tests are failing:
System:
Docker Version :18.06.1-ce
OS:Ubuntu 18.10
rahullfo@rahullfo-HP-Notebook:~/IdeaProjects/incubator-openwhisk$ ./gradlew tests:test
Starting a Gradle Daemon, 3 stopped Daemons could not be reused, use --status for details
> Task :core:invoker:compileScala
Pruning sources from previous analysis, due to incompatible CompileSetup.
/home/rahullfo/IdeaProjects/incubator-openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/docker/DockerClient.scala:164: value toSeq is not a member of java.util.stream.Stream[String]
runCmd(cmd, config.timeouts.ps).map(_.lines.toSeq.map(ContainerId.apply))
^
/home/rahullfo/IdeaProjects/incubator-openwhisk/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/docker/DockerClient.scala:164: missing argument list for method apply in object ContainerId
Unapplied methods are only converted to functions when a function type is expected.
You can make this conversion explicit by writing `apply _` or `apply(_)` instead of `apply`.
runCmd(cmd, config.timeouts.ps).map(_.lines.toSeq.map(ContainerId.apply))
^
two errors found
> Task :core:invoker:compileScala FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':core:invoker:compileScala'.
> Compilation failed
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 54s
7 actionable tasks: 1 executed, 6 up-to-date
Any hint /tip
Are you on master/unmodified? I wasn't able to reproduce this.
Yup I am on master:
rahullfo@rahullfo-HP-Notebook:~/IdeaProjects/incubator-openwhisk$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
Steps to Repro:
make quick-start
This spins up the OW components
Ah - thanks for the extra details. I suspect that doesn't build all of openwhisk but will try again with these instructions to investigate.
@ddragosd might know faster.
I've seen this Scala compilation error when the host JDK was Java10 (or Java11) instead of Java8.
There's something different about the map APIs in latest Java that imports into Scala slightly differently than Java8 does.
Thanks @rabbah @dgrove-oss . I was running on Java 11 and downgrading it to Java 8 works.
Not sure if we want this issue to be open. Please feel free to close it.
Leave it open it would be good to find out how to make it work on java 11
Created #4217 to track work required to support JDK 11
closing as duplicate of #4217.
We're experiencing the same issue trying to install on Java12 JDK
Most helpful comment
Leave it open it would be good to find out how to make it work on java 11