class_docstr: A wrapper for running tests in ray ci docker container
class_docstr_tok: ["A","wrapper","for","running","tests","in","ray","ci","docker","container"]
code: def _upload_test_results(self, team: str, bazel_log_dir: str) -> None:
      for test, result in self._get_test_and_results(
          team, bazel_log_dir
      ):
          logger.info(
              f"Test {test.get_name()} run status is {result.status}"
          )
          test.update_from_s3()
          test.persist_to_s3()
          test.persist_test_result_to_s3(result)
  
imports: import json
  import os
  import platform
  import random
  import shutil
  import string
  import subprocess
  from typing import List, Tuple, Optional
  from os import path, listdir
  from ci.ray_ci.utils import shard_tests, chunk_into_n
  from ci.ray_ci.utils import logger
  from ci.ray_ci.container import Container
  from ray_release.test import TestResult, Test
label_desc: Use image node_id 6 for calling the TesterContainer obj's underlying member method code with example usage: obj._upload_test_results(team, bazel_log_dir) without return types