-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 <[email protected]> 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