Граф коммитов

122 Коммитов

Автор SHA1 Сообщение Дата
Gregory Szorc ada7d3fd11 Bug 1275672 - Remove accidental trailing /D from makecab.exe arguments; r=me
This was causing the "path" argument to get swallowed because makecab.exe
thought it was the argument to /D. Derp.

MozReview-Commit-ID: 6Bd3l7ISsPj

--HG--
extra : rebase_source : fbba4e8aff9a164aa10278de08de67c3f38cdf58
2016-05-31 09:09:03 -07:00
Gregory Szorc 72878ea229 Bug 1275672 - Change symbols compression format to MSZIP; r=ted
makecab.exe has 3 options for compression: disable, MSZIP, and LZX.

Here is a breakdown of the 3 levels of compression for an opt 32-bit
build on my i7-6700K:

       directory size     full.zip   xul.pd_  `buildsymbols`
None     1,360 MB          227 MB     146 MB        49s
MSZIP      520 MB          221 MB     142 MB       113s
LZX        436 MB          169 MB     102 MB       248s

(The original size of xul.pdb is ~500 MB.)

This commit switches us to MSZIP as the compression format. This
makes `builsymbols` >2x faster while only increasing the full zip
archive size by ~31%. This feels like an appropriate trade-off.

The memory related flag has been removed because it only applies
to LZX compression.

It's worth noting that using `zip` to compress xul.pdb and xul.sym:

Level  Zip Size    xul.pdb Compressed   Time
9        160.6 MB      139.8 MB         76s
7        161.4 MB      140.5 MB         30s
5        164.7 MB      143.2 MB         16s
4        170.0 MB      147.3 MB         12s
3        176.4 MB      151.6 MB         11s

So "MSZIP" compression appears to be using level 9. If we could swap
in our own cab generator that uses a zlib compression level less
than 9, we'll make symbol generation significantly faster without
sacrificing too much size. I'm inclined to punt that to a follow-up
bug.

MozReview-Commit-ID: GbbClkn9PLN

--HG--
extra : rebase_source : 05f94f381a892d82f512b5c3682e51f6735714f3
2016-05-27 16:03:58 -07:00
Ted Mielczarek 6e351deef3 bug 1156300 - symbolstore.py FixFilenameCase doesn't fix up directory names. r=gps
MozReview-Commit-ID: 2nEaouS1oHD

--HG--
extra : rebase_source : c993a749f7c932cc1e7026a82332a127b5f7e3ca
2016-04-11 08:53:42 -04:00
Dustin J. Mitchell 6618eec31d Bug 1261045: remove unused SYMBOL_SERVER_*; r=ted.mielczarek
MozReview-Commit-ID: 4fyzQufrXbO

--HG--
extra : rebase_source : a739e0c0004df6d3d49d3ec9687a25010b024dfe
2016-04-01 14:00:27 +00:00
Ted Mielczarek 7b1faa29bc bug 1255479 - make `mach python-tests` use TestResolver for discovery, make `mach test` work for python tests. r=nalexander
MozReview-Commit-ID: CK2Vh6gdnb0

--HG--
extra : rebase_source : 2b1b05224ade41ad500dc66116beb3b091db9cde
extra : amend_source : 349f7cc876383d873acb1c73c0118d394f39284d
extra : histedit_source : 6d1d44188bb3a4fc69da2900e8118ce2a88a5fd7
2016-03-10 12:30:10 -05:00
Birunthan Mohanathas ec65f12dd8 Bug 623183 - Build dump_syms on Windows when using VS2015; r=ted
MozReview-Commit-ID: LCvipO5FXdR

--HG--
extra : source : e68a8c608182025bac53dcbb48b0c0d474931f90
extra : amend_source : 3113865fb4be93db6b51ce55514cd2a55e577df9
2016-03-08 14:07:28 -08:00
Ted Mielczarek ea6f9a1958 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : histedit_source : 43e65f5432657f548cac5aa7936461e58454c3b6%2C7b56ccc79d9d58ebde0583d920f3593e25212621
extra : rebase_source : f6dbfb8fb2ba5b27e63b26d57c404962679c7a76
extra : commitid : DMQlXPms868
extra : source : 09fd4f3ab6e764016fe073efb226f03b5969af59
extra : intermediate-source : 16f9d3a6d2ef6a6efd088e3b8eff0a4723daef8f
2016-01-27 09:39:53 -05:00
Gregory Szorc bd9f7fa2a2 Bug 1207871 - Process files in descending file size order; r=ted
Large files take longer to process. Scheduling large files after smaller
files means there is a higher chance a large file may be a long pole
during processing.

This commit changes the scheduling logic to exhaustively obtain the set
of files to be processed. It then sorts them by descending file size and
schedules them in the resulting order, thus minimizing the chances for a
large file to be the long pole holding up processing completion.

On my machine this doesn't change wall execution time. However,
automation may be different. And the logic of the new behavior is sound.

--HG--
extra : commitid : CTbEbvKdEY4
extra : rebase_source : b75e0d5993a07f5244bf204a2b83b4082afe0bfd
2015-09-23 22:26:41 -04:00
Gregory Szorc ce82de310f Bug 1175632 - Record how long each symbol file took to process; r=ted
As part of this an unused import was removed.

--HG--
extra : commitid : GwdjhcoGwi1
extra : rebase_source : f94d5f3d1a601212b4307093f8b3717acb554bad
2015-10-26 15:58:15 -04:00
Ted Mielczarek 3d40a38f29 bug 1217051 - Pipe dump_syms stderr to /dev/null. r=catlee
--HG--
extra : amend_source : 7457ec915e764caeb9b13b59a925a6bae80ee0e1
2015-10-21 12:54:16 -04:00
Ted Mielczarek 91fbb87e99 bug 543111 - fix symbolstore.py to work properly for cross-compiled mac builds on linux. r=gps
--HG--
extra : commitid : 7CIg3hPH66H
extra : rebase_source : c1c556c5d6738cdb0c9f5fd426f97a18d4050cd9
2015-09-22 08:00:34 -04:00
Carsten "Tomcat" Book d325d6fc78 Backed out 4 changesets (bug 543111) for mac bustage on a CLOSED TREE
Backed out changeset 81f6fdc25862 (bug 543111)
Backed out changeset d1a73eaa6113 (bug 543111)
Backed out changeset 08c7f9ed5970 (bug 543111)
Backed out changeset 3b323ed3b20a (bug 543111)

--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm
2015-10-01 14:32:11 +02:00
Ted Mielczarek 3a65045d06 bug 543111 - fix symbolstore.py to work properly for cross-compiled mac builds on linux. r=gps
--HG--
extra : commitid : 6vIiH9J85gH
extra : rebase_source : be382b2e952912983b611f632b654e05ccce44b6
2015-09-22 08:00:34 -04:00
Ted Mielczarek d0e6114c5e bug 1201069 - retry symbol upload on any 500 error. r=ryanvm
--HG--
extra : commitid : AGN1INkPlp2
extra : rebase_source : 4fc7b0ee42a8108d454582dd712e59b830c42368
2015-09-04 08:13:05 -04:00
Ted Mielczarek b2a52780fd bug 1164816 - Rewrite symbolstore.py to use concurrent.futures. r=gps
CLOSED TREE

--HG--
extra : commitid : 1m7vHey4bQo
extra : rebase_source : 03d72c7bcdc6f2343f71a0ad434c7840f087f3bb
extra : amend_source : 8ab051273feff157a90bb222f398db87da7a3a9f
2015-05-13 14:50:11 -04:00
Ted Mielczarek 6d5857bc49 bug 1164816 - Refactor symbolstore.py to remove WorkerInitializer. r=gps
concurrent.futures doesn't have a WorkerInitializer equivalent to what
multiprocessing.Pool has, so refactor things slightly to remove that dependency.

