CrashKill/Symbol Submission

From MozillaWiki
Jump to navigation Jump to search

Various partners including extension and plugin vendors and Firefox OS partners need to upload debugging symbols for the Mozilla crash reporting service to work correctly. Currently these symbols are uploaded using scp and ssh via the upload_symbols.sh script. This is confusing for many partners, and it also has issues where we don't get effective logging of what symbols have been uploaded.

Requirements

  • Symbol archives would be easy for partners to upload
  • A reliable log of symbol files and the matching buildid would be kept by the server
  • The server would manage any permissions for the files
  • After upload, partners would not be able to see the symbol files from other partners

Proposed Plan

  • Instead of uploading symbols using SSH, partners should upload the symbol file archive via HTTP POST.
  • Each partner would be given a username/password for upload.
  • The HTTP post could be accomplished manually via an HTML form, or via a python upload script
  • Along with the symbol archive, each partner would be asked to provide a product name and buildid
  • The server would write a log of symbols in each archive, unpack the archives, and check for conflicts. The symbol archive itself would be saved in case of conflict for future reference.
  • All of the symbols from all partners would go in a single symbols_partners directory on the symbol mount (until symbols-in-postgres is done)