def UploadDebugTarball(self):
   """Generate and upload the debug tarball."""
   filename = commands.GenerateDebugTarball(
       self._build_root, self._current_board, self.archive_path,
       self._run.config.archive_build_debug)
   self.UploadArtifact(filename, archive=False)
   logging.info('Announcing availability of debug tarball now.')
   self.board_runattrs.SetParallel('debug_tarball_generated', True)
Example #2
0
 def UploadDebugBreakpadTarball(self):
   """Generate and upload the debug tarball with only breakpad files."""
   filename = commands.GenerateDebugTarball(
       self._build_root,
       self._current_board,
       self.archive_path,
       False,
       archive_name='debug_breakpad.tar.xz')
   self.UploadArtifact(filename, archive=False)
Example #3
0
 def UploadDebugBreakpadTarball(self):
   """Generate and upload the debug tarball with only breakpad files."""
   filename = commands.GenerateDebugTarball(
       buildroot=self._build_root,
       board=self._current_board,
       archive_path=self.archive_path,
       gdb_symbols=False,
       archive_name='debug_breakpad.tar.xz',
       chroot_compression=False)
   self.UploadArtifact(filename, archive=False)
Example #4
0
 def UploadDebugTarball(self):
   """Generate and upload the debug tarball."""
   filename = commands.GenerateDebugTarball(
       buildroot=self._build_root,
       board=self._current_board,
       archive_path=self.archive_path,
       gdb_symbols=self._run.config.archive_build_debug,
       archive_name='debug.tgz',
       chroot_compression=False)
   self.UploadArtifact(filename, archive=False)
    def GenerateDebugTarball(self, upload=True):
        """Generate and upload the debug tarball.

    Args:
      upload: Boolean indicating whether to upload the generated debug tarball.
    """
        filename = commands.GenerateDebugTarball(
            self._build_root, self._current_board, self.archive_path,
            self._run.config.archive_build_debug)
        if upload:
            self.UploadArtifact(filename, archive=False)
        else:
            logging.info('DebugSymbolsStage dryrun: would have uploaded %s',
                         filename)
        logging.info('Announcing availability of debug tarball now.')
        self.board_runattrs.SetParallel('debug_tarball_generated', True)
    def GenerateDebugBreakpadTarball(self, upload=True):
        """Generate and upload the debug tarball with only breakpad files.

    Args:
      upload: Boolean indicating whether to upload the generated debug tarball.
    """
        filename = commands.GenerateDebugTarball(
            self._build_root,
            self._current_board,
            self.archive_path,
            False,
            archive_name='debug_breakpad.tar.xz')
        if upload:
            self.UploadArtifact(filename, archive=False)
        else:
            logging.info('DebugSymbolsStage dryrun: would have uploaded %s',
                         filename)