19/07/2011 17:21:39 - INFO - Start log file for test 20110719172139 19/07/2011 17:21:39 - INFO - Define a simple jdl 19/07/2011 17:21:39 - DEBUG - The saved jdl is: Executable = "/bin/hostname"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"}; ShallowRetryCount = 3; 19/07/2011 17:21:39 - INFO - Define the configuration file 19/07/2011 17:21:39 - 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 == "Testing" ; Rank = -other.GlueCEStateEstimatedResponseTime; SignificantAttributes = { "Requirements","Rank" }; ] ] 19/07/2011 17:21:42 - INFO - Initializing proxy file with voms dteam, valid for 24:00 19/07/2011 17:21:44 - 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 Wed Jul 20 17:21:44 2011 verify OK 19/07/2011 17:21:44 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/proxy.file 19/07/2011 17:21:44 - INFO - Test delegation operation 19/07/2011 17:21:44 - INFO - Test 1: Check --autm-delegation option 19/07/2011 17:21:44 - INFO - Run command: glite-wms-job-delegate-proxy --autm-delegation -c /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf 19/07/2011 17:21:44 - 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: mlXDsiRwBXBKPa-8O2ewGA ========================================================================== 19/07/2011 17:21:44 - INFO - -> Command success 19/07/2011 17:21:44 - INFO - Delegation Id: mlXDsiRwBXBKPa-8O2ewGA 19/07/2011 17:21:44 - INFO - Verify the delegation 19/07/2011 17:21:44 - INFO - Run command: glite-wms-job-info -d mlXDsiRwBXBKPa-8O2ewGA --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf 19/07/2011 17:21:45 - 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 mlXDsiRwBXBKPa-8O2ewGA: 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 : 19 July 2011 - 17:16:44 Expiration : 20 July 2011 - 17:21:44 Timeleft : 23 hours 59 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 : 19 July 2011 - 17:21:44 Expiration : 20 July 2011 - 17:21:44 Timeleft : 23 hours 59 min 59 sec ========================================================================== 19/07/2011 17:21:45 - INFO - -> Command success 19/07/2011 17:21:45 - INFO - Try a submit 19/07/2011 17:21:45 - INFO - Run command: glite-wms-job-submit -d mlXDsiRwBXBKPa-8O2ewGA --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/example.jdl 19/07/2011 17:21:46 - DEBUG - Command output: https://devel11.cnaf.infn.it:9000/VRQpd3zY_zTaEmk3AO3ZZQ 19/07/2011 17:21:46 - INFO - -> Command success 19/07/2011 17:21:46 - INFO - Cancel the unused job 19/07/2011 17:21:46 - INFO - Run command: glite-wms-job-cancel --noint https://devel11.cnaf.infn.it:9000/VRQpd3zY_zTaEmk3AO3ZZQ 19/07/2011 17:21:46 - 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/VRQpd3zY_zTaEmk3AO3ZZQ ======================================================================================== 19/07/2011 17:21:46 - INFO - -> Command success 19/07/2011 17:21:46 - INFO - TEST PASS. 19/07/2011 17:21:46 - INFO - Test 2: Check --delegationid option 19/07/2011 17:21:46 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf --delegationid deleg-8895 19/07/2011 17:21:46 - 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-8895 ========================================================================== 19/07/2011 17:21:46 - INFO - -> Command success 19/07/2011 17:21:46 - INFO - Returned delegation Id:deleg-8895 19/07/2011 17:21:46 - INFO - Verify the delegation 19/07/2011 17:21:46 - INFO - Run command: glite-wms-job-info -d deleg-8895 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf 19/07/2011 17:21:47 - 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-8895: 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 : 19 July 2011 - 17:16:46 Expiration : 20 July 2011 - 17:20:46 Timeleft : 23 hours 58 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 : 19 July 2011 - 17:21:44 Expiration : 20 July 2011 - 17:21:44 Timeleft : 23 hours 59 min 57 sec ========================================================================== 19/07/2011 17:21:47 - INFO - -> Command success 19/07/2011 17:21:47 - INFO - Try a submit 19/07/2011 17:21:47 - INFO - Run command: glite-wms-job-submit -d deleg-8895 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/example.jdl 19/07/2011 17:21:48 - DEBUG - Command output: https://devel11.cnaf.infn.it:9000/kyemFJ_gOiWD0XNgxGCO4A 19/07/2011 17:21:48 - INFO - -> Command success 19/07/2011 17:21:48 - INFO - Cancel the unused job 19/07/2011 17:21:48 - INFO - Run command: glite-wms-job-cancel --noint https://devel11.cnaf.infn.it:9000/kyemFJ_gOiWD0XNgxGCO4A 19/07/2011 17:21:48 - 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/kyemFJ_gOiWD0XNgxGCO4A ======================================================================================== 19/07/2011 17:21:48 - INFO - -> Command success 19/07/2011 17:21:48 - INFO - TEST PASS 19/07/2011 17:21:48 - INFO - Test 3: Try to delegate with a short proxy and check the validity 19/07/2011 17:21:48 - INFO - Initializing proxy file with voms dteam, valid for 00:10 19/07/2011 17:21:49 - 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 19 17:31:49 2011 verify OK 19/07/2011 17:21:49 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/proxy.file 19/07/2011 17:21:49 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf -d deleg-8895 19/07/2011 17:21:49 - 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-8895 ========================================================================== 19/07/2011 17:21:50 - INFO - -> Command success 19/07/2011 17:21:50 - INFO - Check the delegation timeleft value 19/07/2011 17:21:50 - INFO - Run command: glite-wms-job-info -d deleg-8895 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf 19/07/2011 17:21: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-8895: 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 : 19 July 2011 - 17:16:49 Expiration : 19 July 2011 - 17:31:49 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=voms2.hellasgrid.gr URI : voms2.hellasgrid.gr:15004 Attribute : /dteam/Role=NULL/Capability=NULL Attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL StartTime : 19 July 2011 - 17:21:49 Expiration : 19 July 2011 - 17:31:49 Timeleft : 09 min 59 sec ========================================================================== 19/07/2011 17:21:50 - INFO - -> Command success 19/07/2011 17:21:50 - DEBUG - Delegation is valid for at most '09' 'min' 19/07/2011 17:21:50 - INFO - Verify the delegation 19/07/2011 17:21:50 - INFO - Run command: glite-wms-job-info -d deleg-8895 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf 19/07/2011 17:21: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-8895: 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 : 19 July 2011 - 17:16:49 Expiration : 19 July 2011 - 17:31:49 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=voms2.hellasgrid.gr URI : voms2.hellasgrid.gr:15004 Attribute : /dteam/Role=NULL/Capability=NULL Attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL StartTime : 19 July 2011 - 17:21:49 Expiration : 19 July 2011 - 17:31:49 Timeleft : 09 min 59 sec ========================================================================== 19/07/2011 17:21:50 - INFO - -> Command success 19/07/2011 17:21:50 - INFO - Try a submit 19/07/2011 17:21:50 - INFO - Run command: glite-wms-job-submit -d deleg-8895 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/example.jdl 19/07/2011 17:21:51 - DEBUG - Command output: https://devel11.cnaf.infn.it:9000/cuVbQldonN-IJon7mA-rvA 19/07/2011 17:21:51 - INFO - -> Command success 19/07/2011 17:21:51 - INFO - Cancel the unused job 19/07/2011 17:21:51 - INFO - Run command: glite-wms-job-cancel --noint https://devel11.cnaf.infn.it:9000/cuVbQldonN-IJon7mA-rvA 19/07/2011 17:21: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://devel11.cnaf.infn.it:9000/cuVbQldonN-IJon7mA-rvA ======================================================================================== 19/07/2011 17:21:51 - INFO - -> Command success 19/07/2011 17:21:51 - INFO - TEST PASS 19/07/2011 17:21:51 - INFO - Test 4: Works with expired proxy 19/07/2011 17:21:51 - INFO - Initializing proxy file with voms dteam, valid for 00:01 19/07/2011 17:21:52 - 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 19 17:22:52 2011 verify OK 19/07/2011 17:21:52 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/proxy.file 19/07/2011 17:21:52 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf -d deleg-8895 19/07/2011 17:21: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-8895 ========================================================================== 19/07/2011 17:21:53 - INFO - -> Command success 19/07/2011 17:21:53 - INFO - Wait until proxy expired (60secs) 19/07/2011 17:22:53 - INFO - Try to delegate with an expired proxy 19/07/2011 17:22:53 - INFO - Run command: glite-wms-job-delegate-proxy --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf --autm-delegation 19/07/2011 17:22:53 - DEBUG - Command output: Error - Proxy validity Error Your proxy credential has expired 19/07/2011 17:22:53 - INFO - -> Command successfully failed 19/07/2011 17:22:53 - INFO - Refresh the proxy 19/07/2011 17:22:53 - INFO - Initializing proxy file with voms dteam, valid for 24:00 19/07/2011 17:22:54 - 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 Wed Jul 20 17:22:54 2011 verify OK 19/07/2011 17:22:54 - INFO - Set environment variable X509_USER_PROXY to /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/proxy.file 19/07/2011 17:22:54 - INFO - Check if the old delegation is expired 19/07/2011 17:22:54 - INFO - Run command: glite-wms-job-info --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf -d deleg-8895 | grep Timeleft 19/07/2011 17:22:54 - DEBUG - Command output: 19/07/2011 17:22:54 - INFO - -> Command successfully failed 19/07/2011 17:22:54 - INFO - Try to submit with an expired delegation 19/07/2011 17:22:54 - INFO - Run command: glite-wms-job-submit -d deleg-8895 --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/example.jdl 19/07/2011 17:22:55 - 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 19/07/2011 17:22:55 - INFO - -> Command successfully failed 19/07/2011 17:22:55 - INFO - Check the output of the command 19/07/2011 17:22:55 - INFO - TEST PASS 19/07/2011 17:22:55 - INFO - Cleaning up /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139 ... 19/07/2011 17:22:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/output.txt... 19/07/2011 17:22:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/log.txt... 19/07/2011 17:22:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/job.id... 19/07/2011 17:22:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/example.jdl... 19/07/2011 17:22:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/wms.conf... 19/07/2011 17:22:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/file.tmp... 19/07/2011 17:22:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/jobOutput/std.out... 19/07/2011 17:22:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/jobOutput/std.err... 19/07/2011 17:22:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/jobOutput/out.txt... 19/07/2011 17:22:55 - DEBUG - Remove /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139/jobOutput directory ... 19/07/2011 17:22:55 - DEBUG - Remove /home/ale/wms_tests/WMS-service/WMSService-Test_20110719172139 directory ...