Testing report: IGIRTC #??

Summary

  • Product: UI 2.0.0
  • Release Task: Task #23322
  • ETICS Subsystem Configuration Name:
  • VCS Tag:
  • EMI Major Release: EMI 2 (Matterhorn)
  • Platform: SL5 epel
  • Author: Alessio Gianelle, Fabio Capannini
  • Testing report:
  • Certification report:
  • Date: 13rd April 2012
  • Outcome: In certification

Deployment tests

Clean Installation

Upgrade Installation

CREAM command line tests

Know problem (see bug #93768)

  • option --logfile doesn't work as expected

WMS command line tests

glite-wms-job-cancel

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

 Test 1 


 Test 2 


 Test 3 


 Test 4 


 Test 5 


 Test 6 


 Test 7 


 Test 8 


 Test 9 

===> 
===> Test: WMS-command_job-cancel.py
===> WMS: cert-08.cnaf.infn.it
===> Started: 15:16:54
===> Ended  : 15:20:29
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSCli-TS_20120416151654.log

glite-wms-job-delegate-proxy

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

 Test 1 


 Test 2 


 Test 3 


 Test 4 


 Test 5 


 Test 6 


 Test 7 


 Test 8 


 Test 9 


 Test 10 

===> 
===> Test: WMS-command_job-delegate-proxy.py
===> WMS: cert-08.cnaf.infn.it
===> Started: 15:37:29
===> Ended  : 15:37:45
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSCli-TS_20120416153729.log
[capannini@emitestbed16 WMS-cli]$ 
[capannini@emitestbed16 WMS-cli]$ 
[capannini@emitestbed16 WMS-cli]$ python WMS-command_job-delegate-proxy.py -i -l
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS CLI                       
===> + Description: test glite-wms-job-delegate-proxy commmad 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

Enter the user proxy password:

 Test 1 


 Test 2 


 Test 3 


 Test 4 


 Test 5 


 Test 6 


 Test 7 


 Test 8 


 Test 9 


 Test 10 


 Test 11 

===> 
===> Test: WMS-command_job-delegate-proxy.py
===> WMS: cert-08.cnaf.infn.it
===> Started: 15:38:01
===> Ended  : 15:38:24
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSCli-TS_20120416153801.log

glite-wms-job-info

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

 Test 1 


 Test 2 


 Test 3 


 Test 4 


 Test 5 


 Test 6 


 Test 7 


 Test 8 

===> 
===> Test: WMS-command_job-info.py
===> WMS: cert-08.cnaf.infn.it
===> Started: 15:43:26
===> Ended  : 15:43:41
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSCli-TS_20120416154326.log

glite-wms-job-list-match

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

 Test 1 


 Test 2 


 Test 3 


 Test 4 


 Test 5 


 Test 6 


 Test 7 


 Test 8 


 Test 9 


 Test 10 


 Test 11 


 Test 12 


 Test 13 

===> 
===> Test: WMS-command_job-list-match.py
===> WMS: cert-08.cnaf.infn.it
===> Started: 15:14:13
===> Ended  : 15:14:25
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSCli-TS_20120416151413.log

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


Warning - https://emitb1.ics.muni.cz:9000/dEvg8Sf3PDN5iLy7SVCpeg: 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/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!" 

glite-wms-job-status

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

 Test 1 


 Test 2 


 Test 3 


 Test 4 


 Test 5 

CRITICAL:root:Command glite-wms-job-status --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/wms.conf --output /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/output.txt https://emitb1.ics.muni.cz:9000/U9CV0A6LKBB7nFIrJIjxQw failed !!!!
ERROR:root:Command glite-wms-job-status --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/wms.conf --output /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/output.txt https://emitb1.ics.muni.cz:9000/U9CV0A6LKBB7nFIrJIjxQw failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-status", line 427, in ?
    wmsui_utils.print_message(wmsui_utils.info.logFile,message)
TypeError: print_message() takes at least 3 arguments (2 given)
===> ERROR: Command glite-wms-job-status --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/wms.conf --output /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/output.txt https://emitb1.ics.muni.cz:9000/U9CV0A6LKBB7nFIrJIjxQw failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-status", line 427, in ?
    wmsui_utils.print_message(wmsui_utils.info.logFile,message)
TypeError: print_message() takes at least 3 arguments (2 given)

 Test 6 


 Test 7 

CRITICAL:root:Command glite-wms-job-status --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/wms.conf --debug --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/log.txt https://emitb1.ics.muni.cz:9000/U9CV0A6LKBB7nFIrJIjxQw failed !!!!
ERROR:root:Command glite-wms-job-status --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/wms.conf --debug --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/log.txt https://emitb1.ics.muni.cz:9000/U9CV0A6LKBB7nFIrJIjxQw failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-status", line 180, in ?
    voName = wmsui_checks.checkConf (gname, virtualOrg, 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)
===> ERROR: Command glite-wms-job-status --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/wms.conf --debug --logfile /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417100818/log.txt https://emitb1.ics.muni.cz:9000/U9CV0A6LKBB7nFIrJIjxQw failed. Failure message: 
Traceback (most recent call last):
  File "/usr/bin/glite-wms-job-status", line 180, in ?
    voName = wmsui_checks.checkConf (gname, virtualOrg, 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 

===> 
===> Test: WMS-command_job-status.py
===> WMS: cert-08.cnaf.infn.it
===> Started: 10:08:18
===> Ended  : 10:10:51
===> 
===>   *** Warning: Interrupted by user *** 
===> 
===> 
===> Test log file is WMSCli-TS_20120417100818.log

Indeed, print_message() takes at least three arguments:

[capannini@emitestbed16 WMS-cli]$ grep print_message /usr/lib64/python2.4/site-packages/wmsui_utils.py|grep def
def print_message(json, log_file , message , stderror=0 ):

glite-wms-job-submit

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

 Test 1 


 Test 2 


 Test 3 


 Test 4 


 Test 5 


 Test 6 


 Test 7 


 Test 8 


 Test 9 


 Test 10 


 Test 11 


 Test 12 


 Test 13 


 Test 14 


 Test 15 


 Test 16 


 Test 17 


 Test 18 


 Test 19 


 Test 20 


 Test 21 


 Test 22 

===> 
===> Test: WMS-command_job-submit.py
===> WMS: cert-08.cnaf.infn.it
===> Started: 10:22:59
===> Ended  : 10:48:27
===> 
===>     >>> TEST FAILED <<<
===> 
===>  >>> failure reason: 1 test(s) fail(s) <<< 
===> 
===> Test log file is WMSCli-TS_20120417102259.log
===> Error messages have been written in /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417102259/errors.log
===> 
===>  Test directory /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417102259 has not been cleaned for debug purpose

The underlying problem with Test 22 is that list-match is not supported for DAG jobs:

[capannini@emitestbed16 WMS-cli]$ glite-wms-job-list-match --noint --config /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417102259/wms.conf -a --rank /home/capannini/wms_tests/WMS-Test-Suite/WMS-cli/WMSCli-Test_20120417102259/example.jdl

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


Error - Not supported Type
DAG type is not supported for list match

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatlog WMSCli-TS_20120416151413.log manage 11.0 K 2012-04-16 - 13:19 FabioCapannini  
Unknown file formatlog WMSCli-TS_20120416151654.log manage 21.9 K 2012-04-16 - 13:35 FabioCapannini  
Unknown file formatlog WMSCli-TS_20120416153729.log manage 15.8 K 2012-04-16 - 13:40 FabioCapannini  
Unknown file formatlog WMSCli-TS_20120416153801.log manage 18.5 K 2012-04-16 - 13:40 FabioCapannini  
Unknown file formatlog WMSCli-TS_20120416154326.log manage 23.9 K 2012-04-16 - 13:59 FabioCapannini  
Unknown file formatlog WMSCli-TS_20120416161531.log manage 17.5 K 2012-04-16 - 14:37 FabioCapannini  
Unknown file formatlog WMSCli-TS_20120416164655.log manage 24.0 K 2012-04-16 - 15:34 FabioCapannini  
Unknown file formatlog WMSCli-TS_20120416173621.log manage 24.6 K 2012-04-16 - 15:44 FabioCapannini  
Unknown file formatlog WMSCli-TS_20120416181111.log manage 18.1 K 2012-04-16 - 16:33 FabioCapannini  
Unknown file formatlog WMSCli-TS_20120417102259.log manage 67.5 K 2012-04-17 - 08:58 FabioCapannini  
Texttxt testCreamCliLsf.txt manage 42.1 K 2012-04-16 - 13:41 AlessioGianelle  
Texttxt testCreamCliTorque.txt manage 36.8 K 2012-04-16 - 14:20 AlessioGianelle  
Texttxt ui-sl5install.txt manage 213.3 K 2012-04-13 - 14:30 AlessioGianelle  
Texttxt ui-sl5update.txt manage 66.2 K 2012-04-13 - 13:30 AlessioGianelle  
Edit | Attach | PDF | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | More topic actions
Topic revision: r11 - 2012-04-17 - FabioCapannini
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback