Bug 914563 - Temporarily disable build resource recording on Windows; r=mshal
authorGregory Szorc <gps@mozilla.com>
Thu, 26 Sep 2013 09:19:05 -0700
changeset 148833 e4983ed4903d9861ea82c89af37226764674d13a
parent 148832 e192b21e09343173859892b44b3f3baa65bbc27c
child 148834 3e359c0a0d7a49b498fefce7f1945267eba90743
push id25360
push userryanvm@gmail.com
push dateFri, 27 Sep 2013 01:29:18 +0000
treeherdermozilla-central@4313ea50a8ee [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs914563
milestone27.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 914563 - Temporarily disable build resource recording on Windows; r=mshal
python/mozbuild/mozbuild/controller/building.py
--- a/python/mozbuild/mozbuild/controller/building.py
+++ b/python/mozbuild/mozbuild/controller/building.py
@@ -292,16 +292,22 @@ class BuildMonitor(MozbuildObject):
 
     def start(self):
         """Record the start of the build."""
         self.start_time = time.time()
         self._finder_start_cpu = self._get_finder_cpu_usage()
 
     def start_resource_recording(self):
         # This should be merged into start() once bug 892342 lands.
+
+        # Resource monitoring on Windows is currently busted because of
+        # multiprocessing issues. Bug 914563.
+        if self._is_windows():
+            return
+
         self.resources.start()
         self._resources_started = True
 
     def on_line(self, line):
         """Consume a line of output from the build system.
 
         This will parse the line for state and determine whether more action is
         needed.