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

 - Component: ARGUS
 - Savannah task: https://savannah.cern.ch/task/?18586
 - ETICS Subsystem Configuration Name: emi-argus_R_1_3_0_6_EMI1
 - EMI Major Release: EMI-1
 - Platform: SL5/x86_64 
 - Author: Joel Casutt, John White
 - Date: 21-Apr-2011

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

1. Deployment log: 
   1.1. Clean Installation - PASS
   1.2. Upgrade Installation - NA 
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/EMI-1/rc4.repo

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

- YUM log: 
--------------------------------
Loaded plugins: kernel-module
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package emi-argus.x86_64 0:1.3.0-4.sl5 set to be updated
--> Processing Dependency: argus-pepcli for package: emi-argus
--> Processing Dependency: argus-pap 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.1-3.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.0-6.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.0-1.sl5 set to be updated
---> 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 glite-yaim-core.noarch 0:5.0.0-1.sl5 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.0-4.sl5                    EMI-1-RC4                    3.6 k
Installing for dependencies:
 argus-pap                            noarch                    1.3.1-3.sl5                    EMI-1-RC4                     14 M
 argus-pdp                            noarch                    1.3.0-5.sl5                    EMI-1-RC4                     16 M
 argus-pep-api-c                      x86_64                    2.0.2-1.sl5                    EMI-1-RC4                    135 k
 argus-pep-server                     noarch                    1.3.0-6.sl5                    EMI-1-RC4                     13 M
 argus-pepcli                         x86_64                    2.0.0-1.sl5                    EMI-1-RC4                     26 k
 emi-version                          x86_64                    1.0.0-1.sl5                    EMI-1-RC4                    2.0 k
 glite-yaim-core                      noarch                    5.0.0-1.sl5                    EMI-1-RC4                    119 k
 yaim-argus_server                    noarch                    1.3.0-2.sl5                    EMI-1-RC4                    9.7 k

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

Total download size: 43 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): emi-version-1.0.0-1.sl5.x86_64.rpm                                                                  | 2.0 kB     00:00     
(2/9): emi-argus-1.3.0-4.sl5.x86_64.rpm                                                                    | 3.6 kB     00:00     
(3/9): yaim-argus_server-1.3.0-2.sl5.noarch.rpm                                                            | 9.7 kB     00:00     
(4/9): argus-pepcli-2.0.0-1.sl5.x86_64.rpm                                                                 |  26 kB     00:00     
(5/9): glite-yaim-core-5.0.0-1.sl5.noarch.rpm                                                              | 119 kB     00:00     
(6/9): argus-pep-api-c-2.0.2-1.sl5.x86_64.rpm                                                              | 135 kB     00:00     
(7/9): argus-pep-server-1.3.0-6.sl5.noarch.rpm                                                             |  13 MB     00:00     
(8/9): argus-pap-1.3.1-3.sl5.noarch.rpm                                                                    |  14 MB     00:01     
(9/9): argus-pdp-1.3.0-5.sl5.noarch.rpm                                                                    |  16 MB     00:01     
----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                             9.8 MB/s |  43 MB     00:04     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : argus-pep-api-c                                                                                            1/9 
  Installing     : argus-pepcli                                                                                               2/9 
  Installing     : emi-version                                                                                                3/9 
  Installing     : glite-yaim-core                                                                                            4/9 
  Installing     : yaim-argus_server                                                                                          5/9 
  Installing     : argus-pdp                                                                                                  6/9 
  Installing     : argus-pep-server                                                                                           7/9 
  Installing     : argus-pap                                                                                                  8/9 
  Installing     : emi-argus                                                                                                  9/9 

Installed:
  emi-argus.x86_64 0:1.3.0-4.sl5                                                                                                  

Dependency Installed:
  argus-pap.noarch 0:1.3.1-3.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.0-6.sl5      argus-pepcli.x86_64 0:2.0.0-1.sl5           emi-version.x86_64 0:1.0.0-1.sl5         
  glite-yaim-core.noarch 0:5.0.0-1.sl5       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:
