1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 10:51:13 +01:00
workload-automation/wa/utils
Sergei Trofimov fda418093d fw/execution: change how error events get added
Rather than relying on a custom Logger with a context to add events when
they are logged, have the runner register hooks for corresponding
signals that do that.

The issue with the previous approach is that the event ended up
being added too late -- after the current job was already cleared, so
all events were added at run level.

With the new approach, the event will be added when it is first logged,
while there is still a current job being set. There will be no
duplication for Exceptions being re-raised and handled at different
levels because log_error() will ensure that each Exception is logged
only once.
2018-03-08 11:18:12 +00:00
..
__init__.py WA3 Exsisting Code 2017-02-21 15:02:28 +00:00
android.py Utils/Android: Fix missing space in check 2017-11-24 16:38:01 +00:00
counter.py WA3 Exsisting Code 2017-02-21 15:02:28 +00:00
diff.py WA3 Exsisting Code 2017-02-21 15:02:28 +00:00
doc.py utils/doc: Rename get_rst_from_extension for consistency 2017-12-14 09:50:26 +00:00
exec_control.py utils/exec_control: Fix once decorator implementation 2018-01-15 15:42:26 +00:00
formatter.py New target description + moving target stuff under "framework" 2017-03-06 11:10:25 +00:00
log.py fw/execution: change how error events get added 2018-03-08 11:18:12 +00:00
misc.py utils/misc: remove unused to_identifier 2018-02-16 13:56:03 +00:00
revent.py utils/revent: Refactor ReventRecording to avoid duplicate target calls 2018-01-08 10:36:02 +00:00
serializer.py utils/serializer: add OrderedDict to POD_TYPES 2017-09-28 10:46:03 +01:00
terminalsize.py New target description + moving target stuff under "framework" 2017-03-06 11:10:25 +00:00
trace_cmd.py trace_cmd: Rename trace-cmd to trace_cmd 2018-01-25 16:28:51 +00:00
types.py utils/types: Add add method to toggle_set 2018-02-01 14:26:08 +00:00