Frame Proc Write and Read test
Test Objectives
- Verify that the FrProc data created by datacondAPI in dataPipeline
is readable via conditionData
APIs affected by this test
- managerAPI: directs processing of the insertion user commands to other APIs
and returns the user command status to the user.
- diskcacheAPI:
- Retrieves the frame file names required by the frame query in ldas command.
- frameAPI:
- Writes ProcData to frame and retrives the frame data specified
- datacondAPI:
Setup
- ligotools package is required for running this test. Check that it is mounted
- Install the following tests script in a directory on your local machine or the ldas system
- S2 data must be mounted on ldas system and known to diskcacheAPI; frame query is done on
ADC data of channel Adc(H0:PEM-LVEA_SEISZ,H1:LSC-AS_Q,H1:LSC-AS_I)
Test Execution
cd <your scripts directory>
Usage: procReadWrite.tcl [options] >& d.log &
| Option
| Description
|
<-s>
| ldas site e.g. dev, llo, cit, ldas-suntest3
|
e.g.
procReadWrite.tcl -s dev >& procReadWrite.log&
Test Validation:
Verify from the log that both frame commands resulted in data successfully.
As of ldas 1.2.3 here are the expected results:
e.g.
LDAS-DEV31915283 (1.2.3)
/ldas_outgoing/jobs/LDAS-DEV_3191/LDAS-DEV31915283/Z-P_LDAS_31915283_datacondAPI_LDAS-730524016-1.gwf
++++ ProcWrite PASSED
LDAS-DEV31915298 (1.2.3)
/ldas_outgoing/jobs/LDAS-DEV_3191/LDAS-DEV31915298/Z-P_LDAS_31915298_datacondAPI_LDAS-730524016-1.gwf
++++ ProcRead PASSED