TESTs:
- Run the following tests from the testsuite
of Dmitry Zaborov (WMS CLI)
- WMS-cli-basic-cycle.sh: === test PASSED ===
- WMS-cli-basic-cycle-logfile.sh: === test PASSED ===
- WMS-cli-basic-cycle-config.sh: === test PASSED ===
- WMS-cli-basic-cycle-default-jdl.sh: === test PASSED ===
- WMS-cli-basic-cycle-input.sh: === test PASSED ===
- WMS-cli-basic-cycle-resource.sh: === test PASSED ===
- WMS-cli-detailed-cycle.sh: === test PASSED ===
- WMS-cli-submit-option-to.sh: === test PASSED ===
- WMS-cli-submit-option-valid.sh: === test PASSED ===
- WMS-cli-list-match.sh: === test PASSED ===
- WMS-cli-delegate-proxy.sh: === test PASSED ===
- WMS-cli-cancel.sh: === test PASSED ===
- WMS-cli-status-all.sh: === test PASSED ===
- WMS-cli-logging-info.sh: === test PASSED ===
- WMS-cli-job-info.sh: === test PASSED ===
- WMS-cli-file-perusal.sh: === test PASSED ===
Check bugs:
- BUG #50289
: glite-wms-job-output FIXED
- BUG #51292
: glite-wms-job-status does not load default configuration file FIXED
- Verify that the configuration file is present:
[root@egee-rb-03 ~]# ll ~ale/.glite/dteam/
total 4
-rw-rw-r-- 1 ale ale 591 Jun 29 12:27 glite_wmsui.conf
- Test the command with "--debug" option:
[ale@egee-rb-03 WMS-cli]$ /opt/glite/bin/glite-wms-job-status --debug --all
VirtualOrganisation value :dteam
####
Configuration file loaded: /home/ale/.glite/dteam/glite_wmsui.conf
[
WmProxyEndPoints = { "https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server" };
JdlDefaultAttributes =
[
RetryCount = 3;
MyProxyServer = "myproxy.cern.ch";
PerusalFileEnable = false;
VirtualOrganisation = "dteam";
SignificantAttributes = { "Requirements","Rank","FuzzyRank" };
ShallowRetryCount = 10;
rank = -other.GlueCEStateEstimatedResponseTime;
AllowZippedISB = true
];
ListenerStorage = "/tmp";
LBAddresses = { "devel15.cnaf.infn.it:9000" };
OutputStorage = "/tmp/jobOutput";
ErrorStorage = "/tmp"
]
#### Mon Jun 29 12:28:26 2009 Debug Message ####
Selected Virtual Organisation name (from proxy certificate extension): dteam
VOMS configuration file successfully loaded:
/home/ale/.glite/dteam/glite_wmsui.conf
[
WmProxyEndPoints = { "https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server" };
JdlDefaultAttributes =
[
RetryCount = 3;
MyProxyServer = "myproxy.cern.ch";
PerusalFileEnable = false;
VirtualOrganisation = "dteam";
SignificantAttributes = { "Requirements","Rank","FuzzyRank" };
ShallowRetryCount = 10;
rank = -other.GlueCEStateEstimatedResponseTime;
AllowZippedISB = true
];
ListenerStorage = "/tmp";
LBAddresses = { "devel15.cnaf.infn.it:9000" };
OutputStorage = "/tmp/jobOutput";
ErrorStorage = "/tmp"
]
#### End Debug ####
Retrieving Information from LB server devel15.cnaf.infn.it:9000
Please wait: this operation could take some seconds.
- BUG #51293
: glite-wms-job-status does not load LBAddresses attribute FIXED
- Verify that the "LBAddresses" is defined in the configuration file:
[root@egee-rb-03 ~]# cat ~ale/.glite/dteam/glite_wmsui.conf
[
OutputStorage = "/tmp/jobOutput";
JdlDefaultAttributes = [
rank = - other.GlueCEStateEstimatedResponseTime;
AllowZippedISB = true;
ShallowRetryCount = 10;
SignificantAttributes = {"Requirements", "Rank", "FuzzyRank"};
PerusalFileEnable = false;
RetryCount = 3;
MyProxyServer = "myproxy.cern.ch";
VirtualOrganisation = "dteam";
];
HLRLocation = "";
ErrorStorage = "/tmp";
LBAddresses = {"devel15.cnaf.infn.it:9000"};
ListenerStorage = "/tmp";
WMProxyEndpoints = {"https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server"};
]
- Try the glite-wms-job-status command:
[ale@egee-rb-03 WMS-cli]$ glite-wms-job-status --all
Retrieving Information from LB server devel15.cnaf.infn.it:9000
Please wait: this operation could take some seconds.
- BUG #51294
: glite-wms-job-submit: ExpiryTime wrong type FIXED
- Try the command: _glite-wms-job-submit -a --config ./wms.conf --output job.id --to 13:16 ./hostname.jdl_
Connecting to the service https://wms009.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://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg
The job identifier has been saved in the following file:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/job.id
==========================================================================
- Then verify that in the jdl the attribute "ExpiryTime" is set correctly:
[ale@egee-rb-03 UI]$ glite-wms-job-logging-info -v 3 https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg | grep "ExpiryTime"
ExpiryTime = 1246274160;
[ale@egee-rb-03 UI]$ date -d "@1246274160"
Mon Jun 29 13:16:00 CEST 2009
NOTE: If you use for example a non-matching jdl, after the expiry time (in this example 13:16) the job should failed:
[ale@egee-rb-03 WMS-cli]$ date; glite-wms-job-status https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg https://devel17.cnaf.infn.it:9000/VMRFn16K0sW-E-LyhDWh9Q
Mon Jun 29 13:14:36 CEST 2009
======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:
Status info for the Job : https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg
Current Status: Waiting
Status Reason: BrokerHelper: no compatible resources
Submitted: Mon Jun 29 12:51:52 2009 CEST
==========================================================================
wait....
[ale@egee-rb-03 WMS-cli]$ date; glite-wms-job-status https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg https://devel17.cnaf.infn.it:9000/VMRFn16K0sW-E-LyhDWh9Q
Mon Jun 29 13:23:06 CEST 2009
======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:
Status info for the Job : https://devel17.cnaf.infn.it:9000/w4NASo3ga-7ah9FEaY4msg
Current Status: Aborted
Status Reason: request expired
Submitted: Mon Jun 29 12:51:52 2009 CEST
==========================================================================
- BUG #51295
: glite-wms-job-output: fails creating the output directory if not present FIXED
- BUG #51296
: glite-wms-job-info: does not recognize if a job is simple or DAG/Collection FIXED
- Try the command glite-wms-job-info --jdl-original with a simple job
[ale@egee-rb-03 WMS-cli]$ glite-wms-job-info --jdl-original https://devel17.cnaf.infn.it:9000/Hscj153mT5VhfSBmpvuRyg
Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
======================= glite-wms-job-info Success =======================
The original JDL
for the job https://devel17.cnaf.infn.it:9000/Hscj153mT5VhfSBmpvuRyg :
[
RetryCount = 3;
MyProxyServer = "myproxy.cerm.ch";
JobType = "normal";
Executable = "/bin/hostname";
VirtualOrganisation = "dteam";
SignificantAttributes = { "Requirements","Rank","FuzzyRank" };
StdOutput = "std.out";
ShallowRetryCount = 10;
requirements = Other.GlueCEStateStatus == "Special";
rank = 1;
Type = "job";
StdError = "std.err";
DefaultRank = -other.GlueCEStateEstimatedResponseTime;
AllowZippedISB = true;
OutputSandbox = { "std.out","std.err" }
]
==========================================================================
Check old bugs (see here
) :
- BUG #17534
: unexpected behavior of glite-wms-job-output FIXED
- Retrieve the output of a single job without the "--nosubdir" option:
[ale@egee-rb-03 WMS-cli]$ glite-wms-job-output --dir test https://devel17.cnaf.infn.it:9000/DZ86rxgKopCQs-7JWSbgRA
Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
================================================================================
JOB GET OUTPUT OUTCOME
Output sandbox files for the job:
https://devel17.cnaf.infn.it:9000/DZ86rxgKopCQs-7JWSbgRA
have been successfully retrieved and stored in the directory:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test/ale_DZ86rxgKopCQs-7JWSbgRA
================================================================================
[ale@egee-rb-03 WMS-cli]$ ls -l test/*
test/ale_DZ86rxgKopCQs-7JWSbgRA:
total 4
-rw-rw-r-- 1 ale ale 0 Jun 29 12:07 std.err
-rw-rw-r-- 1 ale ale 8 Jun 29 12:07 std.out
- Retrieve the output of two or more jobs without the "--nosubdir" option:
[ale@egee-rb-03 WMS-cli]$ glite-wms-job-output --dir test https://devel17.cnaf.infn.it:9000/rXWpP6z-3vx6k-qRIBIqRA https://devel17.cnaf.infn.it:9000/g_RheA7OkjPdx0254bmsRg
------------------------------------------------------------------
1 : https://devel17.cnaf.infn.it:9000/rXWpP6z-3vx6k-qRIBIqRA
2 : https://devel17.cnaf.infn.it:9000/g_RheA7OkjPdx0254bmsRg
a : all
q : quit
------------------------------------------------------------------
Choose one or more jobId(s) in the list - [1-2]all (use , as separator or - for a range): a
Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
================================================================================
JOB GET OUTPUT OUTCOME
Output sandbox files for the job:
https://devel17.cnaf.infn.it:9000/rXWpP6z-3vx6k-qRIBIqRA
have been successfully retrieved and stored in the directory:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test/ale_rXWpP6z-3vx6k-qRIBIqRA
Output sandbox files for the job:
https://devel17.cnaf.infn.it:9000/g_RheA7OkjPdx0254bmsRg
have been successfully retrieved and stored in the directory:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test/ale_g_RheA7OkjPdx0254bmsRg
================================================================================
[ale@egee-rb-03 WMS-cli]$ ls -l test/*
test/ale_g_RheA7OkjPdx0254bmsRg:
total 4
-rw-rw-r-- 1 ale ale 0 Jun 29 12:09 std.err
-rw-rw-r-- 1 ale ale 19 Jun 29 12:09 std.out
test/ale_rXWpP6z-3vx6k-qRIBIqRA:
total 4
-rw-rw-r-- 1 ale ale 0 Jun 29 12:09 std.err
-rw-rw-r-- 1 ale ale 19 Jun 29 12:09 std.out
- Retrieve the output of one or more jobs with the "--nosubdir" option (no interactive mode):
[ale@egee-rb-03 WMS-cli]$ glite-wms-job-output --noint --dir test --nosubdir https://devel17.cnaf.infn.it:9000/e1Z8_Ol5FBb-43Yx-hh7jA https://devel17.cnaf.infn.it:9000/gv1zgYohLr4B_lhGGV5WsQ
Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
Warning - option --nosubdir specified:
output files with same name will be overridden
Warning - Directory already exists:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test
Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
Warning - option --nosubdir specified:
output files with same name will be overridden
Warning - Directory already exists:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test
================================================================================
JOB GET OUTPUT OUTCOME
Output sandbox files for the job:
https://devel17.cnaf.infn.it:9000/e1Z8_Ol5FBb-43Yx-hh7jA
have been successfully retrieved and stored in the directory:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test
Output sandbox files for the job:
https://devel17.cnaf.infn.it:9000/gv1zgYohLr4B_lhGGV5WsQ
have been successfully retrieved and stored in the directory:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test
================================================================================
[ale@egee-rb-03 WMS-cli]$ ls -l test/
-rw-rw-r-- 1 ale ale 0 Jun 29 12:14 std.err
-rw-rw-r-- 1 ale ale 24 Jun 29 12:14 std.out
- Retrieve the output of one or more jobs with the "--nosubdir" option (interactive mode):
[ale@egee-rb-03 WMS-cli]$ glite-wms-job-output --dir test --nosubdir https://devel17.cnaf.infn.it:9000/JbEEPT6dujftQMRmvyS-wQ https://devel17.cnaf.infn.it:9000/_atk_nGsUlUI4RgqxxDS1g
------------------------------------------------------------------
1 : https://devel17.cnaf.infn.it:9000/JbEEPT6dujftQMRmvyS-wQ
2 : https://devel17.cnaf.infn.it:9000/_atk_nGsUlUI4RgqxxDS1g
a : all
q : quit
------------------------------------------------------------------
Choose one or more jobId(s) in the list - [1-2]all (use , as separator or - for a range): a
Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
Warning - option --nosubdir specified:
output files with same name will be overridden
Warning - Directory already exists:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test
Do you wish to overwrite it ? [y/n]n : y
Connecting to the service https://wms009.cnaf.infn.it:7443/glite_wms_wmproxy_server
Warning - option --nosubdir specified:
output files with same name will be overridden
Warning - Directory already exists:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test
Do you wish to overwrite it ? [y/n]n : y
================================================================================
JOB GET OUTPUT OUTCOME
Output sandbox files for the job:
https://devel17.cnaf.infn.it:9000/JbEEPT6dujftQMRmvyS-wQ
have been successfully retrieved and stored in the directory:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test
Output sandbox files for the job:
https://devel17.cnaf.infn.it:9000/_atk_nGsUlUI4RgqxxDS1g
have been successfully retrieved and stored in the directory:
/home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/test
================================================================================
[ale@egee-rb-03 WMS-cli]$ ls -l test/
-rw-rw-r-- 1 ale ale 0 Jun 29 12:16 std.err
-rw-rw-r-- 1 ale ale 8 Jun 29 12:16 std.out
- BUG #29635
: bad error message for glite_wms.conf syntax error FIXED
- BUG #34949
: Ctl-C'ed submission gives funny state FIXED
- But again no message is given about the failure in the files transfer
- BUG #43601
: glite-wms-job-submit silently adds VO defaults to user configuration FIXED
- BUG #47134
: WMS UI: glite-wms-job-{delegate-proxy,submit} fail if HOME is not set FIXED
- BUG #47677
: WMS job submission aborts on non-existent endpoint FIXED
- BUG #48702
: job-list-match fails when first WMS tried is draining FIXED
--
AlessioGianelle - 09 Jun 2009
This topic: EgeeJra1It
> WebHome >
TestPage > UITestsP3040
Topic revision: r7 - 2011-02-24 - AlessioGianelle