To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit f495d76a authored by Roman Trüb's avatar Roman Trüb
Browse files

log errors of processing raw datatrace output to errorlog.csv of test results

parent d2f4ab3b
......@@ -482,8 +482,8 @@ def worker_datatrace(queueitem=None, nodeid=None, resultfile_path=None, resultfi
try:
# process raw datatrace log (parse & apply time correction)
dfData, dfLocalTs, dfOverflow = dwt.processDatatraceOutput(input_filename)
except ValueError:
logqueue.put_nowait((loggername, logging.WARNING, "Empty data trace results file."))
except Exception as e:
write_to_error_log('{}'.format(time.time()), obsid, nodeid, 'Datatrace: Error occurred when processing datatrace raw output! Potential problems: SWO/CPU speed mismatch (see cpuSpeed tag in xml config) or target did not start properly. Error: {}'.format(e))
else:
if len(dfData):
# add observer and node ID
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment