Description of problem: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa-hbacsvc-cli-010: Negative - Add HBAC Service Group that already exists :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Executing: ipa hbacsvcgroup-add --desc=test SUDO :: [ LOG ] :: "ipa hbacsvcgroup-add --desc=test SUDO" failed as expected. :: [ LOG ] :: ERROR: Message not as expected. GOT: ipa: ERROR: This entry already exists EXP: ipa: ERROR: HBAC service group with name SUDO already exists :: [ FAIL ] :: Verify expected error message for empty Rule Type (Expected 0, got 1) :: [ LOG ] :: Duration: 5s :: [ LOG ] :: Assertions: 0 good, 1 bad :: [ FAIL ] :: RESULT: ipa-hbacsvc-cli-010: Negative - Add HBAC Service Group that already exists Version-Release number of selected component (if applicable): ipa-server-1.91-0.2010110118git813dfe5.fc12.i686 ipa-admintools-1.91-0.2010110118git813dfe5.fc12.i686 How reproducible: always Steps to Reproduce: 1. ipa hbacsvcgroup-add --desc=test SUDO 2. 3. Actual results: ipa: ERROR: This entry already exists Expected results: ipa: ERROR: HBAC service group with name SUDO already exists Additional info:
https://fedorahosted.org/freeipa/ticket/530
commit: 9120155daeeee8287115a09f280f0e4f075f96df
verified # rpm -qi ipa-server | head Name : ipa-server Relocations: (not relocatable) Version : 2.0.0 Vendor: Red Hat, Inc. Release : 23.el6 Build Date: Wed 20 Apr 2011 09:57:13 AM EDT Install Date: Thu 19 May 2011 12:47:52 PM EDT Build Host: x86-003.build.bos.redhat.com Group : System Environment/Base Source RPM: ipa-2.0.0-23.el6.src.rpm Size : 2565882 License: GPLv3+ Signature : RSA/8, Thu 21 Apr 2011 03:48:25 PM EDT, Key ID 199e2f91fd431d51 Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://www.freeipa.org/ Summary : The IPA authentication server :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa-hbacsvc-cli-010: Negative - Add HBAC Service Group that already exists :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [16:06:50] :: Executing: ipa hbacsvcgroup-add --desc=test SUDO ipa: ERROR: hbacsvcgroup with name "sudo" already exists :: [16:06:52] :: "ipa hbacsvcgroup-add --desc=test SUDO" failed as expected. :: [16:06:53] :: Error message as expected: ipa: ERROR: hbacsvcgroup with name sudo already exists :: [ PASS ] :: Verify expected error message for empty Rule Type 'ca25764c-b839-49c7-80e2-2526f052ac74' ipa-hbacsvc-cli-010 result: PASS metric: 0 Log: /tmp/beakerlib-1459149/journal.txt Info: Searching AVC errors produced since 1300824410.52 (Tue Mar 22 16:06:50 2011) Searching logs... Info: No AVC messages found. Writing to /mnt/testarea/tmp.3tBDFf : AvcLog: /mnt/testarea/tmp.3tBDFf