Bug 1626272 - Disable stack fixing on Windows awsy-dmd jobs. r=erahm,perftest-reviewers,sparky

Unfortunate, but it gets us back to where we were before `fix_stacks.py` came
along, and getting it working isn't worth the effort right now.

Differential Revision: https://phabricator.services.mozilla.com/D69928

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nicholas Nethercote 2020-04-07 21:19:52 +00:00
parent 3b66f5f729
commit 8f6eed94e5

View File

@ -133,9 +133,12 @@ class AwsyTestCase(MarionetteTestCase):
tmp_files = os.listdir(tmpdir)
for f in fnmatch.filter(tmp_files, "dmd-*.json.gz"):
f = os.path.join(tmpdir, f)
self.logger.info("Fixing stacks for %s, this may take a while" % f)
isZipped = True
fixStackTraces(f, isZipped, gzip.open)
# We don't fix stacks on Windows, even though we could, due to the
# tale of woe in bug 1626272.
if not sys.platform.startswith('win'):
self.logger.info("Fixing stacks for %s, this may take a while" % f)
isZipped = True
fixStackTraces(f, isZipped, gzip.open)
shutil.move(f, self._resultsDir)
# Also attempt to cleanup the unified memory reports.