code: def test_kill_driver_clears_infeasible(call_ray_start):
      driver = """
  import ray
  
  @ray.remote
  def f():
      pass
  
  ray.get(f.options(num_cpus=99999999).remote())
    """
      proc = run_string_as_driver_nonblocking(driver)
      ctx = ray.init(address=call_ray_start)
  
      wait_for_condition(
          check_infeasible,
          timeout=10,
          retry_interval_ms=1000,
          expect_infeasible=True,
          ray_ctx=ctx,
      )
  
      os.kill(proc.pid, 9)
  
      wait_for_condition(
          check_infeasible,
          timeout=10,
          retry_interval_ms=1000,
          expect_infeasible=False,
          ray_ctx=ctx,
      )
  
file_path: ray/python/ray/tests/test_node_manager.py
imports: import ray
  from ray.util.state import list_workers
  from ray._private.test_utils import get_load_metrics_report, run_string_as_driver, run_string_as_driver_nonblocking, wait_for_condition, get_resource_usage
  import pytest
  import os
  from ray.util.state import list_objects
  import subprocess
  from ray._private.utils import get_num_cpus
  import time
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: test_kill_driver_clears_infeasible(call_ray_start) without return types