Hi Xikui,
If you look at the failures, you’ll see that the error is
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
io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:127)
at
io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:554)
at
io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1258)
at
io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:512)
at
io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:497)
at
io.netty.handler.logging.LoggingHandler.bind(LoggingHandler.java:191)
at
io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:512)
at
io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:497)
at
io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:980)
at io.netty.channel.AbstractChannel.bind(AbstractChannel.java:250)
at
io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:363)
at
io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
at
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:454)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
at
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:745)
So the test could not start AsterixDB and a probable reason is that a
previous test was not able to shut down. I would expect that you see the
same result if you run the tests locally.
Is that the case?
Cheers,
Till
On 1 Apr 2017, at 9:44, Xikui Wang wrote:
Good morning Devs,
I am having a problem with one patch [1] on Gerrit and Jenkins. The
SonarQube violation detected is not in the patched code, but in the
original code. Also, the Jenkins Job keeps failing on test cases which
seem
to be not related to the change [2]. I have tried to abandon and
resubmit
it as a new patch, but the problem remains. Has anyone had similar
issue
before? Thanks!
Best,
Xikui
[1] https://asterix-gerrit.ics.uci.edu/#/c/1648/
[2]
https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-notopic/4916/