issue #1055 Unified reporting mechanism for failures during prepare_run