code: def test_call_with_retries_includes_version_metadata(self):
      def digest(s):
          """Hashes a string into a positive 32-bit signed integer."""
          return (
              int(hashlib.sha256(s.encode("utf-8")).hexdigest(), 16)
              & 0x7FFFFFFF
          )
  
      def handler(request, context):
          metadata = context.invocation_metadata()
          client_version = grpc_util.extract_version(metadata)
          return make_response(digest(client_version))
  
      server = TestGrpcServer(handler)
      with server.run() as client:
          response = grpc_util.call_with_retries(
              client.TestRpc, make_request(0)
          )
      expected_nonce = digest(
          grpc_util.extract_version(grpc_util.version_metadata())
      )
      self.assertEqual(make_response(expected_nonce), response)
  
imports: import contextlib
  import hashlib
  import threading
  import time
  from concurrent import futures
  import grpc
  from tensorboard.util import grpc_util
  from tensorboard.util import grpc_util_test_pb2
  from tensorboard.util import grpc_util_test_pb2_grpc
  from tensorboard.util import test_util
  from tensorboard import test
  from tensorboard import version
label_desc: Use image node_id 5 for calling the CallWithRetriesTest obj's underlying member method code with example usage: obj.test_call_with_retries_includes_version_metadata() and returns: unknown, make_response