Tags:
create new tag
,
view all tags
%TOC% ---+ *Certification report _internal_ patch [[https://savannah.cern.ch/patch/index.php?3777][3777]]* Author(s): Elisabetta Molinari & Alessio Gianelle Outcome: %GREEN% *Certified* %ENDCOLOR% ---++ Information | Patch 3777 | https://savannah.cern.ch/patch/index.php?3777 | | Build reports | http://etics-repository.cern.ch/repository/reports/id/b67cc5fe-8ebf-4d04-89e1-0b741c1654a6/sl5_x86_64_gcc412/-/reports/index.html | | Repository | http://etics-repository.cern.ch/repository/pm/registered/repomd/name/patch_3777_3/index.html | ---++ Upgrade from production * Starting from a Production UI we [[%ATTACHURL%/update.txt][update]] it. * wget http://etics-repository.cern.ch/repository/pm/registered/repomd/name/patch_3777_3/etics-registered-build-by-name.repo -O /etc/yum.repos.d/glite-UI.repo * yum update * /opt/glite/yaim/bin/yaim -c -s siteinfo.ui -n glite-UI ---++ Test Report * running the basic [[http://glite.cvs.cern.ch/cgi-bin/glite.cgi/org.glite.testsuites.ctb/UI/][UI tests]]: <verbatim> [ale@cream-03 UI]$ ./UI-certtest.sh Using ./UI-certconfig START Wed Nov 3 17:20:21 CET 2010 ------------------------------------------------ Enter the test user pass: Log files will be stored in /tmp/logs_101103172024 *SL4 tests skipped *Running SL5 tests UI-commands-exist-all.sh PASSED UI-libraries-exist.sh PASSED UI-security-myproxy-init-info-destroy.sh PASSED UI-security-voms-proxy-init-info-destroy.sh PASSED *Running COMMON tests UI-environment.csh PASSED UI-environment.sh PASSED UI-exec-help-glite-delegation.sh PASSED UI-exec-help-glite-sd-query.sh PASSED UI-exec-help-lcg-info.sh PASSED UI-exec-help-lcgtags.sh PASSED UI-exec-help-managevotag.sh PASSED UI-exec-version-glite-transfer.sh PASSED UI-exec-version-glite-wms-job.sh PASSED UI-exec-version-grid-proxy.sh PASSED UI-exec-version-lcg.sh PASSED UI-exec-version-myproxy.sh PASSED UI-exec-version-uberftp.sh PASSED UI-exec-version-voms-proxy.sh PASSED UI-glite-environment.csh PASSED UI-glite-environment.sh PASSED UI-inf-lcg-info-ce.sh PASSED UI-inf-lcg-info-se.sh PASSED UI-inf-lcg-infosites.sh PASSED UI-inf-ldapsearch.sh PASSED UI-security-grid-cert-info.sh PASSED UI-security-grid-proxy-info.sh PASSED UI-security-grid-proxy-init-info-destroy.sh PASSED UI-security-myproxy-change-pass-phrase.sh PASSED UI-security-voms-proxy-info.sh PASSED UI-tags-lcgtags.sh PASSED UI-tags-managevotag.sh PASSED UI-workload-glite-submit-wait-output.sh PASSED UI-workload-glite-wms-deleg-submit-wait-output.sh PASSED UI-workload-glite-wms-errors.sh PASSED UI-workload-glite-wms-job-list-match.sh PASSED UI-workload-glite-wms-submit-wait-output.sh PASSED TEST_PASSED </verbatim> Zipped log should be found [[%ATTACHURL%/TestUI-log.tgz][here]] * Run modified tests from this [[http://glite.cvs.cern.ch/cgi-bin/glite.cgi/org.glite.testsuites.ctb/WMS/WMS-cli/][WMS CLI]] testsuite * WMS-cli-list-match.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101029165516.log.txt][wms-cli-test_20101029165516.log]] * WMS-cli-delegate-proxy.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101029165612.log.txt][wms-cli-test_20101029165612.log]] * WMS-cli-job-info.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101029171518.log.txt][wms-cli-test_20101029171518.log]] * WMS-cli-job-output.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101029171641.log.txt][wms-cli-test_20101029171641.log]] * WMS-cli-logging-info.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101029181932.log.txt][wms-cli-test_20101029181932.log]] * WMS-cli-status.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101029182137.log.txt][wms-cli-test_20101029182137.log]] * WMS-cli-submit.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101102111611.log.txt][wms-cli-test_20101102111611.log]] * WMS-cli-cancel.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101029165550.log.txt][wms-cli-test_20101029165550.log]] * WMS-cli-file-perusal.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101102125222.log.txt][wms-cli-test_20101102125222.log]] * WMS-cli-cycle.sh %GREEN% TEST PASSED %ENDCOLOR% * Test log file is [[%ATTACHURL%/wms-cli-test_20101102135418.log.txt][wms-cli-test_20101102135418.log]] ---++ Check Bugs ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?50761][#50761]] %ENDCOLOR%: segmentation fault in glite-brokerinfo on glite-WN SL5/x86_64 %GREEN% FIXED %ENDCOLOR% * Install the required rpm <verbatim> [root@cream-03 ~]# yum install glite-wms-brokerinfo-access Loaded plugins: kernel-module, protectbase Repository sl-base is listed more than once in the configuration Repository sl-security is listed more than once in the configuration Repository sl-fastbugs is listed more than once in the configuration Repository sl-contrib is listed more than once in the configuration 3 packages excluded due to repository protections Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package glite-wms-brokerinfo-access.x86_64 0:3.3.1-1.sl5 set to be updated --> Finished Dependency Resolution Beginning Kernel Module Plugin Finished Kernel Module Plugin Dependencies Resolved ============================================================================================================================= Package Arch Version Repository Size ============================================================================================================================= Installing: glite-wms-brokerinfo-access x86_64 3.3.1-1.sl5 ETICS-name-patch_3777_1 124 k Transaction Summary ============================================================================================================================= Install 1 Package(s) Upgrade 0 Package(s) Total download size: 124 k Is this ok [y/N]: y Downloading Packages: glite-wms-brokerinfo-access-3.3.1-1.sl5.x86_64.rpm | 124 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : glite-wms-brokerinfo-access 1/1 Installed: glite-wms-brokerinfo-access.x86_64 0:3.3.1-1.sl5 Complete! </verbatim> * Test it <verbatim> [ale@cream-03 ~]$ glite-brokerinfo -f test glite-brokerinfo: please specify a function with parameters use glite-brokerinfo --help for functions and parameters list </verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?56034][#56034]] %ENDCOLOR%: Matchmaking with !JobType=Normal does not take !NodeNumber into account %GREEN% FIXED %ENDCOLOR% * Submit this jdl:<verbatim> [ale@cream-03 ~]$ cat test.jdl [ Executable = "/bin/ls" ; Arguments = "-lha " ; Stdoutput = "ls.out" ; JobType = "normal"; CpuNumber = 4; Retrycount = 2; ShallowRetryCount = -1; requirements = other.GlueCEStateStatus == "Production" || other.GlueCEStateStatus == "testbedb"; usertags = [ exe = "ls" ]; VirtualOrganisation="dteam"; ]</verbatim> * And verify the submitted jdl:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --debug test.jdl [...] 02 Nov 2010, 15:43:32 -I- PID: 16559 (Debug) - Submitting JDL [ Retrycount = 2; Arguments = "-lha "; MyProxyServer = "myproxy.cnaf.infn.it"; DefaultNodeRetryCount = 5; JobType = "normal"; Executable = "/bin/ls"; VirtualOrganisation = "dteam"; SignificantAttributes = { "Requirements","Rank" }; CpuNumber = 4; Stdoutput = "ls.out"; ShallowRetryCount = -1; requirements = ( ( other.GlueCEStateStatus == "Production" || other.GlueCEStateStatus == "testbedb" ) && ( other.GlueCEStateStatus == "Production" || other.GlueCEStateStatus == "CREAMPreCertTests" || other.GlueCEStateStatus == "testbedb" ) ) && other.GlueCEInfoTotalCPUs >= 4; usertags = [ exe = "ls" ]; rank = -other.GlueCEStateEstimatedResponseTime; Type = "job"; DefaultRank = -other.GlueCEStateEstimatedResponseTime; AllowZippedISB = false ] [...]</verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?59611][#59611]] %ENDCOLOR%: WMS UI: should transfer files even if size is 0 bytes %GREEN% FIXED %ENDCOLOR% <verbatim> [ale@cream-03 ~]$ cat test.jdl | grep -v ^# [ Executable = "/bin/ls" ; Arguments = "-lha " ; Stdoutput = "ls.out" ; InputSandbox = { "test.empty"} ; OutputSandbox = { ".BrokerInfo", "ls.out"} ; Retrycount = 2; ShallowRetryCount = -1; usertags = [ exe = "ls" ]; VirtualOrganisation="dteam"; ] [ale@cream-03 ~]$ ls -l test.empty -rw-rw-r-- 1 ale ale 0 Oct 29 17:22 test.empty [ale@cream-03 ~]$ glite-wms-job-submit -a test.jdl Connecting to the service https://devel14.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://devel07.cnaf.infn.it:9000/3IBVL8mGKQxNQmdrPM4QOw ========================================================================== [ale@cream-03 ~]$ glite-wms-job-status https://devel07.cnaf.infn.it:9000/3IBVL8mGKQxNQmdrPM4QOw ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/3IBVL8mGKQxNQmdrPM4QOw Current Status: Done (Success) Logged Reason(s): - job completed - Job Terminated Successfully Exit code: 0 Status Reason: Job Terminated Successfully Destination: infnlns-ce-01.ct.pi2s2.it:8443/cream-lsf-cert Submitted: Tue Nov 2 15:50:24 2010 CET ========================================================================== [ale@cream-03 ~]$ glite-wms-job-output https://devel07.cnaf.infn.it:9000/3IBVL8mGKQxNQmdrPM4QOw Connecting to the service https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server ================================================================================ JOB GET OUTPUT OUTCOME Output sandbox files for the job: https://devel07.cnaf.infn.it:9000/3IBVL8mGKQxNQmdrPM4QOw have been successfully retrieved and stored in the directory: /tmp/ale_3IBVL8mGKQxNQmdrPM4QOw ================================================================================ [ale@cream-03 ~]$ cat /tmp/ale_3IBVL8mGKQxNQmdrPM4QOw/ls.out total 12K drwxr-xr-x 2 dteam035 dteam 4.0K Nov 2 15:50 . drwxr-xr-x 3 dteam035 dteam 4.0K Nov 2 15:50 .. -rw-r--r-- 1 dteam035 dteam 2.3K Nov 2 15:50 .BrokerInfo -rw-r--r-- 1 dteam035 dteam 0 Nov 2 15:50 ls.out -rw-r--r-- 1 dteam035 dteam 0 Nov 2 15:50 test.empty -rw-r--r-- 1 dteam035 dteam 0 Nov 2 15:50 .tmp_file </verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?60175][#60175]] %ENDCOLOR%: Job Collections using <dirpath> option not working as gLite 3.1 UI %GREEN% FIXED %ENDCOLOR% <verbatim> [ale@cream-03 ~]$ ls -l collection/ total 4 -rw-rw-r-- 1 ale ale 344 Nov 2 15:55 test.jdl [ale@cream-03 ~]$ cat collection/test.jdl [ JobType="MPICH"; CpuNumber = 2; Executable = "/bin/ls" ; Arguments = "-lha " ; Stdoutput = "ls.out" ; OutputSandbox = { ".BrokerInfo", "ls.out"} ; Retrycount = 2; ShallowRetryCount = 3; requirements = other.GlueCEStateStatus == "Production" || other.GlueCEStateStatus == "testbedb"; usertags = [ exe = "ls" ]; VirtualOrganisation="dteam"; ] [ale@cream-03 ~]$ glite-wms-job-submit -a --collection collection/ Connecting to the service https://devel14.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://devel07.cnaf.infn.it:9000/W0dGTWgC5GDU-el1dAf24Q ========================================================================== [ale@cream-03 ~]$ glite-wms-job-status https://devel07.cnaf.infn.it:9000/W0dGTWgC5GDU-el1dAf24Q ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/W0dGTWgC5GDU-el1dAf24Q Current Status: Waiting Submitted: Tue Nov 2 16:07:01 2010 CET ========================================================================== - Nodes information for: Status info for the Job : https://devel07.cnaf.infn.it:9000/_PjO4jNq7Ju6VUdgGIUbYQ Current Status: Ready Destination: ce01-lcg.cr.cnaf.infn.it:8443/cream-lsf-dteam Submitted: Tue Nov 2 16:07:01 2010 CET ========================================================================== </verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?67054][#67054]] %ENDCOLOR%: cancel of node in Submitted state connects to ghemon.cnaf.infn.it %GREEN% FIXED %ENDCOLOR% <verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --register-only test.jdl Connecting to the service https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server ====================== glite-wms-job-submit Success ====================== The job has been successfully registered to the WMProxy Your job identifier is: https://devel07.cnaf.infn.it:9000/7OOMitZ4VWAd8_NV7-30_Q ========================================================================== To complete the operation, the following InputSandbox files need to be transferred: ========================================================================================================== InputSandbox file : /home/ale/test.empty Destination : gsiftp://devel14.cnaf.infn.it:2811/var/glite/SandboxDir/7O/https_3a_2f_2fdevel07.cnaf.infn.it_3a9000_2f7OOMitZ4VWAd8_5fNV7-30_5fQ/input/test.empty ----------------------------------------------------------------------------- then start the job by issuing a submission with the option: --start https://devel07.cnaf.infn.it:9000/7OOMitZ4VWAd8_NV7-30_Q [ale@cream-03 ~]$ strace glite-wms-job-submit --start https://devel07.cnaf.infn.it:9000/7OOMitZ4VWAd8_NV7-30_Q 2> err Connecting to the service https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server ====================== glite-wms-job-submit Success ====================== The job has been successfully started to the WMProxy Your job identifier is: https://devel07.cnaf.infn.it:9000/7OOMitZ4VWAd8_NV7-30_Q ========================================================================== [ale@cream-03 ~]$ grep 131.154.100.122 err [ale@cream-03 ~]$ [ale@cream-03 ~]$ glite-wms-job-status https://devel07.cnaf.infn.it:9000/7OOMitZ4VWAd8_NV7-30_Q ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/7OOMitZ4VWAd8_NV7-30_Q Current Status: Scheduled Status Reason: unavailable Destination: cream-ce.research-infrastructures.eu:8443/cream-pbs-cert Submitted: Tue Nov 2 16:13:11 2010 CET ========================================================================== </verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?68052][#68052]] %ENDCOLOR%: glite-wms-job-output produces no JSON compliant formatting %GREEN% FIXED %ENDCOLOR% * getOutput with Success for one sandbox retrieved: <verbatim> [ale@cream-03 ~]$ glite-wms-job-output --json https://devel07.cnaf.infn.it:9000/5kVIoGL65UFLdWqm5IEZug {"result": "success", "jobs": {"https://devel07.cnaf.infn.it:9000/5kVIoGL65UFLdWqm5IEZug": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "output_available": 1, "location": "/tmp/ale_5kVIoGL65UFLdWqm5IEZug"}}} [ale@cream-03 ~]$ ls -l /tmp/ale_5kVIoGL65UFLdWqm5IEZug total 4 -rw-rw-r-- 1 ale ale 435 Nov 4 10:56 ls.out [ale@cream-03 ~]$ glite-wms-job-status -v 0 https://devel07.cnaf.infn.it:9000/5kVIoGL65UFLdWqm5IEZug ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/5kVIoGL65UFLdWqm5IEZug Current Status: Cleared ==========================================================================</verbatim> * with option --pretty-print<verbatim> [ale@cream-03 ~]$ glite-wms-job-output --json --pretty-print https://devel07.cnaf.infn.it:9000/7TeeJQ-PxdPGGOrx_qHNhw { result: success jobs: { https://devel07.cnaf.infn.it:9000/7TeeJQ-PxdPGGOrx_qHNhw: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server output_available: 1 location: /tmp/ale_7TeeJQ-PxdPGGOrx_qHNhw } } } [ale@cream-03 ~]$ ls -la /tmp/ale_7TeeJQ-PxdPGGOrx_qHNhw total 12 drwxr-xr-x 2 ale ale 4096 Nov 4 11:13 . drwxrwxrwt 15 root root 4096 Nov 4 11:13 .. -rw-rw-r-- 1 ale ale 1403 Nov 4 11:13 .BrokerInfo -rw-rw-r-- 1 ale ale 0 Nov 4 11:13 ls.out [ale@cream-03 ~]$ glite-wms-job-status -v 0 https://devel07.cnaf.infn.it:9000/7TeeJQ-PxdPGGOrx_qHNhw ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/7TeeJQ-PxdPGGOrx_qHNhw Current Status: Cleared ==========================================================================</verbatim> * getOutput with Success with multiple sandbox retrieved (more jobs):<verbatim> [ale@cream-03 ~]$ glite-wms-job-output --json -i jobid_2 --noint {"result": "success", "jobs": {"https://devel07.cnaf.infn.it:9000/hPcwSbKOjArJ_KPmrMMRdA": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "output_available": 1, "location": "/tmp/ale_hPcwSbKOjArJ_KPmrMMRdA"}, "https://devel07.cnaf.infn.it:9000/8QfzaXm0aHOqCalIDsZnpg": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "output_available": 1, "location": "/tmp/ale_8QfzaXm0aHOqCalIDsZnpg"}, "https://devel07.cnaf.infn.it:9000/Ri0zL-FRsoJVoprK7ah5_g": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "output_available": 1, "location": "/tmp/ale_Ri0zL-FRsoJVoprK7ah5_g"}}} [ale@cream-03 ~]$ ls -la /tmp/ale_hPcwSbKOjArJ_KPmrMMRdA total 16 drwxr-xr-x 2 ale ale 4096 Nov 4 11:11 . drwxrwxrwt 14 root root 4096 Nov 4 11:11 .. -rw-rw-r-- 1 ale ale 1654 Nov 4 11:11 .BrokerInfo -rw-rw-r-- 1 ale ale 320 Nov 4 11:11 ls.out [ale@cream-03 ~]$ ls -la /tmp/ale_8QfzaXm0aHOqCalIDsZnpg total 16 drwxr-xr-x 2 ale ale 4096 Nov 4 11:11 . drwxrwxrwt 14 root root 4096 Nov 4 11:11 .. -rw-rw-r-- 1 ale ale 1685 Nov 4 11:11 .BrokerInfo -rw-rw-r-- 1 ale ale 512 Nov 4 11:11 ls.out [ale@cream-03 ~]$ ls -la /tmp/ale_Ri0zL-FRsoJVoprK7ah5_g total 16 drwxr-xr-x 2 ale ale 4096 Nov 4 11:11 . drwxrwxrwt 14 root root 4096 Nov 4 11:11 .. -rw-rw-r-- 1 ale ale 2352 Nov 4 11:11 .BrokerInfo -rw-rw-r-- 1 ale ale 458 Nov 4 11:11 ls.out [ale@cream-03 ~]$ glite-wms-job-status -v 0 -i jobid_2 --noint ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/hPcwSbKOjArJ_KPmrMMRdA Current Status: Cleared ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/8QfzaXm0aHOqCalIDsZnpg Current Status: Cleared ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/Ri0zL-FRsoJVoprK7ah5_g Current Status: Cleared ========================================================================== *** Log file created *** Possible Errors and Debug messages have been printed in the following file: /tmp/glite-wms-job-status_500_633_1288865529.log</verbatim> * with option --pretty-print<verbatim> [ale@cream-03 ~]$ glite-wms-job-output --json --pretty-print --noint -i jobid { result: success jobs: { https://devel07.cnaf.infn.it:9000/mcP_zajaNI6ZGTNmraYboA: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server output_available: 1 location: /tmp/ale_mcP_zajaNI6ZGTNmraYboA } https://devel07.cnaf.infn.it:9000/doZDwXgL9OOVb9qV1LUCjQ: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server output_available: 1 location: /tmp/ale_doZDwXgL9OOVb9qV1LUCjQ } https://devel07.cnaf.infn.it:9000/ypd25dCuXqedYYdHwI7F4w: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server output_available: 1 location: /tmp/ale_ypd25dCuXqedYYdHwI7F4w } } } [ale@cream-03 ~]$ ls -la /tmp/ale_mcP_zajaNI6ZGTNmraYboA total 24 drwxr-xr-x 2 ale ale 4096 Nov 4 11:42 . drwxrwxrwt 18 root root 12288 Nov 4 11:42 .. -rw-rw-r-- 1 ale ale 1697 Nov 4 11:42 .BrokerInfo -rw-rw-r-- 1 ale ale 465 Nov 4 11:42 ls.out [ale@cream-03 ~]$ ls -la /tmp/ale_doZDwXgL9OOVb9qV1LUCjQ total 32 drwxr-xr-x 2 ale ale 4096 Nov 4 11:42 . drwxrwxrwt 18 root root 12288 Nov 4 11:42 .. -rw-rw-r-- 1 ale ale 9049 Nov 4 11:42 .BrokerInfo -rw-rw-r-- 1 ale ale 435 Nov 4 11:42 ls.out [ale@cream-03 ~]$ ls -la /tmp/ale_ypd25dCuXqedYYdHwI7F4w total 24 drwxr-xr-x 2 ale ale 4096 Nov 4 11:42 . drwxrwxrwt 18 root root 12288 Nov 4 11:42 .. -rw-rw-r-- 1 ale ale 1876 Nov 4 11:42 .BrokerInfo -rw-rw-r-- 1 ale ale 442 Nov 4 11:42 ls.out [ale@cream-03 ~]$ glite-wms-job-status -v 0 --noint -i jobid ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/mcP_zajaNI6ZGTNmraYboA Current Status: Cleared ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/doZDwXgL9OOVb9qV1LUCjQ Current Status: Cleared ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/ypd25dCuXqedYYdHwI7F4w Current Status: Cleared ========================================================================== *** Log file created *** Possible Errors and Debug messages have been printed in the following file: /tmp/glite-wms-job-status_500_757_1288867394.log</verbatim> * getOutput *without* success with sandobox retrieved:<verbatim> [ale@cream-03 ~]$ glite-wms-job-output --json https://devel07.cnaf.infn.it:9000/k_OI1reNc59LRtfQFPZX_Q {"result": "success", "jobs": {"https://devel07.cnaf.infn.it:9000/k_OI1reNc59LRtfQFPZX_Q": { "endpoint": "", "output_available": 0, "location": "None"}}} [ale@cream-03 ~]$ glite-wms-job-status -v 0 https://devel07.cnaf.infn.it:9000/k_OI1reNc59LRtfQFPZX_Q ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/k_OI1reNc59LRtfQFPZX_Q Current Status: Cleared ==========================================================================</verbatim> * with option --pretty-print<verbatim> [ale@cream-03 ~]$ glite-wms-job-output --json --pretty-print https://devel07.cnaf.infn.it:9000/GVGwWQ2g6pvfAgUx60eFHw { result: success jobs: { https://devel07.cnaf.infn.it:9000/GVGwWQ2g6pvfAgUx60eFHw: { endpoint: output_available: 0 location: None } } } [ale@cream-03 ~]$ glite-wms-job-status -v 0 https://devel07.cnaf.infn.it:9000/GVGwWQ2g6pvfAgUx60eFHw ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/GVGwWQ2g6pvfAgUx60eFHw Current Status: Cleared ==========================================================================</verbatim> * getOutput of a collection of jobs:<verbatim> [ale@cream-03 ~]$ glite-wms-job-output --json https://devel07.cnaf.infn.it:9000/OYsSNpBCnyvGpwWstM0DAw {"result": "success", "jobs": {"https://devel07.cnaf.infn.it:9000/OYsSNpBCnyvGpwWstM0DAw": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "output_available": 1, "location": "/tmp/ale_OYsSNpBCnyvGpwWstM0DAw"}}} [ale@cream-03 ~]$ ls -la /tmp/ale_OYsSNpBCnyvGpwWstM0DAw total 60 drwxr-xr-x 12 ale ale 4096 Nov 4 12:08 . drwxrwxrwt 19 root root 12288 Nov 4 12:08 .. -rw-rw-r-- 1 ale ale 1861 Nov 4 12:08 ids_nodes.map drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test1_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test2_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test3_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test4_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test5_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test6_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test7_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test8_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test9_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 12:08 Node_test_jdl [ale@cream-03 ~]$ glite-wms-job-status -v 0 https://devel07.cnaf.infn.it:9000/OYsSNpBCnyvGpwWstM0DAw ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/OYsSNpBCnyvGpwWstM0DAw Current Status: Cleared - Nodes information for: Status info for the Job : https://devel07.cnaf.infn.it:9000/63OLIfO1DU0ZrJmAF6WgfQ Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/Cu8dRs04zgahwip1DVX3ZA Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/GM2O6mzYGXg8jDzmoEVbwQ Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/Ii-Q4u9ySnJ7bC_0LEwD-w Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/LvTXC0p6op86P8IwwUZl9A Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/Ndq7AN_gx6s_p4sTqaG3IQ Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/W1pEWmyAAZJrDqbK9G8u3w Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/ZlhsYYeEhqu8D9rZRJ7UYw Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/mpA7NQYeOEF_5z6NAEGSwA Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/nm2e-ns1OsUq_09h7-i8YA Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/pFbt2tfzk65-a5WTHVDRTg Current Status: Done (Success) ==========================================================================</verbatim> * with option --pretty-print<verbatim> [ale@cream-03 ~]$ glite-wms-job-output --json --pretty-print https://devel07.cnaf.infn.it:9000/ab1VuZw7wDUwZx8dBHg6aQ { result: success jobs: { https://devel07.cnaf.infn.it:9000/ab1VuZw7wDUwZx8dBHg6aQ: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server output_available: 1 location: /tmp/ale_ab1VuZw7wDUwZx8dBHg6aQ } } } [ale@cream-03 ~]$ ls -l /tmp/ale_ab1VuZw7wDUwZx8dBHg6aQ total 44 -rw-rw-r-- 1 ale ale 1861 Nov 4 13:39 ids_nodes.map drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test1_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test2_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test3_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test4_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test5_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test6_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test7_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test8_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test9_jdl drwxr-xr-x 2 ale ale 4096 Nov 4 13:39 Node_test_jdl [ale@cream-03 ~]$ glite-wms-job-status -v 0 https://devel07.cnaf.infn.it:9000/ab1VuZw7wDUwZx8dBHg6aQ ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/ab1VuZw7wDUwZx8dBHg6aQ Current Status: Cleared - Nodes information for: Status info for the Job : https://devel07.cnaf.infn.it:9000/1lmmvko03Q0yWyJbUKFtAQ Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/6XcVOrd7eYJncWtEsn3S9Q Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/BADf5Nquq8PpMprfUoYyqQ Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/NC-A9GK5BZGnjnYRCGBPgg Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/W5LnCpt6EfEe2VA2Dqo4pA Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/_q438yEfEzolRhQyXQiWvg Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/hzuB1QLoXer6vRc98Qk1og Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/mnQIHOqGPcsetPWhPgS4-Q Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/nUoRvVD-r7CNIrGVM5ZSFA Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/tUAa-gGY_pkf1GDitrMeDA Current Status: Done (Success) Status info for the Job : https://devel07.cnaf.infn.it:9000/yku0-p2_Vps_PI7V-3tvfg Current Status: Done (Success) ==========================================================================</verbatim> * getOutput of single nodes:<verbatim> [ale@cream-03 ~]$ glite-wms-job-output --json --pretty-print https://devel07.cnaf.infn.it:9000/a5P0iTZAym0AHHfN4zkLmQ { result: success jobs: { https://devel07.cnaf.infn.it:9000/a5P0iTZAym0AHHfN4zkLmQ: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server output_available: 1 location: /tmp/ale_a5P0iTZAym0AHHfN4zkLmQ } } } [ale@cream-03 ~]$ ls -l /tmp/ale_a5P0iTZAym0AHHfN4zkLmQ total 4 -rw-rw-r-- 1 ale ale 264 Nov 4 12:21 ls.out [ale@cream-03 ~]$ glite-wms-job-status https://devel07.cnaf.infn.it:9000/wvjRRMayAnxyd-TVp8vo3Q ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/wvjRRMayAnxyd-TVp8vo3Q Current Status: Running Submitted: Thu Nov 4 12:13:15 2010 CET ========================================================================== - Nodes information for: Status info for the Job : https://devel07.cnaf.infn.it:9000/NqeUeg_gcuvyy3IBSZw1gQ Current Status: Running Status Reason: Job successfully submitted to Globus Destination: ce.grid.eenet.ee:2119/jobmanager-lcgpbs-dteam Submitted: Thu Nov 4 12:13:15 2010 CET ========================================================================== Status info for the Job : https://devel07.cnaf.infn.it:9000/a5P0iTZAym0AHHfN4zkLmQ Current Status: Cleared Status Reason: user retrieved output sandbox Destination: cce.ihep.ac.cn:8443/cream-pbs-dteam Submitted: Thu Nov 4 12:13:15 2010 CET ========================================================================== [ale@cream-03 ~]$ glite-wms-job-output --json https://devel07.cnaf.infn.it:9000/NqeUeg_gcuvyy3IBSZw1gQ {"result": "success", "jobs": {"https://devel07.cnaf.infn.it:9000/NqeUeg_gcuvyy3IBSZw1gQ": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "output_available": 1, "location": "/tmp/ale_NqeUeg_gcuvyy3IBSZw1gQ"}}} [ale@cream-03 ~]$ ls -l /tmp/ale_NqeUeg_gcuvyy3IBSZw1gQ total 4 -rw-rw-r-- 1 ale ale 395 Nov 4 13:36 ls.out [ale@cream-03 ~]$ glite-wms-job-status https://devel07.cnaf.infn.it:9000/wvjRRMayAnxyd-TVp8vo3Q ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/wvjRRMayAnxyd-TVp8vo3Q Current Status: Cleared Submitted: Thu Nov 4 12:13:15 2010 CET ========================================================================== - Nodes information for: Status info for the Job : https://devel07.cnaf.infn.it:9000/NqeUeg_gcuvyy3IBSZw1gQ Current Status: Cleared Status Reason: user retrieved output sandbox Destination: lcg-ce2.usc.cesga.es:2119/jobmanager-lcgpbs-dteam Submitted: Thu Nov 4 12:13:15 2010 CET ========================================================================== Status info for the Job : https://devel07.cnaf.infn.it:9000/a5P0iTZAym0AHHfN4zkLmQ Current Status: Cleared Status Reason: user retrieved output sandbox Destination: cce.ihep.ac.cn:8443/cream-pbs-dteam Submitted: Thu Nov 4 12:13:15 2010 CET ==========================================================================</verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?68307][#68307]] %ENDCOLOR%: WMS-UI: syntax error for correct JDL when substr is used %GREEN% FIXED %ENDCOLOR% * To test this bug you need to install _glite-jdl-api-cpp-3.2.4-2.sl5_ on a WMS, then try a list-match or a submission with this jdl:<verbatim> [ale@cream-03 ~]$ cat 68307.jdl [ Executable = "/bin/ls" ; Arguments = "-lha " ; Stdoutput = "ls.out" ; OutputSandbox = { "ls.out"} ; requirements = int(substr(other.GLUECECapability[0],size("CPUScalingReferenceSI00="))) == 1000; VirtualOrganisation="dteam"; ] [ale@cream-03 test]$ glite-wms-job-list-match -a -e https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server --rank 68307.jdl Connecting to the service https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server ========================================================================== COMPUTING ELEMENT IDs LIST The following CE(s) matching your job requirements have been found: *CEId* *Rank* - ce106.cern.ch:2119/jobmanager-lcglsf-grid_2nh_dteam 0 - ce106.cern.ch:2119/jobmanager-lcglsf-grid_dteam 0 - ce107.cern.ch:2119/jobmanager-lcglsf-grid_2nh_dteam 0 - ce107.cern.ch:2119/jobmanager-lcglsf-grid_dteam 0 - ce124.cern.ch:2119/jobmanager-lcglsf-grid_2nh_dteam 0 - ce124.cern.ch:2119/jobmanager-lcglsf-grid_dteam 0 - ce125.cern.ch:2119/jobmanager-lcglsf-grid_2nh_dteam 0 - ce125.cern.ch:2119/jobmanager-lcglsf-grid_dteam 0 - ce126.cern.ch:2119/jobmanager-lcglsf-grid_2nh_dteam 0 - ce126.cern.ch:2119/jobmanager-lcglsf-grid_dteam 0 - ce127.cern.ch:2119/jobmanager-lcglsf-grid_2nh_dteam 0 - ce127.cern.ch:2119/jobmanager-lcglsf-grid_dteam 0 ========================================================================== </verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?68465][#68465]] %ENDCOLOR%: glite-wms-job-cancel produces no JSON compliant formatting %GREEN% FIXED %ENDCOLOR% * Cancel a single job:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a test.jdl Connecting to the service https://devel14.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://devel07.cnaf.infn.it:9000/Plkq83qvM9G0UfdsbnQDrQ ========================================================================== [ale@cream-03 ~]$ glite-wms-job-cancel --json https://devel07.cnaf.infn.it:9000/Plkq83qvM9G0UfdsbnQDrQ { "result": "success", "jobs": { "https://devel07.cnaf.infn.it:9000/Plkq83qvM9G0UfdsbnQDrQ": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "status": "cancel requested" } } } [ale@cream-03 ~]$ glite-wms-job-status https://devel07.cnaf.infn.it:9000/Plkq83qvM9G0UfdsbnQDrQ ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/Plkq83qvM9G0UfdsbnQDrQ Current Status: Cancelled Destination: cale.uniandes.edu.co:8443/cream-pbs-dteam Submitted: Tue Nov 2 16:56:10 2010 CET ==========================================================================</verbatim> * Cancel of single job using --pretty-print option <verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a test.jdl Connecting to the service https://devel14.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://devel07.cnaf.infn.it:9000/B4Pyutn2BU3bhbaxIUgPdA ========================================================================== [ale@cream-03 ~]$ glite-wms-job-cancel --json --pretty-print https://devel07.cnaf.infn.it:9000/B4Pyutn2BU3bhbaxIUgPdA { result: success jobs: { https://devel07.cnaf.infn.it:9000/B4Pyutn2BU3bhbaxIUgPdA: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server status: cancel requested } } } [ale@cream-03 ~]$ glite-wms-job-status https://devel07.cnaf.infn.it:9000/B4Pyutn2BU3bhbaxIUgPdA ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/B4Pyutn2BU3bhbaxIUgPdA Current Status: Cancelled Destination: creamce.grid.rug.nl:8443/cream-pbs-medium Submitted: Tue Nov 2 16:58:05 2010 CET ==========================================================================</verbatim> * Cancel of multiple jobs:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a -o jobid test.jdl Connecting to the service https://devel14.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://devel07.cnaf.infn.it:9000/9IU8sgB_T-882aqSR8_nAQ The job identifier has been saved in the following file: /home/ale/jobid ========================================================================== [ale@cream-03 ~]$ glite-wms-job-submit -a -o jobid test.jdl Connecting to the service https://devel14.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://devel07.cnaf.infn.it:9000/_eixgfYvYWoCiZ21ER4vYw The job identifier has been saved in the following file: /home/ale/jobid ========================================================================== [ale@cream-03 ~]$ glite-wms-job-submit -a -o jobid test.jdl Connecting to the service https://devel14.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://devel07.cnaf.infn.it:9000/fAJnQQPFMqrXT1xAFXVxxg The job identifier has been saved in the following file: /home/ale/jobid ========================================================================== [ale@cream-03 ~]$ glite-wms-job-cancel --json --noint -i jobid { "result": "success", "jobs": { "https://devel07.cnaf.infn.it:9000/9IU8sgB_T-882aqSR8_nAQ": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "status": "cancel requested" } , "https://devel07.cnaf.infn.it:9000/_eixgfYvYWoCiZ21ER4vYw": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "status": "cancel requested" } , "https://devel07.cnaf.infn.it:9000/fAJnQQPFMqrXT1xAFXVxxg": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "status": "cancel requested" } } } [ale@cream-03 ~]$ glite-wms-job-status -v 0 --noint -i jobid ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/9IU8sgB_T-882aqSR8_nAQ Current Status: Cancelled ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/_eixgfYvYWoCiZ21ER4vYw Current Status: Aborted ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/fAJnQQPFMqrXT1xAFXVxxg Current Status: Cancelled ==========================================================================</verbatim> * Cancel of multiple jobs using option --pretty-print:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --nomsg -o jobid test.jdl https://devel07.cnaf.infn.it:9000/PYxQsEgVrmHDD4IOqJj1jw [ale@cream-03 ~]$ glite-wms-job-submit -a --nomsg -o jobid test.jdl https://devel07.cnaf.infn.it:9000/brJPQT6fohm3K3lbZ-XDRg [ale@cream-03 ~]$ glite-wms-job-submit -a --nomsg -o jobid test.jdl https://devel07.cnaf.infn.it:9000/9tF8yxDrIKD8eUbSBcoXYg [ale@cream-03 ~]$ glite-wms-job-cancel --json --pretty-print --noint -i jobid { result: success jobs: { https://devel07.cnaf.infn.it:9000/PYxQsEgVrmHDD4IOqJj1jw: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server status: cancel requested } https://devel07.cnaf.infn.it:9000/brJPQT6fohm3K3lbZ-XDRg: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server status: cancel requested } https://devel07.cnaf.infn.it:9000/9tF8yxDrIKD8eUbSBcoXYg: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server status: cancel requested } } } [ale@cream-03 ~]$ glite-wms-job-status -v 0 --noint -i jobid ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/PYxQsEgVrmHDD4IOqJj1jw Current Status: Scheduled ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/brJPQT6fohm3K3lbZ-XDRg Current Status: Cancelled ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/9tF8yxDrIKD8eUbSBcoXYg Current Status: Cancelled ========================================================================== *** Log file created *** Possible Errors and Debug messages have been printed in the following file: /tmp/glite-wms-job-status_500_21640_1288713882.log</verbatim> * Cancel of a collection:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --nomsg --collection collection/ https://devel07.cnaf.infn.it:9000/k3MKhhKFhvm1GcfLS5cwlA [ale@cream-03 ~]$ glite-wms-job-cancel --json https://devel07.cnaf.infn.it:9000/k3MKhhKFhvm1GcfLS5cwlA { "result": "success", "jobs": { "https://devel07.cnaf.infn.it:9000/k3MKhhKFhvm1GcfLS5cwlA": { "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "status": "cancel requested" } } } [ale@cream-03 ~]$ glite-wms-job-status -v 0 https://devel07.cnaf.infn.it:9000/k3MKhhKFhvm1GcfLS5cwlA ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/k3MKhhKFhvm1GcfLS5cwlA Current Status: Cancelled - Nodes information for: Status info for the Job : https://devel07.cnaf.infn.it:9000/9eL5KT1JxUG_eJVe9k4N4Q Current Status: Cancelled Status info for the Job : https://devel07.cnaf.infn.it:9000/vEyClv387UCVvDM2dM148Q Current Status: Cancelled ==========================================================================</verbatim> * Cancel of a collection with --pretty-print option:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --nomsg --collection collection/ https://devel07.cnaf.infn.it:9000/pegAcMKjqXVbr1bp0auCLw [ale@cream-03 ~]$ glite-wms-job-cancel --json --pretty-print https://devel07.cnaf.infn.it:9000/pegAcMKjqXVbr1bp0auCLw { result: success jobs: { https://devel07.cnaf.infn.it:9000/pegAcMKjqXVbr1bp0auCLw: { endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server status: cancel requested } } } [ale@cream-03 ~]$ glite-wms-job-status -v 0 https://devel07.cnaf.infn.it:9000/pegAcMKjqXVbr1bp0auCLw ======================= glite-wms-job-status Success ===================== BOOKKEEPING INFORMATION: Status info for the Job : https://devel07.cnaf.infn.it:9000/pegAcMKjqXVbr1bp0auCLw Current Status: Cleared - Nodes information for: Status info for the Job : https://devel07.cnaf.infn.it:9000/NbDqnxsx4h_qYLxZggvU_w Current Status: Cancelled Status info for the Job : https://devel07.cnaf.infn.it:9000/S0-KZuWnvjyiX5a90feA9g Current Status: Cancelled ========================================================================== </verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?68786][#68786]] %ENDCOLOR%: "InputSandboxBaseURI" JDL attribute work only in some circumstances... %GREEN% FIXED %ENDCOLOR% * Submit a JDL like this one:<verbatim> [ale@cream-03 ~]$ cat 68786.jdl [ nodes = { [ executable="/bin/ls" ; stdoutput = "std.out"; outputsandbox= {"std.out"}; inputsandbox={"renewal_vomses"}; InputSandboxBaseURI="gsiftp://devel14.cnaf.infn.it:2119/tmp"; ] }; Type = "Collection" ; requirements = other.GlueCEStateStatus == "Production" ; rank = -other.GlueCEStateEstimatedResponseTime ; virtualorganisation ="dteam"; ] [ale@cream-03 ~]$ glite-wms-job-submit -a 68786.jdl Connecting to the service https://devel14.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://devel07.cnaf.infn.it:9000/BZZwYjBR1fAQXHGskqsMgA ==========================================================================</verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?69440][#69440]] %ENDCOLOR%: json format of output isn't correct in glite-wms-job-submit %GREEN% FIXED %ENDCOLOR% * Submit a single job:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --json test.jdl {"result": "success", "jobid": "https://devel07.cnaf.infn.it:9000/UU4KKhu4aX0FaeuOkv_BkA", "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server"}</verbatim> * Submit a sinlge job using a human readble output format:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --pretty-print --json test.jdl { result: success jobid: https://devel07.cnaf.infn.it:9000/8ZQ5OPvhEZSJJWFirsYBOw endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server }</verbatim> * Submit a collection: <verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --json --collection collection/ {"result": "success", "parent": "https://devel07.cnaf.infn.it:9000/5Ny6EjvKg_LG8TmK7NT8rA", "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "children": {"Node_test2_jdl": "https://devel07.cnaf.infn.it:9000/OoY60YLJ1pK0PcosZpj_PA", "Node_test_jdl": "https://devel07.cnaf.infn.it:9000/fzUsEBd6l2YR2gNfdDlTBg"}}</verbatim> * Submit a collection using a human readble output format:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --json --pretty-print --collection collection/ { result: success parent: https://devel07.cnaf.infn.it:9000/HhuIuOxlwzh8kK6C66BdYw endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server children: { Node_test2_jdl: https://devel07.cnaf.infn.it:9000/8Fm1jPyKnerg6y4LcxhiUw Node_test_jdl: https://devel07.cnaf.infn.it:9000/onM_xsLVvkhQsFdc41Kddg } }</verbatim> * Submit a dag: <verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --json dag.jdl {"result": "success", "parent": "https://devel07.cnaf.infn.it:9000/4iw1HxQAyHPkunnKe1aEBw", "endpoint": "https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server", "children": {"nodeB": "https://devel07.cnaf.infn.it:9000/9dcTFYy6R04r7ZryVQP8bw", "nodeC": "https://devel07.cnaf.infn.it:9000/bKQKsvFMI6XYkkcJxaw-pw", "nodeA": "https://devel07.cnaf.infn.it:9000/Dgb54L4oGOlptBQVDEtsWQ"}}</verbatim> * Submit a dag using a human readble output format:<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a --json --pretty-print dag.jdl { result: success parent: https://devel07.cnaf.infn.it:9000/KTOaW_lu_fAafiR3FZ3GsA endpoint: https://devel14.cnaf.infn.it:7443/glite_wms_wmproxy_server children: { nodeB: https://devel07.cnaf.infn.it:9000/XZBKG1oLQbF89LdKRMldyQ nodeC: https://devel07.cnaf.infn.it:9000/l5lxlKRrdLVYr9QkK7VUvw nodeA: https://devel07.cnaf.infn.it:9000/HvE6OIOTTy871zYTh2f4pA } }</verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?72675][#72675]] %ENDCOLOR%: json format of output isn't correct in glite-wms-job-cancel %GREEN% *FIXED* %ENDCOLOR% * See tests on bug #68465 ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?72695][#72695]] %ENDCOLOR%: glite-wms-job-list-match should provide a json-compliant output %GREEN% *FIXED* %ENDCOLOR% * glite-wms-job-list-match -a --json --rank test.jdl<verbatim> { "result": "success", "ceid": ["bocecream.bo.infn.it:8443/cream-pbs-cert", "cream-29.pd.infn.it:8443/cream-pbs-creamtest1", "cream-29.pd.infn.it:8443/cream-pbs-creamtest2", "cream-30.pd.infn.it:8443/cream-pbs-creamtest1", "cream-30.pd.infn.it:8443/cream-pbs-creamtest2", "cream-31.pd.infn.it:8443/cream-pbs-creamtest1", "cream-31.pd.infn.it:8443/cream-pbs-creamtest2", "cream-33.pd.infn.it:8443/cream-pbs-cert", "cream-39.pd.infn.it:8443/cream-pbs-creamtest1", "cream-39.pd.infn.it:8443/cream-pbs-creamtest2", "cream-40.pd.infn.it:8443/cream-pbs-creamtest1", "cream-40.pd.infn.it:8443/cream-pbs-creamtest2", "cream-41.pd.infn.it:8443/cream-pbs-creamtest1", "cream-41.pd.infn.it:8443/cream-pbs-creamtest2", "cream-ce-1.ba.infn.it:8443/cream-pbs-cert", "cream-ce.pr.infn.it:8443/cream-pbs-cert", "cream-ce.research-infrastructures.eu:8443/cream-pbs-cert", "cremino.cnaf.infn.it:8443/cream-pbs-cert", "devce.cnaf.infn.it:8443/cream-pbs-cert", "dgas-test-vm03.cnaf.infn.it:8443/cream-pbs-cert", "grid-ce.pv.infn.it:8443/cream-pbs-cert", "grid1.ira.inaf.it:8443/cream-pbs-cert", "gridce.ilc.cnr.it:8443/cream-pbs-cert", "pbs-enmr.cerm.unifi.it:8443/cream-pbs-cert", "t2-ce-01.to.infn.it:8443/cream-pbs-cert", "t2-ce-01.to.infn.it:8443/cream-pbs-short", "cream-32.pd.infn.it:8443/cream-pbs-creamtest1", "cream-32.pd.infn.it:8443/cream-pbs-creamtest2", "cream-34.pd.infn.it:8443/cream-pbs-cert", "cream-34.pd.infn.it:8443/cream-pbs-cream_A", "cream-34.pd.infn.it:8443/cream-pbs-cream_B"] "rank": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -12677100, -12677100, -2146660000, -2146660000, -2146660000] }</verbatim> * glite-wms-job-list-match -a --json --rank --pretty-print test.jdl<verbatim> { result: success ceid: bocecream.bo.infn.it:8443/cream-pbs-cert, cream-29.pd.infn.it:8443/cream-pbs-creamtest1, cream-29.pd.infn.it:8443/cream-pbs-creamtest2, cream-30.pd.infn.it:8443/cream-pbs-creamtest1, cream-30.pd.infn.it:8443/cream-pbs-creamtest2, cream-31.pd.infn.it:8443/cream-pbs-creamtest1, cream-31.pd.infn.it:8443/cream-pbs-creamtest2, cream-33.pd.infn.it:8443/cream-pbs-cert, cream-39.pd.infn.it:8443/cream-pbs-creamtest1, cream-39.pd.infn.it:8443/cream-pbs-creamtest2, cream-40.pd.infn.it:8443/cream-pbs-creamtest1, cream-40.pd.infn.it:8443/cream-pbs-creamtest2, cream-41.pd.infn.it:8443/cream-pbs-creamtest1, cream-41.pd.infn.it:8443/cream-pbs-creamtest2, cream-ce-1.ba.infn.it:8443/cream-pbs-cert, cream-ce.pr.infn.it:8443/cream-pbs-cert, cream-ce.research-infrastructures.eu:8443/cream-pbs-cert, cremino.cnaf.infn.it:8443/cream-pbs-cert, devce.cnaf.infn.it:8443/cream-pbs-cert, dgas-test-vm03.cnaf.infn.it:8443/cream-pbs-cert, grid-ce.pv.infn.it:8443/cream-pbs-cert, grid1.ira.inaf.it:8443/cream-pbs-cert, gridce.ilc.cnr.it:8443/cream-pbs-cert, pbs-enmr.cerm.unifi.it:8443/cream-pbs-cert, t2-ce-01.to.infn.it:8443/cream-pbs-cert, t2-ce-01.to.infn.it:8443/cream-pbs-short, cream-32.pd.infn.it:8443/cream-pbs-creamtest1, cream-32.pd.infn.it:8443/cream-pbs-creamtest2, cream-34.pd.infn.it:8443/cream-pbs-cert, cream-34.pd.infn.it:8443/cream-pbs-cream_A, cream-34.pd.infn.it:8443/cream-pbs-cream_B rank: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -12677100, -12677100, -2146660000, -2146660000, -2146660000 }</verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?72870][#72870]] %ENDCOLOR%: The UI does not check type mismatch for SMPGranularity, !WholeNodes and !HostNumber %GREEN% FIXED %ENDCOLOR% * To test this bug you need to install glite-jdl-api-cpp-3.2.4-2.sl5 on a WMS, then try a list-match or a submission with this jdl:<verbatim> [ executable="/bin/sleep"; arguments="$[$RANDOM%72]"; wholenodes = "true"; hostnumber = 4.3; smpgranularity = 2.2; ]</verbatim> * Check "wholenodes":<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a -e https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server 72870.jdl Connecting to the service https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server Warning - Unable to submit the job to the service: https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server WholeNodes: wrong type caught for attribute Method: jobSubmit Error - Operation failed Unable to find any endpoint where to perform service request</verbatim> * Check "smpgranularity":<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a -e https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server 72870.jdl Connecting to the service https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server Warning - Unable to submit the job to the service: https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server SMPGranularity: wrong type caught for attribute Method: jobSubmit Error - Operation failed Unable to find any endpoint where to perform service request</verbatim> * Check "HostNumber":<verbatim> [ale@cream-03 ~]$ glite-wms-job-submit -a -e https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server 72870.jdl Connecting to the service https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server Warning - Unable to submit the job to the service: https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server HostNumber: wrong type caught for attribute Method: jobSubmit Error - Operation failed Unable to find any endpoint where to perform service request</verbatim> ---+++ %BLUE% Bug [[https://savannah.cern.ch/bugs/?73286][#73286]] %ENDCOLOR%: glite-wms-job-status and glite-wms-job-logging info wrongly see a corrupted help file %GREEN% *FIXED* %ENDCOLOR% * glite-wms-job-status <verbatim> [ale@cream-03 ~]$ glite-wms-job-status --help glite-wms-job-status full help SYNOPSIS glite-job-status [options] <jobId> options: --version --help --config, -c <configfile> --debug --logfile <filepath> --noint --input, -i <filepath> --output, -o <filepath> --all --config-vo <configfile> --verbosity, -v <level> --from <[MM:DD:]hh:mm[:[CC]YY]> --to <[MM:DD:]hh:mm[:[CC]YY]> --user-tag <<tag name>=<tag value>> --status, -s <<status code>> --exclude, -e <<status code>> --nonodes DESCRIPTION This command prints the status of a job previously submitted using glite-job-submit. The job status request is sent to the LB that provides the requested information. This can be done during the whole job life. glite-job-status can monitor one or more jobs: the jobs to be checked are identified by one or more job identifiers (jobIds returned by glite-job-submit) provided as arguments to the command and separated by a blank space. OPTIONS --version displays UI version. --help displays command usage --config, -c <configfile> if the command is launched with this option, the configuration file pointed by configfile is used. This option is meaningless when used together with "--vo" option --debug When this option is specified, debugging information is displayed on the standard output and written into the log file, whose location is eventually printed on screen. The default UI logfile location is: glite-wms-job-<command_name>_<uid>_<pid>_<time>.log located under the /var/tmp directory please notice that this path can be overriden with the '--logfile' option --logfile <filepath> when this option is specified, all information is written into the specified file pointed by filepath. This option will override the default location of the logfile: glite-wms-job-<command_name>_<uid>_<pid>_<time>.log located under the /var/tmp directory --noint if this option is specified, every interactive question to the user is skipped and the operation is continued (when possible) --input, -i <filepath> Allow the user to select the JobId(s) from an input file located in filepath. The list of jobIds contained in the file is displayed and the user is prompted for a choice. Single jobs can be selected specifying the numbers associated to the job identifiers separated by commas. E.g. selects the first,the third and the fifth jobId in the list. Ranges can also be selected specifying ends separated by a dash. E.g. selects jobIds in the list from third position (included) to sixth position (included). It is worth mentioning that it is possible to select at the same time ranges and single jobs. E.g. selects the first job id in the list, the ids from the third to the fifth (ends included) and finally the eighth one. When specified toghether with '--noint', all available JobId are selected. This option cannot be used when one or more jobIds have been specified as extra command argument --output, -o <filepath> writes the results of the operation in the file specified by filepath instead of the standard output. filepath can be either a simple name or an absolute path (on the submitting machine). In the former case the file filepath is created in the current working directory. --all displays status information about all job owned by the user submitting the command. This option can't be used either if one or more jobIds have been specified or if the --input option has been specified. All LBs listed in the vo-specific UI configuration file $GLITE_WMS_LOCATION/etc/<vo_name>/glite_wmsui.conf are contacted to fulfil this request. --config-vo <configfile> if the command is launched with this option, the VO-specific configuration file pointed by configfile is used. This option is meaningless when used together with "--vo" option --verbosity, -v <level> sets the detail level of information about the job displayed to the user. Possible values for verb_level are 0 (only JobId and status/event displayed),1 (timestamp and source information added), 2 (all information but jdls displayed), 3 (complete information containing all Jdl strings) --from <[MM:DD:]hh:mm[:[CC]YY]> makes the command query LB for jobs that have been submitted (more precisely entered the "Submitted" status) after the specified date/time. If only hours and minutes are specified then the current day is taken into account. If the year is not specified then the current year is taken into account. --to <[MM:DD:]hh:mm[:[CC]YY]> makes the command query LB for jobs that have been submitted (more precisely entered the "Submitted" status) before the specified date/time. If only hours and minutes are specified then the current day is taken into account. If the year is not specified then the current year is taken into account. --user-tag <<tag name>=<tag value>> makes the command include only jobs that have defined specified usertag name and value --status, -s <<status code>> makes the command query LB for jobs that are in the specified status. The status value can be either an integer or a (case insensitive) string; the following possible values are allowed: UNDEF (0), SUBMITTED(1), WAITING(2), READY(3), SCHEDULED(4), RUNNING(5), DONE(6), CLEARED(7), ABORTED(8), CANCELLED(9), UNKNOWN(10), PURGED(11). This option can be repeated several times, all status conditions will be considered as in a logical OR operation (i.e. -s SUBMITTED --status 3 will query all jobs that are either in SUBMITTED or in READY status) --exclude, -e <<status code>> makes the command query LB for jobs that are NOT in the specified status. The status value can be either an integer or a (case insensitive) string; the following possible values are allowed: UNDEF (0), SUBMITTED(1), WAITING(2), READY(3), SCHEDULED(4), RUNNING(5), DONE(6), CLEARED(7), ABORTED(8), CANCELLED(9), UNKNOWN(10), PURGED(11). This option can be repeated several times, all status conditions will be considered as in a logical AND operation (i.e. -e SUBMITTED --exclude 3 will query all jobs that are neither in SUBMITTED nor in READY status) --nonodes This option will not display any information of (if present) sub jobs of any dag, only requested JobId(s) info will be taken into account ENVIRONMENT GLITE_WMSUI_CONFIG_VAR: This variable may be set to specify the path location of the custom default attribute configuration GLITE_WMSUI_CONFIG_VO: This variable may be set to specify the path location of the VO-specific configuration file GLITE_WMS_LOCATION: This variable must be set when the Glite WMS installation is not located in the default paths: either /opt/glite or /usr/local GLITE_LOCATION: This variable must be set when the Glite installation is not located in the default paths: either /opt/glite or /usr/local GLOBUS_LOCATION: This variable must be set when the Globus installation is not located in the default path /opt/globus. It is taken into account only by submission and get-output commands GLOBUS_TCP_PORT_RANGE="<val min> <val max>" This variable must be set to define a range of ports to be used for inbound connections in the interactivity context. It is taken into account only by submission of interactive jobs and attach commands X509_CERT_DIR: This variable may be set to override the default location of the trusted certificates directory, which is normally /etc/grid-security/certificates. X509_USER_PROXY: This variable may be set to override the default location of the user proxy credentials, which is normally /tmp/x509up_u<uid>. FILES One of the following paths must exist (seeked with the specified order): - $GLITE_WMS_LOCATION/etc/ - $GLITE_LOCATION/etc/ - /opt/glite/etc/ - /usr/local/etc/ - /etc/ and contain the following UI configuration files: glite_wmsui_cmd_var.conf, glite_wmsui_cmd_err.conf, glite_wmsui_cmd_help.conf, <voName>/glite_wmsui.conf - glite_wmsui_cmd_var.conf will contain custom configuration default values A different configuration file may be specified either by using the --config option or by setting the GLITE_WMSUI_CONFIG_VAR environment variable here follows a possible example: [ RetryCount = 3 ; ErrorStorage= "/tmp" ; OutputStorage="/tmp"; ListenerStorage = "/tmp" ; LoggingTimeout = 30 ; LoggingSyncTimeout = 30 ; NSLoggerLevel = 0; DefaultStatusLevel = 1 ; DefaultLogInfoLevel = 1; ] - glite_wmsui_cmd_err.conf will contain UI exception mapping between error codes and error messages (no relocation possible) - glite_wmsui_cmd_help.conf will contain UI long-help information (no relocation possible) - <voName>/glite_wmsui.conf will contain User VO-specific attributes. A different configuration file may be specified either by using the --config-vo option or by setting the GLITE_WMSUI_CONFIG_VO environment variable here follows a possible example: [ LBAddresses = { "tigerman.cnaf.infn.it:9000" }; VirtualOrganisation = "egee"; NSAddresses = { "tigerman.cnaf.infn.it:7772" } ] Besides those files, a valid proxy must be found inside the following path: /tmp/x509up_u<uid> ( use the X509_USER_PROXY environment variable to override the default location JDL file) AUTHORS Alessandro Maraschini (egee@datamat.it) </verbatim> * glite-wms-job-logging-info <verbatim> [ale@cream-03 ~]$ glite-wms-job-logging-info --help glite-wms-job-logging-info full help SYNOPSIS glite-job-logging-info [options] <jobId> options: --version --help --config, -c <configfile> --debug --logfile <filepath> --noint --input, -i <filepath> --output, -o <filepath> --config-vo <configfile> --verbosity, -v <level> --from <[MM:DD:]hh:mm[:[CC]YY]> --to <[MM:DD:]hh:mm[:[CC]YY]> --user-tag <<tag name>=<tag value>> --event <<event code>> --exclude, -e <<event code>> DESCRIPTION This command queries the LB persistent DB for logging information about jobs previously submitted using glite-job-submit. The job logging information are stored permanently by the LB service and can be retrieved also after the job has terminated its life-cycle, differently from the bookkeeping information that are in some way "consumed" by the user during the job existence. OPTIONS --version displays UI version. --help displays command usage --config, -c <configfile> if the command is launched with this option, the configuration file pointed by configfile is used. This option is meaningless when used together with "--vo" option --debug When this option is specified, debugging information is displayed on the standard output and written into the log file, whose location is eventually printed on screen. The default UI logfile location is: glite-wms-job-<command_name>_<uid>_<pid>_<time>.log located under the /var/tmp directory please notice that this path can be overriden with the '--logfile' option --logfile <filepath> when this option is specified, all information is written into the specified file pointed by filepath. This option will override the default location of the logfile: glite-wms-job-<command_name>_<uid>_<pid>_<time>.log located under the /var/tmp directory --noint if this option is specified, every interactive question to the user is skipped and the operation is continued (when possible) --input, -i <filepath> Allow the user to select the JobId(s) from an input file located in filepath. The list of jobIds contained in the file is displayed and the user is prompted for a choice. Single jobs can be selected specifying the numbers associated to the job identifiers separated by commas. E.g. selects the first,the third and the fifth jobId in the list. Ranges can also be selected specifying ends separated by a dash. E.g. selects jobIds in the list from third position (included) to sixth position (included). It is worth mentioning that it is possible to select at the same time ranges and single jobs. E.g. selects the first job id in the list, the ids from the third to the fifth (ends included) and finally the eighth one. When specified toghether with '--noint', all available JobId are selected. This option cannot be used when one or more jobIds have been specified as extra command argument --output, -o <filepath> writes the results of the operation in the file specified by filepath instead of the standard output. filepath can be either a simple name or an absolute path (on the submitting machine). In the former case the file filepath is created in the current working directory. --config-vo <configfile> if the command is launched with this option, the VO-specific configuration file pointed by configfile is used. This option is meaningless when used together with "--vo" option --verbosity, -v <level> sets the detail level of information about the job displayed to the user. Possible values for verb_level are 0 (only JobId and status/event displayed),1 (timestamp and source information added), 2 (all information but jdls displayed), 3 (complete information containing all Jdl strings) --from <[MM:DD:]hh:mm[:[CC]YY]> makes the command query LB for jobs that have been submitted (more precisely entered the "Submitted" status) after the specified date/time. If only hours and minutes are specified then the current day is taken into account. If the year is not specified then the current year is taken into account. --to <[MM:DD:]hh:mm[:[CC]YY]> makes the command query LB for jobs that have been submitted (more precisely entered the "Submitted" status) before the specified date/time. If only hours and minutes are specified then the current day is taken into account. If the year is not specified then the current year is taken into account. --user-tag <<tag name>=<tag value>> makes the command include only jobs that have defined specified usertag name and value --event <<event code>> makes the command query specified events for requested jobid(s) The event code can be either an integer or a (case insensitive) string; the following possible values are allowed: UNDEF, TRANSFER, ACCEPTED, REFUSED, ENQUEUED, DEQUEUED, HELPERCALL, HELPERRETURN, RUNNING, RESUBMISSION, DONE, CANCEL, ABORT, CLEAR, PURGE, MATCH, PENDING, REGJOB, CHKPT, LISTENER, CURDESCR, USERTAG, CHANGEACL, NOTIFICATION, RESOURCEUSAGE, REALLYRUNNING This option can be repeated several times, all event conditions will be considered as in a logical OR operation (i.e. --event PURGE --event 4 will query, for specified jobid(s), all PURGE and ENQUEUED events) --exclude, -e <<event code>> makes the command exclude specified events for requested jobid(s) The event code can be either an integer or a (case insensitive) string; the following possible values are allowed: UNDEF, TRANSFER, ACCEPTED, REFUSED, ENQUEUED, DEQUEUED, HELPERCALL, HELPERRETURN, RUNNING, RESUBMISSION, DONE, CANCEL, ABORT, CLEAR, PURGE, MATCH, PENDING, REGJOB, CHKPT, LISTENER, CURDESCR, USERTAG, CHANGEACL, NOTIFICATION, RESOURCEUSAGE, REALLYRUNNING This option can be repeated several times, all event conditions will be considered as in a logical AND operation (i.e. -e PURGE --exclude 4 will query, for specified jobid(s), all events BUT PURGE and ENQUEUED) ENVIRONMENT GLITE_WMSUI_CONFIG_VAR: This variable may be set to specify the path location of the custom default attribute configuration GLITE_WMSUI_CONFIG_VO: This variable may be set to specify the path location of the VO-specific configuration file GLITE_WMS_LOCATION: This variable must be set when the Glite WMS installation is not located in the default paths: either /opt/glite or /usr/local GLITE_LOCATION: This variable must be set when the Glite installation is not located in the default paths: either /opt/glite or /usr/local GLOBUS_LOCATION: This variable must be set when the Globus installation is not located in the default path /opt/globus. It is taken into account only by submission and get-output commands GLOBUS_TCP_PORT_RANGE="<val min> <val max>" This variable must be set to define a range of ports to be used for inbound connections in the interactivity context. It is taken into account only by submission of interactive jobs and attach commands X509_CERT_DIR: This variable may be set to override the default location of the trusted certificates directory, which is normally /etc/grid-security/certificates. X509_USER_PROXY: This variable may be set to override the default location of the user proxy credentials, which is normally /tmp/x509up_u<uid>. FILES One of the following paths must exist (seeked with the specified order): - $GLITE_WMS_LOCATION/etc/ - $GLITE_LOCATION/etc/ - /opt/glite/etc/ - /usr/local/etc/ - /etc/ and contain the following UI configuration files: glite_wmsui_cmd_var.conf, glite_wmsui_cmd_err.conf, glite_wmsui_cmd_help.conf, <voName>/glite_wmsui.conf - glite_wmsui_cmd_var.conf will contain custom configuration default values A different configuration file may be specified either by using the --config option or by setting the GLITE_WMSUI_CONFIG_VAR environment variable here follows a possible example: [ RetryCount = 3 ; ErrorStorage= "/tmp" ; OutputStorage="/tmp"; ListenerStorage = "/tmp" ; LoggingTimeout = 30 ; LoggingSyncTimeout = 30 ; NSLoggerLevel = 0; DefaultStatusLevel = 1 ; DefaultLogInfoLevel = 1; ] - glite_wmsui_cmd_err.conf will contain UI exception mapping between error codes and error messages (no relocation possible) - glite_wmsui_cmd_help.conf will contain UI long-help information (no relocation possible) - <voName>/glite_wmsui.conf will contain User VO-specific attributes. A different configuration file may be specified either by using the --config-vo option or by setting the GLITE_WMSUI_CONFIG_VO environment variable here follows a possible example: [ LBAddresses = { "tigerman.cnaf.infn.it:9000" }; VirtualOrganisation = "egee"; NSAddresses = { "tigerman.cnaf.infn.it:7772" } ] Besides those files, a valid proxy must be found inside the following path: /tmp/x509up_u<uid> ( use the X509_USER_PROXY environment variable to override the default location JDL file) AUTHORS Alessandro Maraschini (egee@datamat.it) </verbatim> -- Main.ElisabettaMolinari - 2010-07-06
Attachments
Attachments
Topic attachments
I
Attachment
Action
Size
Date
Who
Comment
txt
wms-cli-test_20101029182137.log.txt
manage
11.2 K
2010-11-02 - 14:31
AlessioGianelle
Job status log
txt
update.txt
manage
18.8 K
2010-11-03 - 16:15
AlessioGianelle
Update log
txt
wms-cli-test_20101102135418.log.txt
manage
31.4 K
2010-11-02 - 14:33
AlessioGianelle
Submission cycle
txt
wms-cli-test_20101029181932.log.txt
manage
32.7 K
2010-11-02 - 14:31
AlessioGianelle
Logging info log
txt
wms-cli-test_20101029165612.log.txt
manage
37.6 K
2010-11-02 - 14:29
AlessioGianelle
Delegation log
txt
wms-cli-test_20101029165550.log.txt
manage
38.8 K
2010-11-02 - 14:29
AlessioGianelle
Cancel log
txt
wms-cli-test_20101029165516.log.txt
manage
50.7 K
2010-11-02 - 14:28
AlessioGianelle
List match log
txt
wms-cli-test_20101029171641.log.txt
manage
76.5 K
2010-11-02 - 14:30
AlessioGianelle
Job output log
txt
wms-cli-test_20101102125222.log.txt
manage
78.1 K
2010-11-02 - 14:32
AlessioGianelle
Job perusal log
txt
wms-cli-test_20101029171518.log.txt
manage
102.1 K
2010-11-02 - 14:30
AlessioGianelle
Job info log
txt
wms-cli-test_20101102111611.log.txt
manage
103.2 K
2010-11-02 - 14:32
AlessioGianelle
Job submission log
tgz
TestUI-log.tgz
manage
902.6 K
2010-10-29 - 14:54
AlessioGianelle
Log files about UI test Suite
E
dit
|
A
ttach
|
PDF
|
H
istory
: r33
<
r32
<
r31
<
r30
<
r29
|
B
acklinks
|
V
iew topic
|
M
ore topic actions
Topic revision: r33 - 2010-11-12
-
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
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-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback