You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsuyoshi Ozawa (JIRA)" <ji...@apache.org> on 2015/11/23 03:33:11 UTC

[jira] [Reopened] (HADOOP-10406) TestIPC.testIpcWithReaderQueuing may fail

     [ https://issues.apache.org/jira/browse/HADOOP-10406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsuyoshi Ozawa reopened HADOOP-10406:
-------------------------------------

Reopening this issue since this issue seems to happen after the fix.a

{quote}
Tests run: 34, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 115.75 sec <<< FAILURE! - in org.apache.hadoop.ipc.TestIPC
testIpcWithReaderQueuing(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 0.074 sec  <<< FAILURE!
java.lang.AssertionError: expected:<5> but was:<10>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.apache.hadoop.ipc.TestIPC.checkBlocking(TestIPC.java:804)
	at org.apache.hadoop.ipc.TestIPC.testIpcWithReaderQueuing(TestIPC.java:695)

testSerial(org.apache.hadoop.ipc.TestIPC)  Time elapsed: 60.037 sec  <<< ERROR!
java.lang.Exception: test timed out after 60000 milliseconds
	at sun.misc.Unsafe.park(Native Method)
	at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)
	at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1468)
	at org.apache.hadoop.ipc.Client$ClientExecutorServiceFactory.unrefAndCleanup(Client.java:196)
	at org.apache.hadoop.ipc.Client.stop(Client.java:1287)
	at org.apache.hadoop.ipc.TestIPC.internalTestSerial(TestIPC.java:287)
	at org.apache.hadoop.ipc.TestIPC.testSerial(TestIPC.java:262)
{quote}

> TestIPC.testIpcWithReaderQueuing may fail
> -----------------------------------------
>
>                 Key: HADOOP-10406
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10406
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ipc
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Xiao Chen
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-10406.001.patch, HADOOP-10406.002.patch
>
>
> The test may fail with AssertionError.  The value server.getNumOpenConnections() could be larger than maxAccept; see comments for more details.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)