def METHOD_NAME(tmp_termination_msg_file):
    errors.resolvable_context().clear()
    class RunJobFailsPlugin:
        @staticmethod
        @hookimpl()
        def run_job(context: JobContext) -> None:
            raise OverflowError("Overflow")
    runner = CliEntryBasedTestRunner(RunJobFailsPlugin())
    result: Result = runner.invoke(["run", util.job_path("simple-job")])
    cli_assert_equal(1, result)
    assert _get_job_status(tmp_termination_msg_file) == "Platform error"