06/07/2011 11:16:52 - INFO - Start log file for test 20110706111652 06/07/2011 11:16:52 - INFO - Define a simple jdl 06/07/2011 11:16:52 - DEBUG - The saved jdl is: Executable = "/bin/hostname"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"}; ShallowRetryCount = 3; 06/07/2011 11:16:52 - INFO - Define the configuration file 06/07/2011 11:16:52 - 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" }; ] ] 06/07/2011 11:16:52 - INFO - Test a complete job cycle: from submission to get output 06/07/2011 11:16:52 - INFO - Set 5: Submit a MPI job (3 cases LCG-CE, CREAM, general) 06/07/2011 11:16:52 - INFO - Test 5A: Submit to an LCG-CE 06/07/2011 11:16:52 - INFO - Define a jdl for mpi job and extract required files from openmpi.tar.gz 06/07/2011 11:16:52 - INFO - Run command: tar xf openmpi.tar.gz -C /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652 06/07/2011 11:16:52 - DEBUG - Command output: 06/07/2011 11:16:52 - INFO - -> Command success 06/07/2011 11:16:52 - DEBUG - The saved jdl is: CpuNumber=1; Executable = "openmpi-wrapper.sh"; Arguments="hello"; StdOutput = "hello.out"; StdError = "hello.err"; OutputSandbox = {"hello.out","hello.err"}; InputSandbox = {"/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/openmpi-wrapper.sh","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/hello.c","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/Makefile"}; Requirements = Member ("OPENMPI",other.GlueHostApplicationSoftwareRunTimeEnvironment); 06/07/2011 11:16:52 - INFO - Add the attribute Requirements=Member ("OPENMPI",other.GlueHostApplicationSoftwareRunTimeEnvironment) && RegExp("2119/jobmanager",other.GlueCEUniqueID); to jdl 06/07/2011 11:16:52 - DEBUG - The new saved jdl is: CpuNumber=1; Executable = "openmpi-wrapper.sh"; Arguments="hello"; StdOutput = "hello.out"; StdError = "hello.err"; OutputSandbox = {"hello.out","hello.err"}; InputSandbox = {"/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/openmpi-wrapper.sh","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/hello.c","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/Makefile"}; Requirements = Member ("OPENMPI",other.GlueHostApplicationSoftwareRunTimeEnvironment); Requirements=Member ("OPENMPI",other.GlueHostApplicationSoftwareRunTimeEnvironment) && RegExp("2119/jobmanager",other.GlueCEUniqueID);; 06/07/2011 11:16:52 - INFO - Submit MPI job 06/07/2011 11:16:52 - INFO - Run command: glite-wms-job-submit -a --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/example.jdl 06/07/2011 11:16:55 - DEBUG - Command output: https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ 06/07/2011 11:16:55 - INFO - -> Command success 06/07/2011 11:16:55 - INFO - Job submitted successfuly. Returned JOBID: https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ 06/07/2011 11:16:55 - DEBUG - Wait 60 secs before check job 06/07/2011 11:17:55 - INFO - Check if it match correct CEs 06/07/2011 11:17:55 - INFO - Matchmaking is ok , now wait job to finish 06/07/2011 11:17:55 - INFO - Wait until job https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ finishes ... 06/07/2011 11:17:55 - INFO - Iterating 120 times and each time wait for 30 secs 06/07/2011 11:17:55 - INFO - Check job's status... 06/07/2011 11:17:55 - INFO - Run command: glite-wms-job-status --verbosity 0 https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ 06/07/2011 11:17:55 - DEBUG - Command output: ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ Current Status: Done (Success) ========================================================================== 06/07/2011 11:17:55 - INFO - -> Command success 06/07/2011 11:17:55 - INFO - Job https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ status is Done (Success) 06/07/2011 11:17:55 - INFO - The status of the job https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ is: Done (Success) 06/07/2011 11:17:55 - INFO - Try to get the output of the MPI job 06/07/2011 11:17:55 - INFO - Check job's status... 06/07/2011 11:17:55 - INFO - Run command: glite-wms-job-status --verbosity 0 https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ 06/07/2011 11:17:55 - DEBUG - Command output: ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ Current Status: Done (Success) ========================================================================== 06/07/2011 11:17:55 - INFO - -> Command success 06/07/2011 11:17:55 - INFO - Job https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ status is Done (Success) 06/07/2011 11:17:55 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/file.tmp... 06/07/2011 11:17:55 - INFO - Retrieve the output 06/07/2011 11:17:55 - INFO - Run command: glite-wms-job-output --nosubdir --noint --dir /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/jobOutput https://devel11.cnaf.infn.it:9000/2DakF8S65hE_FxDSwE6DcQ >> /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/file.tmp 06/07/2011 11:17:58 - DEBUG - Command output: Warning - option --nosubdir specified: output files with same name will be overridden Warning - Directory already exists: /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/jobOutput 06/07/2011 11:17:58 - INFO - -> Command success 06/07/2011 11:17:58 - INFO - Check if the output files are correctly retrieved 06/07/2011 11:17:58 - INFO - Output files are correctly retrieved 06/07/2011 11:17:58 - DEBUG - Clean job output directory 06/07/2011 11:17:58 - INFO - Test 5B: Submit to a CREAM CE 06/07/2011 11:17:58 - INFO - Define a jdl for mpi job and extract required files from openmpi.tar.gz 06/07/2011 11:17:58 - INFO - Run command: tar xf openmpi.tar.gz -C /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652 06/07/2011 11:17:58 - DEBUG - Command output: 06/07/2011 11:17:58 - INFO - -> Command success 06/07/2011 11:17:58 - DEBUG - The saved jdl is: CpuNumber=1; Executable = "openmpi-wrapper.sh"; Arguments="hello"; StdOutput = "hello.out"; StdError = "hello.err"; OutputSandbox = {"hello.out","hello.err"}; InputSandbox = {"/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/openmpi-wrapper.sh","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/hello.c","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/Makefile"}; Requirements = Member ("OPENMPI",other.GlueHostApplicationSoftwareRunTimeEnvironment); 06/07/2011 11:17:58 - INFO - Add the attribute Requirements=Member ("OPENMPI",other.GlueHostApplicationSoftwareRunTimeEnvironment) && RegExp("/cream-",other.GlueCEUniqueID); to jdl 06/07/2011 11:17:58 - DEBUG - The new saved jdl is: CpuNumber=1; Executable = "openmpi-wrapper.sh"; Arguments="hello"; StdOutput = "hello.out"; StdError = "hello.err"; OutputSandbox = {"hello.out","hello.err"}; InputSandbox = {"/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/openmpi-wrapper.sh","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/hello.c","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/Makefile"}; Requirements = Member ("OPENMPI",other.GlueHostApplicationSoftwareRunTimeEnvironment); Requirements=Member ("OPENMPI",other.GlueHostApplicationSoftwareRunTimeEnvironment) && RegExp("/cream-",other.GlueCEUniqueID);; 06/07/2011 11:17:58 - INFO - Submit MPI job 06/07/2011 11:17:58 - INFO - Run command: glite-wms-job-submit -a --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/example.jdl 06/07/2011 11:18:00 - DEBUG - Command output: https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg 06/07/2011 11:18:00 - INFO - -> Command success 06/07/2011 11:18:00 - INFO - Job submitted successfuly. Returned JOBID: https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg 06/07/2011 11:18:00 - DEBUG - Wait 60 secs before check job 06/07/2011 11:19:00 - INFO - Check if it match correct CEs 06/07/2011 11:19:01 - INFO - Matchmaking is ok , now wait job to finish 06/07/2011 11:19:01 - INFO - Wait until job https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg finishes ... 06/07/2011 11:19:01 - INFO - Iterating 120 times and each time wait for 30 secs 06/07/2011 11:19:01 - INFO - Check job's status... 06/07/2011 11:19:01 - INFO - Run command: glite-wms-job-status --verbosity 0 https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg 06/07/2011 11:19:01 - DEBUG - Command output: ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg Current Status: Done (Exit Code !=0) ========================================================================== 06/07/2011 11:19:01 - INFO - -> Command success 06/07/2011 11:19:01 - INFO - Job https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg status is Done (Exit Code !=0) 06/07/2011 11:19:01 - INFO - The status of the job https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg is: Done (Exit Code !=0) 06/07/2011 11:19:01 - INFO - Try to get the output of the MPI job 06/07/2011 11:19:01 - INFO - Check job's status... 06/07/2011 11:19:01 - INFO - Run command: glite-wms-job-status --verbosity 0 https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg 06/07/2011 11:19:01 - DEBUG - Command output: ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg Current Status: Done (Exit Code !=0) ========================================================================== 06/07/2011 11:19:01 - INFO - -> Command success 06/07/2011 11:19:01 - INFO - Job https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg status is Done (Exit Code !=0) 06/07/2011 11:19:01 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/file.tmp... 06/07/2011 11:19:01 - INFO - Retrieve the output 06/07/2011 11:19:01 - INFO - Run command: glite-wms-job-output --nosubdir --noint --dir /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/jobOutput https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg >> /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/file.tmp 06/07/2011 11:19:04 - DEBUG - Command output: Warning - option --nosubdir specified: output files with same name will be overridden Warning - https://devel11.cnaf.infn.it:9000/SngoT546L-IMsTk-RDo-Jg: the status is DONE (ExitCode != 0) 06/07/2011 11:19:04 - INFO - -> Command success 06/07/2011 11:19:04 - INFO - Check if the output files are correctly retrieved 06/07/2011 11:19:04 - INFO - Output files are correctly retrieved 06/07/2011 11:19:04 - DEBUG - Clean job output directory 06/07/2011 11:19:04 - INFO - Test 5C: Submit without restrictions 06/07/2011 11:19:04 - INFO - Define a jdl for mpi job and extract required files from openmpi.tar.gz 06/07/2011 11:19:04 - INFO - Run command: tar xf openmpi.tar.gz -C /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652 06/07/2011 11:19:04 - DEBUG - Command output: 06/07/2011 11:19:04 - INFO - -> Command success 06/07/2011 11:19:04 - DEBUG - The saved jdl is: CpuNumber=1; Executable = "openmpi-wrapper.sh"; Arguments="hello"; StdOutput = "hello.out"; StdError = "hello.err"; OutputSandbox = {"hello.out","hello.err"}; InputSandbox = {"/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/openmpi-wrapper.sh","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/hello.c","/home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/Makefile"}; Requirements = Member ("OPENMPI",other.GlueHostApplicationSoftwareRunTimeEnvironment); 06/07/2011 11:19:04 - INFO - Submit MPI job 06/07/2011 11:19:04 - INFO - Run command: glite-wms-job-submit -a --config /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/wms.conf --nomsg /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/example.jdl 06/07/2011 11:19:06 - DEBUG - Command output: https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q 06/07/2011 11:19:06 - INFO - -> Command success 06/07/2011 11:19:06 - INFO - Job submitted successfuly. Returned JOBID: https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q 06/07/2011 11:19:06 - DEBUG - Wait 60 secs before check job 06/07/2011 11:20:06 - INFO - Wait until job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q finishes ... 06/07/2011 11:20:06 - INFO - Iterating 120 times and each time wait for 30 secs 06/07/2011 11:20:06 - INFO - Check job's status... 06/07/2011 11:20:06 - INFO - Run command: glite-wms-job-status --verbosity 0 https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q 06/07/2011 11:20:06 - DEBUG - Command output: ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q Current Status: Running ========================================================================== 06/07/2011 11:20:06 - INFO - -> Command success 06/07/2011 11:20:06 - INFO - Job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q status is Running 06/07/2011 11:20:06 - INFO - The status of the job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q is: Running 06/07/2011 11:20:06 - INFO - Job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q is not finished yet 06/07/2011 11:20:06 - INFO - Job's https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q status is Running ... sleeping 30 seconds ( 0/120 ) 06/07/2011 11:20:36 - INFO - Check job's status... 06/07/2011 11:20:36 - INFO - Run command: glite-wms-job-status --verbosity 0 https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q 06/07/2011 11:20:37 - DEBUG - Command output: ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q Current Status: Running ========================================================================== 06/07/2011 11:20:37 - INFO - -> Command success 06/07/2011 11:20:37 - INFO - Job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q status is Running 06/07/2011 11:20:37 - INFO - The status of the job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q is: Running 06/07/2011 11:20:37 - INFO - Job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q is not finished yet 06/07/2011 11:20:37 - INFO - Job's https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q status is Running ... sleeping 30 seconds ( 1/120 ) 06/07/2011 11:21:07 - INFO - Check job's status... 06/07/2011 11:21:07 - INFO - Run command: glite-wms-job-status --verbosity 0 https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q 06/07/2011 11:21:07 - DEBUG - Command output: ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q Current Status: Done (Exit Code !=0) ========================================================================== 06/07/2011 11:21:07 - INFO - -> Command success 06/07/2011 11:21:07 - INFO - Job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q status is Done (Exit Code !=0) 06/07/2011 11:21:07 - INFO - The status of the job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q is: Done (Exit Code !=0) 06/07/2011 11:21:07 - INFO - Try to get the output of the MPI job 06/07/2011 11:21:07 - INFO - Check job's status... 06/07/2011 11:21:07 - INFO - Run command: glite-wms-job-status --verbosity 0 https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q 06/07/2011 11:21:07 - DEBUG - Command output: ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q Current Status: Done (Exit Code !=0) ========================================================================== 06/07/2011 11:21:07 - INFO - -> Command success 06/07/2011 11:21:07 - INFO - Job https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q status is Done (Exit Code !=0) 06/07/2011 11:21:07 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/file.tmp... 06/07/2011 11:21:07 - INFO - Retrieve the output 06/07/2011 11:21:07 - INFO - Run command: glite-wms-job-output --nosubdir --noint --dir /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/jobOutput https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q >> /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/file.tmp 06/07/2011 11:21:10 - DEBUG - Command output: Warning - option --nosubdir specified: output files with same name will be overridden Warning - https://devel11.cnaf.infn.it:9000/ss0nM1ufHsjP9UARQT_75Q: the status is DONE (ExitCode != 0) 06/07/2011 11:21:10 - INFO - -> Command success 06/07/2011 11:21:10 - INFO - Check if the output files are correctly retrieved 06/07/2011 11:21:10 - INFO - Output files are correctly retrieved 06/07/2011 11:21:10 - DEBUG - Clean job output directory 06/07/2011 11:21:10 - INFO - Cleaning up /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652 ... 06/07/2011 11:21:10 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/output.txt... 06/07/2011 11:21:10 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/log.txt... 06/07/2011 11:21:10 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/job.id... 06/07/2011 11:21:10 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/example.jdl... 06/07/2011 11:21:10 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/wms.conf... 06/07/2011 11:21:10 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/file.tmp... 06/07/2011 11:21:10 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/jobOutput/std.out... 06/07/2011 11:21:10 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/jobOutput/std.err... 06/07/2011 11:21:10 - DEBUG - Remove file /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/jobOutput/out.txt... 06/07/2011 11:21:10 - DEBUG - Remove /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652/jobOutput directory ... 06/07/2011 11:21:10 - DEBUG - Remove /home/ale/wms_tests/WMS-service/WMSService-Test_20110706111652 directory ...