code: def test_redis_logs(external_redis):
      try:
          import subprocess
  
          process = subprocess.Popen(
              ["ray", "start", "--head"],
              stdout=subprocess.PIPE,
              stderr=subprocess.PIPE,
          )
          stdout, stderr = process.communicate(timeout=30)
          print(stdout.decode())
          print(stderr.decode())
          assert "redis_context.cc" not in stderr.decode()
          assert "redis_context.cc" not in stdout.decode()
          assert "Resolve Redis address" not in stderr.decode()
          assert "Resolve Redis address" not in stdout.decode()
          # assert "redis_context.cc" not in result.output
      finally:
          from click.testing import CliRunner
          import ray.scripts.scripts as scripts
  
          runner = CliRunner(
              env={"RAY_USAGE_STATS_PROMPT_ENABLED": "0"}
          )
          runner.invoke(
              scripts.stop,
              [
                  "--force",
              ],
          )
  
imports: import sys
  import os
  import threading
  from time import sleep
  import pytest
  import ray
  from ray._private.utils import get_or_create_event_loop
  from ray.util.scheduling_strategies import PlacementGroupSchedulingStrategy
  import ray._private.gcs_utils
  from ray._private import ray_constants
  from ray._private.test_utils import convert_actor_state, enable_external_redis, generate_system_config_map, wait_for_condition, wait_for_pid_to_exit, run_string_as_driver
  from ray.job_submission import JobSubmissionClient, JobStatus
  from ray._raylet import GcsClient
  import psutil
label_desc: Use image node_id 23 for calling a global function with example usage: test_redis_logs(external_redis) without return types