bug 1437577 - Upload symbols from try server builds to symbols.mozilla.org instead of symbols.stage.mozaws.net. r=peterbe
authorTed Mielczarek <ted@mielczarek.org>
Wed, 28 Feb 2018 06:28:01 -0500
changeset 417151 8483a61d426f758f013e78eb1addc667c4b8c673
parent 417150 8a03213c74e95f7b88488474279c4633ab4a4e7d
child 417152 01511447fa7ed82228fb8ffaa3b1850bb7429a8c
push id102991
push usertmielczarek@mozilla.com
push dateMon, 07 May 2018 20:31:07 +0000
treeherdermozilla-inbound@a0b66c435f62 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspeterbe
bugs1437577
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1437577 - Upload symbols from try server builds to symbols.mozilla.org instead of symbols.stage.mozaws.net. r=peterbe The symbol server recently gained the ability to upload symbols from try to a different prefix in the symbols bucket. If we change the token stored in the Taskcluster secret `project/releng/gecko/build/level-1/gecko-symbol-upload` to one that has only "upload try symbols" permissions then we can upload symbols from try server builds directly to symbols.mo. MozReview-Commit-ID: HjQclKKXbA3
toolkit/crashreporter/tools/upload_symbols.py
--- a/toolkit/crashreporter/tools/upload_symbols.py
+++ b/toolkit/crashreporter/tools/upload_symbols.py
@@ -87,20 +87,16 @@ def main():
     else:
         log.error('You must set the SYMBOL_SECRET or SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE '
                   'environment variables!')
         return 1
 
     # Allow overwriting of the upload url with an environmental variable
     if 'SOCORRO_SYMBOL_UPLOAD_URL' in os.environ:
         url = os.environ['SOCORRO_SYMBOL_UPLOAD_URL']
-    elif os.environ.get('MOZ_SCM_LEVEL', '1') == '1':
-        # Use the Tecken staging server for try uploads for now.
-        # This will eventually be changed in bug 1138617.
-        url = 'https://symbols.stage.mozaws.net/upload/'
     else:
         url = DEFAULT_URL
 
     log.info('Uploading symbol file "{0}" to "{1}"'.format(args.zip, url))
 
     for i, _ in enumerate(redo.retrier(attempts=MAX_RETRIES), start=1):
         log.info('Attempt %d of %d...' % (i, MAX_RETRIES))
         try: