ndas frames test

Test Objectives

APIs affected by this test

Setup

Test Execution

cd <your scripts directory>

Usage: verifyndas.tcl [options] >& .log &

Option Description
<-s> ldas site e.g. dev, lho, ldas-suntest3

e.g.


            verifyndas.tcl -s dev >& ndas.ver &
        

Test Validation:

  • All dataPipelines should complete successfully
  • The xml files of each job are sorted and saved in a temp file. The difference between the sorted raw frames and RDS frames xml files should be only in the process and wrapper data.
  • e.g.
    
            >          "wrapperAPI","1.2.3","/ldcg_server/common/repository/ldas",778845803,"wrapperAPI is running on 2 nodes.",0,
                        "beowulf","search12",22018,778887032,778887034,31917015,"ldas-dev","process:process_id:0"
            677c677
            <          "wrapperAPI","process:process_id:0","-jobID","int","31917014",
            ---
            >          "wrapperAPI","process:process_id:0","-jobID","int","31917015",
    
            

  • Besides process and wrapper data, the difference between sorted raw frame and ndas frames besides process and wrapper data is a set of real numbers. The largest difference between them is always a constant:
    
            Largest Error 1: 2.670101e-01 (4.6544586e-04 6.0887286e-04)
            Largest Error 2: 1.054381e-06 (1.4819117187499999e+04 1.4819132812500000e+04)