[
https://issues.apache.org/jira/browse/OAK-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke updated OAK-2086:
Description:
On a Win7 corei7 desktop machines, this test frequently fails; either:
Failed tests:
testClientAndServerEmptyConfig(org.apache.jackrabbit.oak.plugins
.segment.failover.MBeanTest): expected:2 but was:1
or because later on, restarting the slave doesn't work (failure when checking
the status). In that case I also see:
assertEquals(true, jmxServer.getAttribute(clientStatus, Running));
and a
java.net.ConnectException: Connection refused: no further information:
/127.0.0.1:52808
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
~[na:1.7.0_40]
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
~[na:1.7.0_40]
at
io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:208)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:287)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
~[netty-common-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
~[netty-common-4.0.23.Final.jar:4.0.23.Final]
at java.lang.Thread.run(Unknown Source) ~[na:1.7.0_40]
apparently thrown in FailoverClient:
try {
// Start the client.
running = true;
state = STATUS_RUNNING;
ChannelFuture f = b.connect(host, port).sync();
// Wait until the connection is closed.
f.channel().closeFuture().sync();
} catch (Exception e) {
log.error(Failed synchronizing state., e);
stop();
}
was:
On a Win7 corei7 desktop machines, this test frequently fails; either:
Failed tests:
testClientAndServerEmptyConfig(org.apache.jackrabbit.oak.plugins
.segment.failover.MBeanTest): expected:2 but was:1
or because later on, restarting the slave doesn't work (failure when checking
the status). In that case I also see:
assertEquals(true, jmxServer.getAttribute(clientStatus, Running));
and a
java.net.ConnectException: Connection refused: no further information:
/127.0.0.1:52808
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
~[na:1.7.0_40]
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
~[na:1.7.0_40]
at
io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:208)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:287)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:528)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
~[netty-transport-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
~[netty-common-4.0.23.Final.jar:4.0.23.Final]
at
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
~[netty-common-4.0.23.Final.jar:4.0.23.Final]
at java.lang.Thread.run(Unknown Source) ~[na:1.7.0_40]
apparently thrown in FailOcerStateClient:
tarmk-failover: test failures in MBeanTest.testClientAndServerEmptyConfig
-
Key: OAK-2086
URL: https://issues.apache.org/jira/browse/OAK-2086
Project: Jackrabbit Oak
Issue Type: Bug
Reporter: Julian Reschke
On a Win7 corei7 desktop machines, this test frequently fails; either:
Failed tests: