File indexing completed on 2024-04-06 12:03:30
0001
0002 function die { echo $1: status $2 ; exit $2; }
0003
0004
0005
0006 export JOBDIR=`pwd`
0007 outputdir="$JOBDIR/1hourDelay"
0008 if [ -d "$outputdir" ]; then
0009 rm -r $outputdir
0010 fi
0011 mkdir -p $outputdir
0012
0013
0014 conddb --yes copy SiStripDetVOff_1hourDelay_v1_Validation --destdb $outputdir/SiStripDetVOff_1hourDelay_O2OTEST.db --o2oTest
0015
0016 SiStripDCSPopCon.py --delay 1 --destTags SiStripDetVOff_1hourDelay_v1_Validation --destDb None --inputTag SiStripDetVOff_1hourDelay_v1_Validation --sourceDb oracle://cms_omds_adg/CMS_TRK_R --condDbRead sqlite:///$outputdir/SiStripDetVOff_1hourDelay_O2OTEST.db --no-upload || die "Failure running SiStripDCSPopCon.py" $?
0017
0018 conddb --db $outputdir/SiStripDetVOff_1.db list SiStripDetVOff_1hourDelay_v1_Validation || die "No new IOV produced" $?