class_docstr: Helper class which performs validation of all submissions.
docstr: Runs validation of all submissions.
docstr_tok: ["Runs","validation","of","all","submissions","."]
code: def run(self):
      """Runs validation of all submissions."""
      cmd = ["gsutil", "ls", os.path.join(self.source_dir, "**")]
      try:
          files_list = subprocess.check_output(cmd).split("\n")
      except subprocess.CalledProcessError:
          logging.error("Can" "t read source directory")
      all_submissions = [
          s
          for s in files_list
          if s.endswith(".zip")
          or s.endswith(".tar")
          or s.endswith(".tar.gz")
      ]
      for submission_path in all_submissions:
          self.validate_and_copy_one_submission(submission_path)
      self.stats.log_stats()
      self.save_id_to_path_mapping()
      if self.containers_file:
          with open(self.containers_file, "w") as f:
              f.write("\n".join(sorted(self.list_of_containers)))
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import csv
  import logging
  import os
  import random
  import shutil
  import subprocess
  import tempfile
  from six import iteritems
  import validate_submission_lib
label_desc: Use image node_id 6 for calling the SubmissionValidator obj's underlying member method code with example usage: obj.run() without return types