code: def test_newer_task_not_retriable_kill_older_retriable_task_first(
      ray_with_memory_monitor,
  ):
      bytes_to_alloc = get_additional_bytes_to_reach_memory_usage_pct(
          memory_usage_threshold - 0.1
      )
  
      retriable_task_ref = allocate_memory.options(
          max_retries=1
      ).remote(allocate_bytes=bytes_to_alloc, post_allocate_sleep_s=5)
  
      actor_ref = Leaker.options(name="actor", max_restarts=0).remote()
      non_retriable_actor_ref = actor_ref.allocate.remote(
          bytes_to_alloc
      )
  
      ray.get(non_retriable_actor_ref)
      with pytest.raises(ray.exceptions.OutOfMemoryError) as _:
          ray.get(retriable_task_ref)
  
imports: from math import ceil
  import sys
  import time
  import pytest
  import ray
  from ray._private import ray_constants
  import ray._private.gcs_utils
  from ray._private.test_utils import wait_for_condition, raw_metrics
  import numpy
  from ray._private.utils import get_system_memory
  from ray._private.utils import get_used_memory
  from ray._private.state_api_test_utils import verify_failed_task
  from ray.util.state.state_manager import StateDataSourceClient
label_desc: Use image node_id 15 for calling a global function with example usage: test_newer_task_not_retriable_kill_older_retriable_task_first(ray_with_memory_monitor) without return types