Miscellaneous conditions test

Test Objective

This is a series of tests that exercises metadataAPI exception handling of the following:

APIs affected by this test

:

Setup

  1. Using ligotools

    If ligotools is desired, check that ligotools is mounted:

            ldas:ldas:ldas-dev.ldas-dev:test> df /ligotools
            Filesystem           1K-blocks      Used Available Use% Mounted on
            /dev/dsk/c3t1d0s6    498316151 326700089 171616062  66% /export
            
    Set up a default ldas account and password via ligotools utility ldaspw. Currently ligotools does not support job submission via globus sockets.
  2. Default is use the LDAS ldasJob package included in installation. Globus socket is supported.
  3. Test driver dbException.tcl is found in /ldas/testbin and is part of ldas installation. Supporting generic test scripts are in /ldas/lib/test and /ldas/libexec.
  4. The following test data files are part of the installation:

    optname1.xml optname2.xml optname3.xml
    test_bare_names.xml test_no_seqid.xml file4733_1.xml
    try1.xml baddata.xml metadata0101.xml
    txn2.ilwd rollback1.ilwd rollback.ilwd
    out-of-range.ilwd nulldata.binary.ilwd

Test Execution

  1. Login to site gateway box e.g. dev, as user ldas
  2. cd <your work directory>
  3. Usage: /ldas/testbin/dbException.tcl [options] >& dbException.log &

    Options described are specific to dbException but when running generic options are included.

    Option Description
    --database database name at a site e.g. dev_1 or ldas_tst

    e.g. with globus sockets:

            
       	dbException.tcl --site dev -debug 0 -verbose lpse --enable-globus 1 --enable-gsi 1 
        	--database dev_1 </dev/null >& dbException.log &
    and with tcl sockets:
    
            dbException.tcl --site dev -debug 0 -verbose lpse --enable-globus 0 --enable-gsi 0 
            --database dev_1 </dev/null >& dbException.log &
    To enable debugging, set debug level to 1 or greater:
            
       	dbException.tcl --site dev -debug 1 -verbose lpse --enable-globus 1 --enable-gsi 1 
        	--database dev_1 --qa-debug-level 1 </dev/null >& dbException.log &