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 "Elaine Ang (JIRA)" <ji...@apache.org> on 2018/11/13 21:15:00 UTC
[jira] [Created] (HADOOP-15929) org.apache.hadoop.ipc.TestIPC fail
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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org