Take nullworkload's start script cb_run_nothing.sh as an example, it has the following layout:
cb_run_nothing.sh
-> call execute_load_generator to run workload and generate result
-> call cb_report_app_metrics.py to upload metrics
The issue is that, while execute_load_generator checks RUN_LIMIT, the code that calls cb_report_app_metrics.py doesn't. As a result, although workload is skipped in execute_load_generator, cb_report_app_metrics.py keeps posting data to metrics store. I think many workload's scripts have this issue.
Take nullworkload's start script
cb_run_nothing.sh
as an example, it has the following layout:The issue is that, while
execute_load_generator
checks RUN_LIMIT, the code that callscb_report_app_metrics.py
doesn't. As a result, although workload is skipped inexecute_load_generator
,cb_report_app_metrics.py
keeps posting data to metrics store. I think many workload's scripts have this issue.