code: def test_unpickleable_stacktrace(shutdown_only):
      expected_output = """System error: Failed to unpickle serialized exception
  traceback: Traceback (most recent call last):
    File "FILE", line ZZ, in from_ray_exception
      return pickle.loads(ray_exception.serialized_exception)
  TypeError: __init__() missing 1 required positional argument: 'arg'
  
  The above exception was the direct cause of the following exception:
  
  Traceback (most recent call last):
    File "FILE", line ZZ, in deserialize_objects
      obj = self._deserialize_object(data, metadata, object_ref)
    File "FILE", line ZZ, in _deserialize_object
      return RayError.from_bytes(obj)
    File "FILE", line ZZ, in from_bytes
      return RayError.from_ray_exception(ray_exception)
    File "FILE", line ZZ, in from_ray_exception
      raise RuntimeError(msg) from e
  RuntimeError: Failed to unpickle serialized exception"""
  
      class NoPickleError(OSError):
          def __init__(self, arg):
              pass
  
      def g(a):
          raise NoPickleError("asdf")
  
      @ray.remote
      def f():
          a = 3
          b = 4
          c = a + b
          return g(c)
  
      try:
          ray.get(f.remote())
      except Exception as ex:
          python310_extra_exc_msg = (
              "test_unpickleable_stacktrace.<locals>.NoPickleError."
          )
          assert clean_noqa(expected_output) == scrub_traceback(
              str(ex)
          ).replace(
              f"TypeError: {python310_extra_exc_msg}", "TypeError: "
          )
  
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 9 for calling a global function with example usage: test_unpickleable_stacktrace(shutdown_only) and returns: g