Shad, I confirm that when there is a zookeeper server running on the host machine, the tests will fail. I manually stopped the ZK server and ran the tests, this time the tests ran successfully.
Yaniv, I am building it from the GH 0.2.0 release branch. On 17 Apr 2018, at 8:20, Yaniv Rodenski <ya...@shinto.io> wrote: Hi Shad, Thanks for that, I’ve actually missed this is during tests. Thanks for that. Nadav can you confirm? Also are you building the code from dist.apache.org? I’m facing another issue regarding a missing dependency (scopt) which I suspect wasn’t package by shadowJar. I’ll keep investigating maybe it’s an environment issue as well. Cheers, Yaniv On Tue, 17 Apr 2018 at 2:44 pm, Shad Amez <shad.ame...@gmail.com> wrote: Hi Nadav/Team, FYI. I have faced these test failures : [Thread-3] ERROR org.apache.curator.test.TestingZooKeeperServer - ..... java.net.BindException: Address already in use This is caused when there is another instance of Zookeeper running on the port 2181. If this zookeeper instance is shutdown, then the tests run sucessfully Regards, Shad On Tue, Apr 17, 2018 at 9:58 AM, Yaniv Rodenski <ya...@shinto.io> wrote: Hi Nadav, OK, I did have a closer look this morning on a clean environment and it seems that there is something wrong with the build coming out of Travis. I suggest we stop the vote for now and Guy and myself will investigate. Thanks, everyone Yaniv On Tue, Apr 17, 2018 at 4:27 AM, Nadav Har Tzvi <nada...@apache.org> wrote: -1 There are a few issues: 1. Travis doesn't invoke gradlew test, thus the tests don't run at all in the CI environment. 2. When I deployed Amaterasu on both the mesos vagrant box and the HDP box, the action tests failed. Here are the stack traces: [Thread-3] ERROR org.apache.curator.test.TestingZooKeeperServer - From testing server (random state: false) for instance: InstanceSpec{dataDirectory=/tmp/1523902177319-0, port=2181, election Port=38827, quorumPort=40951, deleteDataDirectoryOnClose=true, serverId=3, tickTime=-1, maxClientCnxns=-1} org.apache.curator.test.InstanceSpec@885 java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java: 223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure( NIOServerCnxnFactory.java:95) at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig( ZooKeeperServerMain.java:111) at org.apache.curator.test.TestingZooKeeperMain.runFromConfig( TestingZooKeeperMain.java:73) at org.apache.curator.test.TestingZooKeeperServer$1.run( TestingZooKeeperServer.java:148) at java.lang.Thread.run(Thread.java:748) org.apache.amaterasu.common.execution.ActionTests *** ABORTED *** (3 milliseconds) java.lang.RuntimeException: Unable to load a Suite class that was discovered in the runpath: org.apache.amaterasu.common. execution.ActionTests at org.scalatest.tools.DiscoverySuite$.getSuiteInstance( DiscoverySuite.scala:81) at org.scalatest.tools.DiscoverySuite$$anonfun$1. apply(DiscoverySuite.scala:38) at org.scalatest.tools.DiscoverySuite$$anonfun$1. apply(DiscoverySuite.scala:37) at scala.collection.TraversableLike$$anonfun$map$ 1.apply(TraversableLike.scala:234) at scala.collection.TraversableLike$$anonfun$map$ 1.apply(TraversableLike.scala:234) at scala.collection.Iterator$class.foreach(Iterator.scala:891) at scala.collection.AbstractIterator.foreach(Iterator.scala:1334) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at scala.collection.TraversableLike$class.map( TraversableLike.scala:234) ... Cause: java.net.BindException: Address already in use at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Net.java:433) at sun.nio.ch.Net.bind(Net.java:425) at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java: 223) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:67) at org.apache.zookeeper.server.NIOServerCnxnFactory.configure( NIOServerCnxnFactory.java:95) at org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig( ZooKeeperServerMain.java:111) at org.apache.curator.test.TestingZooKeeperMain.runFromConfig( TestingZooKeeperMain.java:73) at org.apache.curator.test.TestingZooKeeperServer$1.run( TestingZooKeeperServer.java:148) 3. I received the above error also when testing in the local development environment. Do other committers manage to reproduce this? Eyal? Kirupa? On 16 Apr 2018, at 16:46, Yaniv Rodenski <ya...@shinto.io> wrote: Hi everyone, Please review and vote on the release candidate #1 for the version 0.2.0-incubating, as follows: [ ] +1, Approve the release [ ] -1, Do not approve the release (please provide specific comments) The complete staging area is available for your review, which includes: * JIRA release notes [1], * the official Apache source release to be deployed to dist.apache.org [2], which is signed with the key with fingerprint [3], * source code tag "version-0.2.0-incubating-rc1" [4], * Java artifacts were built with Gradle 3.1 and OpenJDK/Oracle JDK 1.8.0_151 The vote will be open for at least 72 hours. It is adopted by majority approval, with at least 3 PMC affirmative votes. Thanks, Yaniv Rodenski [1] https://issues.apache.org/jira/secure/ReleaseNote.jspa? projectId=12321521&version=12342793 [2] https://dist.apache.org/repos/dist/dev/incubator/amaterasu/0.2.0rc1/ [3] https://dist.apache.org/repos/dist/dev/incubator/amaterasu/KEYS [4] https://github.com/apache/incubator-amaterasu/tags -- ===================== Thanks, Nadav Har Tzvi -- Yaniv Rodenski +61 477 778 405 ya...@shinto.io -- Yaniv Rodenski +61 477 778 405 ya...@shinto.io