Skip to content
Snippets Groups Projects

[RTADPA BW Tests] Use new exp24 minbias for AllenInMoore_Hlt1_Bandwidth test

Merged Luke Grazette requested to merge lugrazet-BW-hlt1test-exp24minbias into master
All threads resolved!
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<!--
(c) Copyright 2000-2023 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!--
Make sure the AllenInMoore HLT1 bandwidth test runs without errors for the streamless-stream configuration.
NB: If adding new config files (e.g. muon_geometry) please inform: @lugrazet or @rjhunter @shunan)
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="timeout"><integer>3600</integer></argument>
<argument name="args"><set>
<text>$HLT1CONFROOT/tests/options/bandwidth/hlt1_bandwidth_input.py</text>
<text>$HLT2CONFROOT/tests/options/bandwidth/hlt1_bandwidth_streamless_streams.py</text>
</set></argument>
<argument name="options"><text>
from Configurables import HiveDataBrokerSvc
HiveDataBrokerSvc().OutputLevel = 5
</text></argument>
<argument name="use_temp_dir"><enumeral>true</enumeral></argument>
<argument name="validator"><text>
from GaudiTesting.BaseTest import LineSkipper
from Moore.qmtest.exclusions import remove_known_warnings
remove_known_warnings = remove_known_warnings + LineSkipper([
"WARNING Lifetime fit did not converge. Aborting.",
"WARNING Negative variance produced in lifetime fit iteration.",
])
countErrorLines({"FATAL": 0, "ERROR": 0, "WARNING": 0},
stdout=remove_known_warnings(stdout))
import re
matches = re.findall('LAZY_AND: (Hlt2[A-Za-z0-9_]+) .*Sum=(\d+)', stdout)
if not matches:
causes.append('no line decisions found')
</text></argument>
<argument name="unsupported_platforms"><set>
<text>^(?!.*detdesc).*$</text>
</set></argument>
</extension>
Loading