Difference: Task23322-RC4 (7 vs. 8)

Revision 82012-04-16 - FabioCapannini

Line: 1 to 1
 
META TOPICPARENT name="TestingUI"

Testing report: IGIRTC #??

Line: 292 to 292
 
Added:
>
>

glite-wms-job-logging-info

[capannini@emitestbed16 WMS-cli]$ python WMS-command_job-logging-info.py -l
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS CLI                       
===> + Description: test glite-wms-job-logging-info commmad 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 1 


 Test 2 


 Test 3 

===> ERROR: Command glite-wms-job-logging-info https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 236, in ?
    jobs = wmsui_api.getJobIdfromList(extra)
TypeError: getJobIdfromList() takes exactly 2 arguments (1 given)

 Test 4 

===> ERROR: Command glite-wms-job-logging-info --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/wms.conf https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 236, in ?
    jobs = wmsui_api.getJobIdfromList(extra)
TypeError: getJobIdfromList() takes exactly 2 arguments (1 given)

 Test 5 

===> ERROR: Command glite-wms-job-logging-info --output /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/output.txt --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/wms.conf https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 236, in ?
    jobs = wmsui_api.getJobIdfromList(extra)
TypeError: getJobIdfromList() takes exactly 2 arguments (1 given)

 Test 6 

===> ERROR: Command glite-wms-job-logging-info --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/log.txt --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/wms.conf https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 236, in ?
    jobs = wmsui_api.getJobIdfromList(extra)
TypeError: getJobIdfromList() takes exactly 2 arguments (1 given)

 Test 7 

===> ERROR: Command glite-wms-job-logging-info --debug --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/log.txt --output /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/output.txt https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 177, in ?
    wmsui_checks.checkConf (gname, "", logpath)
  File "/usr/lib64/python2.4/site-packages/wmsui_checks.py", line 611, in checkConf
    wmsui_utils.print_message(wmsui_utils.info.logFile, msg)
TypeError: print_message() takes at least 3 arguments (2 given)

 Test 8 

===> ERROR: Command glite-wms-job-logging-info --verbosity 0 --output /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/output.txt https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 236, in ?
    jobs = wmsui_api.getJobIdfromList(extra)
TypeError: getJobIdfromList() takes exactly 2 arguments (1 given)

 Test 9 

===> ERROR: Command glite-wms-job-logging-info --noint --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/wms.conf --input /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/job.id failed. Failure message: Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 240, in ?
    sys_exit , jobs, strjobs =wmsui_api.getJobIdfromFile(inFile)
TypeError: getJobIdfromFile() takes exactly 2 arguments (1 given)

 Test 10 

===> ERROR: Command glite-wms-job-logging-info --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/wms.conf --to 16:16 https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 236, in ?
    jobs = wmsui_api.getJobIdfromList(extra)
TypeError: getJobIdfromList() takes exactly 2 arguments (1 given)

 Test 11 

===> ERROR: Command glite-wms-job-logging-info --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/wms.conf --from 16:15 https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 236, in ?
    jobs = wmsui_api.getJobIdfromList(extra)
TypeError: getJobIdfromList() takes exactly 2 arguments (1 given)

 Test 12 

===> ERROR: Command glite-wms-job-logging-info  --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/wms.conf --event ACCEPTED https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q | grep "Event: Accepted" failed. Failure message: Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 236, in ?
    jobs = wmsui_api.getJobIdfromList(extra)
TypeError: getJobIdfromList() takes exactly 2 arguments (1 given)

 Test 13 


 Test 14 

===> ERROR: Command glite-wms-job-logging-info  --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/wms.conf --user-tag type='test job' https://emitb1.ics.muni.cz:9000/h6_BIQhBxHHQA27nZgPp0Q failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 236, in ?
    jobs = wmsui_api.getJobIdfromList(extra)
TypeError: getJobIdfromList() takes exactly 2 arguments (1 given)

 Test 15 

===> ERROR: Command glite-wms-job-logging-info --noint --input /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/job.id --output /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/output.txt --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/log.txt --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/wms.conf --verbosity 3 --from 16:15 --to 16:16 --event EnQueued failed. Failure message: Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-logging-info", line 240, in ?
    sys_exit , jobs, strjobs =wmsui_api.getJobIdfromFile(inFile)
TypeError: getJobIdfromFile() takes exactly 2 arguments (1 given)
===> 
===> Test: WMS-command_job-logging-info.py
===> WMS: cert-08.cnaf.infn.it
===> Started: 16:15:31
===> Ended  : 16:16:37
===> 
===>     >>> TEST FAILED <<<
===> 
===>  >>> failure reason: 12 test(s) fail(s) <<< 
===> 
===> Test log file is WMSCli-TS_20120416161531.log
===> Error messages have been written in /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531/errors.log
===> 
===>  Test directory /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416161531 has not been cleaned for debug purpose

Infact, inspecting the APIs, it turns out that the function getJobIdfromFile requires two arguments:

[capannini@emitestbed16 WMS-cli]$ grep getJobIdfromFile /usr/lib64/python2.4/site-packages/wmsui_api.py
def getJobIdfromFile (json, inFile ):

glite-wms-job-output

[capannini@emitestbed16 WMS-cli]$ python WMS-command_job-output.py -l
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS CLI                       
===> + Description: test glite-wms-job-output commmad 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 1 


 Test 2 


 Test 3 

===> ERROR: Command glite-wms-job-output --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/wms.conf https://emitb1.ics.muni.cz:9000/F_1Im1wAUYc75UBHkS1EjA >> /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/tmp.output failed. Failure message: 
Error - File Error
Unable to find globus-url-copy executable



 Test 5 

===> ERROR: Command glite-wms-job-output --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/log.txt https://emitb1.ics.muni.cz:9000/_Z04nZjc6i_K2h93-tOv6w failed. Failure message: 
Connecting to the service https://cert-08.cnaf.infn.it:7443/glite_wms_wmproxy_server


Error - File Error
Unable to find globus-url-copy executable



Possible Errors and Debug messages have been printed in the following file:
/home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/log.txt


 Test 6 

===> ERROR: Command glite-wms-job-output --debug --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/log.txt https://emitb1.ics.muni.cz:9000/3mqGagDQAgGW_RK7vDg_eA failed. Failure message: -----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Vo read from proxy certificate extension
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - VirtualOrganisation value : testers.eu-emi.eu
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Configuration file: //etc/glite-wms/testers.eu-emi.eu/glite_wmsui.conf - VirtualOrganisation, MyProxyServer attribute(s) no more supported outside JDL Default Attributes section "JdlDefaultAttributes"
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Loaded Vo specific configuration file:
 //etc/glite-wms/testers.eu-emi.eu/glite_wmsui.conf
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Loaded Configuration values: 
 [
  JdlDefaultAttributes = 
   [
    PerusalFileEnable = false; 
    ShallowRetryCount = 10; 
    SignificantAttributes = { "Requirements","Rank","FuzzyRank" }; 
    RetryCount = 3; 
    AllowZippedISB = true; 
    VirtualOrganisation = "testers.eu-emi.eu"; 
    rank =  -other.GlueCEStateEstimatedResponseTime; 
    MyProxyServer = "emitb2.ics.muni.cz"; 
    requirements = other.GlueCEStateStatus == "Production"
   ]; 
  OutputStorage = "/tmp/jobOutput"; 
  ListenerStorage = "/tmp"; 
  ErrorStorage = "/tmp"; 
  WmProxyEndPoints = { "https://cert-08.cnaf.infn.it:7443/glite_wms_wmproxy_server" }
 ]
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Output Storage (by configuration file): /tmp/jobOutput
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - No information on the available WMProxy-FileTransferProtocol(s) setting FileTransferProtocol to default: gsiftp
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Endpoint URL: https://cert-08.cnaf.infn.it:7443/glite_wms_wmproxy_server 
-----------------------------------------

Connecting to the service https://cert-08.cnaf.infn.it:7443/glite_wms_wmproxy_server

-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Calling the WMProxy getVersion service
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Directory already exists:  /tmp/jobOutput
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Checking the status of the job: https://emitb1.ics.muni.cz:9000/3mqGagDQAgGW_RK7vDg_eA
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Found Status: Done
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Calling the WMProxy getOutputFileList for the job: https://emitb1.ics.muni.cz:9000/3mqGagDQAgGW_RK7vDg_eA 
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - getOutputFileList -  The list of output files has been successfully retrieved
-----------------------------------------
-----------------------------------------
16 Apr 2012, 16:48:10 -I- PID: 14191 (Debug) - Retrieving Files for:  https://emitb1.ics.muni.cz:9000/3mqGagDQAgGW_RK7vDg_eA
-----------------------------------------

Error - File Error
Unable to find globus-url-copy executable



Possible Errors and Debug messages have been printed in the following file:
/home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/log.txt


 Test 7 

===> ERROR: Command glite-wms-job-output --noint --dir /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/jobOutput https://emitb1.ics.muni.cz:9000/51grPrJ2hBrXnMZhbToypw  failed. Failure message: 
Connecting to the service https://cert-08.cnaf.infn.it:7443/glite_wms_wmproxy_server


Error - File Error
Unable to find globus-url-copy executable



 Test 8 

===> ERROR: Command glite-wms-job-output --noint --nosubdir --dir /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/jobOutput https://emitb1.ics.muni.cz:9000/vXrpnt0o4WRLLk38uQYbJg  failed. Failure message: 
Connecting to the service https://cert-08.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/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/jobOutput


Error - File Error
Unable to find globus-url-copy executable



 Test 9 


 Test 10 

===> ERROR: Command glite-wms-job-output --nopurge https://emitb1.ics.muni.cz:9000/dEvg8Sf3PDN5iLy7SVCpeg failed. Failure message: 
Connecting to the service https://cert-08.cnaf.infn.it:7443/glite_wms_wmproxy_server


Error - File Error
Unable to find globus-url-copy executable



 Test 11 

===> ERROR: Command glite-wms-job-output --noint --input /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/job.id failed. Failure message: 
Connecting to the service https://cert-08.cnaf.infn.it:7443/glite_wms_wmproxy_server


Warning - Directory already exists: 
/tmp/jobOutput/capannini_dEvg8Sf3PDN5iLy7SVCpeg
 
Added:
>
>
Warning - https://emitb1.ics.muni.cz:9000/dEvg8Sf3PDN5iLy7SVCpeg: not allowed to retrieve the output (Unable to find globus-url-copy executable )
 
Added:
>
>
Connecting to the service https://cert-08.cnaf.infn.it:7443/glite_wms_wmproxy_server

Warning - https://emitb1.ics.muni.cz:9000/eARKKe3n-6z7D_IxOkPv7A: not allowed to retrieve the output (Unable to find globus-url-copy executable )

Connecting to the service https://cert-08.cnaf.infn.it:7443/glite_wms_wmproxy_server

Warning - https://emitb1.ics.muni.cz:9000/6bqRroo6KqDHCyWehEEc6Q: not allowed to retrieve the output (Unable to find globus-url-copy executable )

Error - Operation Failed Unable to retrieve the output for any job

===> ===> Test: WMS-command_job-output.py ===> WMS: cert-08.cnaf.infn.it ===> Started: 16:46:55 ===> Ended : 16:48:16 ===> ===> >>> TEST FAILED <<< ===> ===> >>> failure reason: 7 test(s) fail(s) <<< ===> ===> Test log file is WMSCli-TS_20120416164655.log ===> Error messages have been written in /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655/errors.log ===> ===> Test directory /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416164655 has not been cleaned for debug purpose

After having installed the rpm globus-gass-copy-progs (not included in the dependencies) which contains globus-url-copy:

[capannini@emitestbed16 WMS-cli]$ python WMS-command_job-output.py -l
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS CLI                       
===> + Description: test glite-wms-job-output commmad 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 1 


 Test 2 


 Test 3 


 Test 5 


 Test 6 


 Test 7 


 Test 8 


 Test 9 


 Test 10 


 Test 11 

===> 
===> Test: WMS-command_job-output.py
===> WMS: cert-08.cnaf.infn.it
===> Started: 17:36:21
===> Ended  : 17:40:05
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSCli-TS_20120416173621.log

glite-wms-job-perusal

[capannini@emitestbed16 WMS-cli]$ python WMS-command_job-perusal.py -l
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS CLI                       
===> + Description: test glite-wms-job-persual commmad 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 1 


 Test 2 


 Test 3 

m: command not foundglite-wms-job-perusal --set --filename out.txt -f std.out sh: 
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: terminate called after throwing an instance of 'glite::jobid::JobIdError'
  what():  JobId: bad argument (sh:)
m: command not foundortito                glite-wms-job-perusal --set --filename out.txt -f std.out sh: 
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 4 

m: command not foundglite-wms-job-perusal --unset sh: 
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: terminate called after throwing an instance of 'glite::jobid::JobIdError'
  what():  JobId: bad argument (sh:)
m: command not foundortito                glite-wms-job-perusal --unset sh: 
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 5 

===> ERROR: Command glite-wms-job-perusal --set -f std.out --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_201204161811m: command not found
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: terminate called after throwing an instance of 'glite::jobid::JobIdError'
  what():  JobId: bad argument (sh:)
sh: line 1: 21635 Abortito                glite-wms-job-perusal --set -f std.out --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMm: command not found1111/wms.conf sh: 
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 6 

===> ERROR: Command glite-wms-job-perusal --set -f std.out --output /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_201204161811m: command not found
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: terminate called after throwing an instance of 'glite::jobid::JobIdError'
  what():  JobId: bad argument (sh:)
sh: line 1: 21639 Abortito                glite-wms-job-perusal --set -f std.out --output /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMm: command not found1111/output.txt sh: 
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 7 

===> ERROR: Command glite-wms-job-perusal --set -f std.out --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416181m: command not found
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: terminate called after throwing an instance of 'glite::jobid::JobIdError'
  what():  JobId: bad argument (sh:)
sh: line 1: 21643 Abortito                glite-wms-job-perusal --set -f std.out --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/Wm: command not found81111/log.txt sh: 
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 8 

===> ERROR: Command glite-wms-job-perusal --set -f std.out --debug --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_201m: command not foundsh: 
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: terminate called after throwing an instance of 'glite::jobid::JobIdError'
  what():  JobId: bad argument (sh:)
sh: line 1: 21647 Abortito                glite-wms-job-perusal --set -f std.out --debug --logfile /home/capannini/wms_tests/WMS-Test-Suite/Wm: command not found0120416181111/log.txt sh: 
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 9 

m: command not foundglite-wms-job-perusal --unset sh: 
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: terminate called after throwing an instance of 'glite::jobid::JobIdError'
  what():  JobId: bad argument (sh:)
m: command not foundortito                glite-wms-job-perusal --unset sh: 
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 10 


 BEWARE default min perusal interval is 1000 secs, so this phase could take many minutes 

m: command not foundglite-wms-job-status --verbosity 0 sh: 
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: **** Warning: UI_WRONG_JOBID_FORMAT ****  
The "sh:" jobID is not in a valid format

**** Warning: UI_WRONG_JOBID_FORMAT ****  
The "m:" jobID is not in a valid format

**** Warning: UI_WRONG_JOBID_FORMAT ****  
The "command" jobID is not in a valid format

**** Warning: UI_WRONG_JOBID_FORMAT ****  
The "not" jobID is not in a valid format

**** Warning: UI_WRONG_JOBID_FORMAT ****  
The "found" jobID is not in a valid format

**** Error: UI_WRONG_JOBID_ALL ****  
All jobID are in wrong format


sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory
===> ERROR: Command glite-wms-job-perusal --get -f out.txt --dir /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416181111/m: command not found
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: terminate called after throwing an instance of 'glite::jobid::JobIdError'
  what():  JobId: bad argument (sh:)
sh: line 1: 21935 Abortito                glite-wms-job-perusal --get -f out.txt --dir /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSClm: command not found1/jobOutput sh: 
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 11 

===> ERROR: Command glite-wms-job-perusal --get -f std.out --dir /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416181111/m: command not found: 
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: terminate called after throwing an instance of 'glite::jobid::JobIdError'
  what():  JobId: bad argument (sh:)
sh: line 1: 21939 Abortito                glite-wms-job-perusal --get -f std.out --dir /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSClm: command not found1/jobOutput/perusal sh: 
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 12 

