code: def test_dep_failure(ray_start_regular):
      """Test the stacktrace genereated due to dependency failures."""
      expected_output = """ray::f() (pid=XXX, ip=YYY) # noqa
    At least one of the input arguments for this task could not be computed:
  ray.exceptions.RayTaskError: ray::a() (pid=XXX, ip=YYY)
    At least one of the input arguments for this task could not be computed:
  ray.exceptions.RayTaskError: ray::b() (pid=XXX, ip=YYY)
    File "FILE", line ZZ, in b
      raise ValueError("FILE")
  ValueError: b failed"""
  
      @ray.remote
      def f(a, b):
          pass
  
      @ray.remote
      def a(d):
          pass
  
      @ray.remote
      def b():
          raise ValueError("b failed")
  
      try:
          ray.get(f.remote(a.remote(b.remote()), b.remote()))
      except Exception as ex:
          print(ex)
          from pprint import pprint
  
          pprint(clean_noqa(expected_output))
          pprint(scrub_traceback(str(ex)))
          assert clean_noqa(expected_output) == scrub_traceback(str(ex))
  
file_path: ray/python/ray/tests/test_traceback.py
imports: import re
  import sys
  import threading
  import pytest
  import ray
  from ray.exceptions import RayTaskError, RayActorError
label_desc: Use image node_id 7 for calling a global function with example usage: test_dep_failure(ray_start_regular) without return types