Difference: WMSTask21060SL5 (25 vs. 26)

Revision 262012-09-13 - FabioCapannini

Line: 1 to 1
 
META TOPICPARENT name="WMSTask21060"

WMS v. 3.4 test report

Line: 1526 to 1526
 

Proxy renewal - WAITING

The myproxyserver (emitb2.ics.muni.cz) has to be configured in order to allow proxy renewal from the machine hosting the WMS. If this has not been previously done contact valtri@civ.zcu.cz.
Added:
>
>
It is necessary to clean the proxies from ice and proxyreneal:

[root@emi-demo11 siteinfo]# /etc/init.d/glite-wms-ice stop
stopping ICE... ok
[root@emi-demo11 siteinfo]# rm -rf /var/ice/persist_dir/*
[root@emi-demo11 siteinfo]# /etc/init.d/glite-wms-ice start
[root@emi-demo11 siteinfo]# rm -f /var/glite/spool/glite-renewd/*

then

Setting MYPROXYSERVER=emitb2.ics.muni.cz in wms-command.conf

[capannini@cert-17 WMS-service]$ voms-proxy-init --voms dteam
Enter GRID pass phrase:
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini
Creating temporary proxy ....................................... Done
Contacting  voms2.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms2.hellasgrid.gr] "dteam" Done
Creating proxy .......................... Done

Your proxy is valid until Thu Sep 13 22:50:49 2012

[capannini@cert-17 WMS-service]$ myproxy-init -s emitb2.ics.muni.cz -d -n
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini
Enter GRID pass phrase for this identity:
Creating proxy ............................. Done
Proxy Verify OK
Your proxy is valid until: Thu Sep 20 10:51:05 2012
A proxy valid for 168 hours (7.0 days) for user /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini now exists on emitb2.ics.muni.cz.

[capannini@cert-17 WMS-service]$ python WMS-proxy-renewal.py -c wms-command.conf -V dteam -d 3 -l  -i
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: WMS test proxy renewal operation 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

Enter the user proxy password:

 Test 1: Test proxy renewal with LCG CE 


 Test 2: Test proxy renewal with CREAM CE 


 Test 3: Test proxy renewal with LCG CE (without setting MYPROXYSERVER) 

===> 
===> Test: WMS-proxy-renewal.py
===> WMS: cert-13.cnaf.infn.it
===> Started: 16:50:37
===> Ended  : 18:38:13
===> 
===>   *** Warning: Interrupted by user *** 
===> 
===> 
===> Test log file is WMSService-TS_20120913165037.log

 

Limiter mechanism - MOSTLY PASSED (SAME FAILURES AS IN EMI1)

Some of the tests fail. They have been excluded from the certification as they need further checking.
Line: 1568 to 1627
 
Added:
>
>

Job purge - PASSED

[capannini@cert-17 WMS-service]$ python WMS-check-purger.py -c wms-command.conf -V dteam -d 3 -l -t 1,2,3,4,5
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: WMS Purge Mechanism 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 1: Test purge , normal job cycle ( Submit to LCG CE ) 


 Test 2: Test purge, normal job cycle ( Submit to CREAM CE ) 


 Test 3: Test proxy cache purging 


 Test 4: SandBoxDir cron purger ( Submit a job and force its purge before it finishes ) 


 Test 5: SandBoxDir cron purger ( Purge a DONE job ) 

===> 
===> Test: WMS-check-purger.py
===> WMS: cert-13.cnaf.infn.it
===> Started: 17:10:57
===> Ended  : 17:47:25
===> 
===>     >>> TEST FAILED <<<
===> 
===>  >>> failure reason: 1 test(s) fail(s): ['Test 3: Test proxy cache purging'] <<< 
===> 
===> Test log file is WMSService-TS_20120913171057.log
===> Error messages have been written in /home/capannini/WMS-Test-Suite/WMS-service/WMSService-Test_20120913171057/errors.log
===> 
===>  Test directory /home/capannini/WMS-Test-Suite/WMS-service/WMSService-Test_20120913171057 has not been cleaned for debug purpose

[capannini@cert-17 WMS-service]$ python WMS-check-purger.py -c wms-command.conf -V dteam -d 3 -l -t 3
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: WMS Purge Mechanism 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 3: Test proxy cache purging 

===> 
===> Test: WMS-check-purger.py
===> WMS: cert-13.cnaf.infn.it
===> Started: 18:01:39
===> Ended  : 18:01:53
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120913180139.log
- Purge only jobs older than 12 hours:
[root@cert-13 ~]# su - glite
-bash-3.2$ find /var/SandboxDir/ -maxdepth 2 -type d -cmin +720
/var/SandboxDir/fB/https_3a_2f_2fcert-13.cnaf.infn.it_3a9000_2ffBlHdqaKz_5fXP8QiQ2LYEdQ

Try to purge:
-bash-3.2$ /usr/sbin/glite-wms-purgeStorage.sh -p /var/SandboxDir/fB -t 43200
13 Sep, 18:07:04 -I: [Info] operator()(purger.cpp:359): https://cert-13.cnaf.infn.it:9000/fBlHdqaKz_XP8QiQ2LYEdQ: 3/3 nodes removed
13 Sep, 18:07:04 -I: [Info] operator()(purger.cpp:371): https://cert-13.cnaf.infn.it:9000/fBlHdqaKz_XP8QiQ2LYEdQ: removed ABORTED dag 
-bash-3.2$ ls -l /var/SandboxDir/fB
total 0

Find some directories that should not be purged:

-bash-3.2$ find /var/SandboxDir/ -maxdepth 2 -type d -cmin -240
/var/SandboxDir/lV/https_3a_2f_2fcert-13.cnaf.infn.it_3a9000_2flVpIECmODh6MLWkgxnQSWg
-bash-3.2$ /usr/sbin/glite-wms-purgeStorage.sh -p /var/SandboxDir/lV -t 43200
-bash-3.2$ 
-bash-3.2$ ls -l /var/SandboxDir/lV
total 4
drwxrwx--- 5 dteam023 glite 4096 Sep 13 14:30 https_3a_2f_2fcert-13.cnaf.infn.it_3a9000_2flVpIECmODh6MLWkgxnQSWg

===> Test PASSED

- Purge a job whose proxy is already expired

-bash-3.2$ openssl x509 -in /var/SandboxDir/qI/https_3a_2f_2fcert-13.cnaf.infn.it_3a9000_2fqIgvmTSwOLRTtlh2f4wS3w/user.proxy -noout -dates
notBefore=Sep 12 12:39:31 2012 GMT
notAfter=Sep 13 12:38:31 2012 GMT

[capannini@cert-17 WMS-service]$ glite-wms-job-status https://cert-13.cnaf.infn.it:9000/qIgvmTSwOLRTtlh2f4wS3w


======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:

Status info for the Job : https://cert-13.cnaf.infn.it:9000/qIgvmTSwOLRTtlh2f4wS3w
Current Status:     Done (Success)
Exit code:          0
Submitted:          Wed Sep 12 14:44:32 2012 CEST
==========================================================================

- Nodes information for: 
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/7XuugKoJCFVuMoc9IP8rUg
    Current Status:     Done (Success)
    Logged Reason(s):
        - job completed
        - Job Terminated Successfully
    Exit code:          0
    Status Reason:      Job Terminated Successfully
    Destination:        cream-20.pd.infn.it:8443/cream-lsf-creamcert2
    Submitted:          Wed Sep 12 14:44:32 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/Z-51Q0If9svoVLcrZUMdxw
    Current Status:     Done (Success)
    Logged Reason(s):
        - job completed
        - Job Terminated Successfully
    Exit code:          0
    Status Reason:      Job Terminated Successfully
    Destination:        cream-22.pd.infn.it:8443/cream-lsf-cert
    Submitted:          Wed Sep 12 14:44:32 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/f5YLP0g4Q4T3LND9rWZuDQ
    Current Status:     Done (Success)
    Logged Reason(s):
        - job completed
        - Job Terminated Successfully
    Exit code:          0
    Status Reason:      Job Terminated Successfully
    Destination:        cream-22.pd.infn.it:8443/cream-lsf-cert
    Submitted:          Wed Sep 12 14:44:32 2012 CEST
==========================================================================

Try to purge:

-bash-3.2$ /usr/sbin/glite-wms-purgeStorage.sh -p /var/SandboxDir/qI -s
13 Sep, 18:14:25 -I: [Info] operator()(purger.cpp:359): https://cert-13.cnaf.infn.it:9000/qIgvmTSwOLRTtlh2f4wS3w: 3/3 nodes removed
13 Sep, 18:14:25 -I: [Info] operator()(purger.cpp:371): https://cert-13.cnaf.infn.it:9000/qIgvmTSwOLRTtlh2f4wS3w: removed DONE dag 

[capannini@cert-17 WMS-service]$ glite-wms-job-status https://cert-13.cnaf.infn.it:9000/qIgvmTSwOLRTtlh2f4wS3w


======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:

Status info for the Job : https://cert-13.cnaf.infn.it:9000/qIgvmTSwOLRTtlh2f4wS3w
Current Status:     Cleared 
Submitted:          Wed Sep 12 14:44:32 2012 CEST
==========================================================================

- Nodes information for: 
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/7XuugKoJCFVuMoc9IP8rUg
    Current Status:     Cleared 
    Status Reason:      timed out, resource purge forced
    Destination:        cream-20.pd.infn.it:8443/cream-lsf-creamcert2
    Submitted:          Wed Sep 12 14:44:32 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/Z-51Q0If9svoVLcrZUMdxw
    Current Status:     Cleared 
    Status Reason:      timed out, resource purge forced
    Destination:        cream-22.pd.infn.it:8443/cream-lsf-cert
    Submitted:          Wed Sep 12 14:44:32 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/f5YLP0g4Q4T3LND9rWZuDQ
    Current Status:     Cleared 
    Status Reason:      timed out, resource purge forced
    Destination:        cream-22.pd.infn.it:8443/cream-lsf-cert
    Submitted:          Wed Sep 12 14:44:32 2012 CEST
==========================================================================

===> Test PASSED

- Purge a dag job

[capannini@cert-17 dag]$ glite-wms-job-submit -a -c ~/wms_cert-13.conf dag.jdl 

Connecting to the service https://cert-13.cnaf.infn.it:7443/glite_wms_wmproxy_server


====================== glite-wms-job-submit Success ======================

The job has been successfully submitted to the WMProxy
Your job identifier is:

https://cert-13.cnaf.infn.it:9000/yOrQP1vSfpn0u4BvZ4H99g

==========================================================================

[capannini@cert-17 dag]$ glite-wms-job-status https://cert-13.cnaf.infn.it:9000/yOrQP1vSfpn0u4BvZ4H99g


======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:

Status info for the Job : https://cert-13.cnaf.infn.it:9000/yOrQP1vSfpn0u4BvZ4H99g
Current Status:     Running 
Destination:        dagman
Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================

- Nodes information for: 
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/1iezDtfnVhDA7BhvIbSB-A
    Current Status:     Submitted 
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/4TZsR-GgfbTsiLz0Fk-KxA
    Current Status:     Submitted 
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/8fhIDD_3wY3OXI0qlDdDcQ
    Current Status:     Submitted 
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/AXqc30ITnnuZ4wERXa0hAw
    Current Status:     Scheduled 
    Status Reason:      unavailable
    Destination:        ce01.oats.inaf.it:8443/cream-pbs-dteam
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/FO4ENta9_VilKmbcO4ZUuw
    Current Status:     Submitted 
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================

-bash-3.2$ /usr/sbin/glite-wms-purgeStorage.sh -p /var/SandboxDir/yO -s
13 Sep, 18:20:14 -I: [Info] operator()(purger.cpp:359): https://cert-13.cnaf.infn.it:9000/yOrQP1vSfpn0u4BvZ4H99g: 5/5 nodes removed
13 Sep, 18:20:14 -I: [Info] operator()(purger.cpp:371): https://cert-13.cnaf.infn.it:9000/yOrQP1vSfpn0u4BvZ4H99g: removed RUNNING dag 
13 Sep, 18:20:14 -I: [Info] operator()(purger.cpp:452): https://cert-13.cnaf.infn.it:9000/yOCQWaS6hBp0ARJ1AU_Y5g: removed DONE job

[capannini@cert-17 dag]$ glite-wms-job-status https://cert-13.cnaf.infn.it:9000/yOrQP1vSfpn0u4BvZ4H99g


======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:

Status info for the Job : https://cert-13.cnaf.infn.it:9000/yOrQP1vSfpn0u4BvZ4H99g
Current Status:     Cleared 
Status Reason:      timed out, resource purge forced
Destination:        dagman
Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================

- Nodes information for: 
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/1iezDtfnVhDA7BhvIbSB-A
    Current Status:     Cleared 
    Status Reason:      timed out, resource purge forced
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/4TZsR-GgfbTsiLz0Fk-KxA
    Current Status:     Cleared 
    Status Reason:      timed out, resource purge forced
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/8fhIDD_3wY3OXI0qlDdDcQ
    Current Status:     Cleared 
    Status Reason:      timed out, resource purge forced
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/AXqc30ITnnuZ4wERXa0hAw
    Current Status:     Cleared 
    Status Reason:      timed out, resource purge forced
    Destination:        ce01.oats.inaf.it:8443/cream-pbs-dteam
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================
    
    Status info for the Job : https://cert-13.cnaf.infn.it:9000/FO4ENta9_VilKmbcO4ZUuw
    Current Status:     Cleared 
    Status Reason:      timed out, resource purge forced
    Submitted:          Thu Sep 13 18:18:43 2012 CEST
==========================================================================

===> Test PASSED
 

Configuration file - PASSED

Line: 1694 to 2037
 
META FILEATTACHMENT attachment="resub.tgz" attr="" comment="" date="1347444942" name="resub.tgz" path="resub.tgz" size="3937" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="cancel.tgz" attr="" comment="" date="1347460666" name="cancel.tgz" path="cancel.tgz" size="11560" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSService-TS_20120913151318.log" attr="" comment="" date="1347542291" name="WMSService-TS_20120913151318.log" path="WMSService-TS_20120913151318.log" size="30457" user="FabioCapannini" version="1"
Added:
>
>
META FILEATTACHMENT attachment="purge.tgz" attr="" comment="" date="1347552285" name="purge.tgz" path="purge.tgz" size="10061" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSService-TS_20120913165037.log" attr="" comment="" date="1347554414" name="WMSService-TS_20120913165037.log" path="WMSService-TS_20120913165037.log" size="161721" user="FabioCapannini" version="1"
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback