code: def test_protobuf_compatibility(shutdown_only):
      protobuf_4_21_0 = {"pip": ["protobuf==4.21.0"]}
      protobuf_3_19_6 = {"pip": ["protobuf==3.19.6"]}
  
      ray.init()
  
      @ray.remote
      def load_ray():
          import google.protobuf
  
          # verfiy this no longer crashes. see
          # https://github.com/ray-project/ray/issues/25282
          import ray  # noqa
  
          return google.protobuf.__version__
  
      assert "4.21.0" == ray.get(
          load_ray.options(runtime_env=protobuf_4_21_0).remote()
      )
      assert "3.19.6" == ray.get(
          load_ray.options(runtime_env=protobuf_3_19_6).remote()
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_protobuf_compatibility(shutdown_only) and returns: google