flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5402) Fails AkkaRpcServiceTest#testTerminationFuture
Date Wed, 01 Mar 2017 09:57:45 GMT

    [ https://issues.apache.org/jira/browse/FLINK-5402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15889878#comment-15889878
] 

ASF GitHub Bot commented on FLINK-5402:
---------------------------------------

Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3430#discussion_r103646797
  
    --- Diff: flink-runtime/src/test/java/org/apache/flink/runtime/rpc/akka/AkkaRpcServiceTest.java
---
    @@ -135,7 +135,7 @@ public void testGetAddress() {
     	 * @throws ExecutionException
     	 * @throws InterruptedException
     	 */
    -	@Test(timeout = 1000)
    +	@Test
    --- End diff --
    
    It should be ok to remove the timeout, but I think that the build timeout stack traces
are not so nice to see which test case actually caused the timeout. The reason for this is
that there are multiple test cases being executed in parallel.


> Fails AkkaRpcServiceTest#testTerminationFuture
> ----------------------------------------------
>
>                 Key: FLINK-5402
>                 URL: https://issues.apache.org/jira/browse/FLINK-5402
>             Project: Flink
>          Issue Type: Bug
>          Components: Distributed Coordination
>    Affects Versions: 1.2.0
>         Environment: macOS
>            Reporter: Anton Solovev
>            Assignee: Dawid Wysakowicz
>              Labels: test-stability
>
> {code}
> testTerminationFuture(org.apache.flink.runtime.rpc.akka.AkkaRpcServiceTest)  Time elapsed:
1.013 sec  <<< ERROR!
> org.junit.runners.model.TestTimedOutException: test timed out after 1000 milliseconds
> 	at sun.misc.Unsafe.park(Native Method)
> 	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
> 	at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
> 	at scala.concurrent.impl.Promise$DefaultPromise.tryAwait(Promise.scala:208)
> 	at scala.concurrent.impl.Promise$DefaultPromise.ready(Promise.scala:218)
> 	at scala.concurrent.impl.Promise$DefaultPromise.result(Promise.scala:223)
> 	at scala.concurrent.Await$$anonfun$result$1.apply(package.scala:107)
> 	at scala.concurrent.BlockContext$DefaultBlockContext$.blockOn(BlockContext.scala:53)
> 	at scala.concurrent.Await$.result(package.scala:107)
> 	at akka.remote.Remoting.start(Remoting.scala:179)
> 	at akka.remote.RemoteActorRefProvider.init(RemoteActorRefProvider.scala:184)
> 	at akka.actor.ActorSystemImpl.liftedTree2$1(ActorSystem.scala:620)
> 	at akka.actor.ActorSystemImpl._start$lzycompute(ActorSystem.scala:617)
> 	at akka.actor.ActorSystemImpl._start(ActorSystem.scala:617)
> 	at akka.actor.ActorSystemImpl.start(ActorSystem.scala:634)
> 	at akka.actor.ActorSystem$.apply(ActorSystem.scala:142)
> 	at akka.actor.ActorSystem$.apply(ActorSystem.scala:119)
> 	at akka.actor.ActorSystem$.create(ActorSystem.scala:67)
> 	at org.apache.flink.runtime.akka.AkkaUtils$.createActorSystem(AkkaUtils.scala:104)
> 	at org.apache.flink.runtime.akka.AkkaUtils$.createDefaultActorSystem(AkkaUtils.scala:114)
> 	at org.apache.flink.runtime.akka.AkkaUtils.createDefaultActorSystem(AkkaUtils.scala)
> 	at org.apache.flink.runtime.rpc.akka.AkkaRpcServiceTest.testTerminationFuture(AkkaRpcServiceTest.java:134)
> {code} in org.apache.flink.runtime.rpc.akka.AkkaRpcServiceTest while testing current
master 1.2.0 branch 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message