hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elaine Ang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-15929) org.apache.hadoop.ipc.TestIPC fail
Date Tue, 13 Nov 2018 21:15:01 GMT
Elaine Ang created HADOOP-15929:
-----------------------------------

             Summary: org.apache.hadoop.ipc.TestIPC fail
                 Key: HADOOP-15929
                 URL: https://issues.apache.org/jira/browse/HADOOP-15929
             Project: Hadoop Common
          Issue Type: Test
          Components: common
    Affects Versions: 2.8.5
            Reporter: Elaine Ang
         Attachments: org.apache.hadoop.ipc.TestIPC-output.txt

The unit test for module **hadoop-common-project/hadoop-common (version 2.8.5 checkout from
Github) failed.

Reproduce:
 # Clone [Hadoop Github reop|https://github.com/apache/hadoop] and checkout tag release-2.8.5-RC0
 # Compile
{noformat}
mvn clean compile{noformat}

 #  
{noformat}
cd hadoop-common-project/hadoop-common/
mvn test{noformat}

 

 

Below is the failed test log when running as non-root user.

 
{noformat}
Failed tests:
 TestSymlinkLocalFSFileSystem>TestSymlinkLocalFS.testSetTimesSymlinkToDir:233->SymlinkBaseTest.testSetTimesSymlinkToDir:1395
expected:<3000> but was:<1542140218000>
 TestIPC.testUserBinding:1495->checkUserBinding:1516
Wanted but not invoked:
socket.bind(OptiPlex/127.0.1.1:0);
-> at org.apache.hadoop.ipc.TestIPC.checkUserBinding(TestIPC.java:1516)

However, there were other interactions with this mock:
-> at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:645)
-> at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:646)
-> at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:515)
-> at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
-> at org.apache.hadoop.ipc.Client$Connection.closeConnection(Client.java:872)

 TestIPC.testProxyUserBinding:1500->checkUserBinding:1516
Wanted but not invoked:
socket.bind(OptiPlex/127.0.1.1:0);
-> at org.apache.hadoop.ipc.TestIPC.checkUserBinding(TestIPC.java:1516)

However, there were other interactions with this mock:
-> at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:645)
-> at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:646)
-> at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:515)
-> at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:529)
-> at org.apache.hadoop.ipc.Client$Connection.closeConnection(Client.java:872){noformat}
 

 Attached is a more verbosed test output.  [^org.apache.hadoop.ipc.TestIPC-output.txt]

^Suggestions regarding how to resolve this would be helpful.^



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org


Mime
View raw message