04/08/2011 10:10:17 - INFO - Start log file for test 20110804101017 04/08/2011 10:10:17 - INFO - Define a simple jdl 04/08/2011 10:10:17 - DEBUG - The saved jdl is: Executable = "/bin/hostname"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"}; ShallowRetryCount = 3; 04/08/2011 10:10:17 - INFO - Define the configuration file 04/08/2011 10:10:17 - DEBUG - The saved configuration file is: [ WMProxyEndPoints = {"https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server"}; LBAddresses= {"devel11.cnaf.infn.it"}; jdlDefaultAttributes = [ VirtualOrganisation = "dteam"; Requirements = other.GlueCEStateStatus == "Production" ; Rank = -other.GlueCEStateEstimatedResponseTime; SignificantAttributes = { "Requirements","Rank" }; ] ] 04/08/2011 10:10:19 - INFO - Initializing proxy file with voms dteam, valid for 24:00 04/08/2011 10:10:21 - DEBUG - voms-proxy-init output: Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle 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 Aug 5 10:10:21 2011 verify OK 04/08/2011 10:10:21 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/proxy.file 04/08/2011 10:10:21 - INFO - Test delegation operation 04/08/2011 10:10:21 - INFO - Test 1: Check --autm-delegation option 04/08/2011 10:10:21 - INFO - Run command: glite-wms-job-delegate-proxy --autm-delegation -c /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf 04/08/2011 10:10:21 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ================== glite-wms-job-delegate-proxy Success ================== Your proxy has been successfully delegated to the WMProxy(s): https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server with the delegation identifier: YubNkduULAaciPoF7WJy0Q ========================================================================== 04/08/2011 10:10:21 - INFO - -> Command success 04/08/2011 10:10:21 - INFO - Delegation Id: YubNkduULAaciPoF7WJy0Q 04/08/2011 10:10:21 - INFO - Verify the delegation 04/08/2011 10:10:21 - INFO - Run command: glite-wms-job-info -d YubNkduULAaciPoF7WJy0Q --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf 04/08/2011 10:10:21 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ======================= glite-wms-job-info Success ======================= Your proxy delegated to the endpoint https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server with delegationID YubNkduULAaciPoF7WJy0Q: Subject : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy/CN=proxy Issuer : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy Identity : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy Type : proxy Strength : 512 StartDate : 04 Aug 2011 - 10:05:21 Expiration : 05 Aug 2011 - 10:10:21 Timeleft : 1 days === VO dteam extension information === VO : dteam Subject : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle Issuer : /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr URI : voms.hellasgrid.gr:15004 Attribute : /dteam/Role=NULL/Capability=NULL Attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL StartTime : 04 Aug 2011 - 10:10:20 Expiration : 05 Aug 2011 - 10:10:20 Timeleft : 23 hours 59 min 59 sec ========================================================================== 04/08/2011 10:10:21 - INFO - -> Command success 04/08/2011 10:10:21 - INFO - Try a submit 04/08/2011 10:10:21 - INFO - Run command: glite-wms-job-submit -d YubNkduULAaciPoF7WJy0Q --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/example.jdl 04/08/2011 10:10:22 - DEBUG - Command output: https://devel11.cnaf.infn.it:9000/k0q5JWZxEG22Oh5w0PmF7A 04/08/2011 10:10:22 - INFO - -> Command success 04/08/2011 10:10:22 - INFO - Cancel the unused job 04/08/2011 10:10:22 - INFO - Run command: glite-wms-job-cancel --noint https://devel11.cnaf.infn.it:9000/k0q5JWZxEG22Oh5w0PmF7A 04/08/2011 10:10:23 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ============================= glite-wms-job-cancel Success ============================= The cancellation request has been successfully submitted for the following job(s): - https://devel11.cnaf.infn.it:9000/k0q5JWZxEG22Oh5w0PmF7A ======================================================================================== 04/08/2011 10:10:23 - INFO - -> Command success 04/08/2011 10:10:23 - INFO - TEST PASS. 04/08/2011 10:10:23 - INFO - Test 2: Check --delegationid option 04/08/2011 10:10:23 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf --delegationid deleg-16271 04/08/2011 10:10:23 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ================== glite-wms-job-delegate-proxy Success ================== Your proxy has been successfully delegated to the WMProxy(s): https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server with the delegation identifier: deleg-16271 ========================================================================== 04/08/2011 10:10:23 - INFO - -> Command success 04/08/2011 10:10:23 - INFO - Returned delegation Id:deleg-16271 04/08/2011 10:10:23 - INFO - Verify the delegation 04/08/2011 10:10:23 - INFO - Run command: glite-wms-job-info -d deleg-16271 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf 04/08/2011 10:10:23 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ======================= glite-wms-job-info Success ======================= Your proxy delegated to the endpoint https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server with delegationID deleg-16271: Subject : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy/CN=proxy Issuer : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy Identity : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy Type : proxy Strength : 512 StartDate : 04 Aug 2011 - 10:05:23 Expiration : 05 Aug 2011 - 10:09:23 Timeleft : 23 hours 59 min === VO dteam extension information === VO : dteam Subject : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle Issuer : /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr URI : voms.hellasgrid.gr:15004 Attribute : /dteam/Role=NULL/Capability=NULL Attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL StartTime : 04 Aug 2011 - 10:10:20 Expiration : 05 Aug 2011 - 10:10:20 Timeleft : 23 hours 59 min 57 sec ========================================================================== 04/08/2011 10:10:23 - INFO - -> Command success 04/08/2011 10:10:23 - INFO - Try a submit 04/08/2011 10:10:23 - INFO - Run command: glite-wms-job-submit -d deleg-16271 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/example.jdl 04/08/2011 10:10:25 - DEBUG - Command output: https://devel11.cnaf.infn.it:9000/wlKtZN49kvjPRa2QGLMHTQ 04/08/2011 10:10:25 - INFO - -> Command success 04/08/2011 10:10:25 - INFO - Cancel the unused job 04/08/2011 10:10:25 - INFO - Run command: glite-wms-job-cancel --noint https://devel11.cnaf.infn.it:9000/wlKtZN49kvjPRa2QGLMHTQ 04/08/2011 10:10:25 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ============================= glite-wms-job-cancel Success ============================= The cancellation request has been successfully submitted for the following job(s): - https://devel11.cnaf.infn.it:9000/wlKtZN49kvjPRa2QGLMHTQ ======================================================================================== 04/08/2011 10:10:25 - INFO - -> Command success 04/08/2011 10:10:25 - INFO - TEST PASS 04/08/2011 10:10:25 - INFO - Test 3: Try to delegate with a short proxy and check the validity 04/08/2011 10:10:25 - INFO - Initializing proxy file with voms dteam, valid for 00:10 04/08/2011 10:10:26 - DEBUG - voms-proxy-init output: Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle 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 Aug 4 10:20:26 2011 verify OK 04/08/2011 10:10:26 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/proxy.file 04/08/2011 10:10:26 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf -d deleg-16271 04/08/2011 10:10:26 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ================== glite-wms-job-delegate-proxy Success ================== Your proxy has been successfully delegated to the WMProxy(s): https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server with the delegation identifier: deleg-16271 ========================================================================== 04/08/2011 10:10:26 - INFO - -> Command success 04/08/2011 10:10:26 - INFO - Check the delegation timeleft value 04/08/2011 10:10:26 - INFO - Run command: glite-wms-job-info -d deleg-16271 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf 04/08/2011 10:10:26 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ======================= glite-wms-job-info Success ======================= Your proxy delegated to the endpoint https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server with delegationID deleg-16271: Subject : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy/CN=proxy Issuer : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy Identity : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy Type : proxy Strength : 512 StartDate : 04 Aug 2011 - 10:05:26 Expiration : 04 Aug 2011 - 10:20:26 Timeleft : 10 min === VO dteam extension information === VO : dteam Subject : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle Issuer : /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr URI : voms.hellasgrid.gr:15004 Attribute : /dteam/Role=NULL/Capability=NULL Attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL StartTime : 04 Aug 2011 - 10:10:26 Expiration : 04 Aug 2011 - 10:20:26 Timeleft : 10 min ========================================================================== 04/08/2011 10:10:26 - INFO - -> Command success 04/08/2011 10:10:26 - DEBUG - Delegation is valid for at most '10' 'min' 04/08/2011 10:10:26 - INFO - Verify the delegation 04/08/2011 10:10:26 - INFO - Run command: glite-wms-job-info -d deleg-16271 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf 04/08/2011 10:10:27 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ======================= glite-wms-job-info Success ======================= Your proxy delegated to the endpoint https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server with delegationID deleg-16271: Subject : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy/CN=proxy Issuer : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy Identity : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy Type : proxy Strength : 512 StartDate : 04 Aug 2011 - 10:05:26 Expiration : 04 Aug 2011 - 10:20:26 Timeleft : 09 min 59 sec === VO dteam extension information === VO : dteam Subject : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle Issuer : /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr URI : voms.hellasgrid.gr:15004 Attribute : /dteam/Role=NULL/Capability=NULL Attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL StartTime : 04 Aug 2011 - 10:10:26 Expiration : 04 Aug 2011 - 10:20:26 Timeleft : 09 min 59 sec ========================================================================== 04/08/2011 10:10:27 - INFO - -> Command success 04/08/2011 10:10:27 - INFO - Try a submit 04/08/2011 10:10:27 - INFO - Run command: glite-wms-job-submit -d deleg-16271 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/example.jdl 04/08/2011 10:10:28 - DEBUG - Command output: https://devel11.cnaf.infn.it:9000/fr685Wk4zUon4IWjSkX_ug 04/08/2011 10:10:28 - INFO - -> Command success 04/08/2011 10:10:28 - INFO - Cancel the unused job 04/08/2011 10:10:28 - INFO - Run command: glite-wms-job-cancel --noint https://devel11.cnaf.infn.it:9000/fr685Wk4zUon4IWjSkX_ug 04/08/2011 10:10:28 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ============================= glite-wms-job-cancel Success ============================= The cancellation request has been successfully submitted for the following job(s): - https://devel11.cnaf.infn.it:9000/fr685Wk4zUon4IWjSkX_ug ======================================================================================== 04/08/2011 10:10:28 - INFO - -> Command success 04/08/2011 10:10:28 - INFO - TEST PASS 04/08/2011 10:10:28 - INFO - Test 4: Works with expired proxy 04/08/2011 10:10:28 - INFO - Initializing proxy file with voms dteam, valid for 00:01 04/08/2011 10:10:29 - DEBUG - voms-proxy-init output: Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle 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 Aug 4 10:11:29 2011 verify OK 04/08/2011 10:10:29 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/proxy.file 04/08/2011 10:10:29 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf -d deleg-16271 04/08/2011 10:10:29 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server ================== glite-wms-job-delegate-proxy Success ================== Your proxy has been successfully delegated to the WMProxy(s): https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server with the delegation identifier: deleg-16271 ========================================================================== 04/08/2011 10:10:29 - INFO - -> Command success 04/08/2011 10:10:29 - INFO - Wait until proxy expired (60secs) 04/08/2011 10:11:29 - INFO - Try to delegate with an expired proxy 04/08/2011 10:11:29 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf --autm-delegation 04/08/2011 10:11:29 - DEBUG - Command output: Error - Proxy validity Error Your proxy credential has expired 04/08/2011 10:11:29 - INFO - -> Command successfully failed 04/08/2011 10:11:29 - INFO - Refresh the proxy 04/08/2011 10:11:29 - INFO - Initializing proxy file with voms dteam, valid for 24:00 04/08/2011 10:11:31 - DEBUG - voms-proxy-init output: Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle 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 Fri Aug 5 10:11:31 2011 verify OK 04/08/2011 10:11:31 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/proxy.file 04/08/2011 10:11:31 - INFO - Check if the old delegation is expired 04/08/2011 10:11:31 - INFO - Run command: glite-wms-job-info --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf -d deleg-16271 | grep Timeleft 04/08/2011 10:11:31 - DEBUG - Command output: 04/08/2011 10:11:31 - INFO - -> Command successfully failed 04/08/2011 10:11:31 - INFO - Try to submit with an expired delegation 04/08/2011 10:11:31 - INFO - Run command: glite-wms-job-submit -d deleg-16271 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/example.jdl 04/08/2011 10:11:32 - DEBUG - Command output: Connecting to the service https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server Warning - Unable to submit the job to the service: https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server Proxy exception: The delegated Proxy has expired Method: jobSubmit Error - Operation failed Unable to find any endpoint where to perform service request 04/08/2011 10:11:32 - INFO - -> Command successfully failed 04/08/2011 10:11:32 - INFO - Check the output of the command 04/08/2011 10:11:32 - INFO - TEST PASS 04/08/2011 10:11:32 - INFO - Cleaning up /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017 ... 04/08/2011 10:11:32 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/output.txt... 04/08/2011 10:11:32 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/log.txt... 04/08/2011 10:11:32 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/job.id... 04/08/2011 10:11:32 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/example.jdl... 04/08/2011 10:11:32 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/wms.conf... 04/08/2011 10:11:32 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/file.tmp... 04/08/2011 10:11:32 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/jobOutput/std.out... 04/08/2011 10:11:32 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/jobOutput/std.err... 04/08/2011 10:11:32 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/jobOutput/out.txt... 04/08/2011 10:11:32 - DEBUG - Remove /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017/jobOutput directory ... 04/08/2011 10:11:32 - DEBUG - Remove /home/ale/wms_tests/WMS-service/WMSService-Test_20110804101017 directory ...