author Ted Mielczarek <ted@mielczarek.org>
Wed, 12 Apr 2017 15:06:22 -0400
changeset 403929 b5552791f6c8da640cfcb248ba4681d4d31594a5
parent 376605 e9f7262e1cdf051ba72a2f953a9105ea128908fb
child 379575 d4686a554950979e0f34c5d4b86f2bfc04ae793b
permissions -rw-r--r--
bug 1355961 - add some sccache stats to build_metrics. r=gps This commit makes sccache dump JSON stats at the end of the build, and then reads them in `BuildScript.generate_build_stats` and adds them to the build_metrics we submit to Perfherder. The stats dumping is done in Makefile.in where we currently dump verbose sccache stats because sccache doesn't persist stats to disk right now and it will also shut down its server process after 5 minutes, so when the post-build automation steps take more than 5 minutes the server shuts down and the stats are lost. Currently it's collecting: * Cache hit rate * Cache write errors * Non-cacheable requests (compiler invocations that sccache can't cache) We can always grow this list later. MozReview-Commit-ID: J9CwU7XB05I

with Files("talos/**"):
    BUG_COMPONENT = ("Testing", "Talos")

with Files("talos/talos/tests/v8_7/**"):
    BUG_COMPONENT = ("Core", "Javascript Engine")

with Files("talos/talos/tests/kraken/**"):
    BUG_COMPONENT = ("Core", "Javascript Engine")

with Files("talos/talos/tests/a11y/**"):
    BUG_COMPONENT = ("Core", "Disability Access APIs")

with Files("talos/talos/tests/canvasmark/**"):
    BUG_COMPONENT = ("Core", "Canvas: 2D")

with Files("talos/talos/tests/webgl/**"):
    BUG_COMPONENT = ("Core", "Canvas: WebGL")

with Files("talos/talos/tests/dromaeo/**"):
    BUG_COMPONENT = ("Core", "DOM")

with Files("talos/talos/tests/svg*"):
    BUG_COMPONENT = ("Core", "SVG")

with Files("talos/talos/tests/scroll/**"):
    BUG_COMPONENT = ("Core", "Graphics")

with Files("talos/talos/tests/tabpaint/**"):
    BUG_COMPONENT = ("Firefox", "Tabbed Browser")

with Files("talos/talos/tests/tart/**"):
    BUG_COMPONENT = ("Firefox", "Tabbed Browser")

with Files("talos/talos/tests/tabswitch/**"):
    BUG_COMPONENT = ("Firefox", "Tabbed Browser")

with Files("talos/talos/tests/video/**"):
    BUG_COMPONENT = ("Core", "Audio/Video: Playback")

with Files("talos/talos/startup_test/sessionrestore/**"):
    BUG_COMPONENT = ("Firefox", "Session Restore")

with Files("talos/talos/startup_test/tresize/**"):
    BUG_COMPONENT = ("Core", "XUL")

with Files("tps/**"):
    BUG_COMPONENT = ("Testing", "TPS")

with Files("mozharness/**"):
    BUG_COMPONENT = ("Release Engineering", "Mozharness")

with Files("config/tooltool-manifests/**"):
    BUG_COMPONENT = ("Release Engineering", "Mozharness")

with Files("*cppunittest*"):
    BUG_COMPONENT = ("Testing", "General")

with Files("gtest/**"):
    BUG_COMPONENT = ("Testing", "General")

with Files("specialpowers/**"):
    BUG_COMPONENT = ("Testing", "Mochitest")

with Files("crashtest/**"):
    BUG_COMPONENT = ("Testing", "Reftest")

with Files("crashtest/autophone-crashtest-webrtc.list"):
    BUG_COMPONENT = ("Testing", "Autophone")

with Files("config/marionette*"):
    BUG_COMPONENT = ("Testing", "Marionette")

with Files("config/mozbase_requirements.txt"):
    BUG_COMPONENT = ("Testing", "Mozbase")

with Files("config/firefox_ui_requirements.txt"):
    BUG_COMPONENT = ("Testing", "Firfox UI Tests")

with Files("config/external-media-tests-requirements.txt"):
    BUG_COMPONENT = ("Testing", "external-media-tests")

with Files("tools/**"):
    BUG_COMPONENT = ("Testing", "General")

with Files("tools/fileid/**"):
    BUG_COMPONENT = ("Toolkit", "Breakpad Integration")

with Files("tools/iceserver/**"):
    BUG_COMPONENT = ("Core", "WebRTC: Networking")

with Files("tools/websocketprocessbridge/**"):
    BUG_COMPONENT = ("Core", "WebRTC: Networking")

with Files("tools/fileid/**"):
    BUG_COMPONENT = ("Toolkit", "Breakpad Integration")

with Files("tools/minidumpwriter/**"):
    BUG_COMPONENT = ("Toolkit", "Breakpad Integration")

with Files("remote*"):
    BUG_COMPONENT = ("Firefox for Android", "Testing")