--HG--
extra : commitid : 4YBVznKwkhy
extra : rebase_source : abcd87bd5352f49dc39f52d4fa354cdb301af801
2015-05-13 14:14:08 -04:00
Anthony Miyaguchi ed1a3ed8a5 Bug 1168979 part 1 - Add fallback for buildconfig in standalone use of upload_symbols script; r=mrrrgn 2015-07-10 09:56:16 -07:00
Ryan VanderMeulen 35cc22a996 Backed out 7 changesets (bug 1168979) for breaking the gecko decision task on a CLOSED TREE.
Backed out changeset 0d9496880482 (bug 1168979)
Backed out changeset 913594264a8c (bug 1168979)
Backed out changeset 18560f41c3fb (bug 1168979)
Backed out changeset dd5644a30469 (bug 1168979)
Backed out changeset 162318c4e626 (bug 1168979)
Backed out changeset 5bfd2e72d330 (bug 1168979)
Backed out changeset 0d97c2ab4fe4 (bug 1168979)
2015-07-16 16:51:36 -04:00
Anthony Miyaguchi e73ef57d83 Bug 1168979 part 1 - Add fallback for buildconfig in standalone use of upload_symbols script; r=mrrrgn 2015-07-10 09:56:16 -07:00
Ted Mielczarek 0a7e8d98da bug 1171527 - Make upload_symbols.py retry on 500 errors from the API. r=gps
--HG--
extra : commitid : Dy8RzS9Wi4J
extra : rebase_source : 28d9119c94080f9066ca60bef068a7d75529624b
2015-06-05 07:38:14 -04:00
Ted Mielczarek 5b2ff28703 bug 1168535 - re-open the zip file for each upload_symbols retry. r=gps
--HG--
extra : rebase_source : 494951a414f6eb90d27b6705d486ef6723738296
2015-05-27 14:25:37 -04:00
Ted Mielczarek 9c7373d53a bug 1168535 - print error response body in upload_symbols.py. r=gps
--HG--
extra : rebase_source : 7838dc42440eca1df2cbb98fce06fdb131b678b5
2015-05-27 13:50:04 -04:00
Ted Mielczarek 89ef156852 bug 1165347 - use retries for symbol uploads. r=gps
--HG--
extra : rebase_source : 57386c02182d3a1b4b11757a660b9a7eda4fe860
2015-05-15 13:48:16 -04:00
Ted Mielczarek 01fca7d3b1 bug 528092 - Supply binaries from the symbol server. r=gps
--HG--
extra : rebase_source : 2a43adef2ca8e2fbc15f3f3f5fceffc1548536ba
2015-05-13 17:43:19 -04:00
Ted Mielczarek 9549f29287 bug 1076848 - fix source server indexing for headers from dist/include. r=dmajor
--HG--
extra : rebase_source : 378c17c4656858fa76f5273537c65318f2199b68
extra : source : 5b1402a3d3ca0df8fe25edd7d0bdcd6b99aa3b9d
2015-05-07 07:11:27 -04:00
Phil Ringnalda 9dd8f05489 Back out 2 changesets (bug 528092, bug 1076848) for introducing an extra 3 hour timeout to builds
CLOSED TREE

