code: def serve_start_shutdown():
      ray.init()
      serve.start()
      yield
      serve.shutdown()
      ray.shutdown()
  
file_path: ray/python/ray/serve/tests/test_gradio.py
imports: import os
  import sys
  import gradio
  import pytest
  import requests
  import ray
  from ray import serve
  from ray._private.test_utils import wait_for_condition
  from ray.serve.gradio_integrations import GradioIngress, GradioServer
label_desc: Use image node_id 1 for calling a global function with example usage: serve_start_shutdown() without return types