Fri Nov 16 14:22:06 CET 2012

test VOMS-addMember:
VO=cert.mysql
Group=test_group
User=/home/traldi/.globus/usercert.pem
SCENARIO: VO empty
Add non existing user in non existing group
SCENARIO: Create new group
Add non existing user in group test_group
SCENARIO: Create user
Add user in group test_group
SCENARIO: User is already a member of the group
Cleaning tasks Test OK
Fri Nov 16 14:22:13 CET 2012

test VOMS-assignRole:
VO=cert.mysql
Role=test_role
Group=test_group
User=/home/traldi/.globus/usercert.pem
SCENARIO: VO empty
Assign non existing role of non existing user in non existing group
SCENARIO: Create new role
Assign role test_role in group test_group (group doesn't exist)
SCENARIO: Create new group
Assign role test_role in group test_group (user doesn't exist)
SCENARIO: Create user
Assign role test_role in group test_group (user doesn't have the role)
Cleaning tasks
Test OK
Fri Nov 16 14:22:21 CET 2012

Test VOMS-crAttribute:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE Attribute value=TEST Attribute value Attribute description=Test Attribute description
SCENARIO: Attribute doesn't exist
Create new Attribute
Check created attribute OK
SCENARIO 2: Attribute already exists in the VO
Cleaning tasks
Test OK
Fri Nov 16 14:22:24 CET 2012

Test VOMS-crGroup:
VO=cert.mysql
Role=test_group
SCENARIO: Group doesn't exist
Create new group
Check group SCENARIO 2: Group already exists in the VO
Cleaning tasks
Test OK
Fri Nov 16 14:22:27 CET 2012

Test VOMS-crRole:
VO=cert.mysql
Role=test_role
SCENARIO: Role doesn't exist
Create new Role
Check role SCENARIO 2: Role already exists in the VO
Cleaning tasks
Test OK
Fri Nov 16 14:22:29 CET 2012

Test VOMS-crUser:
VO=cert.mysql
User=/home/traldi/.globus/usercert.pem
DN=/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi CN=/L=Padova/CN=Sergio Traldi CA=/C=IT/O=INFN/CN=INFN CA
USER_SUBJECT: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi USER_ISSUER: /C=IT/O=INFN/CN=INFN CA SCENARIO: User doesn't exist
Create new user
Check DN
Check CN
Check CA
SCENARIO: User already exists in the VO
Cleaning tasks
Test OK
Fri Nov 16 14:22:32 CET 2012

Test VOMS-crUserNocert:
VO=cert.mysql
User=/Fake User DN
SCENARIO: User doesn't exist
Create new user
Check DN
Check CN
Check CA
SCENARIO: User already exists in the VO
Cleaning tasks
Test OK
Fri Nov 16 14:22:35 CET 2012

Test VOMS-delAttribute:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
SCENARIO: Attribute doesn't exist
Delete attribute
SCENARIO: Attribute already exists in the VO
Cleaning tasks
Test OK
Fri Nov 16 14:22:37 CET 2012

Test VOMS-delGroup:
VO=cert.mysql
Role=test_group
SCENARIO: Group doesn't exist
Delete Group
SCENARIO: Group already exists in the VO
Cleaning tasks
Test OK
Fri Nov 16 14:22:39 CET 2012

test VOMS-delGroupAttribute:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
Group=test_group
SCENARIO: VO empty
1. Delete-group-attribute without parameters OK 2. Remove non existing Attribute of non existing group without attribute
OK 3. Remove non existing Attribute of non existing group
voms-admin --vo=cert.mysql --host emitestbed18.cnaf.infn.it delete-group-attribute /cert.mysql/test_group TEST_ATTRIBUTE SCENARIO: Create group
Create group OK, delete-group-attribute Assign attribute to group
Check group's attribute
Delete groups attribute
Check deleted group attribute list-group-attributes Cleaning tasks
Test OK
Fri Nov 16 14:22:46 CET 2012

Test VOMS-delRole:
VO=cert.mysql
Role=test_role
SCENARIO: Role doesn't exist
Delete Role
SCENARIO: Role already exists in the VO
Cleaning tasks
Test OK
Fri Nov 16 14:22:49 CET 2012

test VOMS-delRoleAttribute:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
Group=test_group
Role=test_role 1. SCENARIO: VO empty
1.1. Delete role attribute without parameters OK 1.2. Delete role attribute without parameters OK 1.3. Remove non existing Attribute of non existing group and role without attribute
OK 1.4. Remove non existing Attribute of non existing group and role
2. SCENARIO: Create group
Create group test_group 2.1. delete-role-attribute 2.2. create new Role test_role 2.3. delete-role-attribute 2.4. Assign attribute 'TEST_ATTRIBUTE' to Role 'test_role' in group 'test_group'
2.5. Check role's attribute
2.6. Delete role attribute
2.7. Check deleted role attribute list-role-attributes Complex command: voms-admin --vo=cert.mysql --host emitestbed18.cnaf.infn.it list-role-attributes /cert.mysql/test_group Role=test_role 3. Cleaning tasks
Test OK
Fri Nov 16 14:22:58 CET 2012

Test VOMS-delUser:
VO=cert.mysql
User=/home/traldi/.globus/usercert.pem
DN=/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi
SCENARIO: User doesn't exist
Remove non existing user
SCENARIO: User already exists in the VO
Remove existing user
Cleaning tasks
Test OK
Fri Nov 16 14:23:01 CET 2012

test VOMS-delUserAttribute:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
User=/home/traldi/.globus/usercert.pem
SCENARIO: VO empty
Remove non existing Attribute of non existing user
SCENARIO: Create user
Create user delete-user-attribute Assign attribute to user
Check user attribute
Delete user attribute
Check deleted user attribute list-user-attributes Cleaning tasks
Test OK
Fri Nov 16 14:23:06 CET 2012

test VOMS-dismissRole:
VO=cert.mysql
Role=test_role
Group=test_group
User=/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi
SCENARIO: VO empty
Remove non existing role of non existing user in non existing group
SCENARIO: Create new role
Dismiss role test_role in group test_group (group doesn't exist)
SCENARIO: Create new group
Dismiss role test_role in group test_group (user doesn't exist)
SCENARIO: Create user
Dismiss role test_role in group test_group (user doesn't have the role)
SCENARIO: Assign role to user
Dismiss role test_role in group test_group
Cleaning tasks
Test OK
Fri Nov 16 14:23:15 CET 2012

Test VOMS-listAttributes:
VO=cert.mysql
SCENARIO: empty VO Incorrect error message:
nickname (unique= False, description=The nickname of a user) Test has failed
Fri Nov 16 14:23:16 CET 2012

test VOMS-listGroupAttributes:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
Group=test_group
SCENARIO: VO empty
1. List non existing attributes without groupname
OK 2. List non existing attributes of nonexisting group OK 3. SCENARIO: Create group
4. List attributes (group doesn't have attributes)
OK 5. SCENARIO: Set new group 3 attributes
6. List group attributes and check 3 assigned attributes
OK Cleaning tasks Test OK
Fri Nov 16 14:23:23 CET 2012

Test VOMS-listGroups:
VO=cert.mysql
CA=/C=IT/O=INFN/CN=INFN CA
SCENARIO: Create 4 groups: GROUP1, GROUP2, GROUP3, GROUP4
SCENARIO: List groups
Check groups
Cleaning tasks
Test OK
Fri Nov 16 14:23:29 CET 2012

test VOMS-listMembers:
VO=cert.mysql
Group=test_group
User=
SCENARIO: VO empty
List non existing members of non existing group
SCENARIO: Create new group
List non existing members of group test_group
SCENARIO: Create users
Missing user argument! Missing user argument! Missing user argument! Add members to group test_group
org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in this vo. org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in this vo. org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in this vo. List members of group test_group
Cleaning tasks
org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in this vo. org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in this vo. org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in this vo. org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in database! org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in database! org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in database! Test OK
Fri Nov 16 14:23:40 CET 2012

test VOMS-listRoleAttributes:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
Group=test_group
Role=test_role
1. SCENARIO: VO empty
1.1. List non existing role attributes without parameters
OK 1.2. List non existing role attributes OK 1.3. List non existing role attributes of nonexisting group OK 2. SCENARIO: Create group
OK
2.1. create new Role 2.2. List role attributes (role doesn't have attributes)
2.3. Set 3 attributes for role 3. List role attributes
OK Cleaning tasks Test OK
Fri Nov 16 14:23:49 CET 2012

Test VOMS-listRoles:
VO=cert.mysql
Role=test_role
SCENARIO: Create 4 roles : ROLE1, ROLE2, ROLE3, ROLE4
SCENARIO: List roles
Check roles
Cleaning tasks
Cleaning tasks
Test OK
Fri Nov 16 14:23:54 CET 2012

Test VOMS-listSubgroups: VO=cert.mysql
SCENARIO: Create 4 groups: GROUP1, GROUP2, GROUP3, GROUP4
SCENARIO: List groups
Check 4 groups,
Cleaning tasks Test OK
Fri Nov 16 14:24:00 CET 2012

test VOMS-listUserAttributes:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
User=/home/traldi/.globus/usercert.pem
1. SCENARIO: VO empty
1.1. List non existing attributes of non existing user
OK OK 2. SCENARIO: Create user
2.1. List attributes (user doesn't have attributes)
OK 2.2. SCENARIO: Set new 3 user attributes
2.3. List user attributes
OK Cleaning tasks Test OK
Fri Nov 16 14:24:09 CET 2012

Test VOMS-listUserGroups: VO=cert.mysql Group=test_group User=
SCENARIO: VO empty
List non existing groups of non existing user
SCENARIO: Create user
List non existing groups of user
Main group: /cert.mysql VO group is always present SCENARIO: Create new group
Add user as member of group test_group
List existing group test_group of user
Cleaning tasks
Test OK
Fri Nov 16 14:24:15 CET 2012

test VOMS-listUserRoles:
VO=cert.mysql
Role=test_role
Group=test_group
User=
SCENARIO: VO empty
List non existing roles of non existing user
SCENARIO: Create user
List roles (user doesn't have roles)
SCENARIO: Create new role
List roles (user hasn't been assigned to role)
SCENARIO: Assign role to user
Assign role test_role in group test_group (group doesn't exist)
SCENARIO: Create new group
Assign role test_role in group test_group
Cleaning tasks Cleaning tasks
Test OK
Fri Nov 16 14:24:22 CET 2012

Test VOMS-listUsers:
VO=cert.mysql
CA=/C=IT/O=INFN/CN=INFN CA
User1: User2: User3: User4: User1: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi User2: User3: User4: SCENARIO: Create 4 users
Missing user argument! Missing user argument! Missing user argument! SCENARIO: List users
Check DN
Cleaning tasks
org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in database! org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in database! org.glite.security.voms.admin.persistence.error.NoSuchUserException: User ',' not found in database! Test OK
Fri Nov 16 14:24:27 CET 2012

test VOMS-listUsrWithRole:
VO=cert.mysql
Role=test_role
Group=test_group
User=/home/traldi/.globus/usercert.pem
SCENARIO: VO empty
List non existing users of non existing role in non existing group
SCENARIO: Create new role
List non existing users of role test_role in non existing group
SCENARIO: Create new group
List non existing users of role test_role in group test_group
SCENARIO: Create user
User subject=/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi List users of role test_role in group test_group
Cleaning tasks
Test OK
Fri Nov 16 14:24:33 CET 2012

test VOMS-RemoveMember:
VO=cert.mysql
Group=test_group
User=
SCENARIO: VO empty
Remove non existing member from non existing group
SCENARIO: Create new group
Remove non existing member from group test_group
SCENARIO: Create user
Add member to group test_group
Remove member from group test_group
Cleaning tasks Test OK
Fri Nov 16 14:24:39 CET 2012

test VOMS-setGroupAttribute:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
Attribute value=TEST Attribute value
Attribute description=Test Attribute description
Group=test_group
SCENARIO: VO empty
SCENARIO: Create group
OK, assign attribte TEST_ATTRIBUTE, value=TEST Attribute value and description=Test Attribute description to new group test_group
1. set-group-attribute 2. OK, list-group-attribute Cleaning tasks
Test OK
Fri Nov 16 14:24:43 CET 2012

test VOMS-setRoleAttribute:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
Attribute value=TEST Attribute value
Attribute description=Test Attribute description
Group=test_group Role=test_role
1. SCENARIO: VO empty
1.1. set-role-attribute OK 1.2. Set role attribute (without Role) OK 1.3. Set role attribute (without attribute) OK 1.4. Set role attribute for nonexisting group 2. SCENARIO: Create group
2.1. set-role-attribute OK
2.2. create new Role 2.3. set-role-attribute 2.4. OK, list-role-attributes 2.5. Check result 2.6. Check attribute 2.6. Check attribute value OK Cleaning tasks
Test OK
Fri Nov 16 14:24:48 CET 2012

test VOMS-setUserAttribute:
VO=cert.mysql
Attribute=TEST_ATTRIBUTE
Attribute value=TEST Attribute value
Attribute description=Test Attribute description
User=/home/traldi/.globus/usercert.pem
SCENARIO: VO empty
OK OK SCENARIO: Create user
Assign attribte TEST_ATTRIBUTE, value=TEST Attribute value and description=Test Attribute description to new user /home/traldi/.globus/usercert.pem
set-user-attribute list-user-attribute Cleaning tasks
Test OK