code: def test_random_port():
      for _ in range(10):
          app_runner = AppRunner()
          app_runner.start()
          sleep(20)
          is_alive = app_runner.ping()
          app_runner.stop()
          if is_alive:
              break
      assert is_alive
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_random_port() without return types