Backed out changeset b15dac9231ee (bug 528092)
Backed out changeset 5b1402a3d3ca (bug 1076848)
2015-05-11 19:52:19 -07:00
Ted Mielczarek 2509fbe6cc bug 528092 - Supply binaries from the symbol server. r=gps
--HG--
extra : rebase_source : a8e662db02e379fc26a5336dcf9050bc8acb09e3
2010-09-03 13:19:41 -04:00
Ted Mielczarek be88e14c91 bug 1076848 - fix source server indexing for headers from dist/include. r=dmajor
--HG--
extra : rebase_source : c98ea332576f244ee29326c44eee3201e99f08ed
2015-05-07 07:11:27 -04:00
Ted Mielczarek f579fcc2d6 bug 1085557 - Switch symbol upload to use Socorro production server. r=rhelmer
--HG--
extra : rebase_source : b229336f85b1967c64b83645c8ecc7fc429c7fb6
2015-04-06 07:12:50 -04:00
Ted Mielczarek 2a71420061 bug 1085557 - bump symbol upload timeout to 120s. r=tryingtofixuploadtimeout, a=ryanvm
--HG--
extra : rebase_source : 75deb3bd73dcd940318a5525e4b00952fd89e794
extra : amend_source : 7783d608538954e7b748fd99fc98b03cb975004a
2015-03-25 07:49:05 -04:00
Jim Mathies 3602131bc9 bug 575919 - hide Windows error dialogs in symbolstore.py. r=ted
--HG--
extra : rebase_source : f5e08fd9c6cb8033e24a919be02a7ee8f1cd33fb
2015-03-11 20:02:43 -04:00
Ted Mielczarek 1097d4012f bug 1135700 - make uploadsymbols use Socorro symbol upload API. r=gps
--HG--
extra : rebase_source : 2f177f3e2dbae3e658da9c034dfd9e4b29c03015
2015-02-23 13:48:54 -05:00
Ryan VanderMeulen 53a1d4ed8d Merge m-c to inbound. a=merge 2015-01-30 12:32:49 -05:00
Todd Whiteman 2b1c3cb2e2 Bug 1124984 - Force the gzip call to run. r=ted
--HG--
extra : rebase_source : 343a5f84b741e9f58c367b842477d6f9fdfc8db4
2015-01-22 19:36:00 -05:00
Todd Whiteman f85f9479d2 Bug 1124963 - Fix symbolstore.py script errors. r=ted 2015-01-22 17:52:00 +01:00
Ted Mielczarek 3d7e8f6610 bug 1045662 - add an extra normcase to symbolstore.py path handling to fix Windows. r=gps 2014-07-30 08:00:59 -04:00
Ted Mielczarek d6179253e0 bug 462159 - Use install manifests to track header files from dist/include back to srcdir in symbolstore.py. r=gps 2014-07-18 16:33:34 -04:00
Makoto Kato 2be5d2ea76 Bug 1003085 - Rebuild dump_syms.exe for VS11. f=bclary, r=ted 2014-05-20 15:47:29 +09:00
Makoto Kato ed053ceb32 Bug 1003085 - Update dump_syms.exe to r1319. r=ted 2014-05-13 11:20:30 +09:00
Makoto Kato 5f47839402 Bug 1003085 - Update dump_sym.exe .r=ted 2014-05-07 10:54:23 +09:00
Makoto Kato 27435239c4 Bug 942018 - Remove dump_syms for VC8 and VC9. r=ted 2013-11-25 10:05:32 +09:00
Makoto Kato 30d1d92926 Bug 928837 - Add dump_syms.exe for VS2013. r=ted 2013-10-22 13:06:52 +09:00
Todd Whiteman 79a898e138 Bug 880500 - Handle files without symbols on the mac. r=singerb 2013-06-10 11:01:59 -04:00
Ted Mielczarek b9af83c167 Bug 866241 - Fix some issues with repo manifest parsing. r=catlee 2013-04-26 15:30:19 -04:00
Ted Mielczarek 02dff31e3f bug 846864 - Fix source server support. r=khuey 2013-04-25 15:15:58 -04:00
Benedict Singer 284e095c1d Bug 795360 - Make dump_syms from symbolstore.py run in parallel on multi-core machines. r=ted 2012-12-27 15:32:45 -08:00
Ryan VanderMeulen 15d962fe25 Backed out changeset 11bf35befda6 (bug 795360) for Windows hangs. 2012-12-16 22:25:53 -05:00
Benedict Singer 79c5d7e390 Bug 795360 - Make dump_syms from symbolstore.py run in parallel on multi-core machines. r=ted 2012-12-11 09:52:53 -05:00
Mike Hommey 34ff2e18cd Backout changeset 3bb2d53dde34 now that bug 818903 is figured out 2012-12-09 09:33:34 +01:00
Mike Hommey ac1a8d47ce Bug 818903 - Temporarily add some info about binaries and debug info files. r=ted 2012-12-06 17:06:48 +01:00