From 25faff25b4862787560a8dc2d267939f09f52b93 Mon Sep 17 00:00:00 2001 From: Robert Muenzer Date: Thu, 9 May 2024 09:49:54 +0200 Subject: [PATCH 1/2] Add fixed timestamp for pedestal of idc --- jit/tpc-idc-a | 2 +- jit/tpc-idc-c | 2 +- workflows/tpc-idc-sac-full-split.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jit/tpc-idc-a b/jit/tpc-idc-a index 45f466a28..f462edb43 100644 --- a/jit/tpc-idc-a +++ b/jit/tpc-idc-a @@ -1 +1 @@ -CRU_IDS=$(consul kv get o2/cache/flpToCruId/{{ it }}) && o2-dpl-raw-proxy -b --session default --dataspec 'x:TPC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc://tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=1"' | o2-tpc-idc-to-vector -b --session default --crus "${CRU_IDS}" --severity error --infologger-severity error --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --pedestal-url http://o2-ccdb.internal | o2-tpc-idc-flp -b --session default --n-TFs-buffer $(( 100 * 128 / {{ pdp_n_hbf_per_tf }} )) --crus "${CRU_IDS}" --severity warning --infologger-severity warning --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 --disableIDC0CCDB true | o2-dpl-output-proxy -b --session default --labels tpcidc:ecs-preserve-raw-channels --proxy-name tpcidc --proxy-channel-name tpcidc --fairmq-rate-logging 10 --tpcidc '--channel-config "name=tpcidc,method=bind,address=tcp://*:{{ merger_port }},type=push,transport=zeromq,rateLogging=1" ' --dataspec idc2:TPC/IDCGROUPA --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' --dataspec 'xout:TPC/RAWDATA;ddout:FLP/DISTSUBTIMEFRAME/0' --environment DPL_OUTPUT_PROXY_ORDERED=1 +CRU_IDS=$(consul kv get o2/cache/flpToCruId/{{ it }}) && o2-dpl-raw-proxy -b --session default --dataspec 'x:TPC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc://tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=1"' | o2-tpc-idc-to-vector -b --session default --crus "${CRU_IDS}" --severity error --infologger-severity error --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --pedestal-url ccdb-default@{{ tpc_idc_pedesal_timestamp }} | o2-tpc-idc-flp -b --session default --n-TFs-buffer $(( 100 * 128 / {{ pdp_n_hbf_per_tf }} )) --crus "${CRU_IDS}" --severity warning --infologger-severity warning --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 --disableIDC0CCDB true | o2-dpl-output-proxy -b --session default --labels tpcidc:ecs-preserve-raw-channels --proxy-name tpcidc --proxy-channel-name tpcidc --fairmq-rate-logging 10 --tpcidc '--channel-config "name=tpcidc,method=bind,address=tcp://*:{{ merger_port }},type=push,transport=zeromq,rateLogging=1" ' --dataspec idc2:TPC/IDCGROUPA --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' --dataspec 'xout:TPC/RAWDATA;ddout:FLP/DISTSUBTIMEFRAME/0' --environment DPL_OUTPUT_PROXY_ORDERED=1 diff --git a/jit/tpc-idc-c b/jit/tpc-idc-c index ec3b25e4c..b541c64ed 100644 --- a/jit/tpc-idc-c +++ b/jit/tpc-idc-c @@ -1 +1 @@ -CRU_IDS=$(consul kv get o2/cache/flpToCruId/{{ it }}) && o2-dpl-raw-proxy -b --session default --dataspec 'x:TPC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc://tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=1"' | o2-tpc-idc-to-vector -b --session default --crus "${CRU_IDS}" --severity error --infologger-severity error --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --pedestal-url http://o2-ccdb.internal | o2-tpc-idc-flp -b --session default --n-TFs-buffer $(( 100 * 128 / {{ pdp_n_hbf_per_tf }} )) --crus "${CRU_IDS}" --severity warning --infologger-severity warning --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 --disableIDC0CCDB true | o2-dpl-output-proxy -b --session default --labels tpcidc:ecs-preserve-raw-channels --proxy-name tpcidc --proxy-channel-name tpcidc --fairmq-rate-logging 10 --tpcidc '--channel-config "name=tpcidc,method=bind,address=tcp://*:{{ merger_port }},type=push,transport=zeromq,rateLogging=1" ' --dataspec idc2:TPC/IDCGROUPC --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' --dataspec 'xout:TPC/RAWDATA;ddout:FLP/DISTSUBTIMEFRAME/0' --environment DPL_OUTPUT_PROXY_ORDERED=1 +CRU_IDS=$(consul kv get o2/cache/flpToCruId/{{ it }}) && o2-dpl-raw-proxy -b --session default --dataspec 'x:TPC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc://tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=1"' | o2-tpc-idc-to-vector -b --session default --crus "${CRU_IDS}" --severity error --infologger-severity error --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --pedestal-url ccdb-default@{{ tpc_idc_pedestal_timestamp }} | o2-tpc-idc-flp -b --session default --n-TFs-buffer $(( 100 * 128 / {{ pdp_n_hbf_per_tf }} )) --crus "${CRU_IDS}" --severity warning --infologger-severity warning --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 --disableIDC0CCDB true | o2-dpl-output-proxy -b --session default --labels tpcidc:ecs-preserve-raw-channels --proxy-name tpcidc --proxy-channel-name tpcidc --fairmq-rate-logging 10 --tpcidc '--channel-config "name=tpcidc,method=bind,address=tcp://*:{{ merger_port }},type=push,transport=zeromq,rateLogging=1" ' --dataspec idc2:TPC/IDCGROUPC --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' --dataspec 'xout:TPC/RAWDATA;ddout:FLP/DISTSUBTIMEFRAME/0' --environment DPL_OUTPUT_PROXY_ORDERED=1 diff --git a/workflows/tpc-idc-sac-full-split.yaml b/workflows/tpc-idc-sac-full-split.yaml index 1ff82bd9f..6e7dfe355 100644 --- a/workflows/tpc-idc-sac-full-split.yaml +++ b/workflows/tpc-idc-sac-full-split.yaml @@ -3,6 +3,7 @@ defaults: ccdb_path: "http://o2-ccdb.internal" tpc_sac_try_realign: 0 tpc_sac_threads : 1 + tpc_idc_pedestal_timestamp : 1715236056769 roles: - name: tpc-idc-a defaults: From 7c2c1f05aeb6a04500da572347278168d8b0b793 Mon Sep 17 00:00:00 2001 From: Robert Muenzer Date: Fri, 10 May 2024 15:25:46 +0200 Subject: [PATCH 2/2] fix typo --- jit/tpc-idc-a | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jit/tpc-idc-a b/jit/tpc-idc-a index f462edb43..d3768d0ea 100644 --- a/jit/tpc-idc-a +++ b/jit/tpc-idc-a @@ -1 +1 @@ -CRU_IDS=$(consul kv get o2/cache/flpToCruId/{{ it }}) && o2-dpl-raw-proxy -b --session default --dataspec 'x:TPC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc://tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=1"' | o2-tpc-idc-to-vector -b --session default --crus "${CRU_IDS}" --severity error --infologger-severity error --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --pedestal-url ccdb-default@{{ tpc_idc_pedesal_timestamp }} | o2-tpc-idc-flp -b --session default --n-TFs-buffer $(( 100 * 128 / {{ pdp_n_hbf_per_tf }} )) --crus "${CRU_IDS}" --severity warning --infologger-severity warning --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 --disableIDC0CCDB true | o2-dpl-output-proxy -b --session default --labels tpcidc:ecs-preserve-raw-channels --proxy-name tpcidc --proxy-channel-name tpcidc --fairmq-rate-logging 10 --tpcidc '--channel-config "name=tpcidc,method=bind,address=tcp://*:{{ merger_port }},type=push,transport=zeromq,rateLogging=1" ' --dataspec idc2:TPC/IDCGROUPA --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' --dataspec 'xout:TPC/RAWDATA;ddout:FLP/DISTSUBTIMEFRAME/0' --environment DPL_OUTPUT_PROXY_ORDERED=1 +CRU_IDS=$(consul kv get o2/cache/flpToCruId/{{ it }}) && o2-dpl-raw-proxy -b --session default --dataspec 'x:TPC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc://tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=1"' | o2-tpc-idc-to-vector -b --session default --crus "${CRU_IDS}" --severity error --infologger-severity error --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --pedestal-url ccdb-default@{{ tpc_idc_pedestal_timestamp }} | o2-tpc-idc-flp -b --session default --n-TFs-buffer $(( 100 * 128 / {{ pdp_n_hbf_per_tf }} )) --crus "${CRU_IDS}" --severity warning --infologger-severity warning --configKeyValues 'NameConf.mCCDBServer=http://127.0.0.1:8084;;keyval.output_dir=/dev/null' --lanes 1 --disableIDC0CCDB true | o2-dpl-output-proxy -b --session default --labels tpcidc:ecs-preserve-raw-channels --proxy-name tpcidc --proxy-channel-name tpcidc --fairmq-rate-logging 10 --tpcidc '--channel-config "name=tpcidc,method=bind,address=tcp://*:{{ merger_port }},type=push,transport=zeromq,rateLogging=1" ' --dataspec idc2:TPC/IDCGROUPA --sporadic-inputs --infologger-severity info --severity info | o2-dpl-output-proxy -b --session default --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' --dataspec 'xout:TPC/RAWDATA;ddout:FLP/DISTSUBTIMEFRAME/0' --environment DPL_OUTPUT_PROXY_ORDERED=1