Failed job is marked as success due to FSRs
When running the Sprucing followed by a file merging step the summaryMoore_<>.xml
for the merging step reports
<success>True</success>
but the log shows the file to merged was not found
EventSelector INFO Stream:EventSelector.DataStreamTool_1 Def:DATAFILE='LFN:00012345_00006789_1.rd.dst' SVC='LHCb::MDFSelecto
r' OPT='READ' IgnoreChecksum='YES'
TFile::TFile ERROR file /afs/cern.ch/work/n/nskidmor/public/Sprucing_production/Local_qc_24359_JobDir/LFN:00012345_00006789_
1.rd.dst does not exist
Minimal reproducers
merge.py
from GaudiConf.LbExec import Options
from PyConf.application import configure_input, configure, root_copy_input_writer
from PyConf.Algorithms import Gaudi__Hive__FetchLeavesFromFile
from PyConf.control_flow import CompositeNode, NodeLogic
def dst(options: Options):
input_leaves = Gaudi__Hive__FetchLeavesFromFile()
writer = root_copy_input_writer(options.output_file, input_leaves)
node = CompositeNode(
'DSTMerger',
combine_logic=NodeLogic.LAZY_AND,
children=[input_leaves, writer],
force_order=True)
config = configure_input(options)
config.update(configure(options, node))
return config
prod.yaml
- author: nskidmor
name: Passthrough sprucing (2022 MagDown)
comment: ''
type: Sprucing
wg: DPA
inform:
- nskidmor
priority: 1a
input_dataset:
# make_conditions.py '/LHCb/Collision22/Beam6800GeV-VeloClosed-MagDown-Excl-UT/Real Data/94000000/RAW' --dq UNCHECKED
conditions_dict:
configName: LHCb
configVersion: Collision22
inFileType: RAW
inProPass: Real Data
inDataQualityFlag: UNCHECKED
inProductionID: ALL
inTCKs: ALL
conditions_id: 434924
conditions_description: Beam6800GeV-VeloClosed-MagDown-Excl-UT
event_type: '94000000'
steps:
- name: Passthrough sprucing
processing_pass: Pass01
visible: true
application:
name: Moore
version: v54r7
data_pkgs: []
options:
entrypoint: Hlt2Conf.Sprucing_production:pass_spruce_production
extra_options:
input_raw_format : 0.5
input_type : 'RAW'
simulation : False
data_type : 'Upgrade'
geometry_version: trunk
conditions_version: master
compression: "ZSTD:1"
output_type : 'ROOT'
input_process: "Hlt2"
input:
- type: MDF
visible: true
output:
- type: SL.DST
visible: false
- type: CHARM.DST
visible: false
- type: B2CC.DST
visible: false
- type: RD.DST
visible: false
- type: BANDQ.DST
visible: false
- type: QEE.DST
visible: false
- type: B2OC.DST
visible: false
- type: BNOC.DST
visible: false
- name: Pass merge
processing_pass: PassMerge
visible: false
application:
name: Moore
version: v54r7
data_pkgs: []
options:
entrypoint: /afs/cern.ch/work/n/nskidmor/public/Sprucing_production/merge.py:dst
extra_options:
input_raw_format : 0.5
input_type : 'RAW'
simulation : False
data_type : 'Upgrade'
geometry_version: trunk
conditions_version: master
compression: "ZSTD:1"
output_type : 'ROOT'
input_process: "Hlt2"
input:
- type: RD.DST
visible: false
output:
- type: RD.DST
visible: true
Run with
lb-dirac bash
lhcb-proxy-init
dirac-production-request-run-local prod.yaml 'Passthrough sprucing (2022 MagDown)' --input-files='/lhcb/data/2022/RAW/FULL/LHCb/COLLISION22/256170/256170_00100013_0000.raw'