Open mbthornton-lbl opened 2 days ago
Perform End-to-end testing of refactored Scheduler and Watcher in the dev environment
Deployment:
nmdc-dev
sbatch ~/workers_perlmutter.sl
nmdcda@perlmutter:login33:~> squeue -u nmdcda JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) 30091487 cron cromwell nmdcda R 5-10:56:57 1 login35 30091486 cron condor nmdcda R 5-10:56:55 1 login24 33101818 regular_m nmdc_con nmdcda PD 0:00 1 (Priority) 33101851 regular_m nmdc_con nmdcda PD 0:00 5 (Priority) 33101927 regular_m nmdc_con nmdcda PD 0:00 1 (Priority)
1. Scheduler creates a new unclaimed JobRequest in the jobs collection in the dev DB
jobs
Test Conditions: Create conditions for the scheduler to pickup incomplete workflow(s) and create new job requests via:
Mock Project in the dev DB?
Pass Conditions:
2. Watcher picks up an unclaimed JobRequest and submits Cromwell job
Test Conditions: New unclaimed Job Request(s) in the dev DB (result from success in Case 1)
3.1 Watcher picks up successful Cromwell job and creates data directories and files
Test Conditions: Successful job on Cromwell (result from success in Case 2)
3.2 Watcher updates NMDC dev database with successful job DataObjects and WorkflowExecution
nmdc.Database
DataObject
WorkflowExecution
The data_generation_set records attached to https://github.com/microbiomedata/issues/issues/935 are in mongo dev and can be used for end to end testing of a workflow starting with reads qc.
Perform End-to-end testing of refactored Scheduler and Watcher in the dev environment
Deployment:
nmdc-dev
in Spin to new imagesbatch ~/workers_perlmutter.sl
Integration Test Cases -
1. Scheduler creates a new unclaimed JobRequest in the
jobs
collection in the dev DBTest Conditions: Create conditions for the scheduler to pickup incomplete workflow(s) and create new job requests via:
Mock Project in the dev DB?
Pass Conditions:
jobs
collection2. Watcher picks up an unclaimed JobRequest and submits Cromwell job
Test Conditions: New unclaimed Job Request(s) in the dev DB (result from success in Case 1)
Pass Conditions:
3.1 Watcher picks up successful Cromwell job and creates data directories and files
Test Conditions: Successful job on Cromwell (result from success in Case 2)
Pass Conditions:
3.2 Watcher updates NMDC dev database with successful job DataObjects and WorkflowExecution
Test Conditions: Successful job on Cromwell (result from success in Case 2)
Pass Conditions:
nmdc.Database
creation from Cromwell resultsDataObject
andWorkflowExecution
documents in the dev DB