[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13599905#comment-13599905 ] Hudson commented on HDFS-4391: -- Integrated in Hadoop-Yarn-trunk #153 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/153/]) HDFS-4391. TestDataTransferKeepalive fails when tests are executed in a certain order. Contributed by Andrew Wang. (Revision 1455343) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1455343 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/SocketCache.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDataTransferKeepalive.java TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko Assignee: Andrew Wang Fix For: 3.0.0 Attachments: hdfs-4391-1.patch TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=1359#comment-1359 ] Hudson commented on HDFS-4391: -- Integrated in Hadoop-Hdfs-trunk #1342 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1342/]) HDFS-4391. TestDataTransferKeepalive fails when tests are executed in a certain order. Contributed by Andrew Wang. (Revision 1455343) Result = FAILURE atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1455343 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/SocketCache.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDataTransferKeepalive.java TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko Assignee: Andrew Wang Fix For: 3.0.0 Attachments: hdfs-4391-1.patch TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13600052#comment-13600052 ] Hudson commented on HDFS-4391: -- Integrated in Hadoop-Mapreduce-trunk #1370 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1370/]) HDFS-4391. TestDataTransferKeepalive fails when tests are executed in a certain order. Contributed by Andrew Wang. (Revision 1455343) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1455343 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/SocketCache.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDataTransferKeepalive.java TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko Assignee: Andrew Wang Fix For: 3.0.0 Attachments: hdfs-4391-1.patch TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13599213#comment-13599213 ] Hadoop QA commented on HDFS-4391: - {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12573141/hdfs-4391-1.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 tests included appear to have a timeout.{color} {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.server.datanode.TestDataDirs {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/4075//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/4075//console This message is automatically generated. TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko Assignee: Andrew Wang Attachments: hdfs-4391-1.patch TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13599322#comment-13599322 ] Andrew Wang commented on HDFS-4391: --- Test failure unrelated, it's HDFS-4586. TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko Assignee: Andrew Wang Attachments: hdfs-4391-1.patch TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13599354#comment-13599354 ] Aaron T. Myers commented on HDFS-4391: -- +1, the patch looks good to me. The failed test is known to be failing on trunk, and is already tracked by HDFS-4586. I'm going to commit this momentarily. TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko Assignee: Andrew Wang Attachments: hdfs-4391-1.patch TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13599410#comment-13599410 ] Hudson commented on HDFS-4391: -- Integrated in Hadoop-trunk-Commit #3448 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/3448/]) HDFS-4391. TestDataTransferKeepalive fails when tests are executed in a certain order. Contributed by Andrew Wang. (Revision 1455343) Result = SUCCESS atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1455343 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/SocketCache.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDataTransferKeepalive.java TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko Assignee: Andrew Wang Fix For: 3.0.0 Attachments: hdfs-4391-1.patch TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13552076#comment-13552076 ] Konstantin Shvachko commented on HDFS-4391: --- Yep, that's how I found it in the first place. TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13551741#comment-13551741 ] Konstantin Shvachko commented on HDFS-4391: --- JUnit does not guarantee the order of tests execution. So it does not always fail. If {{testManyClosedSocketsInCache()}} is executed last the test passes. But if goes first the next test {{testKeepaliveTimeouts()}} fails with the assertion: {code} Running org.apache.hadoop.hdfs.TestDataTransferKeepalive Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.687 sec FAILURE! testKeepaliveTimeouts(org.apache.hadoop.hdfs.TestDataTransferKeepalive) Time elapsed: 702 sec FAILURE! java.lang.AssertionError: expected:0 but was:3 at org.junit.Assert.fail(Assert.java:91) at org.junit.Assert.failNotEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:126) at org.junit.Assert.assertEquals(Assert.java:470) at org.junit.Assert.assertEquals(Assert.java:454) at org.apache.hadoop.hdfs.TestDataTransferKeepalive.testKeepaliveTimeouts(TestDataTransferKeepalive.java:95) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28) {code} I can reproduce it in eclipse debugger just by moving {{testManyClosedSocketsInCache()}} ahead of other test cases in the code. TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-4391) TestDataTransferKeepalive fails when tests are executed in a certain order.
[ https://issues.apache.org/jira/browse/HDFS-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13551798#comment-13551798 ] Suresh Srinivas commented on HDFS-4391: --- The test order also changes when we move to JDK7. TestDataTransferKeepalive fails when tests are executed in a certain order. --- Key: HDFS-4391 URL: https://issues.apache.org/jira/browse/HDFS-4391 Project: Hadoop HDFS Issue Type: Bug Components: test Affects Versions: 3.0.0 Reporter: Konstantin Shvachko TestDataTransferKeepalive if testKeepaliveTimeouts() is executed AFTER testManyClosedSocketsInCache(). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira