hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7290) Unit test failure in TestUserGroupInformation.testGetServerSideGroups
Date Fri, 13 May 2011 20:03:47 GMT

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

Hadoop QA commented on HADOOP-7290:

-1 overall.  Here are the results of testing the latest attachment 
  against trunk revision 1102861.

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

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

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

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

    +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

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

    -1 contrib tests.  The patch failed contrib unit tests.

    +1 system test framework.  The patch passed system test framework compile.

Test results: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/450//testReport/
Findbugs warnings: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/450//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/hudson/job/PreCommit-HADOOP-Build/450//console

This message is automatically generated.

> Unit test failure in TestUserGroupInformation.testGetServerSideGroups
> ---------------------------------------------------------------------
>                 Key: HADOOP-7290
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7290
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.23.0
>         Environment: Linux 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
x86_64 x86_64 x86_64 GNU/Linux
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
>            Reporter: Trevor Robinson
>            Priority: Minor
>              Labels: test
>         Attachments: TestUserGroupInformation-id-order.patch
> Testsuite: org.apache.hadoop.security.TestUserGroupInformation
> Tests run: 14, Failures: 1, Errors: 0, Time elapsed: 0.278 sec
> ------------- Standard Output ---------------
> trobinson:users guest git
> ------------- ---------------- ---------------
> Testcase: testGetServerSideGroups took 0.051 sec
>        FAILED
> expected:<g[ues]t> but was:<g[i]t>
> junit.framework.AssertionFailedError: expected:<g[ues]t> but was:<g[i]t>
>        at org.apache.hadoop.security.TestUserGroupInformation.testGetServerSideGroups(TestUserGroupInformation.java:94)
> It seems like the test is assuming that the groups returned by UserGroupInformation.getGroupNames()
are in the same order as those returned by executing `id -Gn`. getGroupNames() only documents
that the primary group is first, and `man id` doesn't document any ordering, so it seems like
the test needs to be reworked to remove that assumption.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message