code: def test_raylet_gdb(ray_gdb_start):
      # ray_gdb_start yields the expected process name
      ray.init(num_cpus=1)
  
      @ray.remote
      def f():
          return 42
  
      assert ray.get(f.remote()) == 42
  
      # Check process name in `ps aux | grep gdb`
      pgrep_command = subprocess.Popen(
          ["pgrep", "-f", "gdb.*raylet/raylet"],
          stdout=subprocess.PIPE,
          stderr=subprocess.PIPE,
      )
      assert pgrep_command.communicate()[0]
  
file_path: ray/python/ray/tests/test_debug_tools.py
imports: import os
  import subprocess
  import sys
  import pytest
  from pathlib import Path
  import ray
  import ray._private.services
  import ray._private.ray_constants
  from ray._private.test_utils import wait_for_condition
label_desc: Use image node_id 2 for calling a global function with example usage: test_raylet_gdb(ray_gdb_start) and returns: int