code: def test_pass_job_id(job_sdk_client):
      client = job_sdk_client
  
      job_id = "my_custom_id"
      returned_id = client.submit_job(
          entrypoint="echo hello", job_id=job_id
      )
  
      assert returned_id == job_id
      wait_for_condition(
          _check_job_succeeded, client=client, job_id=returned_id
      )
  
      # Test that a duplicate job_id is rejected.
      with pytest.raises(Exception, match=f"{job_id} already exists"):
          returned_id = client.submit_job(
              entrypoint="echo hello", job_id=job_id
          )
  
imports: import asyncio
  import json
  import logging
  import os
  import shutil
  import sys
  import tempfile
  from pathlib import Path
  import subprocess
  import time
  from typing import Optional
  from unittest.mock import patch
  import pytest
  from ray.runtime_env.runtime_env import RuntimeEnv, RuntimeEnvConfig
  import yaml
  import ray
  from ray._private.test_utils import chdir, format_web_url, wait_for_condition, wait_until_server_available
  from ray.dashboard.modules.dashboard_sdk import ClusterInfo, parse_cluster_info
  from ray.dashboard.modules.job.pydantic_models import JobDetails
  from ray.dashboard.modules.job.job_head import JobHead
  from ray.dashboard.modules.version import CURRENT_VERSION
  from ray.dashboard.tests.conftest import *
  from ray.job_submission import JobStatus, JobSubmissionClient
  from ray.tests.conftest import _ray_start
  from ray.dashboard.modules.job.tests.test_cli_integration import set_env_var
label_desc: Use image node_id 22 for calling a global function with example usage: test_pass_job_id(job_sdk_client) without return types