===> ERROR: Command glite-wms-job-perusal --get -f out.txt --noint --nodisplay --all --dir /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/Wm: command not found81111/jobOutput/perusal sh: 
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: glite-wms-job-perusal: unrecognized option `--noint'

WMS User Interface version  3.3.3
Copyright (C) 2008 by ElsagDatamat SpA

Usage: glite-wms-job-perusal  <operation options> <file options> [other options]  <job Id>

operation options (mandatory):
   --get
   --set
   --unset

file options: (mandatory for set and get operations)
   --filename, -f   <filename> (*)
   --input-file   <file_path>

other options:
   --help
   --version
   --config, -c   <file_path>
   --vo      <vo_name>
   --input, -i   <file_path>
   --dir      <directory_path>
   --proto      <protocol>
   --all (**)
   --output, -o   <file_path>
   --nodisplay
   --debug
   --logfile   <file_path>

   (*) With --set multiple files can be specified by repeating the option several times
   (**) only with --get to returns all chunks of the given file

Please report any bug at:
   alvise.dorigo@pd.infn.it
sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory

 Test 13 

===> ERROR: Command glite-wms-job-output --noint --nosubdir --dir /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416181111m: command not found
https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw failed. Failure message: 
Error - JobId Error
No valid JobId for which the output can be retrieved

sh: line 1: https://emitb1.ics.muni.cz:9000/dlIrpiT9L2nEFOxnyAYRJw: No such file or directory
Traceback (most recent call last):
  File "WMS-command_job-perusal.py", line 379, in ?
    main()
  File "WMS-command_job-perusal.py", line 368, in main
    os.rmdir("%s/perusal"%(utils.get_job_output_dir()))
OSError: [Errno 2] No such file or directory: '/home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416181111/jobOutput/perusal'

The underlying problem is that the following command returns garbage before the jobid:

[capannini@emitestbed16 WMS-cli]$ glite-wms-job-submit -a --nomsg /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416181111/example.jdl
m: command not found
https://emitb1.ics.muni.cz:9000/pRjuSvphDsr-5IyGaz8Xnw

where:
[capannini@emitestbed16 WMS-cli]$ cat /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416181111/example.jdlExecutable = "sleeper.sh";
Arguments = "out.txt";
StdOutput = "std.out";
StdError = "std.err";
InputSandbox = "/home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416181111/sleeper.sh";
OutputSandbox = {"std.out","std.err","out.txt"};
PerusalFileEnable = true;
[capannini@emitestbed16 WMS-cli]$ 
[capannini@emitestbed16 WMS-cli]$ 
[capannini@emitestbed16 WMS-cli]$ cat /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120416181111/sleeper.sh
#!/bin/sh
echo "This is sleeper"
echo "This is sleeper" > $1
for((i=1;i<=100;i++))
do 
    echo "message $i" >> $1 
    sleep 15 
done 
echo "Stop sleeping!" >> $1 
echo "Stop sleeping!" 

 
Added:
>
>
 
META FILEATTACHMENT attachment="ui-sl5update.txt" attr="" comment="" date="1334323836" name="ui-sl5update.txt" path="ui-sl5update.txt" size="67807" user="AlessioGianelle" version="1"
META FILEATTACHMENT attachment="ui-sl5install.txt" attr="" comment="" date="1334327414" name="ui-sl5install.txt" path="ui-sl5install.txt" size="218411" user="AlessioGianelle" version="1"
Line: 305 to 890
 
META FILEATTACHMENT attachment="testCreamCliLsf.txt" attr="" comment="" date="1334583684" name="testCreamCliLsf.txt" path="testCreamCliLsf.txt" size="43064" user="AlessioGianelle" version="1"
META FILEATTACHMENT attachment="WMSCli-TS_20120416154326.log" attr="" comment="" date="1334584796" name="WMSCli-TS_20120416154326.log" path="WMSCli-TS_20120416154326.log" size="24494" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="testCreamCliTorque.txt" attr="" comment="" date="1334586048" name="testCreamCliTorque.txt" path="testCreamCliTorque.txt" size="37711" user="AlessioGianelle" version="1"
Added:
>
>
META FILEATTACHMENT attachment="WMSCli-TS_20120416161531.log" attr="" comment="" date="1334587022" name="WMSCli-TS_20120416161531.log" path="WMSCli-TS_20120416161531.log" size="17905" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSCli-TS_20120416164655.log" attr="" comment="" date="1334590487" name="WMSCli-TS_20120416164655.log" path="WMSCli-TS_20120416164655.log" size="24621" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSCli-TS_20120416173621.log" attr="" comment="" date="1334591070" name="WMSCli-TS_20120416173621.log" path="WMSCli-TS_20120416173621.log" size="25159" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSCli-TS_20120416181111.log" attr="" comment="" date="1334594031" name="WMSCli-TS_20120416181111.log" path="WMSCli-TS_20120416181111.log" size="18573" user="FabioCapannini" version="1"
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback