If we fail to load job data, we should propagate that
error code and exit cleanly. In the bug we saw- despite getting
incorrect job data, we were not handling the error correctly
and allowing shifter to continue setupRoot operation on shared nodes.
Coverage remained the same at 64.65% when pulling cd2f5e54520fb39660278deaaf767ae0cff7f0cc on agaur-lbl:prolog_fix into eaf113ce2526843b54865029c7de5acf78bac46c on NERSC:master.
If we fail to load job data, we should propagate that error code and exit cleanly. In the bug we saw- despite getting incorrect job data, we were not handling the error correctly and allowing shifter to continue setupRoot operation on shared nodes.
This patch, exits the prolog.
Signed-off-by: Aditi Gaur agaur@lbl.gov