[
https://issues.apache.org/jira/browse/HADOOP-8693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Trevor Robinson updated HADOOP-8693:
------------------------------------
Description:
Failed tests:
testBuildDTServiceName(org.apache.hadoop.security.TestSecurityUtil):
expected:<[127.0.0.1]:123> but was:<[localhost]:123>
testBuildTokenServiceSockAddr(org.apache.hadoop.security.TestSecurityUtil):
expected:<[127.0.0.1]:123> but was:<[localhost]:123>
Test methods run in an arbitrary order with JDK7. In this case, these tests
fail because tests like {{testSocketAddrWithName}} (which run afterward with
JDK6) are calling {{SecurityUtil.setTokenServiceUseIp(false)}}.
was:
Failed tests:
testBuildDTServiceName(org.apache.hadoop.security.TestSecurityUtil):
expected:<[127.0.0.1]:123> but was:<[localhost]:123>
testBuildTokenServiceSockAddr(org.apache.hadoop.security.TestSecurityUtil):
expected:<[127.0.0.1]:123> but was:<[localhost]:123>
Test methods run in an arbitrary order with JDK7. In this case, these tests
fail because tests like {{testSocketAddrWithName}} (which run afterward with
JDK6) are adding static resolution for localhost.
> TestSecurityUtil fails intermittently with JDK7
> -----------------------------------------------
>
> Key: HADOOP-8693
> URL: https://issues.apache.org/jira/browse/HADOOP-8693
> Project: Hadoop Common
> Issue Type: Bug
> Environment: Apache Maven 3.0.4
> Maven home: /usr/share/maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-25-generic", arch: "amd64", family: "unix"
> Reporter: Trevor Robinson
>
> Failed tests:
> testBuildDTServiceName(org.apache.hadoop.security.TestSecurityUtil):
> expected:<[127.0.0.1]:123> but was:<[localhost]:123>
> testBuildTokenServiceSockAddr(org.apache.hadoop.security.TestSecurityUtil):
> expected:<[127.0.0.1]:123> but was:<[localhost]:123>
> Test methods run in an arbitrary order with JDK7. In this case, these tests
> fail because tests like {{testSocketAddrWithName}} (which run afterward with
> JDK6) are calling {{SecurityUtil.setTokenServiceUseIp(false)}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira