EMI 1 WMS Test Plan
EMI Component Description and Version
Please refer to the following resources:
Functional Description
Service Reference Card
Unit tests
N/A
Deployment tests
Repository
The EMI-1 RC4 repository can be found under:
http://emisoft.web.cern.ch/emisoft/dist/EMI/1/RC4/sl5/x86_64
Other repositories:
- epel.repo
- lcg-CA.repo
- sl.repo
- sl-security.repo
Installation test
First of all, install the yum-protectbase rpm:
yum install yum-protectbase.noarch
Then proceed with the installation of the CA certificates by issuing:
yum install ca-policy-egi-core
Install the WMS metapackage:
yum install emi-wms
(see
log
file)
Configure the WMS:
/opt/glite/yaim/bin/yaim -c -s site-info.def -n WMS
(see
log
file)
Update test
N/A
System tests
Basic functionality tests
Listmatch without data
Verify that one or more CEs are matched against a minimum requirement jdl.
Success criteria: a list of suitable CEs is correctly returned by the listmatch command
Listmatch with data
Verify that one or more CEs are matched against a minimum requirement jdl with remote data access (which are the input for this test).
Success criteria: a list of suitable CEs is correctly returned by the listmatch command
Normal submission
Verify that a single job specifying input files can be correctly submitted to the WMS.
Success criteria: the job is correctly submitted, the jobid is correctly returned, the job terminates correctly (Done Success), the output is correctly retrieved and the status is set to "Cleared"
Dag job submission
Verify that a job representing a DAG can be correctly submitted to the WMS.
Success criteria: the dag job is correctly submitted, the jobid is correctly returned, the job and all its nodes terminate correctly (Done Success), the output is correctly retrieved and the status is set to "Cleared" for all the nodes
Collection submission
Direct submission
Verify that a job collection can be correctly submitted to the WMS via direct submission (single jdl).
Success criteria: the job collection is correctly submitted, the jobid is correctly returned, the job and all its nodes terminate correctly (Done Success), the output is correctly retrieved and the status is set to "Cleared" for all the nodes
Bulk submission
Verify that a job collection can be correctly submitted to the WMS via bulk submission (directory containing nodes jdls).
Success criteria: the job collection is correctly submitted, the jobid is correctly returned, the job and all its nodes terminate correctly (Done Success), the output is correctly retrieved and the status is set to "Cleared" for all the nodes
Parametric jobs submission
Verify that parametric jobs can be correctly submitted to the WMS.
Success criteria: the parametric jobs are correctly submitted, the jobid is correctly returned, the jobs terminate correctly for each parameter value (Done Success), the output is correctly retrieved and the status is set to "Cleared" for all the jobs
Parallel job
Verify that a parallel job can be correctly submitted to the WMS.
Success criteria: the parallel job is correctly submitted, the jobid is correctly returned, the job terminates correctly (Done Success), the output is correctly retrieved and the status is set to "Cleared"
Perusal functionality
Verify that the perusal functionality is in place and works as expected.
Success criteria: the partial output is retrieved while the job is running and gets updated over time. Upon job completion the output retrieved via the perusal functionality must be equal to the output obtained via the glite-wms-job-output command
Normal job cancel
Verify that the cancellation of a job works as expected.
Success criteria: a submitted job is cancelled afterwards and enters the "Cancelled" status
Dag job cancel
Verify that the cancellation of a dag job is effective.
Success criteria: a sumitted dag job is cancelled afterwards and enters the "Cancelled" status together with its nodes
Collection job cancel
Whole collection cancel
Verify that the cancellation of a job collection is effective.
Success criteria: a submitted collection is cancelled afterwards and enters the "Cancelled" status together with its children
Collection children cancel
Verify that the cancellation of the nodes of a collection is effective.
Success criteria: a job collection is submitted and subsequently some of its nodes are cancelled and enter the "Cancelled" status without the collection being affected as a whole
Delegation
Verify that manual delegation is working.
Success criteria: a job is submitted with manual delegation and arrives to successful completion
--
FabioCapannini - 2011-06-17