code: def _running_test_script(
      test: Test,
      smoke_test: bool,
      command_runner: CommandRunner,
      command_timeout: int,
  ) -> None:
      command = test["run"]["script"]
      command_env = test.get_byod_runtime_env()
  
      if smoke_test:
          command = f"{command} --smoke-test"
          command_env["IS_SMOKE_TEST"] = "1"
  
      is_long_running = test["run"].get("long_running", False)
  
      try:
          command_runner.run_command(
              command,
              env=command_env,
              timeout=command_timeout,
              raise_on_timeout=not is_long_running,
              pip=test.get_byod_pips(),
          )
      except (
          TestCommandError,
          PrepareCommandError,
          TestCommandTimeout,
          PrepareCommandTimeout,
      ) as e:
          raise e
      except CommandError as e:
          raise TestCommandError(e)
      except CommandTimeout as e:
          if not is_long_running:
              # Only raise error if command is not long running
              raise TestCommandTimeout(e)
  
imports: import os
  import time
  import traceback
  from typing import Optional, List, Tuple
  from ray_release.alerts.handle import handle_result, require_result
  from ray_release.anyscale_util import get_cluster_name
  from ray_release.buildkite.output import buildkite_group, buildkite_open_last
  from ray_release.cluster_manager.cluster_manager import ClusterManager
  from ray_release.cluster_manager.full import FullClusterManager
  from ray_release.cluster_manager.minimal import MinimalClusterManager
  from ray_release.command_runner.job_runner import JobRunner
  from ray_release.command_runner.command_runner import CommandRunner
  from ray_release.command_runner.anyscale_job_runner import AnyscaleJobRunner
  from ray_release.test import Test
  from ray_release.config import DEFAULT_BUILD_TIMEOUT, DEFAULT_CLUSTER_TIMEOUT, DEFAULT_COMMAND_TIMEOUT, DEFAULT_WAIT_FOR_NODES_TIMEOUT, RELEASE_PACKAGE_DIR, DEFAULT_AUTOSUSPEND_MINS
  from ray_release.template import load_test_cluster_compute
  from ray_release.exception import ReleaseTestConfigError, ReleaseTestSetupError, CommandError, PrepareCommandError, CommandTimeout, PrepareCommandTimeout, TestCommandError, TestCommandTimeout, ClusterEnvCreateError
  from ray_release.file_manager.job_file_manager import JobFileManager
  from ray_release.logger import logger
  from ray_release.reporter.reporter import Reporter
  from ray_release.result import Result, ResultStatus, handle_exception
  from ray_release.signal_handling import setup_signal_handling, reset_signal_handling, register_handler
label_desc: Use image node_id 6 for calling a global function with example usage: _running_test_script(test, smoke_test, command_runner, command_timeout) without return types