[
https://issues.apache.org/jira/browse/HADOOP-15929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elaine Ang updated HADOOP-15929:
Description:
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 & test
{noformat}
mvn clean compile
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.^
was:
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.^
> 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
>Priority: Major
> 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 & test
> {noformat}
> mvn clean compile
> cd hadoop-common-project/hadoop-common/
> mvn test{noformat}
>
> Below is the failed test