reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yunseong Lee <yunseong.l...@gmail.com>
Subject Failure in reef-webserver
Date Tue, 15 Mar 2016 17:14:34 GMT
Hi,

Gon and I was trying to test Taegeon's PR (
https://github.com/apache/reef/pull/887) which solves the blocking issue
(REEF-1231).

However, tests in 'reef-webserver' have failed in a similar way with
NetworkConnectionServiceTest: they pass when running individually, but
running two or more tests (e.g., TestReefEventStateManager,TestJettyHandler)
leads to failure.

This failure happens on some *Ubuntu* machines. Interestingly, two machines
in the same model showed the different results; one fails and the other
succeeds. This doesn't seem to be caused by a specific commit, as the tests
fail even in the 'branch-0.13.0-incubating-maven'.

Is there anyone who has experienced the similar problem?

You can see the logs below.

Thanks,
Yunseong


===

TestJettyHandler
testWithoutSpecification(org.apache.reef.webserver.TestJettyHandler)  Time
elapsed: 2.226 sec  <<< ERROR!
org.apache.reef.tang.exceptions.InjectionException: Could not invoke
constructor: new DefaultRemoteManagerImplementation(String ManagerName =
REEF_TEST_REMOTE_MANAGER, String HostAddress = ##UNKNOWN##, Integer Port =
0, MessageCodec = new REEFMessageCodec(), ErrorHandler = new
DefaultErrorHandler(), Boolean OrderingGuarantee = true, Integer
NumberOfTries = 3, Integer RetryTimeout = 10000, LocalAddressProvider = new
HostnameBasedLocalAddressProvider(), TransportFactory = new
MessagingTransportFactory(LocalAddressProvider = new
HostnameBasedLocalAddressProvider()), TcpPortProvider = new
RangeTcpPortProvider(Integer TcpPortRangeBegin = 10000, Integer
TcpPortRangeCount = 10000, Integer TcpPortRangeTryCount = 1000))
        at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)
        at sun.nio.ch.EPollArrayWrapper.<init>(EPollArrayWrapper.java:130)
        at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:68)
        at
sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:36)
        at
io.netty.channel.nio.NioEventLoop.openSelector(NioEventLoop.java:126)
        at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:120)
        at
io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:87)
        at
io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:64)
        at
io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:49)
        at
io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:61)
        at
io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:52)
        at
org.apache.reef.wake.remote.transport.netty.NettyMessagingTransport.<init>(NettyMessagingTransport.java:135)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:640)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:518)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:536)
        at
org.apache.reef.wake.remote.transport.netty.MessagingTransportFactory.newInstance(MessagingTransportFactory.java:112)
        at
org.apache.reef.wake.remote.impl.DefaultRemoteManagerImplementation.<init>(DefaultRemoteManagerImplementation.java:110)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:640)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:664)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:664)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:628)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:628)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:628)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:669)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.injectFromPlan(InjectorImpl.java:628)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:518)
        at
org.apache.reef.tang.implementation.java.InjectorImpl.getInstance(InjectorImpl.java:536)
        at
org.apache.reef.webserver.TestJettyHandler.setUp(TestJettyHandler.java:77)

testWithoutQueryString(org.apache.reef.webserver.TestJettyHandler)  Time
elapsed: 2.218 sec  <<< ERROR!
org.apache.reef.tang.exceptions.InjectionException: Could not invoke
constructor: new DefaultRemoteManagerImplementation(String ManagerName =
REEF_TEST_REMOTE_MANAGER, String HostAddress = ##UNKNOWN##, Integer Port =
0, MessageCodec = new REEFMessageCodec(), ErrorHandler = new
DefaultErrorHandler(), Boolean OrderingGuarantee = true, Integer
NumberOfTries = 3, Integer RetryTimeout = 10000, LocalAddressProvider = new
HostnameBasedLocalAddressProvider(), TransportFactory = new
MessagingTransportFactory(LocalAddressProvider = new
HostnameBasedLocalAddressProvider()), TcpPortProvider = new
RangeTcpPortProvider(Integer TcpPortRangeBegin = 10000, Integer
TcpPortRangeCount = 10000, Integer TcpPortRangeTryCount = 1000))
(...)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message