[Compass-ci] [PATCH v2 compass-ci 1/2] src/lib: add on_job_crash