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 "Hadoop QA (JIRA)" <ji...@apache.org> on 2012/08/14 02:43:38 UTC

[jira] [Commented] (HADOOP-8693) TestSecurityUtil fails intermittently with JDK7

    [ https://issues.apache.org/jira/browse/HADOOP-8693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433790#comment-13433790 ] 

Hadoop QA commented on HADOOP-8693:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12540801/HADOOP-8693.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 1 new or modified test files.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests in hadoop-common-project/hadoop-common:

                  org.apache.hadoop.fs.TestS3_LocalFileContextURI
                  org.apache.hadoop.fs.s3native.TestInMemoryNativeS3FileSystemContract
                  org.apache.hadoop.fs.TestLocal_S3FileContextURI
                  org.apache.hadoop.fs.s3.TestInMemoryS3FileSystemContract

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1288//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1288//console

This message is automatically generated.
                
> TestSecurityUtil fails intermittently with JDK7
> -----------------------------------------------
>
>                 Key: HADOOP-8693
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8693
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         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
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8693.patch
>
>
> 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