Skip to content
Snippets Groups Projects
Commit edd6a3bf authored by Björn Vonheiden's avatar Björn Vonheiden
Browse files

make more obvious that benchmark continuous

parent de79021e
No related branches found
No related tags found
1 merge request!73Continue benchmark in case of analysis failure.
......@@ -287,8 +287,10 @@ def run_evaluation(exp_id, uc_id, dim_value, instances, execution_minutes, prome
execution_minutes, prometheus_base_url,
result_path)
except Exception as e:
print('Evaluation function failed')
logging.exception('Evaluation function failed')
err_msg = 'Evaluation function failed'
print(err_msg)
logging.exception(err_msg)
print('Benchmark continuous')
return
......
......@@ -13,8 +13,10 @@ def execute(config):
try:
trend_slope = trend_slope_computer.compute(cwd, file, WARMUP_SEC, THRESHOLD)
except Exception as e:
print('Computing trend slope failed.')
logging.exception('Computing trend slope failed.')
err_msg = 'Computing trend slope failed'
print(err_msg)
logging.exception(err_msg)
print('Mark this subexperiment as not successful and continue benchmark')
return 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment