*********************************
EMI Test Report  
*********************************

 - Component: ARGUS
 - Savannah task: https://savannah.cern.ch/task/?20989
 - ETICS Subsystem Configuration Name: emi-argus_R_1_3_1_1_EMI
 - EMI Major Release: EMI-1
 - Platform: SL5/x86_64 
 - Author: Joel Casutt
 - Date: 01-July-2011

*************
Summary 
*************

1. Deployment log: 
   1.1. Clean Installation - PASS
   1.2. Upgrade Installation - PASS 
2. Static Code Analysis - NA
3. Unit Tests Execution - At build time
4. System tests:
  4.1. Basic Functionality tests - PASS
  4.2. Regression tests - PASS
  4.3. Performance/Scalability tests - NA
  4.4. Standard Compliance/Conformance tests - NA
REMARKS:

*************************** Detailed Testing Report ***************************************

1. Deployment log 
************************

1.1. Clean Installation
-----------------------------

1.1.1 Installing Argus:

Getting the Repository:
wget --no-check-certificate https://twiki.cern.ch/twiki/pub/EMI/EMI1Updates/testing.repo

- YUM Install command:
yum makecache
yum install emi-argus

- YUM log: 
--------------------------------
[root@ullr yum.repos.d]# yum install emi-argus
Loaded plugins: kernel-module
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package emi-argus.x86_64 0:1.3.1-1.sl5 set to be updated
--> Processing Dependency: java-openjdk for package: emi-argus
--> Processing Dependency: argus-pap for package: emi-argus
--> Processing Dependency: argus-pepcli for package: emi-argus
--> Processing Dependency: emi-version for package: emi-argus
--> Processing Dependency: argus-pdp for package: emi-argus
--> Processing Dependency: yaim-argus_server for package: emi-argus
--> Processing Dependency: argus-pep-server for package: emi-argus
--> Running transaction check
---> Package argus-pap.noarch 0:1.3.3-1.sl5 set to be updated
---> Package argus-pdp.noarch 0:1.3.0-5.sl5 set to be updated
---> Package argus-pep-server.noarch 0:1.3.1-1.sl5 set to be updated
---> Package argus-pepcli.x86_64 0:2.0.0-1.sl5 set to be updated
--> Processing Dependency: argus-pep-api-c for package: argus-pepcli
--> Processing Dependency: libargus-pep.so.2()(64bit) for package: argus-pepcli
---> Package emi-version.x86_64 0:1.0.2-1.sl5 set to be updated
---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.22.1.9.8.el5_6 set to be updated
--> Processing Dependency: tzdata-java for package: java-1.6.0-openjdk
--> Processing Dependency: libgif.so.4()(64bit) for package: java-1.6.0-openjdk
---> Package yaim-argus_server.noarch 0:1.3.0-2.sl5 set to be updated
--> Processing Dependency: glite-yaim-core for package: yaim-argus_server
--> Running transaction check
---> Package argus-pep-api-c.x86_64 0:2.0.2-1.sl5 set to be updated
---> Package giflib.x86_64 0:4.1.3-7.3.3.el5 set to be updated
---> Package glite-yaim-core.noarch 0:5.0.0-1.sl5 set to be updated
---> Package tzdata-java.x86_64 0:2011g-1.el5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

==================================================================================================================================
 Package                        Arch               Version                                   Repository                      Size
==================================================================================================================================
Installing:
 emi-argus                      x86_64             1.3.1-1.sl5                               EMI-1-testing-base             1.4 k
Installing for dependencies:
 argus-pap                      noarch             1.3.3-1.sl5                               EMI-1-testing-base              14 M
 argus-pdp                      noarch             1.3.0-5.sl5                               EMI-1-testing-base              16 M
 argus-pep-api-c                x86_64             2.0.2-1.sl5                               EMI-1-testing-base              53 k
 argus-pep-server               noarch             1.3.1-1.sl5                               EMI-1-testing-base              13 M
 argus-pepcli                   x86_64             2.0.0-1.sl5                               EMI-1-testing-base              23 k
 emi-version                    x86_64             1.0.2-1.sl5                               EMI-1-updates                  2.0 k
 giflib                         x86_64             4.1.3-7.3.3.el5                           core                            39 k
 glite-yaim-core                noarch             5.0.0-1.sl5                               EMI-1-testing-base             116 k
 java-1.6.0-openjdk             x86_64             1:1.6.0.0-1.22.1.9.8.el5_6                sl-security                     37 M
 tzdata-java                    x86_64             2011g-1.el5                               core                           180 k
 yaim-argus_server              noarch             1.3.0-2.sl5                               EMI-1-testing-base             9.2 k

Transaction Summary
==================================================================================================================================
Install      12 Package(s)
Upgrade       0 Package(s)

Total download size: 80 M
Is this ok [y/N]: y
Downloading Packages:
(1/12): emi-argus-1.3.1-1.sl5.x86_64.rpm                                                                   | 1.4 kB     00:00     
(2/12): emi-version-1.0.2-1.sl5.x86_64.rpm                                                                 | 2.0 kB     00:00     
(3/12): yaim-argus_server-1.3.0-2.sl5.noarch.rpm                                                           | 9.2 kB     00:00     
(4/12): argus-pepcli-2.0.0-1.sl5.x86_64.rpm                                                                |  23 kB     00:00     
(5/12): giflib-4.1.3-7.3.3.el5.x86_64.rpm                                                                  |  39 kB     00:00     
(6/12): argus-pep-api-c-2.0.2-1.sl5.x86_64.rpm                                                             |  53 kB     00:00     
(7/12): glite-yaim-core-5.0.0-1.sl5.noarch.rpm                                                             | 116 kB     00:00     
(8/12): tzdata-java-2011g-1.el5.x86_64.rpm                                                                 | 180 kB     00:00     
(9/12): argus-pep-server-1.3.1-1.sl5.noarch.rpm                                                            |  13 MB     00:00     
(10/12): argus-pap-1.3.3-1.sl5.noarch.rpm                                                                  |  14 MB     00:00     
(11/12): argus-pdp-1.3.0-5.sl5.noarch.rpm                                                                  |  16 MB     00:02     
(12/12): java-1.6.0-openjdk-1.6.0.0-1.22.1.9.8.el5_6.x86_64.rpm                                            |  37 MB     00:09     
----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                             6.4 MB/s |  80 MB     00:12     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID df9e12ef
EMI-1-updates/gpgkey                                                                                       | 1.7 kB     00:00     
Importing GPG key 0xDF9E12EF "Doina Cristina Aiftimiei (EMI Release Manager) <aiftim@pd.infn.it>" from http://emisoft.web.cern.ch/emisoft/dist/EMI/1/RPM-GPG-KEY-emi
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : giflib                                                                                                    1/12 
  Installing     : argus-pep-api-c                                                                                           2/12 
  Installing     : argus-pepcli                                                                                              3/12 
  Installing     : glite-yaim-core                                                                                           4/12 
  Installing     : yaim-argus_server                                                                                         5/12 
  Installing     : emi-version                                                                                               6/12 
  Installing     : tzdata-java                                                                                               7/12 
  Installing     : java-1.6.0-openjdk                                                                                        8/12 
  Installing     : argus-pap                                                                                                 9/12 
  Installing     : argus-pdp                                                                                                10/12 
  Installing     : argus-pep-server                                                                                         11/12 
  Installing     : emi-argus                                                                                                12/12 

Installed:
  emi-argus.x86_64 0:1.3.1-1.sl5                                                                                                  

Dependency Installed:
  argus-pap.noarch 0:1.3.3-1.sl5                                          argus-pdp.noarch 0:1.3.0-5.sl5                          
  argus-pep-api-c.x86_64 0:2.0.2-1.sl5                                    argus-pep-server.noarch 0:1.3.1-1.sl5                   
  argus-pepcli.x86_64 0:2.0.0-1.sl5                                       emi-version.x86_64 0:1.0.2-1.sl5                        
  giflib.x86_64 0:4.1.3-7.3.3.el5                                         glite-yaim-core.noarch 0:5.0.0-1.sl5                    
  java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.22.1.9.8.el5_6                    tzdata-java.x86_64 0:2011g-1.el5                        
  yaim-argus_server.noarch 0:1.3.0-2.sl5                                 

Complete!
---------------------------------


1.1.2 Installing the necessary software, additional to the Argus packages:

Getting the IGTF-bundle and Fetch-crl:
vim /etc/yum.repos.d/egi-trustanchors.repo

content:
[EGI-trustanchors]
name=EGI-trustanchors
baseurl=http://repository.egi.eu/sw/production/cas/1/current/
gpgkey=http://repository.egi.eu/sw/production/cas/1/GPG-KEY-EUGridPMA-RPM-3
gpgcheck=1
enabled=1

install:
yum install ca-policy-egi-core
yum install fetch-crl (provided by the epel repo)

activate the cron-job:
service fetch-crl-cron start

Getting slcs-init to obtain short lived certificates:

install:
mkdir /usr/local/slcs && cd /usr/local/slcs/
wget https://slcs.switch.ch/download/glite-slcs-ui-1.5.0-1-jdk1.5.tar.gz
tar ...

for further use in the testplan get a certificate and link it to the appropriate directory:
as user: slcs-init
as root: mkdir /root/user_certificates && cd /root/user_certificates
ln -s /home/casutt/.globus/userkey.pem  test_user_1_key.pem
ln -s /home/casutt/.globus/usercert.pem  test_user_1_cert.pem
chown root /home/casutt/.globus/userkey.pem
vim password ->contains the password for the slcs

Getting voms-clients

install:
yum install voms-clients


1.1.3: YAIM

- Configuration log:

first set up the site-info-def file:

# Argus service hostname
ARGUS_HOST=ullr.switch.ch

# PAP administrator DN allowed to use 'pap-admin' command
PAP_ADMIN_DN="/DC=com/DC=quovadisglobal/DC=grid/DC=switch/DC=hosts/C=CH/ST=Zuerich/L=Zuerich/O=SWITCH/CN=ullr.switch.ch"

# Users and Groups definition for grid and group mapfile
USERS_CONF=/opt/glite/yaim/examples/users.conf
GROUPS_CONF=/opt/glite/yaim/examples/groups.conf

# Supported VOs
VOS="dteam"

VO_DTEAM_VOMSES="'dteam voms.hellasgrid.gr 15004 /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr dteam' 'dteam voms2.hellasgrid.gr 15004 /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms2.hellasgrid.gr dteam'"
VO_DTEAM_VOMS_CA_DN="'/C=GR/O=HellasGrid/OU=Certification Authorities/CN=HellasGrid CA 2006' '/C=GR/O=HellasGrid/OU=Certification Authorities/CN=HellasGrid CA 2006'"

now run Yaim:
/opt/glite/yaim/bin/yaim -c -s site-info.def -n ARGUS_server

--------------------------------
[root@ullr ~]# /opt/glite/yaim/bin/yaim -c -s site-info.def -n ARGUS_server
   INFO: Using site configuration file: site-info.def
   INFO: 
         ###################################################################
         
         .             /'.-. ')
         .     yA,-"-,( ,m,:/ )   .oo.     oo    o      ooo  o.     .oo
         .    /      .-Y a  a Y-.     8. .8'    8'8.     8    8b   d'8
         .   /           ~ ~ /         8'    .8oo88.     8    8  8'  8
         . (_/         '===='          8    .8'     8.   8    8  Y   8
         .   Y,-''-,Yy,-.,/           o8o  o8o    o88o  o8o  o8o    o8o
         .    I_))_) I_))_)
         
         
         current working directory: /root
         site-info.def date: Jul 1 10:23 site-info.def
         yaim command: -c -s site-info.def -n ARGUS_server
         log file: /opt/glite/yaim/bin/../log/yaimlog
         Fri Jul  1 10:24:18 CEST 2011 : /opt/glite/yaim/bin/yaim
         
         Installed YAIM versions:
         glite-yaim-argus-server 1.3-0
         glite-yaim-core 5.0.0-1
         
         ####################################################################
   INFO: The default location of the grid-env.(c)sh files will be: /usr/libexec
   INFO: Sourcing the utilities in /opt/glite/yaim/functions/utils
   INFO: Detecting environment
   INFO: Executing function: config_host_certs_check 
   INFO: Executing function: config_edgusers_check 
   INFO: Executing function: config_vomsmap_check 
   INFO: Executing function: config_vomsdir_check 
   INFO: Executing function: config_pap_service_check 
   INFO: Executing function: config_pdp_service_check 
   INFO: Executing function: config_pep_service_check 
   INFO: Executing function: config_host_certs 
   INFO: Executing function: config_crl 
   INFO: Now updating the CRLs - this may take a few minutes...
Enabling periodic fetch-crl:                               [  OK  ]
   INFO: Executing function: config_edgusers 
   INFO: Executing function: config_vomsmap_setenv 
   INFO: Executing function: config_vomsmap 
   INFO: Creating grid-map directory in /etc/grid-security/gridmapdir
   INFO: Creating voms grid-map file in /etc/grid-security/voms-grid-mapfile
   INFO: Creating voms groupmap file in /etc/grid-security/groupmapfile
   INFO: Copying the /etc/grid-security/voms-grid-mapfile in the standard location /etc/grid-security/grid-mapfile
   INFO: Executing function: config_vomsdir_setenv 
   INFO: Executing function: config_vomsdir 
   INFO: Executing function: config_pap_service_setenv 
   INFO: Executing function: config_pap_service 
   INFO: Stopping PAP service...
PAP  server is not running!
   INFO: Create the PAP /usr/share/argus/pap/conf/pap_configuration.ini file
   INFO: Create the PAP /usr/share/argus/pap/conf/pap_authorization.ini file
   INFO: Create the PAP /usr/share/argus/pap/conf/pap-admin.properties file
   INFO: Fixing files and directory permissions in /usr/share/argus/pap
   INFO: Starting PAP service...
   INFO: Executing function: config_pdp_service_setenv 
   INFO: Executing function: config_pdp_service 
   INFO: Stopping PDP service...
Unable to connect to localhost.localdomain:8153, perhaps the service is not running
   INFO: Create the PDP /etc/argus/pdp/pdp.ini file
   INFO: Fixing files and directory permissions
   INFO: Register /etc/init.d/argus-pdp...
   INFO: Starting PDP service...
   INFO: Executing function: config_pep_service_setenv 
   INFO: Executing function: config_pep_service 
   INFO: Stopping PEP daemon service...
Unable to connect to localhost.localdomain:8155, perhaps the service is not running
   INFO: Create the PEP daemon /etc/argus/pepd/pepd.ini file
   INFO: Fixing files and directory permissions in /usr/share/argus/pepd
   INFO: Starting PEP daemon service...
   INFO: Configuration Complete.                                               [  OK  ]
   INFO: YAIM terminated succesfully.
---------------------------------


1.2. Upgrade Installation
--------------------------------
The prerequisites for the upgrade installation are the same as described above, just with the testing repo not enabled.
Once the clean install is present, the testing repo was installed

wget https://twiki.cern.ch/twiki/pub/EMI/EMI1Updates/testing.repo --no-check-certificate

and the cache of yum renewed

yum clean all
yum makecache

now the upgrade was done

yum update

this is the output of this command:

--------------------------------
[root@ullr yum.repos.d]# yum update
Loaded plugins: kernel-module, priorities, protectbase
155 packages excluded due to repository priority protections
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package argus-pap.noarch 0:1.3.3-1.sl5 set to be updated
---> Package argus-pep-server.noarch 0:1.3.1-1.sl5 set to be updated
---> Package emi-argus.x86_64 0:1.3.1-1.sl5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

==================================================================================================================================
 Package                           Arch                    Version                      Repository                           Size
==================================================================================================================================
Updating:
 argus-pap                         noarch                  1.3.3-1.sl5                  EMI-1-testing-base                   14 M
 argus-pep-server                  noarch                  1.3.1-1.sl5                  EMI-1-testing-base                   13 M
 emi-argus                         x86_64                  1.3.1-1.sl5                  EMI-1-testing-base                  1.4 k

Transaction Summary
==================================================================================================================================
Install       0 Package(s)
Upgrade       3 Package(s)

Total download size: 27 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): emi-argus-1.3.1-1.sl5.x86_64.rpm                                                                    | 1.4 kB     00:00     
(2/3): argus-pep-server-1.3.1-1.sl5.noarch.rpm                                                             |  13 MB     00:01     
(3/3): argus-pap-1.3.3-1.sl5.noarch.rpm                                                                    |  14 MB     00:02     
----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                             6.2 MB/s |  27 MB     00:04     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : argus-pep-server                                                                                           1/6 
  Updating       : argus-pap                                                                                                  2/6 
  Updating       : emi-argus                                                                                                  3/6 
Ok.
  Cleanup        : argus-pap                                                                                                  4/6 
  Cleanup        : argus-pep-server                                                                                           5/6 
  Cleanup        : emi-argus                                                                                                  6/6 

Updated:
  argus-pap.noarch 0:1.3.3-1.sl5          argus-pep-server.noarch 0:1.3.1-1.sl5          emi-argus.x86_64 0:1.3.1-1.sl5         

Complete!
--------------------------------

since the upgrade has most probably stopped the services from working they must be restarted. To get sure everything runned smooth,
YAIM has been rerun to do so:

/opt/glite/yaim/bin/yaim -c -s site-info.def -n ARGUS_server

--------------------------------
[root@ullr ~]# /opt/glite/yaim/bin/yaim -c -s site-info.def -n ARGUS_server
   INFO: Using site configuration file: site-info.def
   INFO: 
         ###################################################################
         
         .             /'.-. ')
         .     yA,-"-,( ,m,:/ )   .oo.     oo    o      ooo  o.     .oo
         .    /      .-Y a  a Y-.     8. .8'    8'8.     8    8b   d'8
         .   /           ~ ~ /         8'    .8oo88.     8    8  8'  8
         . (_/         '===='          8    .8'     8.   8    8  Y   8
         .   Y,-''-,Yy,-.,/           o8o  o8o    o88o  o8o  o8o    o8o
         .    I_))_) I_))_)
         
         
         current working directory: /root
         site-info.def date: Jun 28 13:39 site-info.def
         yaim command: -c -s site-info.def -n ARGUS_server
         log file: /opt/glite/yaim/bin/../log/yaimlog
         Fri Jul  1 09:12:35 CEST 2011 : /opt/glite/yaim/bin/yaim
         
         Installed YAIM versions:
         glite-yaim-argus-server 1.3-0
         glite-yaim-core 5.0.0-1
         
         ####################################################################
   INFO: The default location of the grid-env.(c)sh files will be: /usr/libexec
   INFO: Sourcing the utilities in /opt/glite/yaim/functions/utils
   INFO: Detecting environment
   INFO: Executing function: config_host_certs_check 
   INFO: Executing function: config_edgusers_check 
   INFO: Executing function: config_vomsmap_check 
   INFO: Executing function: config_vomsdir_check 
   INFO: Executing function: config_pap_service_check 
   INFO: Executing function: config_pdp_service_check 
   INFO: Executing function: config_pep_service_check 
   INFO: Executing function: config_host_certs 
   INFO: Executing function: config_crl 
   INFO: Now updating the CRLs - this may take a few minutes...
Enabling periodic fetch-crl:                               [  OK  ]
   INFO: Executing function: config_edgusers 
   INFO: Executing function: config_vomsmap_setenv 
   INFO: Executing function: config_vomsmap 
   INFO: Creating grid-map directory in /etc/grid-security/gridmapdir
   INFO: Creating voms grid-map file in /etc/grid-security/voms-grid-mapfile
   INFO: Creating voms groupmap file in /etc/grid-security/groupmapfile
   INFO: Copying the /etc/grid-security/voms-grid-mapfile in the standard location /etc/grid-security/grid-mapfile
   INFO: Executing function: config_vomsdir_setenv 
   INFO: Executing function: config_vomsdir 
   INFO: Executing function: config_pap_service_setenv 
   INFO: Executing function: config_pap_service 
   INFO: Stopping PAP service...
PAP  server is not running!
   INFO: Create the PAP /usr/share/argus/pap/conf/pap_configuration.ini file
   INFO: Create the PAP /usr/share/argus/pap/conf/pap_authorization.ini file
   INFO: Create the PAP /usr/share/argus/pap/conf/pap-admin.properties file
   INFO: Fixing files and directory permissions in /usr/share/argus/pap
   INFO: Starting PAP service...
   INFO: Executing function: config_pdp_service_setenv 
   INFO: Executing function: config_pdp_service 
   INFO: Stopping PDP service...
   INFO: Create the PDP /etc/argus/pdp/pdp.ini file
   INFO: Fixing files and directory permissions
   INFO: Register /etc/init.d/argus-pdp...
   INFO: Starting PDP service...
   INFO: Executing function: config_pep_service_setenv 
   INFO: Executing function: config_pep_service 
   INFO: Stopping PEP daemon service...
Unable to connect to localhost.localdomain:8155, perhaps the service is not running
   INFO: Create the PEP daemon /etc/argus/pepd/pepd.ini file
   INFO: Fixing files and directory permissions in /usr/share/argus/pepd
   INFO: Starting PEP daemon service...
   INFO: Configuration Complete.                                               [  OK  ]
   INFO: YAIM terminated succesfully.
--------------------------------

2. Static Code Analysis
******************************
Not Applicable

3. Unit Tests
*****************
The JUnit tests are automatically run at build time.

4. System tests 
*********************

4.1. Basic Functionality tests
**************************************

4.1.1: test-PAP-FUNC1.sh
-----------------------------------
This test was excluded from the run since it is not clear if the tested behavior actually is a bug. 

4.1.2: test-PAP-FUNC2.sh
-----------------------------------
Fri Jul 1 10:27:01 CEST 2011
---Test-PAP-FUNC-2---
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
1) testing missing configuration file
OK
2) testing missing argus file
PAP encountered an error that could not be dealt with, shutting down!
Error: PAP Authorization configuration file not found: /usr/share/argus/pap/conf/pap_authorization.ini
org.glite.authz.pap.common.exceptions.PAPConfigurationException: PAP Authorization configuration file not found: /usr/share/argus/pap/conf/pap_authorization.ini
   at org.glite.authz.pap.authz.AuthorizationEngine.<init>(AuthorizationEngine.java:55)
   at org.glite.authz.pap.authz.AuthorizationEngine.initialize(AuthorizationEngine.java:80)
   at org.glite.authz.pap.server.PAPService.start(PAPService.java:97)
   at org.glite.authz.pap.server.PAPContextListener.contextInitialized(PAPContextListener.java:76)
   at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
   at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
   at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
   at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
   at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
   at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
   at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
   at org.mortbay.jetty.Server.doStart(Server.java:224)
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
   at org.glite.authz.pap.server.standalone.PAPServer.<init>(PAPServer.java:172)
   at org.glite.authz.pap.server.standalone.PAPServer.main(PAPServer.java:451)
OK
---Test-PAP-FUNC-2: TEST PASSED---
Fri Jul 1 10:29:03 CEST 2011


4.1.3: test-list-policies.sh
--------------------------------- 
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:29:11 CEST 2011
---Test-List-Policies---
1) testing list policies on an empty repository

default (local):
No policies has been found.
OK
2) testing list policies
OK
2) testing list policies with wrong pap-alias
org.glite.authz.pap.repository.exceptions.NotFoundException: Not found: papAlias=dummy_pap
OK
---Test-List-Polices: TEST PASSED---
Fri Jul 1 10:29:39 CEST 2011


4.1.4: test-ban-unban.sh
---------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:29:43 CEST 2011
---Test-BAN/UNBAN---
1) testing user ban
OK
2) testing user unban
OK
3) testing unbanning non existing subject
ban policy not found.
OK
---Test-BAN/UNBAND: TEST PASSED---
Fri Jul 1 10:29:55 CEST 2011



4.1.5: test-ban-unban-fqan.sh
---------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:29:55 CEST 2011
---Test-BAN/UNBAN-FQAN---
1) testing fqan ban
OK
2) testing fqan unban
OK
3) testing unbanning non existing fqan
ban policy not found.
OK
---Test-BAN/UNBAND-FQAN: TEST PASSED---
Fri Jul 1 10:30:07 CEST 2011



4.1.6: test-remove-all-policies.sh
-------------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:30:11 CEST 2011
---Test-Remove-All-Policies---
1) testing remove all policies 
OK
---Test-Remove-All-Polices: TEST PASSED---
Fri Jul 1 10:30:32 CEST 2011



4.1.7: test-remove-policies.sh
---------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:30:36 CEST 2011
---Test-Remove-Policies---
1) testing removal with non existing id
error.
org.glite.authz.pap.repository.exceptions.NotFoundException: Id not found: dummy_id
OK
2) testing removal with resource id
ID=78a94c82-cfa8-4db9-a075-996930634522
OK
3) testing removal with action id
ID=public-87afdc2b-eacc-432e-be93-54a95121c351
OK
4) testing removal with rule id
ID=ecb0408a-c4e0-494a-83f2-9a8cf7feccf7
OK
5) testing removal with multiple rules
ID=8812b40e-3d1b-4409-932b-f5b59c5c7bdd
65806aa6-6057-4680-8c84-025baff87c75
759b33b5-2f8e-4d62-90b2-c8b36d86f172
OK
6) testing removal with multiple rules and one wrong
ID=11c119c9-3ff6-4267-9f0a-66a1b7432dac
36f4e117-e9b8-4d6f-a7c1-cca4d4bab0c1
cb3579dd-56b5-4cfd-b3a7-85ad8f4b5608
error.
org.glite.authz.pap.repository.exceptions.NotFoundException: Id not found: another-non-existing-id
OK
7) testing removal with empty repository
error.
org.glite.authz.pap.repository.exceptions.NotFoundException: Id not found: 11c119c9-3ff6-4267-9f0a-66a1b7432dac
OK
---Test-Remove-Polices: TEST PASSED---
Fri Jul 1 10:32:46 CEST 2011



4.1.8: test-policy-from-file.sh
--------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:32:50 CEST 2011
---Test-APF---
1) testing add policy from file
OK
2) testing add policy from file with error
Syntax error no policies has been added from file:/home/casutt/org.glite.testsuites.ctb/Argus/tests/PAP-CLI/policyfile.txt
Reason:
org.glite.authz.pap.encoder.parser.ParseException: Encountered "deni" at line 4, column 14.
Was expecting one of:
    "permit" ...
    "deny" ...
    
OK
---Test-APF: TEST PASSED---
Fri Jul 1 10:33:11 CEST 2011



4.1.9: test-upp-from-file.sh
-----------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:33:15 CEST 2011
---Test-Update-Policy-From-File---
1) testing upf with non existing file
Error: file "/home/casutt/org.glite.testsuites.ctb/Argus/tests/PAP-CLI/dummy.txt" does not exists.
OK
2) testing upf with non existing resource id
Error: resource id "dummy-id-999" does not exists.
OK
3) testing upf with correct resource id 
ID=27f2d8b3-352b-4e68-8798-91abd6b7f03f
OK
4) testing upf with changing only an action 
ID=public-bdde70b4-ef03-4e3c-b689-8a6a9fda863f
OK
---Test-Update-Policy-From-File: TEST PASSED---
Fri Jul 1 10:33:56 CEST 2011



4.1.10: add-remove-localpap.sh
------------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:33:56 CEST 2011
---Add/Remove-local-PAP---
1) testing apap with existing alias
pap already exists.
OK
2) testing apap with wrong endpoint
Error contacting the PAP service. Caused by java.net.ConnectException: Connection refused.
OK
3) testing apap local
OK
3) test removing local pap
OK
4) test removing local default pap
org.glite.authz.pap.papmanagement.PapManagerException: Deleting the default pap is not allowed
OK
5) test removing non-existing pap
PAP not found: Dummy
OK
---Test-Add/Remove-local-PAP: TEST PASSED---
Fri Jul 1 10:34:23 CEST 2011


4.1.11: en-disable-pap.sh
---------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:34:23 CEST 2011
---Test-Enable/Disable-PAP---
1) testing dpap with non existing pap
PAP not found: mypap
OK
2) testing dpap with already disabled pap
OK
3) testing epap with wrong alias
PAP not found: Dummy
OK
4) testing epap with good alias
OK
4) testing dpap with good alias
OK
5) testing dpap default pap
OK
6) testing epap default pap
OK
---Test-Enable/Disable-PAP: TEST PASSED---
Fri Jul 1 10:35:14 CEST 2011



4.1.12: pap-ping.sh
--------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:35:14 CEST 2011
---Test-PAP-Ping---
1) test PAP ping
Contacting PAP at "https://ullr.switch.ch:8150/pap/services/"... ok (PAP version: 1.3.3)
OK
---Test-PAP-Ping: TEST PASSED---
Fri Jul 1 10:35:18 CEST 2011



4.1.13: refresh-cache.sh
--------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:35:18 CEST 2011
---Test-Refesh-Cache---
1) testing rc with non existing alias
Refreshing cache for pap "Do-Not-Exist"... error: pap doesn't exist
OK
2) testing rc with a local pap
Refreshing cache for pap "default"...error: org.glite.authz.pap.common.exceptions.PAPException: "default" is local, nothing to refresh
OK
---Test-Refesh-Cache: TEST PASSED---
Fri Jul 1 10:35:26 CEST 2011



4.1.14: set-get-pap-orders.sh
--------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:35:26 CEST 2011
---Test-Set/Get-paps-order---
1) testing gpo with no order
No ordering has been defined
OK
2) testing spo with 3 paps
OK
2) Inverting the order
OK
3) using a non existing alias
org.glite.authz.pap.distribution.DistributionConfigurationException: Error in remote paps order: unknown alias "local-pp3"
OK
---Test-Set/Get-paps-order: TEST PASSED---
Fri Jul 1 10:36:05 CEST 2011


4.1.15: set-get-poll-interval.sh
---------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:36:05 CEST 2011
---Test-Set/Get-Poll-Interval---
1) Setting polling time
OK
2) Retrieving polling time
OK
---Test-Set/Get-Poll-Interval: TEST PASSED---
Fri Jul 1 10:36:12 CEST 2011


4.1.16: test-authz.sh
---------------------------
Fri Jul 1 10:36:12 CEST 2011
---Test-argus---
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
1) testing lp with no authorization
OK
2) testing lp with anyone full power
OK
---Test-argus: TEST PASSED---
Fri Jul 1 10:37:21 CEST 2011


4.1.17: PDP: test-configuration.sh
---------------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
PAP is not running
Fri Jul 1 10:37:32 CEST 2011
---Test-Update-PAP---
1) testing upap with non existing alias
Error contacting the PAP service. Caused by java.net.ConnectException: Connection refused.
OK
---Test-Update-PAP: TEST PASSED---
Fri Jul 1 10:37:35 CEST 2011


4.1.18: PEP: test-configuration.sh
---------------------------------------------
PEP_CTRL set to: argus-pepd
PEP_INFO set to: Argus PEP Server
Fri Jul 1 10:37:38 CEST 2011
---Test-PEP-Configuration---
1) testing pep status
OK
2) testing pep with SSL
OK
3) testing pep with no config file
/usr/sbin/pepdctl: ERROR: config file /usr/share/argus/pepd/conf/pepd.ini not readable
OK
Unable to connect to localhost.localdomain:8155, perhaps the service is not running
---Test-PEP-Configuration: TEST PASSED---
Fri Jul 1 10:38:13 CEST 2011


4.2. Regression tests
*****************************

4.2.1: Tests from Patch 4367
--------------------------------------

4.2.1.1: bug 60044
-------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:38:19 CEST 2011
Testing bug 60044.
test_bug_60044.sh: passed lp by resource.
test_bug_60044.sh: passed lp by valid action.
test_bug_60044.sh: passed lp by INvalid action.
---test_bug_60044.sh: TEST PASSED---
Fri Jul 1 10:39:00 CEST 2011


4.2.1.2: bug 63180
-------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:39:04 CEST 2011
---test_bug_63180.sh: TEST PASSED---
Fri Jul 1 10:39:32 CEST 2011


4.2.1.3: bug 64340
-------------------------
PEP_CTRL set to: /etc/rc.d/init.d/pep
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Running: test_bug_64340.sh
Fri Jul 1 10:39:32 CEST 2011
test_bug_64340.sh: Stopping PEPd.
test_bug_64340.sh: Starting PEPd.

default (local):

id=cfe8fde3-04af-4712-8996-b67f3315db3b
resource "resource_1" {
    obligation "http://glite.org/xacml/obligation/local-environment-map" {
    }

    id=public_d18e56cf-4f43-46ea-8407-0e0041be65cd
    action "testwerfer" {
        rule permit { subject="CN=ullr.switch.ch,O=SWITCH,L=Zuerich,ST=Zuerich,C=CH,DC=hosts,DC=switch,DC=grid,DC=quovadisglobal,DC=com" }
    }
}
./test_bug_64340.sh: line 135: -p: command not found
---test_bug_64340.sh: TEST PASSED---
Fri Jul 1 10:40:12 CEST 2011


4.2.1.4: bug 65542
-------------------------
PEP_CTRL set to: /etc/rc.d/init.d/pep
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
argus-pap status returned 1. OK.
pdp status returned 0. OK.
pepd status returned 127. OK.
---test_bug_65542.sh: TEST PASSED---
Fri Jul 1 10:40:22 CEST 2011



4.2.1.5: bug 65802
-------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
PAP is not running
test_bug_65802.sh: wget http://localhost:8151/status SHOULD work. Not OK.
---test_bug_65802.sh: TEST FAILED---
Fri Jul 1 10:40:33 CEST 2011


4.2.1.6: bug 66669
-------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Fri Jul 1 10:40:39 CEST 2011
Running: test_bug_66669.sh

default (local):

resource "resource_1" {

    action ".*" {
        rule deny { subject="CN=user name/testslash,CN=999999,CN=user,OU=Users,OU=Organic Units,DC=cern,DC=ch" }
    }
}

resource "resource_1" {

    action ".*" {
        rule permit { subject="CN=user name,CN=999999,CN=user,OU=Users/slashtest,OU=Organic Units,DC=cern,DC=ch" }
    }
}
---test_bug_66669.sh: TEST PASSED---
Fri Jul 1 10:41:01 CEST 2011


4.2.1.7: bug 68595
-------------------------
PEP_CTRL set to: /etc/rc.d/init.d/pep
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Running: test_bug_68595.sh
Fri Jul 1 10:41:01 CEST 2011
Unable to connect to localhost.localdomain:8153, perhaps the service is not running
PDP is not running. Starting one.
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/usr/share/argus/pap/bin/pap-admin ro 9cb7ed40-bcec-4760-8569-c241cdcc5187 http://glite.org/xacml/obligation/local-environment-map
---test_bug_68595.sh: TEST PASSED---
Fri Jul 1 10:41:57 CEST 2011



4.2.1.8: bug 68599
-------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Running: test_bug_68599.sh
Fri Jul 1 10:41:57 CEST 2011
---test_bug_68599.sh: TEST PASSED---
Fri Jul 1 10:42:42 CEST 2011


4.2.1.9: bug 68805
-------------------------
PEP_CTRL set to: /etc/rc.d/init.d/pep
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Running: test_bug_68805.sh
Fri Jul 1 10:42:42 CEST 2011
\/DC=com\/DC=quovadisglobal\/DC=grid\/DC=switch\/DC=hosts\/C=CH\/ST=Zuerich\/L=Zuerich\/O=SWITCH\/CN=ullr.switch.ch
test_bug_68805.sh: This script needs more work. Bug tested though.


4.2.1.10: bug 69197_1
------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
rm: cannot remove `/tmp/x509up_u0': No such file or directory
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ............................................................. Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ............................. Done

Your proxy is valid until Fri Jul  1 22:42:44 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_1.sh
Fri Jul 1 10:42:44 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam" dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" testing
preferDNForLoginName = true
preferDNForPrimaryGroupName = true
test_bug_69197_1.sh: Stopping PEPd.
test_bug_69197_1.sh: Starting PEPd.
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
Group: testing
Secondary Groups: testing
---------------------------------------
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
Group: testing
Secondary Groups: testing dteam
---------------------------------------
---test_bug_69197_1.sh: TEST PASSED---
Fri Jul 1 10:43:16 CEST 2011


4.2.1.11: bug 69197_2
------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ...................... Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy .................................. Done

Your proxy is valid until Fri Jul  1 22:43:18 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_2.sh
Fri Jul 1 10:43:18 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam/Role=lcgadmin/Capability=NULL" .sgmdtm
"/dteam/Role=lcgadmin" .sgmdtm
"/dteam/Role=production/Capability=NULL" .prddtm
"/dteam/Role=production" .prddtm
"/dteam/Role=NULL/Capability=NULL" .dteam
"/dteam" .dteam
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam/Role=lcgadmin/Capability=NULL" dteamsgm
"/dteam/Role=lcgadmin" dteamsgm
"/dteam/Role=production/Capability=NULL" dteamprd
"/dteam/Role=production" dteamprd
"/dteam/Role=NULL/Capability=NULL" dteam
"/dteam" dteam
"/dteam" dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" testing
preferDNForLoginName = false
preferDNForPrimaryGroupName = true
test_bug_69197_2.sh: Stopping PEPd.
test_bug_69197_2.sh: Starting PEPd.
Error parsing configuration file /usr/share/argus/pepd/conf/pepd.ini
This error was caused by the exception:
org.glite.authz.common.config.ConfigurationException: Unable to configure Obligation Handler ACCOUNTMAP_OH. The following error was reported: An entry with the key: /dteam already exists, it can not be replaced
   at org.glite.authz.pep.obligation.IniOHConfigurationParserHelper.buildObligationHandler(IniOHConfigurationParserHelper.java:98)
   at org.glite.authz.pep.obligation.IniOHConfigurationParserHelper.processObligationHandlers(IniOHConfigurationParserHelper.java:67)
   at org.glite.authz.pep.server.config.PEPDaemonIniConfigurationParser.parseIni(PEPDaemonIniConfigurationParser.java:170)
   at org.glite.authz.pep.server.config.PEPDaemonIniConfigurationParser.parse(PEPDaemonIniConfigurationParser.java:86)
   at org.glite.authz.pep.server.PEPDaemon.parseConfiguration(PEPDaemon.java:323)
   at org.glite.authz.pep.server.PEPDaemon.main(PEPDaemon.java:128)
Caused by: java.lang.IllegalArgumentException: An entry with the key: /dteam already exists, it can not be replaced
   at org.glite.authz.pep.obligation.dfpmap.OrderedDFPM.put(OrderedDFPM.java:77)
   at org.glite.authz.pep.obligation.dfpmap.OrderedDFPM.put(OrderedDFPM.java:27)
   at org.glite.authz.pep.obligation.dfpmap.DFPMFileParser.parseLine(DFPMFileParser.java:98)
   at org.glite.authz.pep.obligation.dfpmap.DFPMFileParser.parse(DFPMFileParser.java:55)
   at org.glite.authz.pep.obligation.dfpmap.UpdatingDFPM$UpdateDFPMTask.run(UpdatingDFPM.java:180)
   at org.glite.authz.pep.obligation.dfpmap.UpdatingDFPM.<init>(UpdatingDFPM.java:86)
   at org.glite.authz.pep.obligation.dfpmap.DFPMObligationHandlerConfigurationParser.buildMapping(DFPMObligationHandlerConfigurationParser.java:313)
   at org.glite.authz.pep.obligation.dfpmap.DFPMObligationHandlerConfigurationParser.buildAccountMapper(DFPMObligationHandlerConfigurationParser.java:268)
   at org.glite.authz.pep.obligation.dfpmap.DFPMObligationHandlerConfigurationParser.parse(DFPMObligationHandlerConfigurationParser.java:207)
   at org.glite.authz.pep.obligation.IniOHConfigurationParserHelper.buildObligationHandler(IniOHConfigurationParserHelper.java:96)
   ... 5 more
libargus-pep:ERROR: pep_authorize: PEP#0 sending XACML request failed: curl[7] couldn't connect to server.
pepcli:ERROR: failed to authorize XACML request: CURL processing error
---------------------------------------
---------------------------------------
libargus-pep:ERROR: pep_authorize: PEP#0 sending XACML request failed: curl[7] couldn't connect to server.
pepcli:ERROR: failed to authorize XACML request: CURL processing error
---------------------------------------
---------------------------------------
---test_bug_69197_2.sh: TEST PASSED---
Fri Jul 1 10:43:48 CEST 2011



4.2.1.12: bug 69197_3
------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ................................... Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ............................................................................ Done

Your proxy is valid until Fri Jul  1 22:43:49 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_3.sh
Fri Jul 1 10:43:49 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam/Role=lcgadmin/Capability=NULL" .sgmdtm
"/dteam/Role=lcgadmin" .sgmdtm
"/dteam/Role=production/Capability=NULL" .prddtm
"/dteam/Role=production" .prddtm
"/dteam/Role=NULL/Capability=NULL" .dteam
"/dteam" .dteam
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam/Role=lcgadmin/Capability=NULL" dteamsgm
"/dteam/Role=lcgadmin" dteamsgm
"/dteam/Role=production/Capability=NULL" dteamprd
"/dteam/Role=production" dteamprd
"/dteam/Role=NULL/Capability=NULL" dteam
"/dteam" dteam
"/dteam" dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" testing
preferDNForLoginName = true
preferDNForPrimaryGroupName = false
Unable to connect to localhost.localdomain:8155, perhaps the service is not running
PEPd is not running. Starting one.
Error parsing configuration file /usr/share/argus/pepd/conf/pepd.ini
This error was caused by the exception:
org.glite.authz.common.config.ConfigurationException: Unable to configure Obligation Handler ACCOUNTMAP_OH. The following error was reported: An entry with the key: /dteam already exists, it can not be replaced
   at org.glite.authz.pep.obligation.IniOHConfigurationParserHelper.buildObligationHandler(IniOHConfigurationParserHelper.java:98)
   at org.glite.authz.pep.obligation.IniOHConfigurationParserHelper.processObligationHandlers(IniOHConfigurationParserHelper.java:67)
   at org.glite.authz.pep.server.config.PEPDaemonIniConfigurationParser.parseIni(PEPDaemonIniConfigurationParser.java:170)
   at org.glite.authz.pep.server.config.PEPDaemonIniConfigurationParser.parse(PEPDaemonIniConfigurationParser.java:86)
   at org.glite.authz.pep.server.PEPDaemon.parseConfiguration(PEPDaemon.java:323)
   at org.glite.authz.pep.server.PEPDaemon.main(PEPDaemon.java:128)
Caused by: java.lang.IllegalArgumentException: An entry with the key: /dteam already exists, it can not be replaced
   at org.glite.authz.pep.obligation.dfpmap.OrderedDFPM.put(OrderedDFPM.java:77)
   at org.glite.authz.pep.obligation.dfpmap.OrderedDFPM.put(OrderedDFPM.java:27)
   at org.glite.authz.pep.obligation.dfpmap.DFPMFileParser.parseLine(DFPMFileParser.java:98)
   at org.glite.authz.pep.obligation.dfpmap.DFPMFileParser.parse(DFPMFileParser.java:55)
   at org.glite.authz.pep.obligation.dfpmap.UpdatingDFPM$UpdateDFPMTask.run(UpdatingDFPM.java:180)
   at org.glite.authz.pep.obligation.dfpmap.UpdatingDFPM.<init>(UpdatingDFPM.java:86)
   at org.glite.authz.pep.obligation.dfpmap.DFPMObligationHandlerConfigurationParser.buildMapping(DFPMObligationHandlerConfigurationParser.java:313)
   at org.glite.authz.pep.obligation.dfpmap.DFPMObligationHandlerConfigurationParser.buildAccountMapper(DFPMObligationHandlerConfigurationParser.java:268)
   at org.glite.authz.pep.obligation.dfpmap.DFPMObligationHandlerConfigurationParser.parse(DFPMObligationHandlerConfigurationParser.java:207)
   at org.glite.authz.pep.obligation.IniOHConfigurationParserHelper.buildObligationHandler(IniOHConfigurationParserHelper.java:96)
   ... 5 more
test_bug_69197_3.sh.out: Testing with certificate/key.
libargus-pep:ERROR: pep_authorize: PEP#0 sending XACML request failed: curl[7] couldn't connect to server.
pepcli:ERROR: failed to authorize XACML request: CURL processing error
---------------------------------------
---------------------------------------
test_bug_69197_3.sh.out: Testing with proxy file.
libargus-pep:ERROR: pep_authorize: PEP#0 sending XACML request failed: curl[7] couldn't connect to server.
pepcli:ERROR: failed to authorize XACML request: CURL processing error
---------------------------------------
---------------------------------------
---test_bug_69197_3.sh: TEST PASSED---
Fri Jul 1 10:44:09 CEST 2011


4.2.1.13: bug 69197_4
------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy .................................................................... Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ..................................................... Done

Your proxy is valid until Fri Jul  1 22:44:10 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_4.sh
Fri Jul 1 10:44:10 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam" dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" testing
preferDNForLoginName = false
preferDNForPrimaryGroupName = false
Unable to connect to localhost.localdomain:8155, perhaps the service is not running
PEPd is not running. Starting one.
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
Group: testing
Secondary Groups: testing
---------------------------------------
testing
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: dteam026
Group: dteam
Secondary Groups: dteam testing
---------------------------------------
---test_bug_69197_4.sh: TEST PASSED---
Fri Jul 1 10:44:32 CEST 2011



4.2.1.14: bug 69197_5
------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ....................................................................... Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ............................................................... Done

Your proxy is valid until Fri Jul  1 22:45:06 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_5.sh
Fri Jul 1 10:45:06 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam" dteam
preferDNForLoginName = true
noPrimaryGroupNameIsError = true
preferDNForPrimaryGroupName = true
test_bug_69197_5.sh: Stopping PEPd.
test_bug_69197_5.sh: Starting PEPd.
---------------------------------------
Decision: Indeterminate
Status: urn:oasis:names:tc:xacml:1.0:status:processing-error
Status message: Failed to map subject DN CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch, primary FQAN null, secondary FQANs null to a POSIX primary group
---------------------------------------
Status message: Failed to map subject DN CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch, primary FQAN null, secondary FQANs null to a POSIX primary group
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_5.sh: TEST PASSED---
Fri Jul 1 10:45:38 CEST 2011


4.2.1.15: bug 69197_5a
--------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ....................................................... Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ....................................................... Done

Your proxy is valid until Fri Jul  1 22:44:33 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_5a.sh
Fri Jul 1 10:44:33 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam" dteam
preferDNForLoginName = true
noPrimaryGroupNameIsError = false
preferDNForPrimaryGroupName = true
test_bug_69197_5a.sh: Stopping PEPd.
test_bug_69197_5a.sh: Starting PEPd.
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
---------------------------------------
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_5a.sh: TEST PASSED---
Fri Jul 1 10:45:05 CEST 2011



4.2.1.16: bug 69197_6
------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy .............................................. Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ............................... Done

Your proxy is valid until Fri Jul  1 22:46:12 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_6.sh
Fri Jul 1 10:46:12 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396

/etc/grid-security/grid-mapfile

"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite

/etc/grid-security/groupmapfile

"/dteam" dteam

/usr/share/argus/pepd/conf/pepd.ini

preferDNForLoginName = false
noPrimaryGroupNameIsError = true
preferDNForPrimaryGroupName = true
test_bug_69197_6.sh: Stopping PEPd.
test_bug_69197_6.sh: Starting PEPd.

default (local):

id=f34905d1-97d3-41fd-bc30-c3ae199442dd
resource "resource_1" {
    obligation "http://glite.org/xacml/obligation/local-environment-map" {
    }

    id=public_b4596bc9-a80f-46ad-afee-24874dfcd53d
    action "testwerfer" {
        rule permit { subject="CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch" }
    }
}
libargus-pep: pep_authorize: PEP#0 sending XACML request to: https://ullr.switch.ch:8154/authz
libargus-pep: pep_authorize: PEP#0 XACML Response decoded and unmarshalled.
---------------------------------------
pepcli: pepd: https://ullr.switch.ch:8154/authz
pepcli: certchain: /tmp/x509up_u0
pepcli: resourceid: resource_1
pepcli: actionid: testwerfer
pepcli: capath: /etc/grid-security/certificates/
pepcli: cert: /root/user_certificates/test_user_1_cert.pem
pepcli: key: /root/user_certificates/test_user_1_key.pem
pepcli: key passwd: 4 chars
pepcli: authorize XACML request
pepcli: response: 1 results
pepcli: response.result[0].decision= Permit
pepcli: response.result[0].resourceid= resource_1
pepcli: response.result[0].status.message= (null)
pepcli: response.result[0].status.code.value= urn:oasis:names:tc:xacml:1.0:status:ok
pepcli: response.result[0]: 1 obligations
pepcli: response.result[0].obligation[0].id= http://glite.org/xacml/obligation/local-environment-map/posix
pepcli: response.result[0].obligation[0].fulfillOn= Permit
pepcli: response.result[0].obligation[0]: 3 attribute assignments
pepcli: response.result[0].obligation[0].attributeassignment[0].id= http://glite.org/xacml/attribute/user-id
pepcli: response.result[0].obligation[0].attributeassignment[0].datatype= http://www.w3.org/2001/XMLSchema#string
pepcli: response.result[0].obligation[0].attributeassignment[0].value= dteam011
pepcli: response.result[0].obligation[0].attributeassignment[1].id= http://glite.org/xacml/attribute/group-id/primary
pepcli: response.result[0].obligation[0].attributeassignment[1].datatype= http://www.w3.org/2001/XMLSchema#string
pepcli: response.result[0].obligation[0].attributeassignment[1].value= dteam
pepcli: response.result[0].obligation[0].attributeassignment[2].id= http://glite.org/xacml/attribute/group-id
pepcli: response.result[0].obligation[0].attributeassignment[2].datatype= http://www.w3.org/2001/XMLSchema#string
pepcli: response.result[0].obligation[0].attributeassignment[2].value= dteam
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: dteam011
Group: dteam
Secondary Groups: dteam
---------------------------------------
test_bug_69197_6.sh: Did not find expected rule: permit.
test_bug_69197_6.sh: Did not find expected "Failed to map subject " 



4.2.1.17: bug 69197_6a
--------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ................................................ Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ....................................... Done

Your proxy is valid until Fri Jul  1 22:45:39 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_6a.sh
Fri Jul 1 10:45:39 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam" dteam
preferDNForLoginName = false
preferDNForPrimaryGroupName = true
noPrimaryGroupNameIsError = false
test_bug_69197_6a.sh: Stopping PEPd.
test_bug_69197_6a.sh: Starting PEPd.
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
---------------------------------------
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: dteam011
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_6a.sh: TEST PASSED---
Fri Jul 1 10:46:11 CEST 2011



4.2.1.18: bug 69197_7
------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy .......................... Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ................................ Done

Your proxy is valid until Fri Jul  1 22:47:13 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_7.sh
Fri Jul 1 10:47:13 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam" dteam
preferDNForLoginName = true
noPrimaryGroupNameIsError = true
preferDNForPrimaryGroupName = false
test_bug_69197_7.sh: Stopping PEPd.
test_bug_69197_7.sh: Starting PEPd.
---------------------------------------
Decision: Indeterminate
Status: urn:oasis:names:tc:xacml:1.0:status:processing-error
Status message: Failed to map subject DN CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch, primary FQAN null, secondary FQANs null to a POSIX primary group
---------------------------------------
Status message: Failed to map subject DN CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch, primary FQAN null, secondary FQANs null to a POSIX primary group
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_7.sh: TEST PASSED---
Fri Jul 1 10:47:45 CEST 2011


4.2.1.19: bug 69197_7a
--------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ..................................... Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy .............................. Done

Your proxy is valid until Fri Jul  1 22:46:40 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_7a.sh
Fri Jul 1 10:46:40 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam" dteam
preferDNForLoginName = true
preferDNForPrimaryGroupName = false
noPrimaryGroupNameIsError = false
test_bug_69197_7a.sh: Stopping PEPd.
test_bug_69197_7a.sh: Starting PEPd.
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
---------------------------------------
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_7a.sh: TEST PASSED---
Fri Jul 1 10:47:12 CEST 2011



4.2.1.20: bug 69197_8
------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ........................ Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ....................... Done

Your proxy is valid until Fri Jul  1 22:48:19 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_8.sh
Fri Jul 1 10:48:19 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam" dteam
preferDNForLoginName = false
noPrimaryGroupNameIsError = true
preferDNForPrimaryGroupName = false
test_bug_69197_8.sh: Stopping PEPd.
test_bug_69197_8.sh: Starting PEPd.
---------------------------------------
Decision: Indeterminate
Status: urn:oasis:names:tc:xacml:1.0:status:processing-error
Status message: Failed to map subject DN CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch, primary FQAN null, secondary FQANs null to a POSIX primary group
---------------------------------------
Status message: Failed to map subject DN CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch, primary FQAN null, secondary FQANs null to a POSIX primary group
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: dteam011
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_8.sh: TEST PASSED---
Fri Jul 1 10:48:51 CEST 2011



4.2.1.21: bug 69197_8a
--------------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ................................................. Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy .................................................................. Done

Your proxy is valid until Fri Jul  1 22:47:46 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_8a.sh
Fri Jul 1 10:47:46 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
/etc/grid-security/grid-mapfile
"/dteam" .dteam
"/DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396" glite
/etc/grid-security/groupmapfile
"/dteam" dteam
preferDNForLoginName = false
preferDNForPrimaryGroupName = false
noPrimaryGroupNameIsError = false
test_bug_69197_8a.sh: Stopping PEPd.
test_bug_69197_8a.sh: Starting PEPd.
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: glite
---------------------------------------
---------------------------------------
Resource: resource_1
Decision: Permit
Obligation: http://glite.org/xacml/obligation/local-environment-map/posix (caller should resolve POSIX account mapping)
Username: dteam011
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_8a.sh: TEST PASSED---
Fri Jul 1 10:48:18 CEST 2011


4.2.1.22: bug 69197
---------------------------
PEP_CTRL set to: /etc/rc.d/init.d/argus-pepd
PDP_CTRL set to: /etc/rc.d/init.d/argus-pdp
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
pepcli command used as: pepcli
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ..................................... Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ...................... Done

Your proxy is valid until Fri Jul  1 22:48:52 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197.sh
Fri Jul 1 10:48:52 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
rm: cannot remove `/etc/grid-security/gridmapdir/*ullr.switch.ch*': No such file or directory
test_bug_69197.sh: Stopping PEPd.
test_bug_69197.sh: Starting PEPd.
0
test_bug_69197.sh: Did not find expected resource: resource_1
test_bug_69197.sh: Did not find expected rule: permit
test_bug_69197.sh: No user account mapped.
test_bug_69197.sh: No user group mapped.
test_bug_69197.sh: No user secondary group mapped.
rm: cannot remove `/etc/grid-security/gridmapdir/*ullr.switch.ch*': No such file or directory
test_bug_69197.sh: Stopping PEPd.
test_bug_69197.sh: Starting PEPd.
0
---test_bug_69197.sh: TEST PASSED---
Fri Jul 1 10:49:55 CEST 2011



4.2.1.23: bug 69263
---------------------------
PEP_CTRL set to: argus-pepd
Running: test_bug_69263.sh
Fri Jul 1 10:49:55 CEST 2011
test_bug_69263.sh: Stopping PEPd.
#pips = WHITELIST_PIP GRIDAUTHZPROFILE_PIP
pips = REQVALIDATOR_PIP OPENSSLSUBJECT_PIP GLITEXACMLPROFILE_PIP
changed to:
## pips = WHITELIST_PIP GRIDAUTHZPROFILE_PIP
# pips = REQVALIDATOR_PIP OPENSSLSUBJECT_PIP GLITEXACMLPROFILE_PIP
test_bug_69263.sh: Starting PEPd.
test_bug_69263.sh: Stopping PEPd.
test_bug_69263.sh: Starting PEPd.
---test_bug_69263.sh: TEST PASSED---
Fri Jul 1 10:50:18 CEST 2011


4.2.2: Tests from Task 18586
---------------------------------------

4.2.2.1: https://savannah.cern.ch/bugs/?71796
--------------------------
Fri Jul 1 10:50:18 CEST 2011
---Test: add xacml_profileid to GSI PEP callout---
1) Nothing to test:
Nothing to test
OK
-------------------------------
---Test: add xacml_profileid to GSI PEP callout: TEST PASSED---
Fri Jul 1 10:50:18 CEST 2011


4.2.2.2: https://savannah.cern.ch/bugs/?75538
--------------------------
Fri Jul 1 10:50:18 CEST 2011
---Test: PAP changes bind IP using localhost---
1) Testing if port 8150 is listen on hostname
tcp        0      0 ullr.switch.ch:8150         *:*                         LISTEN      
OK
-------------------------------
2) Testing if port 8151 is listen on localhost
tcp        0      0 localhost.localdomain:8151  *:*                         LISTEN      
OK
-------------------------------
---Test: PAP changes bind IP using localhost: TEST PASSED---
Fri Jul 1 10:50:19 CEST 2011



4.2.2.3: https://savannah.cern.ch/bugs/?75860
--------------------------
Fri Jul 1 10:50:19 CEST 2011
---Test: XACML SOAP handler Error---
1) Testing if a correct error is produced
Connection closed by foreign host.

OK
-------------------------------
---Test: XACML SOAP handler Error: TEST PASSED---
Fri Jul 1 10:50:23 CEST 2011



4.2.2.4: https://savannah.cern.ch/bugs/?77429
--------------------------
Fri Jul 1 10:50:23 CEST 2011
---Test: PDP on missing Action or Resource---
1) Nothing to test:
This RFC is tested together with RFC 78414
OK
-------------------------------
---Test: PDP on missing Action or Resource: TEST PASSED---
Fri Jul 1 10:50:23 CEST 2011



4.2.2.5: https://savannah.cern.ch/bugs/?77522
--------------------------
Fri Jul 1 10:50:23 CEST 2011
---Test: Clean up PAP package---
1) Nothing to test:
This is packaging
OK
-------------------------------
---Test: Clean up PAP package: TEST PASSED---
Fri Jul 1 10:50:23 CEST 2011


4.2.2.6: https://savannah.cern.ch/bugs/?77524
--------------------------
Fri Jul 1 10:50:23 CEST 2011
---Test: [Argus] Log files format---
1) Nothing to test:
The log-file format should look like (date/time,message, ...)
Here is a line from the appropriate pap-logfile:
2011-04-19 05:48:57.454Z - INFO [DistributionModule] - Refresh cache thread done.
OK
-------------------------------
---Test: [Argus] Log files format: TEST PASSED---
Fri Jul 1 10:50:23 CEST 2011



4.2.2.7: https://savannah.cern.ch/bugs/?77525
--------------------------
Fri Jul 1 10:50:23 CEST 2011
---Test: thread-safe PEP client library---
1) Testing if pepcli is using the thread-save library
OK
-------------------------------
2) Testing if the right rpm is installed
OK
-------------------------------
---Test: thread-safe PEP client library: TEST PASSED---
Fri Jul 1 10:50:23 CEST 2011



4.2.2.8: https://savannah.cern.ch/bugs/?77527
--------------------------
Fri Jul 1 10:50:23 CEST 2011
---Test: oneline DN format---
1) a JUnit exists for that specific RFC, its output is:
---
Running org.glite.authz.pep.pip.provider.OpenSSLSubjectPIPTest
OpenSSL subject attribute IDs to convert: [http://glite.org/xacml/attribute/subject-issuer, urn:oasis:names:tc:xacml:1.0:subject:subject-id]
OpenSSL subject attribute datatypes to convert: [http://www.w3.org/2001/XMLSchema#string]
before: Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: http://glite.org/xacml/attribute/subject-issuer, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[/C=ch/O=SWITCH/OU=Grid/CN=Grid Root CA, /C=ch/O=SWITCH/OU=Grid/CN=Grid Issuing CA]}, Attribute{ id: urn:oasis:names:tc:xacml:1.0:subject:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[/C=ch/O=SWITCH/CN=Valery Tschopp]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: urn:oasis:names:tc:xacml:1.0:resource:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[switch]}]}], action: Action{ attributes:[Attribute{ id: urn:oasis:names:tc:xacml:1.0:action:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[switch]}]}, environment: null}
after: Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: http://glite.org/xacml/attribute/subject-issuer, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[/C=ch/O=SWITCH/OU=Grid/CN=Grid Root CA, /C=ch/O=SWITCH/OU=Grid/CN=Grid Issuing CA]}, Attribute{ id: urn:oasis:names:tc:xacml:1.0:subject:subject-id, dataType: urn:oasis:names:tc:xacml:1.0:data-type:x500Name, issuer: null, values:[CN=Valery Tschopp,O=SWITCH,C=ch]}, Attribute{ id: http://glite.org/xacml/attribute/subject-issuer, dataType: urn:oasis:names:tc:xacml:1.0:data-type:x500Name, issuer: null, values:[CN=Grid Issuing CA,OU=Grid,O=SWITCH,C=ch, CN=Grid Root CA,OU=Grid,O=SWITCH,C=ch]}, Attribute{ id: urn:oasis:names:tc:xacml:1.0:subject:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[/C=ch/O=SWITCH/CN=Valery Tschopp]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: urn:oasis:names:tc:xacml:1.0:resource:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[switch]}]}], action: Action{ attributes:[Attribute{ id: urn:oasis:names:tc:xacml:1.0:action:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[switch]}]}, environment: null}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec
---
OK
-------------------------------
---Test: oneline DN format: TEST PASSED---
Fri Jul 1 10:50:23 CEST 2011



4.2.2.9: https://savannah.cern.ch/bugs/?77528
--------------------------
Fri Jul 1 10:50:23 CEST 2011
---Test: OpenSSL PIP for DPM/LFC---
1) Nothing to test:
This RFC is tested together with RFC 77527
OK
-------------------------------
---Test: OpenSSL PIP for DPM/LFC: TEST PASSED---
Fri Jul 1 10:50:23 CEST 2011



4.2.2.10: https://savannah.cern.ch/bugs/?77532
----------------------------
Fri Jul 1 10:50:23 CEST 2011
---Test: Directory Structure---
1) testing if the proposed file-structure for PAP is given
OK
-------------------------------
2) testing if the proposed file-structure for PEP is given
OK
-------------------------------
3) testing if the proposed file-structure for PDP is given
OK
-------------------------------
---Test: Directory Structure: TEST PASSED---
Fri Jul 1 10:50:23 CEST 2011


4.2.2.11: https://savannah.cern.ch/bugs/?77584
----------------------------
Fri Jul 1 10:50:23 CEST 2011
---Test: PAP maven project as child of argus-parent---
1) Nothing to test:
Nothing to test
OK
-------------------------------
---Test: PAP maven project as child of argus-parent: TEST PASSED---
Fri Jul 1 10:50:23 CEST 2011


4.2.2.12: https://savannah.cern.ch/bugs/?77739
----------------------------
Fri Jul 1 10:50:23 CEST 2011
---Test: GSI PEP plugin thread-safe---
1) Testing if gsi dependency is set to the thread-save library
Repository EGI-trustanchors is listed more than once in the configuration
OK
-------------------------------
2) Testing if gsi provides is set to the thread-save library
Repository EGI-trustanchors is listed more than once in the configuration
OK
-------------------------------
---Test: GSI PEP plugin thread-safe: TEST PASSED---
Fri Jul 1 10:50:25 CEST 2011



4.2.2.13: https://savannah.cern.ch/bugs/?78414
----------------------------
Fri Jul 1 10:50:25 CEST 2011
---Test: PIP to validate request---
1) a JUnit exists for that specific RFC, its output is:
---
Running org.glite.authz.pep.pip.provider.RequestValidatorPIPTest
Request{ subjects:[], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[titi]}]}], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[toto]}]}, environment: null}
EXPECTED: AuthZ request does not contain any Subject
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[hello]}]}], resources:[], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[toto]}]}, environment: null}
EXPECTED: AuthZ request does not contain any Resource
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[hello]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[titi]}]}], action: null, environment: null}
EXPECTED: AuthZ request does not contain an Action
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[hello]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[titi]}]}], action: Action{ attributes:[]}, environment: null}
EXPECTED: AuthZ request Action without any attribute
Request{ subjects:[Subject{ category: null, attributes:[]}], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[titi]}]}], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[toto]}]}, environment: null}
EXPECTED: AuthZ request Subject without any attribute
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[hello]}]}], resources:[Resource{ content: null, attributes:[]}], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[toto]}]}, environment: null}
EXPECTED: AuthZ request Resource without any attribute
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[hello]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[titi]}]}], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[null, toto]}]}, environment: null}
EXPECTED: AuthZ request Action contains the attribute x-urn:junit:action-id with a null value
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[null, hello]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[titi]}]}], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[toto]}]}, environment: null}
EXPECTED: AuthZ request Subject contains the attribute x-urn:junit:subject-id with a null value
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[hello]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[null, titi]}]}], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[toto]}]}, environment: null}
EXPECTED: AuthZ request Resource contains the attribute x-urn:junit:resource-id with a null value
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[hello]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[titi]}]}], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[toto,  ]}]}, environment: null}
EXPECTED: AuthZ request Action contains the attribute x-urn:junit:action-id with an empty (stripped) value
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[, hello]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[titi]}]}], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[toto]}]}, environment: null}
EXPECTED: AuthZ request Subject contains the attribute x-urn:junit:subject-id with an empty (stripped) value
Request{ subjects:[Subject{ category: null, attributes:[Attribute{ id: x-urn:junit:subject-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[hello]}]}], resources:[Resource{ content: null, attributes:[Attribute{ id: x-urn:junit:resource-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[     , titi]}]}], action: Action{ attributes:[Attribute{ id: x-urn:junit:action-id, dataType: http://www.w3.org/2001/XMLSchema#string, issuer: null, values:[toto]}]}, environment: null}
EXPECTED: AuthZ request Resource contains the attribute x-urn:junit:resource-id with an empty (stripped) value
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec 
---
OK
-------------------------------
---Test: PIP to validate request: TEST PASSED---
Fri Jul 1 10:50:25 CEST 2011



4.2.2.14: https://savannah.cern.ch/bugs/?78751
----------------------------
Fri Jul 1 10:50:25 CEST 2011
---Test: first authz request after service start timeout---
1) Nothing to test:
Nothing to test
OK
-------------------------------
---Test: first authz request after service start timeout: TEST PASSED---
Fri Jul 1 10:50:25 CEST 2011



4.2.2.15: https://savannah.cern.ch/bugs/?78831
----------------------------
Fri Jul 1 10:50:25 CEST 2011
---Test: PEP: Indeterminate decision for processing error---
1) test allready done:
if test: org.glite.testsuites.ctb/Argus/tests/Patch_4367/test_bug_69197_7.sh correctly passed,
this was allready tested and worked
OK
-------------------------------
---Test: PEP: Indeterminate decision for processing error: TEST PASSED---
Fri Jul 1 10:50:25 CEST 2011



4.2.2.16: https://savannah.cern.ch/bugs/?79412
----------------------------
Fri Jul 1 10:50:25 CEST 2011
---Test: Problems with gridftp + argus---
1) Nothing to test:
This is a CREAM issue and was tested by CREAM
OK
-------------------------------
---Test: Problems with gridftp + argus: TEST PASSED---
Fri Jul 1 10:50:25 CEST 2011


4.2.2.17: https://savannah.cern.ch/bugs/?80510
----------------------------
Fri Jul 1 10:50:25 CEST 2011
---Test: pap.pid file location---
1) Testing if the pap.pid file is correctly written to /var/run/argus-pap.pid
OK
-------------------------------
---Test: pap.pid file location: TEST PASSED---
Fri Jul 1 10:50:25 CEST 2011



4.2.2.18: https://savannah.cern.ch/bugs/?80526
----------------------------
Fri Jul 1 10:50:25 CEST 2011
---Test: non alphabetic characters in pool accounts---
1) a JUnit exists for that specific RFC, its output is:
---
Running org.glite.authz.pep.obligation.dfpmap.GridMapDirPoolAccountManagerTest
------------testPoolAccountNamesPrefixed------------
accountNames(dteam): [dteam03, dteam02, dteam01]
checking: dteam03
checking: dteam02
checking: dteam01
------------testPoolAccountNamesPrefixes------------
accountNamePrefixes: [user2test, dteam, user1test, Z., dteamprod, lte-dteam, a_0a, aa, a, a-]
------------testPoolAccountNames------------
poolAccountNames: [user2test02, dteam03, user1test03, Z.01, dteamprod01, lte-dteam02, a_0a02, Z.02, aa01, Z.03, a_0a03, a02, a01, lte-dteam03, a-02, dteam02, a_0a01, user2test03, a03, user1test01, user2test01, lte-dteam01, a-01, aa02, dteamprod02, aa03, dteamprod03, user1test02, dteam01, a-03]
------------testCreateMapping------------
identifier '%2fcn%3djohn%20doe:dteam' mapped to: dteam03
------------testMapToAccountPoolDteam------------
principal 'CN=Robin' with prefix 'dteam' mapped to: dteam03
------------testMapToAccountPoolLTEDteam------------
principal 'CN=Batman' with prefix 'lte-dteam' mapped to: lte-dteam02
principal 'CN=Robin' with prefix 'lte-dteam' mapped to: lte-dteam03
04/18/11 00:46:50.220 INFO main [write] - principal 'CN=John Doe' with prefix 'lte-dteam' mapped to: lte-dteam01
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec 
---
OK
-------------------------------
---Test: non alphabetic characters in pool accounts: TEST PASSED---
Fri Jul 1 10:50:25 CEST 2011


4.2.3: Tests from Task 20989: https://savannah.cern.ch/task/?20989
---------------------------------------

4.2.3.1: RfC: https://savannah.cern.ch/bugs/?81738
--------------------------
Fri Jul 1 10:51:02 CEST 2011
---Test: argus-pap RPM upgrade overwrite pap-admin.properties---
1) See if the mentioned config file is properly declared in the rpm:
/etc/argus/pap/pap-admin.properties
yes it is!
---Test: argus-pap RPM upgrade overwrite pap-admin.properties TEST PASSED---
Fri Jul 1 10:51:02 CEST 2011



4.2.3.2: RfC: https://savannah.cern.ch/bugs/?82193
--------------------------
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ................................ Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ........................................................ Done

Your proxy is valid until Fri Jul  1 22:51:03 2011
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
rm: missing operand
Try `rm --help' for more information.
tar: Removing leading `/' from member names
/etc/grid-security/grid-mapfile
"/dteam/Role=NULL/Capability=NULL" .dteam
/etc/grid-security/groupmapfile
"/dteam/Role=NULL/Capability=NULL" dteam
"test_bug_82193.sh: Stopping PEPd."
"test_bug_82193.sh: Starting PEPd."
subject string=CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch
Fri Jul 1 10:51:36 CEST 2011
---Test: Pap-admin aace CN=.../... causes Pap-crash at restart---
1) test if Pap restart after a kerberized DN was added as acl:
-------------------------------
---Test: Pap-admin aace CN=.../... causes Pap-crash at restart---TEST PASSED
Fri Jul 1 10:52:17 CEST 2011


4.2.3.3: RfC: https://savannah.cern.ch/bugs/?83281
--------------------------
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy .................................................................................. Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ............................................................... Done

Your proxy is valid until Fri Jul  1 22:52:19 2011
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
rm: missing operand
Try `rm --help' for more information.
tar: Removing leading `/' from member names
/etc/grid-security/grid-mapfile
"/dteam/Role=NULL/Capability=NULL" .dteam
/etc/grid-security/groupmapfile
"/dteam/Role=NULL/Capability=NULL" dteam
"test_bug_83281.sh: Stopping PEPd."
"test_bug_83281.sh: Starting PEPd."
subject string=CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch
Fri Jul 1 10:52:54 CEST 2011
---Test: Argus renews timestamp of leases---
1) test if timestamp of lease in gridmapdir is altered:
Fri Jul 1 10:52:19 CEST 2011
Fri Jul 1 10:53:01 CEST 2011
Timestamp has indeed been altered
-------------------------------
---Test: Argus renews timestamp of leases TEST PASSED---
Fri Jul 1 10:53:01 CEST 2011



4.2.3.4: RfC: https://savannah.cern.ch/bugs/?83317
--------------------------
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ........................................................................................ Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ............................................................... Done

Your proxy is valid until Fri Jul  1 22:53:02 2011
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
tar: Removing leading `/' from member names
/etc/grid-security/grid-mapfile
"/dteam/Role=NULL/Capability=NULL" .dteam
/etc/grid-security/groupmapfile
"/dteam/Role=NULL/Capability=NULL" group
"/dteam/NGI_CH/Role=NULL/Capability=NULL" group2
"test_bug_83317.sh: Stopping PEPd."
"test_bug_83317.sh: Starting PEPd."
subject string=CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch
Fri Jul 1 10:53:35 CEST 2011
---Test: new pepd-flag encode or not secondary groups in leases---
1) test if pepd is writing the secondary group into the lease:
"test_bug_83317.sh: Stopping PEPd."
"test_bug_83317.sh: Starting PEPd."
"test_bug_83317.sh: Stopping PEPd."
"test_bug_83317.sh: Starting PEPd."
"test_bug_83317.sh: Stopping PEPd."
"test_bug_83317.sh: Starting PEPd."
-------------------------------
---Test: new pepd-flag encode or not secondary groups in leases TEST PASS---
Fri Jul 1 10:54:50 CEST 2011


4.2.3.5: RfC: https://savannah.cern.ch/bugs/?83419
--------------------------
Your identity: /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
Creating temporary proxy ............................. Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ............................................................................................ Done

Your proxy is valid until Fri Jul  1 22:54:52 2011
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
tar: Removing leading `/' from member names
/etc/grid-security/grid-mapfile
"/dteam/Role=NULL/Capability=NULL" .dteam
/etc/grid-security/groupmapfile
"/dteam/Role=NULL/Capability=NULL" DTEAM-Group
"test_bug_83419.sh: Stopping PEPd."
"test_bug_83419.sh: Starting PEPd."
subject string=CN=Joel Casutt D88E5396,O=SWITCH,DC=slcs,DC=switch,DC=ch
Fri Jul 1 10:55:24 CEST 2011
---Test: legacy LCAS/LCMAPS lease filename encoding---
1) test if groupnames containing capitals and/or hyphen are encoded the right way:
%2fdc%3dch%2fdc%3dswitch%2fdc%3dslcs%2fo%3dswitch%2fcn%3djoel%20casutt%20d88e5396:DTEAM-Group
-------------------------------
---Test: legacy LCAS/LCMAPS lease filename encoding TEST PASSED---
Fri Jul 1 10:55:25 CEST 2011



4.2.3.6: RfC: https://savannah.cern.ch/bugs/?83419 
--------------------------
Fri Jul 1 10:55:25 CEST 2011
---Test: Hyphen in CN --> Lease---
1) a JUnit exists for that specific RFC, its output is:
---
Subject: /DC=users/DC=Test/CN=John-John Doe
Encoded subject: %2fdc%3dusers%2fdc%3dtest%2fcn%3djohn%2djohn%20doe
TEST PASSED
---
OK
-------------------------------
---Test: Hyphen in CN --> Lease---
Fri Jul 1 10:55:25 CEST 2011


---------------End of System Test Summary ------------------
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2011-07-01 - ValeryTschoppExCern
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback