Package WMS-cli contains tests for automating functional testing of the command line interface (CLI) of WMS service.
The main goal of these tests is to check the behavior of each of these commands with different meaningful options for every command. Testing extensively the behavior of the service is out of the scope of this suite, the result of the operation on the server side is not considered, and nevertheless the command must be able to manage correctly any result reported by the service.
Covered the following commands:
glite-wms-job-cancel
glite-wms-job-delegate-proxy
glite-wms-job-info
glite-wms-job-list-match
glite-wms-job-logging-info
glite-wms-job-output
glite-wms-job-perusal
glite-wms-job-status
glite-wms-job-submit
--version
--config
--output
--logfile
--logfile and --debug
--input
all options together
cancel a finished job. Succes if command fails.
--version
--autm-delegation
--config
--delegationid
--output
--logfile
--debug and --logfile
--endpoint
-i
) Delegate a shorter proxy
Try to delegate with an expired proxy
Try to submit with an expired delegation
--version
--input
--config
--output
--logfile
--debug and --logfile
--endpoint
all options together
Check if the JobID is set correctly in the retrieved jdl
Check if the expiration time of the delegation is set correctly"
--version
--autm-delegation
--config
--logfile
--debug
--output
--endpoint
--rank
all options together
Test a failure matching (requirements = false). Success if no matching is found.
Test a restricted matching (only Cream CEs). Success if none LCG CE matches.
Test delegation proxy option --delegationid
(delegate before the mm). Success if command returns 0.
--version
--config
--output
--logfile
--debug and –logfile
--verbosity ([0|1|2|3])
--input
--to
--from
--event (show only ACCEPTED events)
--exclude (exclude ACCEPTED events)
--user-tag
all the options together (extract only EnQueued events)
--version
--config
--logfile
--debug and --logfile
--dir
--nosubdir
--list-only
--nopurge
--input
Try to retrieve output of a Cleared job. Success if command failed.
--version
--set
--unset
--set with --config
--set with --output
--set with --logfile
--set with --logfile and --debug
--set with --nodisplay
--get
--get with --dir
--get with --nodisplay and --all
Retrieve job's output. Success if output file does not differ from the previous retrieved.
--version
--config
--output
--logfile
--debug
--verbosity ([0|1|2|3])
--input
--exclude (exclude Waiting, Done, Cleared and Aborted jobs)
--status (look for Waiting job)
--user-tag
--version
--autm-delegation
--delegationid
--config
--endpoint
--output
--logfile
--nomsg
all options together
--input option (with --noint)
--resource option
--nodes-resource option
--register-only option
--start option
--transfer-files --proto option
--valid option
--to option
--default-jdl option
--collection
![]() |
![]() |
|
![]() |
![]() |