Tags:
create new tag
,
view all tags
---++ TESTs: * Run the following tests from the [[http://glite.cvs.cern.ch/cgi-bin/glite.cgi/org.glite.testsuites.ctb/WMS/WMS-cli/][testsuite]] of Dmitry Zaborov (WMS CLI) * WMS-cli-basic-cycle.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-basic-cycle-logfile.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-basic-cycle-config.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-basic-cycle-default-jdl.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-basic-cycle-input.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-basic-cycle-resource.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-detailed-cycle.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-submit-option-to.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-submit-option-valid.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-list-match.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-delegate-proxy.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-cancel.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-status-all.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-logging-info.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-job-info.sh: %GREEN%=== test PASSED ===%ENDCOLOR% * WMS-cli-file-perusal.sh: %GREEN%=== test PASSED ===%ENDCOLOR% ---++ Check bugs: * BUG [[https://savannah.cern.ch/bugs/?50289][#50289]]: glite-wms-job-output %GREEN%FIXED%ENDCOLOR% * Simply try a glite-wms-job-output<verbatim> 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/8KbjxzoZp41PDtyEmHYByg have been successfully retrieved and stored in the directory: /tmp/jobOutput/ale_8KbjxzoZp41PDtyEmHYByg ================================================================================</verbatim> * BUG [[https://savannah.cern.ch/bugs/?51292][#51292]]: glite-wms-job-status does not load default configuration file %GREEN%FIXED%ENDCOLOR% * Verify that the configuration file is present:<verbatim> [root@egee-rb-03 ~]# ll ~ale/.glite/dteam/ total 4 -rw-rw-r-- 1 ale ale 591 Jun 29 12:27 glite_wmsui.conf</verbatim> * Test the command with "--debug" option:<verbatim> [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.</verbatim> * BUG [[https://savannah.cern.ch/bugs/?51293][#51293]]: glite-wms-job-status does not load LBAddresses attribute %GREEN%FIXED%ENDCOLOR% * Verify that the "LBAddresses" is defined in the configuration file:<verbatim> [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"}; ]</verbatim> * Try the glite-wms-job-status command:<verbatim> [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.</verbatim> * BUG [[https://savannah.cern.ch/bugs/?51294][#51294]]: glite-wms-job-submit: ExpiryTime wrong type %GREEN%FIXED%ENDCOLOR% * Try the command: _glite-wms-job-submit -a --config ./wms.conf --output job.id --to 13:16 ./hostname.jdl_<verbatim> 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 ==========================================================================</verbatim> * Then verify that in the jdl the attribute "ExpiryTime" is set correctly:<verbatim> [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</verbatim>NOTE: If you use for example a non-matching jdl, after the expiry time (in this example 13:16) the job should failed:<verbatim> [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 ==========================================================================</verbatim> wait.... <verbatim> [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 ==========================================================================</verbatim> * BUG [[https://savannah.cern.ch/bugs/?51295][#51295]]: glite-wms-job-output: fails creating the output directory if not present %GREEN%FIXED%ENDCOLOR% * Try the command glite-wms-job-output with the option _--dir_<verbatim> [ale@egee-rb-03 WMS-cli]$ glite-wms-job-output --dir pippo https://devel17.cnaf.infn.it:9000/ljj7OZUc3rA9QcEtnTPP9w 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/ljj7OZUc3rA9QcEtnTPP9w have been successfully retrieved and stored in the directory: /home/ale/CVS/org.glite.testsuites.ctb/WMS/WMS-cli/pippo/ale_ljj7OZUc3rA9QcEtnTPP9w ================================================================================</verbatim> * BUG [[https://savannah.cern.ch/bugs/?51296][#51296]]: glite-wms-job-info: does not recognize if a job is simple or DAG/Collection %GREEN%FIXED%ENDCOLOR% * Try the command _glite-wms-job-info --jdl-original_ with a simple job<verbatim> [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" } ] ==========================================================================</verbatim> ---+++ Check old bugs (see [[https://twiki.cnaf.infn.it/cgi-bin/twiki/view/EgeeJra1It/UITestsP2625][here]]) : * BUG [[https://savannah.cern.ch/bugs/?17534][#17534]]: unexpected behavior of glite-wms-job-output *%GREEN%FIXED%ENDCOLOR%* * Retrieve the output of a single job without the "--nosubdir" option: <verbatim> [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</verbatim> * Retrieve the output of two or more jobs without the "--nosubdir" option: <verbatim> [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</verbatim> * Retrieve the output of one or more jobs with the "--nosubdir" option (no interactive mode): <verbatim> [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</verbatim> * Retrieve the output of one or more jobs with the "--nosubdir" option (interactive mode): <verbatim> [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</verbatim> * BUG [[https://savannah.cern.ch/bugs/?29635][#29635]]: bad error message for glite_wms.conf syntax error *%GREEN%FIXED%ENDCOLOR%* * BUG [[https://savannah.cern.ch/bugs/?34949][#34949]]: Ctl-C'ed submission gives funny state *%GREEN%FIXED%ENDCOLOR%* * But again no message is given about the failure in the files transfer * BUG [[https://savannah.cern.ch/bugs/?43601][#43601]]: glite-wms-job-submit silently adds VO defaults to user configuration *%GREEN%FIXED%ENDCOLOR%* * BUG [[https://savannah.cern.ch/bugs/?47134][#47134]]: WMS UI: glite-wms-job-{delegate-proxy,submit} fail if HOME is not set *%GREEN%FIXED%ENDCOLOR%* * BUG [[https://savannah.cern.ch/bugs/?47677][#47677]]: WMS job submission aborts on non-existent endpoint *%GREEN%FIXED%ENDCOLOR%* * BUG [[https://savannah.cern.ch/bugs/?48702][#48702]]: job-list-match fails when first WMS tried is draining *%GREEN%FIXED%ENDCOLOR%* -- Main.AlessioGianelle - 09 Jun 2009
E
dit
|
A
ttach
|
PDF
|
H
istory
: r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r7 - 2011-02-24
-
AlessioGianelle
Home
Site map
CEMon web
CREAM web
Cloud web
Cyclops web
DGAS web
EgeeJra1It web
Gows web
GridOversight web
IGIPortal web
IGIRelease web
MPI web
Main web
MarcheCloud web
MarcheCloudPilotaCNAF web
Middleware web
Operations web
Sandbox web
Security web
SiteAdminCorner web
TWiki web
Training web
UserSupport web
VOMS web
WMS web
WMSMonitor web
WeNMR web
EgeeJra1It Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback