code: def test_task_oom_no_oom_retry_fails_immediately(
      ray_with_memory_monitor_no_oom_retry,
  ):
      addr = ray_with_memory_monitor_no_oom_retry
      bytes_to_alloc = get_additional_bytes_to_reach_memory_usage_pct(
          1.1
      )
  
      with pytest.raises(ray.exceptions.OutOfMemoryError) as _:
          ray.get(
              allocate_memory.options(max_retries=1).remote(
                  allocate_bytes=bytes_to_alloc,
                  post_allocate_sleep_s=100,
              )
          )
  
      wait_for_condition(
          has_metric_tagged_with_value,
          timeout=10,
          retry_interval_ms=100,
          addr=addr,
          tag="MemoryManager.TaskEviction.Total",
          value=1.0,
      )
      wait_for_condition(
          has_metric_tagged_with_value,
          timeout=10,
          retry_interval_ms=100,
          addr=addr,
          tag="allocate_memory",
          value=1.0,
      )
  
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 13 for calling a global function with example usage: test_task_oom_no_oom_retry_fails_immediately(ray_with_memory_monitor_no_oom_retry) without return types