yum install java
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=loki.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=loki.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

--------------------------------
WARNING: 
   WARNING: *****************************************************************************
   WARNING: Your siteinfo directory is world readable. This is generally a bad idea      
   WARNING: as configuration files may contain passwords and other sensitive information.
   WARNING: *****************************************************************************
   WARNING: 
   INFO: Using site configuration file: site-info.def
   INFO: Sourcing service specific configuration file: ./services/glite-argus_server
   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: /opt/glite/yaim/examples/siteinfo
         site-info.def date: Apr 20 08:16 site-info.def
         yaim command: -c -s site-info.def -n ARGUS_server
         log file: /opt/glite/yaim/bin/../log/yaimlog
         Wed Apr 20 10:07:48 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...
   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
--------------------------------
Not Applicable since there is no former Version

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. I sent a mail to the developer to check this.

4.1.2: test-PAP-FUNC2.sh
-----------------------------------
Wed Apr 20 10:14:50 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---


4.1.3: test-list-policies.sh
--------------------------------- 
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:16:58 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---
Wed Apr 20 10:17:26 CEST 2011


4.1.4: test-ban-unban.sh
---------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:17:30 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---
Wed Apr 20 10:17:42 CEST 2011


4.1.5: test-ban-unban-fqan.sh
---------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:17:42 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---
Wed Apr 20 10:17:55 CEST 2011


4.1.6: test-remove-all-policies.sh
-------------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:17:59 CEST 2011
---Test-Remove-All-Policies---
1) testing remove all policies 
OK
---Test-Remove-All-Polices: TEST PASSED---
Wed Apr 20 10:18:19 CEST 2011


4.1.7: test-remove-policies.sh
---------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:18:23 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=cdf15aca-36e9-4641-b0b1-6cd72bfb225f
OK
3) testing removal with action id
ID=public-21153508-1a6d-4ae0-a73e-ba5192fce1cb
OK
4) testing removal with rule id
ID=81bc3754-9c22-4837-adbd-4ede443dc940
OK
5) testing removal with multiple rules
ID=a250c7b5-6156-44dd-928b-2a52afe92e33
c8b56015-da1d-43bc-b9b6-22bea1c81aab
b4a99862-b582-4c86-b00c-51b8e17cd6ec
OK
6) testing removal with multiple rules and one wrong
ID=1fcf6853-6448-44bb-a74a-c25e1b7f2d58
1e3401bb-1329-4c18-86b0-7389ab5e68a8
46a8f911-926c-4e4a-9646-517917d12447
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: 1fcf6853-6448-44bb-a74a-c25e1b7f2d58
OK
---Test-Remove-Polices: TEST PASSED---
Wed Apr 20 10:20:38 CEST 2011


4.1.8: test-policy-from-file.sh
--------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:20:42 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---
Wed Apr 20 10:21:03 CEST 2011


4.1.9: test-upp-from-file.sh
-----------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:21:07 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=39cae7ee-1e3f-47cf-b83b-98b0ab0663a0
OK
4) testing upf with changing only an action 
ID=public-7892c347-075a-4cb4-9b74-3b08dee88849
OK
---Test-Update-Policy-From-File: TEST PASSED---
Wed Apr 20 10:21:48 CEST 2011


4.1.10: add-remove-localpap.sh
------------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:21:48 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---
Wed Apr 20 10:22:15 CEST 2011


4.1.11: en-disable-pap.sh
---------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:22:15 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---
Wed Apr 20 10:23:06 CEST 2011


4.1.12: pap-ping.sh
--------------------------
AP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:23:06 CEST 2011
---Test-PAP-Ping---
1) test PAP ping
Contacting PAP at "https://loki.switch.ch:8150/pap/services/"... ok (PAP version: 1.3.1)
OK
---Test-PAP-Ping: TEST PASSED---
Wed Apr 20 10:23:10 CEST 2011


4.1.13: refresh-cache.sh
--------------------------------
AP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:23:10 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---
Wed Apr 20 10:23:18 CEST 2011


4.1.14: set-get-pap-orders.sh
--------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:23:18 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---
Wed Apr 20 10:23:56 CEST 2011


4.1.15: set-get-poll-interval.sh
---------------------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:23:56 CEST 2011
---Test-Set/Get-Poll-Interval---
1) Setting polling time
OK
2) Retrieving polling time
OK
---Test-Set/Get-Poll-Interval: TEST PASSED---
Wed Apr 20 10:24:04 CEST 2011


4.1.16: test-authz.sh
---------------------------
** This test did not passed in the automated run, however in a second manual run it passed**
output of the manual run:
Wed Apr 20 11:10:56 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---
Wed Apr 20 11:12:01 CEST 2011


4.1.17: PDP: test-configuration.sh
---------------------------------------------
PDP_CTRL set to: argus-pdp
Argus
Wed Apr 20 11:14:50 CEST 2011
---Test-PDP-Configuration---
1) testing pdp status
OK
---Test-PDP-Configuration: TEST PASSED---
Wed Apr 20 11:14:51 CEST 2011


4.1.18: PEP: test-configuration.sh
---------------------------------------------
PEP_CTRL set to: argus-pepd
PEP_INFO set to: Argus PEP Server
Wed Apr 20 10:25:16 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---
Wed Apr 20 10:25:49 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
Wed Apr 20 10:25:56 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---
Wed Apr 20 10:26:39 CEST 2011


4.2.1.2: bug 63180
-------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:26:44 CEST 2011
---test_bug_63180.sh: TEST PASSED---
Wed Apr 20 10:27:11 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
Wed Apr 20 10:27:11 CEST 2011
test_bug_64340.sh: Stopping PEPd.
test_bug_64340.sh: Starting PEPd.

default (local):

id=d8af4bb3-2acc-436e-b514-6d22b96aed7a
resource "resource_1" {
    obligation "http://glite.org/xacml/obligation/local-environment-map" {
    }

    id=public_e877c0d7-40cb-4521-83c0-6ceaa5cb5aab
    action "testwerfer" {
        rule permit { subject="CN=loki.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---
Wed Apr 20 10:27:50 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---
Wed Apr 20 10:28:02 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: TEST PASSED---
Wed Apr 20 10:28:12 CEST 2011


4.2.1.6: bug 66669
-------------------------
PAP_CTRL set to: /etc/rc.d/init.d/argus-pap
Wed Apr 20 10:28:17 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---
Wed Apr 20 10:28:40 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
Wed Apr 20 10:28:40 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 6e52d97a-4249-4da3-acf4-96ccea67ec66 http://glite.org/xacml/obligation/local-environment-map
---test_bug_68595.sh: TEST PASSED---
Wed Apr 20 10:29:38 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
Wed Apr 20 10:29:38 CEST 2011
---test_bug_68599.sh: TEST PASSED---
Wed Apr 20 10:30:24 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
Wed Apr 20 10:30:24 CEST 2011
\/DC=com\/DC=quovadisglobal\/DC=grid\/DC=switch\/DC=hosts\/C=CH\/ST=Zuerich\/L=Zuerich\/O=SWITCH\/CN=loki.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
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 Thu Apr 21 03:33:09 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_1.sh
Wed Apr 20 15:33:09 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---
Wed Apr 20 15:33:41 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 Thu Apr 21 03:33:43 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_2.sh
Wed Apr 20 15:33:43 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 = true
test_bug_69197_2.sh: Stopping PEPd.
test_bug_69197_2.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: dteam026
Group: testing
Secondary Groups: testing dteam
---------------------------------------
---test_bug_69197_2.sh: TEST PASSED---
Wed Apr 20 15:34:15 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 Thu Apr 21 03:34:16 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_3.sh
Wed Apr 20 15:34:16 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 = false
test_bug_69197_3.sh: Stopping PEPd.
test_bug_69197_3.sh: Starting PEPd.
test_bug_69197_3.sh.out: Testing with certificate/key.
---------------------------------------
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
---------------------------------------
test_bug_69197_3.sh: Group found.
test_bug_69197_3.sh.out: Testing with proxy file.
---------------------------------------
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 testing
---------------------------------------
---test_bug_69197_3.sh: TEST PASSED---
Wed Apr 20 15:34:49 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 Thu Apr 21 03:34:50 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_4.sh
Wed Apr 20 15:34:50 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
test_bug_69197_4.sh: Stopping PEPd.
test_bug_69197_4.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
---------------------------------------
testing
---------------------------------------
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 testing
---------------------------------------
---test_bug_69197_4.sh: TEST PASSED---
Wed Apr 20 15:35:22 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 Thu Apr 21 03:35:57 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_5.sh
Wed Apr 20 15:35:57 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---
Wed Apr 20 15:36:30 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 Thu Apr 21 03:35:24 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_5a.sh
Wed Apr 20 15:35:24 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---
Wed Apr 20 15:35:56 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 Thu Apr 21 03:37:05 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_6.sh
Wed Apr 20 15:37:05 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=2a2900ed-a22a-445a-bfba-3cc491baeec1
resource "resource_1" {
    obligation "http://glite.org/xacml/obligation/local-environment-map" {
    }

    id=public_45566880-978f-4db2-b13b-a607d5973e5b
    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://loki.switch.ch:8154/authz
libargus-pep:ERROR: pep_authorize: PEP#0 sending XACML request failed: curl[58] problem with the local SSL certificate.
pepcli:ERROR: failed to authorize XACML request: CURL processing error
---------------------------------------
pepcli: pepd: https://loki.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
---------------------------------------


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 Thu Apr 21 03:36:31 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_6a.sh
Wed Apr 20 15:36:31 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: dteam010
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_6a.sh: TEST PASSED---
Wed Apr 20 15:37:03 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 Thu Apr 21 03:38:05 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_7.sh
Wed Apr 20 15:38:05 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---
Wed Apr 20 15:38:37 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 Thu Apr 21 03:37:31 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_7a.sh
Wed Apr 20 15:37:31 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---
Wed Apr 20 15:38:03 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 Thu Apr 21 03:39:12 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_8.sh
Wed Apr 20 15:39: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
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: dteam010
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_8.sh: TEST PASSED---
Wed Apr 20 15:39:44 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 Thu Apr 21 03:38:38 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197_8a.sh
Wed Apr 20 15:38:38 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: dteam010
Group: dteam
Secondary Groups: dteam
---------------------------------------
---test_bug_69197_8a.sh: TEST PASSED---
Wed Apr 20 15:39:10 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 Thu Apr 21 03:39:45 2011
voms-proxy-info -fqan
/dteam/Role=NULL/Capability=NULL
/dteam/NGI_CH/Role=NULL/Capability=NULL
Running: test_bug_69197.sh
Wed Apr 20 15:39:45 CEST 2011
 subject string = /DC=ch/DC=switch/DC=slcs/O=SWITCH/CN=Joel Casutt D88E5396
rm: cannot remove `/etc/grid-security/gridmapdir/*loki.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.
A PAP is running, but no pid file found! Will recreate the pid file
PAP already running...
Error restarting pap process!
rm: cannot remove `/etc/grid-security/gridmapdir/*loki.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---
Wed Apr 20 15:40:44 CEST 2011


4.2.1.23: bug 69263
---------------------------
PEP_CTRL set to: argus-pepd
Running: test_bug_69263.sh
Wed Apr 20 10:37:33 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---
Wed Apr 20 10:37:55 CEST 2011



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

4.2.2.1: https://savannah.cern.ch/bugs/?71796
--------------------------
ed Apr 20 10:37:55 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---
Wed Apr 20 10:37:55 CEST 2011


4.2.2.2: https://savannah.cern.ch/bugs/?75538
--------------------------
ed Apr 20 10:37:56 CEST 2011
---Test: PAP changes bind IP using localhost---
1) Testing if port 8150 is listen on hostname
tcp        0      0 loki.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---
Wed Apr 20 10:37:56 CEST 2011


4.2.2.3: https://savannah.cern.ch/bugs/?75860
--------------------------
Wed Apr 20 10:37:56 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---
Wed Apr 20 10:38:00 CEST 2011


4.2.2.4: https://savannah.cern.ch/bugs/?77429
--------------------------
Wed Apr 20 10:38:00 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---
Wed Apr 20 10:38:00 CEST 2011


4.2.2.5: https://savannah.cern.ch/bugs/?77522
--------------------------
ed Apr 20 10:38:00 CEST 2011
---Test: Clean up PAP package---
1) Nothing to test:
This is packaging
OK
-------------------------------
---Test: Clean up PAP package: TEST PASSED---
Wed Apr 20 10:38:00 CEST 2011


4.2.2.6: https://savannah.cern.ch/bugs/?77524
--------------------------
Wed Apr 20 10:38:00 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---
Wed Apr 20 10:38:00 CEST 2011


4.2.2.7: https://savannah.cern.ch/bugs/?77525
--------------------------
Wed Apr 20 10:38:00 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---
Wed Apr 20 10:38:01 CEST 2011


4.2.2.8: https://savannah.cern.ch/bugs/?77527
--------------------------
Wed Apr 20 10:38:01 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---
Wed Apr 20 10:38:01 CEST 2011


4.2.2.9: https://savannah.cern.ch/bugs/?77528
--------------------------
Wed Apr 20 10:38:01 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---
Wed Apr 20 10:38:01 CEST 2011


4.2.2.10: https://savannah.cern.ch/bugs/?77532
----------------------------
Wed Apr 20 10:38:01 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---
Wed Apr 20 10:38:01 CEST 2011


4.2.2.11: https://savannah.cern.ch/bugs/?77584
----------------------------
Wed Apr 20 10:38:01 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---
Wed Apr 20 10:38:01 CEST 2011


4.2.2.12: https://savannah.cern.ch/bugs/?77739
----------------------------
Wed Apr 20 10:38:01 CEST 2011
---Test: GSI PEP plugin thread-safe---
1) Testing if gsi dependency is set to the thread-save library
OK
-------------------------------
2) Testing if gsi provides is set to the thread-save library
OK
-------------------------------
---Test: GSI PEP plugin thread-safe: TEST PASSED---
Wed Apr 20 10:38:03 CEST 2011


4.2.2.13: https://savannah.cern.ch/bugs/?78414
----------------------------
Wed Apr 20 10:38:03 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---
Wed Apr 20 10:38:03 CEST 2011


4.2.2.14: https://savannah.cern.ch/bugs/?78751
----------------------------
Wed Apr 20 10:38:03 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---
Wed Apr 20 10:38:03 CEST 2011


4.2.2.15: https://savannah.cern.ch/bugs/?78831
----------------------------
Wed Apr 20 10:38:03 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---
Wed Apr 20 10:38:03 CEST 2011


4.2.2.16: https://savannah.cern.ch/bugs/?79412
----------------------------
Wed Apr 20 10:38:03 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---
Wed Apr 20 10:38:03 CEST 2011


4.2.2.17: https://savannah.cern.ch/bugs/?80510
----------------------------
Wed Apr 20 14:36: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---
Wed Apr 20 14:36:25 CEST 2011


4.2.2.18: https://savannah.cern.ch/bugs/?80526
----------------------------
Wed Apr 20 10:38:03 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---
Wed Apr 20 10:38:03 CEST 2011

---------------End of System Test Summary ------------------


-- JoelCasutt - 19-Apr-2011
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2011-04-21 - unknown
 
    • 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