04/07/2011 11:26:43 - INFO - Start log file for test 20110704112643 04/07/2011 11:26:43 - INFO - Define a simple jdl 04/07/2011 11:26:43 - DEBUG - The saved jdl is: Executable = "/bin/hostname"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"}; ShallowRewtryCount = 3; 04/07/2011 11:26:43 - INFO - Define the configuration file 04/07/2011 11:26:43 - 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/07/2011 11:26:46 - INFO - Initializing proxy file with voms dteam, valid for 24:00 04/07/2011 11:26:47 - 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 Tue Jul 5 11:26:47 2011 verify OK 04/07/2011 11:26:47 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/proxy.file 04/07/2011 11:26:47 - INFO - Test delegation operation 04/07/2011 11:26:47 - INFO - Test 1: Check --autm-delegation option 04/07/2011 11:26:47 - INFO - Run command: glite-wms-job-delegate-proxy --autm-delegation -c /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf 04/07/2011 11:26:48 - 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: cjjhiwbTzvHrvsA-uJF2xg ========================================================================== 04/07/2011 11:26:48 - INFO - -> Command success 04/07/2011 11:26:48 - INFO - Delegation Id: cjjhiwbTzvHrvsA-uJF2xg 04/07/2011 11:26:48 - INFO - Verify the delegation 04/07/2011 11:26:48 - INFO - Run command: glite-wms-job-info -d cjjhiwbTzvHrvsA-uJF2xg --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf 04/07/2011 11:26:48 - 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 cjjhiwbTzvHrvsA-uJF2xg: 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 July 2011 - 11:21:48 Expiration : 05 July 2011 - 11:25:48 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=voms2.hellasgrid.gr URI : voms2.hellasgrid.gr:15004 Attribute : /dteam/Role=NULL/Capability=NULL Attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL StartTime : 04 July 2011 - 11:26:47 Expiration : 05 July 2011 - 11:26:47 Timeleft : 23 hours 59 min 59 sec ========================================================================== 04/07/2011 11:26:48 - INFO - -> Command success 04/07/2011 11:26:48 - INFO - Try a submit 04/07/2011 11:26:48 - INFO - Run command: glite-wms-job-submit -d cjjhiwbTzvHrvsA-uJF2xg --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/example.jdl 04/07/2011 11:26:49 - DEBUG - Command output: https://devel09.cnaf.infn.it:9000/xLUW26cc47IoMvuueeuxBA 04/07/2011 11:26:49 - INFO - -> Command success 04/07/2011 11:26:49 - INFO - Cancel the unused job 04/07/2011 11:26:49 - INFO - Run command: glite-wms-job-cancel --noint https://devel09.cnaf.infn.it:9000/xLUW26cc47IoMvuueeuxBA 04/07/2011 11:26:49 - 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://devel09.cnaf.infn.it:9000/xLUW26cc47IoMvuueeuxBA ======================================================================================== 04/07/2011 11:26:49 - INFO - -> Command success 04/07/2011 11:26:49 - INFO - TEST PASS 04/07/2011 11:26:49 - INFO - Test 2: Check --delegationid option 04/07/2011 11:26:49 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf --delegationid deleg-21468 04/07/2011 11:26:50 - 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-21468 ========================================================================== 04/07/2011 11:26:50 - INFO - -> Command success 04/07/2011 11:26:50 - INFO - Returned delegation Id:deleg-21468 04/07/2011 11:26:50 - INFO - Verify the delegation 04/07/2011 11:26:50 - INFO - Run command: glite-wms-job-info -d deleg-21468 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf 04/07/2011 11:26:50 - 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-21468: 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 July 2011 - 11:21:50 Expiration : 05 July 2011 - 11:25:50 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=voms2.hellasgrid.gr URI : voms2.hellasgrid.gr:15004 Attribute : /dteam/Role=NULL/Capability=NULL Attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL StartTime : 04 July 2011 - 11:26:47 Expiration : 05 July 2011 - 11:26:47 Timeleft : 23 hours 59 min 57 sec ========================================================================== 04/07/2011 11:26:50 - INFO - -> Command success 04/07/2011 11:26:50 - INFO - Try a submit 04/07/2011 11:26:50 - INFO - Run command: glite-wms-job-submit -d deleg-21468 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/example.jdl 04/07/2011 11:26:51 - DEBUG - Command output: https://devel09.cnaf.infn.it:9000/Wn47nymUscNyQyWasBEGOw 04/07/2011 11:26:51 - INFO - -> Command success 04/07/2011 11:26:51 - INFO - Cancel the unused job 04/07/2011 11:26:51 - INFO - Run command: glite-wms-job-cancel --noint https://devel09.cnaf.infn.it:9000/Wn47nymUscNyQyWasBEGOw 04/07/2011 11:26:51 - 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://devel09.cnaf.infn.it:9000/Wn47nymUscNyQyWasBEGOw ======================================================================================== 04/07/2011 11:26:51 - INFO - -> Command success 04/07/2011 11:26:51 - INFO - TEST PASS 04/07/2011 11:26:51 - INFO - Test 3: Try to delegate with a short proxy and check the validity 04/07/2011 11:26:51 - INFO - Initializing proxy file with voms dteam, valid for 00:10 04/07/2011 11:26:53 - 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 Mon Jul 4 11:36:53 2011 verify OK 04/07/2011 11:26:53 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/proxy.file 04/07/2011 11:26:53 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf -d deleg-21468 04/07/2011 11:26:53 - 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-21468 ========================================================================== 04/07/2011 11:26:53 - INFO - -> Command success 04/07/2011 11:26:53 - INFO - Check the delegation timeleft value 04/07/2011 11:26:53 - INFO - Run command: glite-wms-job-info -d deleg-21468 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf 04/07/2011 11:26:53 - 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-21468: 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 July 2011 - 11:21:53 Expiration : 04 July 2011 - 11:36:53 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 July 2011 - 11:26:53 Expiration : 04 July 2011 - 11:36:53 Timeleft : 10 min ========================================================================== 04/07/2011 11:26:53 - INFO - -> Command success 04/07/2011 11:26:53 - DEBUG - Delegation is valid for at most '10' 'min' 04/07/2011 11:26:53 - INFO - Verify the delegation 04/07/2011 11:26:53 - INFO - Run command: glite-wms-job-info -d deleg-21468 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf 04/07/2011 11:26:54 - 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-21468: 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 July 2011 - 11:21:53 Expiration : 04 July 2011 - 11:36:53 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 July 2011 - 11:26:53 Expiration : 04 July 2011 - 11:36:53 Timeleft : 09 min 59 sec ========================================================================== 04/07/2011 11:26:54 - INFO - -> Command success 04/07/2011 11:26:54 - INFO - Try a submit 04/07/2011 11:26:54 - INFO - Run command: glite-wms-job-submit -d deleg-21468 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/example.jdl 04/07/2011 11:26:54 - DEBUG - Command output: https://devel09.cnaf.infn.it:9000/4iO0IlIR2kuKvTKQGeMSDA 04/07/2011 11:26:54 - INFO - -> Command success 04/07/2011 11:26:54 - INFO - Cancel the unused job 04/07/2011 11:26:54 - INFO - Run command: glite-wms-job-cancel --noint https://devel09.cnaf.infn.it:9000/4iO0IlIR2kuKvTKQGeMSDA 04/07/2011 11:26:55 - 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://devel09.cnaf.infn.it:9000/4iO0IlIR2kuKvTKQGeMSDA ======================================================================================== 04/07/2011 11:26:55 - INFO - -> Command success 04/07/2011 11:26:55 - INFO - TEST PASS 04/07/2011 11:26:55 - INFO - Test 4: Works with expired proxy 04/07/2011 11:26:55 - INFO - Initializing proxy file with voms dteam, valid for 00:01 04/07/2011 11:26:56 - 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 Mon Jul 4 11:27:56 2011 verify OK 04/07/2011 11:26:56 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/proxy.file 04/07/2011 11:26:56 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf -d deleg-21468 04/07/2011 11:26:56 - 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-21468 ========================================================================== 04/07/2011 11:26:56 - INFO - -> Command success 04/07/2011 11:26:56 - INFO - Wait until proxy expired (60secs) 04/07/2011 11:27:56 - INFO - Try to delegate with an expired proxy 04/07/2011 11:27:56 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf --autm-delegation 04/07/2011 11:27:56 - DEBUG - Command output: Error - Proxy validity Error Your proxy credential has expired 04/07/2011 11:27:56 - INFO - -> Command successfully failed 04/07/2011 11:27:56 - INFO - Refresh the proxy 04/07/2011 11:27:56 - INFO - Initializing proxy file with voms dteam, valid for 24:00 04/07/2011 11:27:58 - 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 Tue Jul 5 11:27:58 2011 verify OK 04/07/2011 11:27:58 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/proxy.file 04/07/2011 11:27:58 - INFO - Check if the old delegation is expired 04/07/2011 11:27:58 - INFO - Run command: glite-wms-job-info --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf -d deleg-21468 | grep Timeleft 04/07/2011 11:27:58 - DEBUG - Command output: 04/07/2011 11:27:58 - INFO - -> Command successfully failed 04/07/2011 11:27:58 - INFO - Try to submit with an expired delegation 04/07/2011 11:27:58 - INFO - Run command: glite-wms-job-submit -d deleg-21468 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/example.jdl 04/07/2011 11:27:59 - 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/07/2011 11:27:59 - INFO - -> Command successfully failed 04/07/2011 11:27:59 - INFO - Check the output of the command 04/07/2011 11:27:59 - INFO - TEST PASS 04/07/2011 11:27:59 - INFO - Cleaning up /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643 ... 04/07/2011 11:27:59 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/output.txt... 04/07/2011 11:27:59 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/log.txt... 04/07/2011 11:27:59 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/job.id... 04/07/2011 11:27:59 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/example.jdl... 04/07/2011 11:27:59 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/wms.conf... 04/07/2011 11:27:59 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/file.tmp... 04/07/2011 11:27:59 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/jobOutput/std.out... 04/07/2011 11:27:59 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/jobOutput/std.err... 04/07/2011 11:27:59 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/jobOutput/out.txt... 04/07/2011 11:27:59 - DEBUG - Remove /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643/jobOutput directory ... 04/07/2011 11:27:59 - DEBUG - Remove /home/ale/wms_tests/WMS-service/WMSService-Test_20110704112643 directory ...