Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD0F24979 for ; Fri, 13 May 2011 19:40:28 +0000 (UTC) Received: (qmail 46285 invoked by uid 500); 13 May 2011 19:40:27 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 46229 invoked by uid 500); 13 May 2011 19:40:27 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 45984 invoked by uid 99); 13 May 2011 19:40:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 19:40:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 19:40:26 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 61E0689CD6 for ; Fri, 13 May 2011 19:39:47 +0000 (UTC) Date: Fri, 13 May 2011 19:39:47 +0000 (UTC) From: "Trevor Robinson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <177713183.11069.1305315587397.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HADOOP-7290) Unit test failure in TestUserGroupInformation.testGetServerSideGroups MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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 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: but was: junit.framework.AssertionFailedError: expected: but was: 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