fix error/failure parsing from the build_log