[capannini@cert-17 certification]$ date +%s
1343397704
[capannini@cert-17 certification]$ cat ExpiryTime.jdl
###########################################
# JDL with ExpiryTime attribute #
###########################################
Executable = "/bin/ls";
Arguments = "-la";
StdOutput = "std.out";
StdError = "std.err";
InputSandbox = {"fileA", "fileB", "fileC", "fileD", "fileE"};
OutputSandbox = {"std.out", "std.err"};
requirements = false;
ExpiryTime = 1343397804;
RetryCount = 1;
ShallowRetryCount = 2;
[capannini@cert-17 certification]$ glite-wms-job-submit -a -c ~/wms_cert-25.conf ExpiryTime.jdl
Connecting to the service https://cert-25.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-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A
==========================================================================
[capannini@cert-17 certification]$
[capannini@cert-17 certification]$
[capannini@cert-17 certification]$ glite-wms-job-status https://cert-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A
======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:
Status info for the Job : https://cert-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A
Current Status: Waiting
Status Reason: BrokerHelper: no compatible resources
Submitted: Fri Jul 27 16:02:26 2012 CEST
==========================================================================
[capannini@cert-17 certification]$ glite-wms-job-status https://cert-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A
======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:
Status info for the Job : https://cert-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A
Current Status: Aborted
Status Reason: request expired
Submitted: Fri Jul 27 16:02:26 2012 CEST
==========================================================================
[capannini@cert-17 certification]$ date +%s
1343398570
===> Test PASSED
Jdl with ShortDeadlineJob
To test SDJs the following bdii must be used: egee-bdii.cnaf.infn.it
[capannini@cert-17 certification]$ cat SDLJ.jdl
###########################################
# JDL with ShortDeadlineJob attribute #
###########################################
Executable = "/bin/ls";
Arguments = "-la";
StdOutput = "std.out";
StdError = "std.err";
InputSandbox = {"fileA", "fileB", "fileC", "fileD", "fileE"};
OutputSandbox = {"std.out", "std.err"};
requirements = true;
ShortDeadlineJob = true;
RetryCount = 1;
ShallowRetryCount = 2;
[capannini@cert-17 certification]$ glite-wms-job-list-match -a -c ~/wms_cert-25.conf SDLJ.jdl
Connecting to the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server
==========================================================================
COMPUTING ELEMENT IDs LIST
The following CE(s) matching your job requirements have been found:
*CEId*
- ce01.ariagni.hellasgrid.gr:2119/jobmanager-pbs-dteam.sdj
- cream-ce01.ariagni.hellasgrid.gr:8443/cream-pbs-dteam.sdj
- grid4.mif.vu.lt:2119/jobmanager-lcgpbs-sdj
- grive02.ibcp.fr:8443/cream-pbs-sdj
- mario.univ-lille1.fr:8443/cream-pbs-sdj
==========================================================================
[capannini@cert-17 certification]$ python ~/wms_tests.old/WMS-service/WMS-job-cycle.py -c ~/wms_tests.old/WMS-service/wms-command.conf -V dteam -d 3 -l -t 1 -i -j SDLJ.jdl
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service
===> + Description: Test a complete job cycle: from submission to get output
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
Enter the user proxy password:
Set 1: Submit a normal job (3 cases LCG-CE, CREAM, general)
Test 1A: Submit to an LCG-CE
Test 1B: Submit to a CREAM CE
Test 1C: Submit without restrictions
===>
===> Test: /home/capannini/wms_tests.old/WMS-service/WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 16:23:23
===> Ended : 16:32:42
===>
===> === test PASSED ===
===>
===> Test log file is WMSService-TS_20120727162323.log
Collection
Bulk submission
[capannini@cert-17 WMS-service]$ python WMS-job-cycle.py -c wms-command.conf -V dteam -d 3 -l -t 2 -i
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service
===> + Description: Test a complete job cycle: from submission to get output
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
Enter the user proxy password:
Set 2: Submit a bulk of jobs (3 cases LCG-CE, CREAM, general)
Test 2A: Submit to an LCG-CE
Test 2B: Submit to a CREAM CE
Test 2C: Submit without restrictions
===>
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 16:46:04
===> Ended : 17:27:15
===>
===> === test PASSED ===
===>
===> Test log file is WMSService-TS_20120727164604.log
|