code: def test_state_api_scale_smoke(shutdown_only):
      ray.init()
      release_test_file_path = "../../release/nightly_tests/stress_tests/test_state_api_scale.py"
      full_path = Path(ray.__file__).parents[0] / release_test_file_path
      assert full_path.exists()
  
      check_call_subprocess(["python", str(full_path), "--smoke-test"])
  
imports: import asyncio
  import json
  import os
  import sys
  from pathlib import Path
  import tempfile
  from collections import defaultdict
  from ray._private.test_utils import check_call_subprocess
  import ray
  import requests
  import pytest
  from ray._private.profiling import chrome_tracing_dump
  from ray.util.state import get_actor, list_tasks, list_actors, list_workers, list_nodes
  from ray._private.test_utils import wait_for_condition
label_desc: Use image node_id 6 for calling a global function with example usage: test_state_api_scale_smoke(shutdown_only) without return types