def METHOD_NAME(tmp_termination_msg_file: pathlib.Path):
    errors.resolvable_context().clear()
    class InitFailsPlugin:
        @staticmethod
        @hookimpl
        def initialize_job(self, context: JobContext):
            raise OverflowError("Overflow")
    runner = CliEntryBasedTestRunner(InitFailsPlugin())
    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"
    assert errors.get_blamee_overall() == ResolvableByActual.PLATFORM
    actual_error = errors.resolvable_context().resolvables.get(
        ResolvableByActual.PLATFORM
    )[0]
    assert actual_error.resolved is False