code: def test_dependencies(ray_start_combination):
      _, _, cluster = ray_start_combination
  
      @ray.remote
      def f(x):
          return x
  
      x = 1
      for _ in range(1000):
          x = f.remote(x)
      ray.get(x)
  
      @ray.remote
      def g(*xs):
          return 1
  
      xs = [g.remote(1)]
      for _ in range(100):
          xs.append(g.remote(*xs))
          xs.append(g.remote(1))
      ray.get(xs)
  
      assert cluster.remaining_processes_alive()
  
file_path: ray/python/ray/tests/test_stress.py
imports: import numpy
  import pytest
  import time
  import ray
  from ray.cluster_utils import Cluster, cluster_not_supported
label_desc: Use image node_id 3 for calling a global function with example usage: test_dependencies(ray_start_combination) and returns: x, int