Skip to content
Snippets Groups Projects
Commit 2a53f160 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Merge branch 'revert-31dc0f57' into 'master'

Revert "Merge branch 'ViewsCantAccessEvent' into 'master'"

See merge request gaudi/Gaudi!1079
parents 878ee323 2c5d247b
Branches
No related tags found
No related merge requests found
#!/usr/bin/env gaudirun.py
#####################################################################################
# (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations #
# #
# This software is distributed under the terms of the Apache version 2 licence, #
# copied verbatim in the file "LICENSE". #
# #
# 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. #
#####################################################################################
'''
A test for isolating sub-slot data from the parent slot.
The main sequence has two steps of creating and running sub-events.
The ViewTester is an algorithm specifically designed to create sub-event
contexts, pass them to the scheduler, and report on the current context.
Seven instances of ViewTester are used as follows:
- Algorithm A1 creates a sub-event context
- Algorithms A2 and A3 run within the sub-event, sharing data
- Algorithm A4 creates another sub-event contexts, and a data output
- Algorithms A5 and A6 run within the new sub-event, but cannot access data from A4
- Algorithm A7 runs in the whole event context, after the sub-events
The test should stall if isolation is working
'''
from Gaudi.Configuration import *
from Configurables import (HiveWhiteBoard, HiveSlimEventLoopMgr,
AvalancheSchedulerSvc, AlgResourcePool, CPUCruncher,
GaudiSequencer, Test__ViewTester)
# metaconfig -------------------------------------------------------------------
# It's confortable to collect the relevant parameters at the top of the optionfile
evtslots = 1
evtMax = 1
cardinality = 1
threads = 1
viewsPerEvt = 1
# -------------------------------------------------------------------------------
# The configuration of the whiteboard ------------------------------------------
# It is useful to call it EventDataSvc to replace the usual data service with
# the whiteboard transparently.
whiteboard = HiveWhiteBoard("EventDataSvc", EventSlots=evtslots)
# -------------------------------------------------------------------------------
# Event Loop Manager -----------------------------------------------------------
# It's called slim since it has less functionalities overall than the good-old
# event loop manager. Here we just set its outputlevel to DEBUG.
slimeventloopmgr = HiveSlimEventLoopMgr(
SchedulerName="AvalancheSchedulerSvc", OutputLevel=DEBUG)
# -------------------------------------------------------------------------------
# ForwardScheduler -------------------------------------------------------------
# We just decide how many algorithms in flight we want to have and how many
# threads in the pool. The default value is -1, which is for TBB equivalent
# to take over the whole machine.
scheduler = AvalancheSchedulerSvc(
ThreadPoolSize=threads, OutputLevel=INFO, VerboseSubSlots=True)
# -------------------------------------------------------------------------------
# Algo Resource Pool -----------------------------------------------------------
# Nothing special here, we just set the debug level.
AlgResourcePool(OutputLevel=DEBUG)
# -------------------------------------------------------------------------------
# Set up of the crunchers, daily business --------------------------------------
a1 = Test__ViewTester("A1")
a1.baseViewName = 'viewOne'
a1.viewNumber = viewsPerEvt
a1.viewNodeName = 'viewNodeOne'
a2 = Test__ViewTester("A2")
a2.viewNodeName = ''
a2.outKeys = ['/Event/a2']
a3 = Test__ViewTester("A3")
a3.viewNodeName = ''
a3.inpKeys = ['/Event/a2'
] # Should be able to load a2 from the shared sub-slot
a4 = Test__ViewTester("A4")
a4.baseViewName = 'viewTwo'
a4.viewNumber = viewsPerEvt
a4.viewNodeName = 'viewNodeTwo'
a4.outKeys = ['/Event/a4']
a5 = Test__ViewTester("A5")
a5.viewNodeName = ''
a5.inpKeys = ['/Event/a4'
] # Should not be able to load a4 from the "whole event" slot
a6 = Test__ViewTester("A6")
a6.viewNodeName = ''
a7 = Test__ViewTester("A7")
a7.viewNodeName = ''
for algo in [a1, a2, a3, a4, a5, a6, a7]:
algo.Cardinality = cardinality
algo.OutputLevel = DEBUG
viewNodeOne = GaudiSequencer(
"viewNodeOne", Members=[a2, a3], Sequential=False, ShortCircuit=False)
viewNodeTwo = GaudiSequencer(
"viewNodeTwo", Members=[a5, a6], Sequential=False, ShortCircuit=False)
createViewSeq = GaudiSequencer(
"createViewSeq",
Members=[a1, viewNodeOne, a4, viewNodeTwo, a7],
Sequential=True,
OutputLevel=VERBOSE)
# Application Manager ----------------------------------------------------------
# We put everything together and change the type of message service
ApplicationMgr(
EvtMax=evtMax,
EvtSel='NONE',
ExtSvc=[whiteboard],
EventLoop=slimeventloopmgr,
TopAlg=[createViewSeq],
MessageSvcType="InertMessageSvc")
# -------------------------------------------------------------------------------
...@@ -73,6 +73,16 @@ namespace concurrency { ...@@ -73,6 +73,16 @@ namespace concurrency {
} }
} }
// Check parent slot if necessary
if ( m_slot->parentSlot ) {
for ( auto algoNode : producers ) {
const auto& state = m_slot->parentSlot->algsStates[algoNode->getAlgoIndex()];
if ( AState::EVTACCEPTED == state || AState::EVTREJECTED == state ) {
return true; // skip checking other producers if one was found to be executed
}
}
}
// return true only if this DataNode is produced // return true only if this DataNode is produced
return false; return false;
} }
......
...@@ -94,10 +94,19 @@ StatusCode ViewTester::execute() // the execution of the algorithm ...@@ -94,10 +94,19 @@ StatusCode ViewTester::execute() // the execution of the algorithm
} }
} else { } else {
// Disable the view node if there are no views // Disable the view node if there are no views
scheduler->scheduleEventView( &context, m_viewNodeName, nullptr ).ignore(); scheduler->scheduleEventView( &context, m_viewNodeName, nullptr )
.ignore( /* AUTOMATICALLY ADDED FOR gaudi/Gaudi!763 */ );
} }
} }
VERBOSE_MSG << "outputs number: " << m_outputHandles.size() << endmsg;
for ( auto& outputHandle : m_outputHandles ) {
if ( !outputHandle->isValid() ) continue;
VERBOSE_MSG << "put to TS: " << outputHandle->objKey() << endmsg;
outputHandle->put( std::make_unique<DataObject>() );
}
setFilterPassed( true ); setFilterPassed( true );
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
......
<?xml version="1.0" ?><!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<!--
(c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations
This software is distributed under the terms of the Apache version 2 licence,
copied verbatim in the file "LICENSE".
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.
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="args"><set>
<text>-v</text>
<text>../../options/SubSlotVsSlotIsolation.py</text>
</set></argument>
<argument name="use_temp_dir"><enumeral>true</enumeral></argument>
<argument name="timeout"><integer>120</integer></argument>
<argument name="reference"><text>refs/SubSlotVsSlotIsolation.ref</text></argument>
</extension>
# setting LC_ALL to "C"
# --> Including file '/workdir/gaudi/GaudiHive/options/SubSlotVsSlotIsolation.py'
# <-- End of file '/workdir/gaudi/GaudiHive/options/SubSlotVsSlotIsolation.py'
# Dumping all configurables and properties (different from default)
{'A1': {'Cardinality': 1,
'OutputLevel': 2,
'baseViewName': 'viewOne',
'viewNodeName': 'viewNodeOne',
'viewNumber': 1},
'A2': {'Cardinality': 1,
'OutputLevel': 2,
'outKeys': ['/Event/a2'],
'viewNodeName': ''},
'A3': {'Cardinality': 1,
'OutputLevel': 2,
'inpKeys': ['/Event/a2'],
'viewNodeName': ''},
'A4': {'Cardinality': 1,
'OutputLevel': 2,
'baseViewName': 'viewTwo',
'outKeys': ['/Event/a4'],
'viewNodeName': 'viewNodeTwo',
'viewNumber': 1},
'A5': {'Cardinality': 1,
'OutputLevel': 2,
'inpKeys': ['/Event/a4'],
'viewNodeName': ''},
'A6': {'Cardinality': 1, 'OutputLevel': 2, 'viewNodeName': ''},
'A7': {'Cardinality': 1, 'OutputLevel': 2, 'viewNodeName': ''},
'AlgResourcePool': {'OutputLevel': 2},
'ApplicationMgr': {'EventLoop': 'HiveSlimEventLoopMgr/HiveSlimEventLoopMgr',
'EvtMax': 1,
'EvtSel': 'NONE',
'ExtSvc': ['HiveWhiteBoard/EventDataSvc'],
'MessageSvcType': 'InertMessageSvc',
'TopAlg': ['GaudiSequencer/createViewSeq']},
'AvalancheSchedulerSvc': {'OutputLevel': 3,
'ThreadPoolSize': 1,
'VerboseSubSlots': True},
'EventDataSvc': {'EventSlots': 1},
'HiveSlimEventLoopMgr': {'OutputLevel': 2,
'SchedulerName': 'AvalancheSchedulerSvc'},
'createViewSeq': {'Members': ['Test::ViewTester/A1',
'GaudiSequencer/viewNodeOne',
'Test::ViewTester/A4',
'GaudiSequencer/viewNodeTwo',
'Test::ViewTester/A7'],
'OutputLevel': 1,
'Sequential': True},
'viewNodeOne': {'Members': ['Test::ViewTester/A2', 'Test::ViewTester/A3'],
'Sequential': False,
'ShortCircuit': False},
'viewNodeTwo': {'Members': ['Test::ViewTester/A5', 'Test::ViewTester/A6'],
'Sequential': False,
'ShortCircuit': False}}
MessageSvc INFO Activating in a separate thread
ApplicationMgr SUCCESS
====================================================================================================================================
Welcome to ApplicationMgr (GaudiCoreSvc v33r1)
running on cbab1f0b7ae0 on Wed May 20 17:52:22 2020
====================================================================================================================================
ApplicationMgr INFO Application Manager Configured successfully
HiveSlimEventLo... DEBUG Property update for OutputLevel : new value = 2
HiveSlimEventLo... DEBUG Service base class initialized successfully
ThreadPoolSvc INFO no thread init tools attached
AvalancheSchedu... INFO Activating scheduler in a separate thread
AlgResourcePool DEBUG Property update for OutputLevel : new value = 2
AlgResourcePool DEBUG Service base class initialized successfully
AlgResourcePool INFO TopAlg list empty. Recovering the one of Application Manager
createViewSeq DEBUG Property update for OutputLevel : new value = 1
createViewSeq VERBOSE ServiceLocatorHelper::service: found service EventDataSvc
createViewSeq VERBOSE ServiceLocatorHelper::service: found service TimelineSvc
createViewSeq DEBUG ==> Initialise
createViewSeq VERBOSE ServiceLocatorHelper::service: found service JobOptionsSvc
createViewSeq VERBOSE ServiceLocatorHelper::service: found service ApplicationMgr
createViewSeq DEBUG Added algorithm A1
createViewSeq DEBUG Added algorithm viewNodeOne
createViewSeq DEBUG Added algorithm A4
createViewSeq DEBUG Added algorithm viewNodeTwo
createViewSeq DEBUG Added algorithm A7
createViewSeq INFO Member list: Test::ViewTester/A1, GaudiSequencer/viewNodeOne, Test::ViewTester/A4, GaudiSequencer/viewNodeTwo, Test::ViewTester/A7
createViewSeq VERBOSE ServiceLocatorHelper::service: found service ToolSvc
RndmGenSvc.Engine INFO Generator engine type:CLHEP::RanluxEngine
RndmGenSvc.Engine INFO Current Seed:1234567 Luxury:3
RndmGenSvc INFO Using Random engine:HepRndm::Engine<CLHEP::RanluxEngine>
ToolSvc.Sequenc... INFO This machine has a speed about 4.17 times the speed of a 2.8 GHz Xeon.
createViewSeq DEBUG Registering tool ToolSvc.SequencerTimerTool
createViewSeq DEBUG Releasing tool 'ToolSvc.SequencerTimerTool'
createViewSeq DEBUG De-Registering tool ToolSvc.SequencerTimerTool
createViewSeq DEBUG The tool 'ToolSvc.SequencerTimerTool' of type 'SequencerTimerTool' is released
A1 DEBUG Property update for OutputLevel : new value = 2
A1 DEBUG Initialize base class GaudiCommon<Algorithm>
A1 DEBUG could not locate CounterSummarySvc, no counter summary will be made
A1 DEBUG List of ALL properties of Test::ViewTester/A1 #properties = 40
A1 DEBUG Property ['Name': Value] = 'viewNodeName':viewNodeOne
A1 DEBUG Property ['Name': Value] = 'viewNumber':1
A1 DEBUG Property ['Name': Value] = 'baseViewName':viewOne
A1 DEBUG Property ['Name': Value] = 'outKeys':[ ]
A1 DEBUG Property ['Name': Value] = 'inpKeys':[ ]
A1 DEBUG Property ['Name': Value] = 'RequireObjects':[ ]
A1 DEBUG Property ['Name': Value] = 'VetoObjects':[ ]
A1 DEBUG Property ['Name': Value] = 'StatEntityList':[ ]
A1 DEBUG Property ['Name': Value] = 'CounterList':[ '.*' ]
A1 DEBUG Property ['Name': Value] = 'UseEfficiencyRowFormat':True
A1 DEBUG Property ['Name': Value] = 'EfficiencyRowFormat': |*%|-48.48s|%|50t||%|10d| |%|11.5g| |(%|#9.6g| +- %|-#9.6g|)%%| ------- | ------- |
A1 DEBUG Property ['Name': Value] = 'RegularRowFormat': | %|-48.48s|%|50t||%|10d| |%|11.7g| |%|#11.5g| |%|#11.5g| |%|#12.5g| |%|#12.5g| |
A1 DEBUG Property ['Name': Value] = 'StatTableHeader': | Counter | # | sum | mean/eff^* | rms/err^* | min | max |
A1 DEBUG Property ['Name': Value] = 'Context':
A1 DEBUG Property ['Name': Value] = 'TypePrint':True
A1 DEBUG Property ['Name': Value] = 'PrintEmptyCounters':False
A1 DEBUG Property ['Name': Value] = 'StatPrint':True
A1 DEBUG Property ['Name': Value] = 'PropertiesPrint':False
A1 DEBUG Property ['Name': Value] = 'ErrorsPrint':True
A1 DEBUG Property ['Name': Value] = 'RootInTES':
A1 DEBUG Property ['Name': Value] = 'FilterCircularDependencies':True
A1 DEBUG Property ['Name': Value] = 'Blocking':False
A1 DEBUG Property ['Name': Value] = 'NeededResources':[ ]
A1 DEBUG Property ['Name': Value] = 'Cardinality':1
A1 DEBUG Property ['Name': Value] = 'RegisterForContextService':True
A1 DEBUG Property ['Name': Value] = 'MonitorService':MonitorSvc
A1 DEBUG Property ['Name': Value] = 'Timeline':False
A1 DEBUG Property ['Name': Value] = 'AuditStop':False
A1 DEBUG Property ['Name': Value] = 'AuditStart':False
A1 DEBUG Property ['Name': Value] = 'AuditFinalize':False
A1 DEBUG Property ['Name': Value] = 'AuditExecute':False
A1 DEBUG Property ['Name': Value] = 'AuditRestart':False
A1 DEBUG Property ['Name': Value] = 'AuditReinitialize':False
A1 DEBUG Property ['Name': Value] = 'AuditInitialize':False
A1 DEBUG Property ['Name': Value] = 'AuditAlgorithms':False
A1 DEBUG Property ['Name': Value] = 'ErrorMax':1
A1 DEBUG Property ['Name': Value] = 'Enable':True
A1 DEBUG Property ['Name': Value] = 'OutputLevel':2
A1 DEBUG Property ['Name': Value] = 'ExtraOutputs':[]
A1 DEBUG Property ['Name': Value] = 'ExtraInputs':[]
A1 DEBUG input handles: 0
A1 DEBUG output handles: 0
A1 DEBUG Data Deps for A1
viewNodeOne INFO Member list: Test::ViewTester/A2, Test::ViewTester/A3
A2 DEBUG Property update for OutputLevel : new value = 2
A2 DEBUG Initialize base class GaudiCommon<Algorithm>
A2 DEBUG could not locate CounterSummarySvc, no counter summary will be made
A2 DEBUG List of ALL properties of Test::ViewTester/A2 #properties = 40
A2 DEBUG Property ['Name': Value] = 'viewNodeName':
A2 DEBUG Property ['Name': Value] = 'viewNumber':0
A2 DEBUG Property ['Name': Value] = 'baseViewName':view
A2 DEBUG Property ['Name': Value] = 'outKeys':[ '/Event/a2' ]
A2 DEBUG Property ['Name': Value] = 'inpKeys':[ ]
A2 DEBUG Property ['Name': Value] = 'RequireObjects':[ ]
A2 DEBUG Property ['Name': Value] = 'VetoObjects':[ ]
A2 DEBUG Property ['Name': Value] = 'StatEntityList':[ ]
A2 DEBUG Property ['Name': Value] = 'CounterList':[ '.*' ]
A2 DEBUG Property ['Name': Value] = 'UseEfficiencyRowFormat':True
A2 DEBUG Property ['Name': Value] = 'EfficiencyRowFormat': |*%|-48.48s|%|50t||%|10d| |%|11.5g| |(%|#9.6g| +- %|-#9.6g|)%%| ------- | ------- |
A2 DEBUG Property ['Name': Value] = 'RegularRowFormat': | %|-48.48s|%|50t||%|10d| |%|11.7g| |%|#11.5g| |%|#11.5g| |%|#12.5g| |%|#12.5g| |
A2 DEBUG Property ['Name': Value] = 'StatTableHeader': | Counter | # | sum | mean/eff^* | rms/err^* | min | max |
A2 DEBUG Property ['Name': Value] = 'Context':
A2 DEBUG Property ['Name': Value] = 'TypePrint':True
A2 DEBUG Property ['Name': Value] = 'PrintEmptyCounters':False
A2 DEBUG Property ['Name': Value] = 'StatPrint':True
A2 DEBUG Property ['Name': Value] = 'PropertiesPrint':False
A2 DEBUG Property ['Name': Value] = 'ErrorsPrint':True
A2 DEBUG Property ['Name': Value] = 'RootInTES':
A2 DEBUG Property ['Name': Value] = 'FilterCircularDependencies':True
A2 DEBUG Property ['Name': Value] = 'Blocking':False
A2 DEBUG Property ['Name': Value] = 'NeededResources':[ ]
A2 DEBUG Property ['Name': Value] = 'Cardinality':1
A2 DEBUG Property ['Name': Value] = 'RegisterForContextService':True
A2 DEBUG Property ['Name': Value] = 'MonitorService':MonitorSvc
A2 DEBUG Property ['Name': Value] = 'Timeline':False
A2 DEBUG Property ['Name': Value] = 'AuditStop':False
A2 DEBUG Property ['Name': Value] = 'AuditStart':False
A2 DEBUG Property ['Name': Value] = 'AuditFinalize':False
A2 DEBUG Property ['Name': Value] = 'AuditExecute':False
A2 DEBUG Property ['Name': Value] = 'AuditRestart':False
A2 DEBUG Property ['Name': Value] = 'AuditReinitialize':False
A2 DEBUG Property ['Name': Value] = 'AuditInitialize':False
A2 DEBUG Property ['Name': Value] = 'AuditAlgorithms':False
A2 DEBUG Property ['Name': Value] = 'ErrorMax':1
A2 DEBUG Property ['Name': Value] = 'Enable':True
A2 DEBUG Property ['Name': Value] = 'OutputLevel':2
A2 DEBUG Property ['Name': Value] = 'ExtraOutputs':[]
A2 DEBUG Property ['Name': Value] = 'ExtraInputs':[]
A2 DEBUG adding output key /Event/a2
A2 DEBUG input handles: 0
A2 DEBUG output handles: 1
A2 DEBUG Data Deps for A2
+ OUTPUT '/Event/a2'
A3 DEBUG Property update for OutputLevel : new value = 2
A3 DEBUG Initialize base class GaudiCommon<Algorithm>
A3 DEBUG could not locate CounterSummarySvc, no counter summary will be made
A3 DEBUG List of ALL properties of Test::ViewTester/A3 #properties = 40
A3 DEBUG Property ['Name': Value] = 'viewNodeName':
A3 DEBUG Property ['Name': Value] = 'viewNumber':0
A3 DEBUG Property ['Name': Value] = 'baseViewName':view
A3 DEBUG Property ['Name': Value] = 'outKeys':[ ]
A3 DEBUG Property ['Name': Value] = 'inpKeys':[ '/Event/a2' ]
A3 DEBUG Property ['Name': Value] = 'RequireObjects':[ ]
A3 DEBUG Property ['Name': Value] = 'VetoObjects':[ ]
A3 DEBUG Property ['Name': Value] = 'StatEntityList':[ ]
A3 DEBUG Property ['Name': Value] = 'CounterList':[ '.*' ]
A3 DEBUG Property ['Name': Value] = 'UseEfficiencyRowFormat':True
A3 DEBUG Property ['Name': Value] = 'EfficiencyRowFormat': |*%|-48.48s|%|50t||%|10d| |%|11.5g| |(%|#9.6g| +- %|-#9.6g|)%%| ------- | ------- |
A3 DEBUG Property ['Name': Value] = 'RegularRowFormat': | %|-48.48s|%|50t||%|10d| |%|11.7g| |%|#11.5g| |%|#11.5g| |%|#12.5g| |%|#12.5g| |
A3 DEBUG Property ['Name': Value] = 'StatTableHeader': | Counter | # | sum | mean/eff^* | rms/err^* | min | max |
A3 DEBUG Property ['Name': Value] = 'Context':
A3 DEBUG Property ['Name': Value] = 'TypePrint':True
A3 DEBUG Property ['Name': Value] = 'PrintEmptyCounters':False
A3 DEBUG Property ['Name': Value] = 'StatPrint':True
A3 DEBUG Property ['Name': Value] = 'PropertiesPrint':False
A3 DEBUG Property ['Name': Value] = 'ErrorsPrint':True
A3 DEBUG Property ['Name': Value] = 'RootInTES':
A3 DEBUG Property ['Name': Value] = 'FilterCircularDependencies':True
A3 DEBUG Property ['Name': Value] = 'Blocking':False
A3 DEBUG Property ['Name': Value] = 'NeededResources':[ ]
A3 DEBUG Property ['Name': Value] = 'Cardinality':1
A3 DEBUG Property ['Name': Value] = 'RegisterForContextService':True
A3 DEBUG Property ['Name': Value] = 'MonitorService':MonitorSvc
A3 DEBUG Property ['Name': Value] = 'Timeline':False
A3 DEBUG Property ['Name': Value] = 'AuditStop':False
A3 DEBUG Property ['Name': Value] = 'AuditStart':False
A3 DEBUG Property ['Name': Value] = 'AuditFinalize':False
A3 DEBUG Property ['Name': Value] = 'AuditExecute':False
A3 DEBUG Property ['Name': Value] = 'AuditRestart':False
A3 DEBUG Property ['Name': Value] = 'AuditReinitialize':False
A3 DEBUG Property ['Name': Value] = 'AuditInitialize':False
A3 DEBUG Property ['Name': Value] = 'AuditAlgorithms':False
A3 DEBUG Property ['Name': Value] = 'ErrorMax':1
A3 DEBUG Property ['Name': Value] = 'Enable':True
A3 DEBUG Property ['Name': Value] = 'OutputLevel':2
A3 DEBUG Property ['Name': Value] = 'ExtraOutputs':[]
A3 DEBUG Property ['Name': Value] = 'ExtraInputs':[]
A3 DEBUG adding input key /Event/a2
A3 DEBUG input handles: 1
A3 DEBUG output handles: 0
A3 DEBUG Data Deps for A3
+ INPUT '/Event/a2'
A4 DEBUG Property update for OutputLevel : new value = 2
A4 DEBUG Initialize base class GaudiCommon<Algorithm>
A4 DEBUG could not locate CounterSummarySvc, no counter summary will be made
A4 DEBUG List of ALL properties of Test::ViewTester/A4 #properties = 40
A4 DEBUG Property ['Name': Value] = 'viewNodeName':viewNodeTwo
A4 DEBUG Property ['Name': Value] = 'viewNumber':1
A4 DEBUG Property ['Name': Value] = 'baseViewName':viewTwo
A4 DEBUG Property ['Name': Value] = 'outKeys':[ '/Event/a4' ]
A4 DEBUG Property ['Name': Value] = 'inpKeys':[ ]
A4 DEBUG Property ['Name': Value] = 'RequireObjects':[ ]
A4 DEBUG Property ['Name': Value] = 'VetoObjects':[ ]
A4 DEBUG Property ['Name': Value] = 'StatEntityList':[ ]
A4 DEBUG Property ['Name': Value] = 'CounterList':[ '.*' ]
A4 DEBUG Property ['Name': Value] = 'UseEfficiencyRowFormat':True
A4 DEBUG Property ['Name': Value] = 'EfficiencyRowFormat': |*%|-48.48s|%|50t||%|10d| |%|11.5g| |(%|#9.6g| +- %|-#9.6g|)%%| ------- | ------- |
A4 DEBUG Property ['Name': Value] = 'RegularRowFormat': | %|-48.48s|%|50t||%|10d| |%|11.7g| |%|#11.5g| |%|#11.5g| |%|#12.5g| |%|#12.5g| |
A4 DEBUG Property ['Name': Value] = 'StatTableHeader': | Counter | # | sum | mean/eff^* | rms/err^* | min | max |
A4 DEBUG Property ['Name': Value] = 'Context':
A4 DEBUG Property ['Name': Value] = 'TypePrint':True
A4 DEBUG Property ['Name': Value] = 'PrintEmptyCounters':False
A4 DEBUG Property ['Name': Value] = 'StatPrint':True
A4 DEBUG Property ['Name': Value] = 'PropertiesPrint':False
A4 DEBUG Property ['Name': Value] = 'ErrorsPrint':True
A4 DEBUG Property ['Name': Value] = 'RootInTES':
A4 DEBUG Property ['Name': Value] = 'FilterCircularDependencies':True
A4 DEBUG Property ['Name': Value] = 'Blocking':False
A4 DEBUG Property ['Name': Value] = 'NeededResources':[ ]
A4 DEBUG Property ['Name': Value] = 'Cardinality':1
A4 DEBUG Property ['Name': Value] = 'RegisterForContextService':True
A4 DEBUG Property ['Name': Value] = 'MonitorService':MonitorSvc
A4 DEBUG Property ['Name': Value] = 'Timeline':False
A4 DEBUG Property ['Name': Value] = 'AuditStop':False
A4 DEBUG Property ['Name': Value] = 'AuditStart':False
A4 DEBUG Property ['Name': Value] = 'AuditFinalize':False
A4 DEBUG Property ['Name': Value] = 'AuditExecute':False
A4 DEBUG Property ['Name': Value] = 'AuditRestart':False
A4 DEBUG Property ['Name': Value] = 'AuditReinitialize':False
A4 DEBUG Property ['Name': Value] = 'AuditInitialize':False
A4 DEBUG Property ['Name': Value] = 'AuditAlgorithms':False
A4 DEBUG Property ['Name': Value] = 'ErrorMax':1
A4 DEBUG Property ['Name': Value] = 'Enable':True
A4 DEBUG Property ['Name': Value] = 'OutputLevel':2
A4 DEBUG Property ['Name': Value] = 'ExtraOutputs':[]
A4 DEBUG Property ['Name': Value] = 'ExtraInputs':[]
A4 DEBUG adding output key /Event/a4
A4 DEBUG input handles: 0
A4 DEBUG output handles: 1
A4 DEBUG Data Deps for A4
+ OUTPUT '/Event/a4'
viewNodeTwo INFO Member list: Test::ViewTester/A5, Test::ViewTester/A6
A5 DEBUG Property update for OutputLevel : new value = 2
A5 DEBUG Initialize base class GaudiCommon<Algorithm>
A5 DEBUG could not locate CounterSummarySvc, no counter summary will be made
A5 DEBUG List of ALL properties of Test::ViewTester/A5 #properties = 40
A5 DEBUG Property ['Name': Value] = 'viewNodeName':
A5 DEBUG Property ['Name': Value] = 'viewNumber':0
A5 DEBUG Property ['Name': Value] = 'baseViewName':view
A5 DEBUG Property ['Name': Value] = 'outKeys':[ ]
A5 DEBUG Property ['Name': Value] = 'inpKeys':[ '/Event/a4' ]
A5 DEBUG Property ['Name': Value] = 'RequireObjects':[ ]
A5 DEBUG Property ['Name': Value] = 'VetoObjects':[ ]
A5 DEBUG Property ['Name': Value] = 'StatEntityList':[ ]
A5 DEBUG Property ['Name': Value] = 'CounterList':[ '.*' ]
A5 DEBUG Property ['Name': Value] = 'UseEfficiencyRowFormat':True
A5 DEBUG Property ['Name': Value] = 'EfficiencyRowFormat': |*%|-48.48s|%|50t||%|10d| |%|11.5g| |(%|#9.6g| +- %|-#9.6g|)%%| ------- | ------- |
A5 DEBUG Property ['Name': Value] = 'RegularRowFormat': | %|-48.48s|%|50t||%|10d| |%|11.7g| |%|#11.5g| |%|#11.5g| |%|#12.5g| |%|#12.5g| |
A5 DEBUG Property ['Name': Value] = 'StatTableHeader': | Counter | # | sum | mean/eff^* | rms/err^* | min | max |
A5 DEBUG Property ['Name': Value] = 'Context':
A5 DEBUG Property ['Name': Value] = 'TypePrint':True
A5 DEBUG Property ['Name': Value] = 'PrintEmptyCounters':False
A5 DEBUG Property ['Name': Value] = 'StatPrint':True
A5 DEBUG Property ['Name': Value] = 'PropertiesPrint':False
A5 DEBUG Property ['Name': Value] = 'ErrorsPrint':True
A5 DEBUG Property ['Name': Value] = 'RootInTES':
A5 DEBUG Property ['Name': Value] = 'FilterCircularDependencies':True
A5 DEBUG Property ['Name': Value] = 'Blocking':False
A5 DEBUG Property ['Name': Value] = 'NeededResources':[ ]
A5 DEBUG Property ['Name': Value] = 'Cardinality':1
A5 DEBUG Property ['Name': Value] = 'RegisterForContextService':True
A5 DEBUG Property ['Name': Value] = 'MonitorService':MonitorSvc
A5 DEBUG Property ['Name': Value] = 'Timeline':False
A5 DEBUG Property ['Name': Value] = 'AuditStop':False
A5 DEBUG Property ['Name': Value] = 'AuditStart':False
A5 DEBUG Property ['Name': Value] = 'AuditFinalize':False
A5 DEBUG Property ['Name': Value] = 'AuditExecute':False
A5 DEBUG Property ['Name': Value] = 'AuditRestart':False
A5 DEBUG Property ['Name': Value] = 'AuditReinitialize':False
A5 DEBUG Property ['Name': Value] = 'AuditInitialize':False
A5 DEBUG Property ['Name': Value] = 'AuditAlgorithms':False
A5 DEBUG Property ['Name': Value] = 'ErrorMax':1
A5 DEBUG Property ['Name': Value] = 'Enable':True
A5 DEBUG Property ['Name': Value] = 'OutputLevel':2
A5 DEBUG Property ['Name': Value] = 'ExtraOutputs':[]
A5 DEBUG Property ['Name': Value] = 'ExtraInputs':[]
A5 DEBUG adding input key /Event/a4
A5 DEBUG input handles: 1
A5 DEBUG output handles: 0
A5 DEBUG Data Deps for A5
+ INPUT '/Event/a4'
A6 DEBUG Property update for OutputLevel : new value = 2
A6 DEBUG Initialize base class GaudiCommon<Algorithm>
A6 DEBUG could not locate CounterSummarySvc, no counter summary will be made
A6 DEBUG List of ALL properties of Test::ViewTester/A6 #properties = 40
A6 DEBUG Property ['Name': Value] = 'viewNodeName':
A6 DEBUG Property ['Name': Value] = 'viewNumber':0
A6 DEBUG Property ['Name': Value] = 'baseViewName':view
A6 DEBUG Property ['Name': Value] = 'outKeys':[ ]
A6 DEBUG Property ['Name': Value] = 'inpKeys':[ ]
A6 DEBUG Property ['Name': Value] = 'RequireObjects':[ ]
A6 DEBUG Property ['Name': Value] = 'VetoObjects':[ ]
A6 DEBUG Property ['Name': Value] = 'StatEntityList':[ ]
A6 DEBUG Property ['Name': Value] = 'CounterList':[ '.*' ]
A6 DEBUG Property ['Name': Value] = 'UseEfficiencyRowFormat':True
A6 DEBUG Property ['Name': Value] = 'EfficiencyRowFormat': |*%|-48.48s|%|50t||%|10d| |%|11.5g| |(%|#9.6g| +- %|-#9.6g|)%%| ------- | ------- |
A6 DEBUG Property ['Name': Value] = 'RegularRowFormat': | %|-48.48s|%|50t||%|10d| |%|11.7g| |%|#11.5g| |%|#11.5g| |%|#12.5g| |%|#12.5g| |
A6 DEBUG Property ['Name': Value] = 'StatTableHeader': | Counter | # | sum | mean/eff^* | rms/err^* | min | max |
A6 DEBUG Property ['Name': Value] = 'Context':
A6 DEBUG Property ['Name': Value] = 'TypePrint':True
A6 DEBUG Property ['Name': Value] = 'PrintEmptyCounters':False
A6 DEBUG Property ['Name': Value] = 'StatPrint':True
A6 DEBUG Property ['Name': Value] = 'PropertiesPrint':False
A6 DEBUG Property ['Name': Value] = 'ErrorsPrint':True
A6 DEBUG Property ['Name': Value] = 'RootInTES':
A6 DEBUG Property ['Name': Value] = 'FilterCircularDependencies':True
A6 DEBUG Property ['Name': Value] = 'Blocking':False
A6 DEBUG Property ['Name': Value] = 'NeededResources':[ ]
A6 DEBUG Property ['Name': Value] = 'Cardinality':1
A6 DEBUG Property ['Name': Value] = 'RegisterForContextService':True
A6 DEBUG Property ['Name': Value] = 'MonitorService':MonitorSvc
A6 DEBUG Property ['Name': Value] = 'Timeline':False
A6 DEBUG Property ['Name': Value] = 'AuditStop':False
A6 DEBUG Property ['Name': Value] = 'AuditStart':False
A6 DEBUG Property ['Name': Value] = 'AuditFinalize':False
A6 DEBUG Property ['Name': Value] = 'AuditExecute':False
A6 DEBUG Property ['Name': Value] = 'AuditRestart':False
A6 DEBUG Property ['Name': Value] = 'AuditReinitialize':False
A6 DEBUG Property ['Name': Value] = 'AuditInitialize':False
A6 DEBUG Property ['Name': Value] = 'AuditAlgorithms':False
A6 DEBUG Property ['Name': Value] = 'ErrorMax':1
A6 DEBUG Property ['Name': Value] = 'Enable':True
A6 DEBUG Property ['Name': Value] = 'OutputLevel':2
A6 DEBUG Property ['Name': Value] = 'ExtraOutputs':[]
A6 DEBUG Property ['Name': Value] = 'ExtraInputs':[]
A6 DEBUG input handles: 0
A6 DEBUG output handles: 0
A6 DEBUG Data Deps for A6
A7 DEBUG Property update for OutputLevel : new value = 2
A7 DEBUG Initialize base class GaudiCommon<Algorithm>
A7 DEBUG could not locate CounterSummarySvc, no counter summary will be made
A7 DEBUG List of ALL properties of Test::ViewTester/A7 #properties = 40
A7 DEBUG Property ['Name': Value] = 'viewNodeName':
A7 DEBUG Property ['Name': Value] = 'viewNumber':0
A7 DEBUG Property ['Name': Value] = 'baseViewName':view
A7 DEBUG Property ['Name': Value] = 'outKeys':[ ]
A7 DEBUG Property ['Name': Value] = 'inpKeys':[ ]
A7 DEBUG Property ['Name': Value] = 'RequireObjects':[ ]
A7 DEBUG Property ['Name': Value] = 'VetoObjects':[ ]
A7 DEBUG Property ['Name': Value] = 'StatEntityList':[ ]
A7 DEBUG Property ['Name': Value] = 'CounterList':[ '.*' ]
A7 DEBUG Property ['Name': Value] = 'UseEfficiencyRowFormat':True
A7 DEBUG Property ['Name': Value] = 'EfficiencyRowFormat': |*%|-48.48s|%|50t||%|10d| |%|11.5g| |(%|#9.6g| +- %|-#9.6g|)%%| ------- | ------- |
A7 DEBUG Property ['Name': Value] = 'RegularRowFormat': | %|-48.48s|%|50t||%|10d| |%|11.7g| |%|#11.5g| |%|#11.5g| |%|#12.5g| |%|#12.5g| |
A7 DEBUG Property ['Name': Value] = 'StatTableHeader': | Counter | # | sum | mean/eff^* | rms/err^* | min | max |
A7 DEBUG Property ['Name': Value] = 'Context':
A7 DEBUG Property ['Name': Value] = 'TypePrint':True
A7 DEBUG Property ['Name': Value] = 'PrintEmptyCounters':False
A7 DEBUG Property ['Name': Value] = 'StatPrint':True
A7 DEBUG Property ['Name': Value] = 'PropertiesPrint':False
A7 DEBUG Property ['Name': Value] = 'ErrorsPrint':True
A7 DEBUG Property ['Name': Value] = 'RootInTES':
A7 DEBUG Property ['Name': Value] = 'FilterCircularDependencies':True
A7 DEBUG Property ['Name': Value] = 'Blocking':False
A7 DEBUG Property ['Name': Value] = 'NeededResources':[ ]
A7 DEBUG Property ['Name': Value] = 'Cardinality':1
A7 DEBUG Property ['Name': Value] = 'RegisterForContextService':True
A7 DEBUG Property ['Name': Value] = 'MonitorService':MonitorSvc
A7 DEBUG Property ['Name': Value] = 'Timeline':False
A7 DEBUG Property ['Name': Value] = 'AuditStop':False
A7 DEBUG Property ['Name': Value] = 'AuditStart':False
A7 DEBUG Property ['Name': Value] = 'AuditFinalize':False
A7 DEBUG Property ['Name': Value] = 'AuditExecute':False
A7 DEBUG Property ['Name': Value] = 'AuditRestart':False
A7 DEBUG Property ['Name': Value] = 'AuditReinitialize':False
A7 DEBUG Property ['Name': Value] = 'AuditInitialize':False
A7 DEBUG Property ['Name': Value] = 'AuditAlgorithms':False
A7 DEBUG Property ['Name': Value] = 'ErrorMax':1
A7 DEBUG Property ['Name': Value] = 'Enable':True
A7 DEBUG Property ['Name': Value] = 'OutputLevel':2
A7 DEBUG Property ['Name': Value] = 'ExtraOutputs':[]
A7 DEBUG Property ['Name': Value] = 'ExtraInputs':[]
A7 DEBUG input handles: 0
A7 DEBUG output handles: 0
A7 DEBUG Data Deps for A7
createViewSeq VERBOSE ServiceLocatorHelper::service: found service AlgExecStateSvc
AlgResourcePool DEBUG List of algorithms is:
AlgResourcePool DEBUG o Test::ViewTester/A1 @ 0x135b850
AlgResourcePool DEBUG o Test::ViewTester/A2 @ 0x138aa90
AlgResourcePool DEBUG o Test::ViewTester/A3 @ 0x138c2b0
AlgResourcePool DEBUG o Test::ViewTester/A4 @ 0x135f230
AlgResourcePool DEBUG o Test::ViewTester/A5 @ 0x138ed80
AlgResourcePool DEBUG o Test::ViewTester/A6 @ 0x13905a0
AlgResourcePool DEBUG o Test::ViewTester/A7 @ 0x1362b30
AvalancheSchedu... INFO Found 7 algorithms
AvalancheSchedu... INFO Data Dependencies for Algorithms:
A1
none
A2
o OUTPUT '/Event/a2'
A3
o INPUT '/Event/a2'
A4
o OUTPUT '/Event/a4'
A5
o INPUT '/Event/a4'
A6
none
A7
none
PrecedenceSvc INFO Assembling CF and DF task precedence rules
PrecedenceSvc INFO PrecedenceSvc initialized successfully
AvalancheSchedu... INFO Concurrency level information:
AvalancheSchedu... INFO o Number of events in flight: 1
AvalancheSchedu... INFO o TBB thread pool size: 'ThreadPoolSize':1
AvalancheSchedu... INFO Task scheduling settings:
AvalancheSchedu... INFO o Avalanche generation mode: disabled
AvalancheSchedu... INFO o Preemptive scheduling of CPU-blocking tasks: disabled
AvalancheSchedu... INFO o Scheduling of condition tasks: disabled
HiveSlimEventLo...WARNING Unable to locate service "EventSelector"
HiveSlimEventLo...WARNING No events will be processed from external input.
HiveSlimEventLo... INFO Found 0 events in black list
ApplicationMgr INFO Application Manager Initialized successfully
ApplicationMgr INFO Application Manager Started successfully
HiveSlimEventLo... INFO Starting loop on events
HiveSlimEventLo... DEBUG work loop iteration 0
HiveSlimEventLo... DEBUG createdEvts: 0, freeslots: 1
HiveSlimEventLo... DEBUG work loop iteration 1
HiveSlimEventLo... DEBUG Draining the scheduler
HiveSlimEventLo... DEBUG Waiting for a context
A1 INFO Running in whole event context
A1 INFO Attached view viewOne0 to node viewNodeOne for s: 0 e: 0
A2 INFO Running in view viewOne0
A3 INFO Running in view viewOne0
A4 INFO Running in whole event context
A4 INFO Attached view viewTwo0 to node viewNodeTwo for s: 0 e: 0
A6 INFO Running in view viewTwo0
AvalancheSchedu... ERROR *** Stall detected in slot 0! ***
AvalancheSchedu... ERROR Event 0 on slot 0 failed
AvalancheSchedu... INFO Dumping scheduler state
=========================================================================================
++++++++++++++++++++++++++++++++++++ SCHEDULER STATE ++++++++++++++++++++++++++++++++++++
=========================================================================================
------------------ Last schedule: Task/Event/Slot/Thread/State Mapping ------------------
WARNING Enable TimelineSvc in record mode (RecordTimeline = True) to trace the mapping
---------------------------- Task/CF/FSM Mapping [target slot] --------------------------
[ slot: 0 event: 0 ]:
RootDecisionHub (0), w/ decision: UNDEFINED(-1)
createViewSeq (1), w/ decision: UNDEFINED(-1)
A1 (2), w/ decision: TRUE(1), in state: EVTACCEPTED
viewNodeOne (3), w/ decision: TRUE(1)
A2 (4), w/ decision: UNDEFINED(-1), in state: INITIAL
A3 (5), w/ decision: UNDEFINED(-1), in state: INITIAL
A4 (6), w/ decision: TRUE(1), in state: EVTACCEPTED
viewNodeTwo (7), w/ decision: UNDEFINED(-1)
A5 (8), w/ decision: UNDEFINED(-1), in state: INITIAL
A6 (9), w/ decision: UNDEFINED(-1), in state: INITIAL
A7 (10), w/ decision: UNDEFINED(-1), in state: INITIAL
Number of sub-slots: 2
[ slot: 0, sub-slot: 0, entry: viewNodeOne, event: 0 ]:
viewNodeOne (3), w/ decision: UNDEFINED(-1)
A2 (4), w/ decision: TRUE(1), in state: EVTACCEPTED
A3 (5), w/ decision: TRUE(1), in state: EVTACCEPTED
[ slot: 0, sub-slot: 1, entry: viewNodeTwo, event: 0 ]:
viewNodeTwo (7), w/ decision: UNDEFINED(-1)
A5 (8), w/ decision: UNDEFINED(-1), in state: CONTROLREADY
========
missing data: '/Event/a4'
can be produced by alg(s): ( A4 in state: INITIAL )
data is available at whole-event level
========
A6 (9), w/ decision: TRUE(1), in state: EVTACCEPTED
------------------------------ Algorithm Execution States -----------------------------
[slot: 0, incident: AlgStall]:
+ A4 e: d f: 1 sc: SUCCESS
+ A5 e: n
+ viewNodeOne e: n
+ A7 e: n
+ A3 e: d f: 1 sc: SUCCESS
+ A2 e: d f: 1 sc: SUCCESS
+ createViewSeq e: n
+ A1 e: d f: 1 sc: SUCCESS
+ A6 e: d f: 1 sc: SUCCESS
+ viewNodeTwo e: n
=========================================================================================
++++++++++++++++++++++++++++++++++++++ END OF DUMP ++++++++++++++++++++++++++++++++++++++
=========================================================================================
PrecedenceSvc WARNING To trace temporal and topological aspects of execution flow, set DumpPrecedenceRules property to True
HiveSlimEventLo... DEBUG Context obtained
HiveSlimEventLo... FATAL Failed event detected on s: 0 e: 0
HiveSlimEventLo... DEBUG Clearing slot 0 (event 0) of the whiteboard
HiveSlimEventLo... INFO ---> Loop Finished (skipping 1st evt) - WSS 67.9219 total time 816101
HiveSlimEventLo... INFO 0 events were SKIPed
ApplicationMgr INFO Application Manager Stopped successfully
createViewSeq DEBUG Tools to release :
createViewSeq DEBUG Services to release :
A1 DEBUG Finalize base class GaudiAlgorithm
A1 DEBUG Tools to release :
A1 DEBUG Services to release :
A2 DEBUG Finalize base class GaudiAlgorithm
A2 DEBUG Tools to release :
A2 DEBUG Services to release :
A3 DEBUG Finalize base class GaudiAlgorithm
A3 DEBUG Tools to release :
A3 DEBUG Services to release :
A4 DEBUG Finalize base class GaudiAlgorithm
A4 DEBUG Tools to release :
A4 DEBUG Services to release :
A5 DEBUG Finalize base class GaudiAlgorithm
A5 DEBUG Tools to release :
A5 DEBUG Services to release :
A6 DEBUG Finalize base class GaudiAlgorithm
A6 DEBUG Tools to release :
A6 DEBUG Services to release :
A7 DEBUG Finalize base class GaudiAlgorithm
A7 DEBUG Tools to release :
A7 DEBUG Services to release :
HiveSlimEventLo... INFO Histograms converted successfully according to request.
AvalancheSchedu... INFO Joining Scheduler thread
ToolSvc INFO Removing all tools created by ToolSvc
ApplicationMgr INFO Application Manager Finalized successfully
ApplicationMgr INFO Application Manager Terminated successfully
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment