Bug 1532236 Remove extra newlines from partials logging r=mtabara
authorSimon Fraser <sfraser@mozilla.com>
Tue, 05 Mar 2019 10:39:23 +0000
changeset 462355 bc4e03f4ea20dcb76ef35b0ffe1cb834ef708440
parent 462354 eff76a5ca4f81428ce42ae445d9eb1f7b80c8816
child 462356 0bbfdf01297daea5c549c6eb94c28af1dde88528
push id35650
push usershindli@mozilla.com
push dateTue, 05 Mar 2019 21:40:07 +0000
treeherdermozilla-central@bd68f490ca07 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtabara
bugs1532236
milestone67.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 1532236 Remove extra newlines from partials logging r=mtabara Differential Revision: https://phabricator.services.mozilla.com/D22072
taskcluster/docker/funsize-update-generator/scripts/funsize.py
--- a/taskcluster/docker/funsize-update-generator/scripts/funsize.py
+++ b/taskcluster/docker/funsize-update-generator/scripts/funsize.py
@@ -163,17 +163,17 @@ async def run_command(cmd, cwd='/', env=
     else:
         label = ""
 
     async def read_output(stream, label, printcmd):
         while True:
             line = await stream.readline()
             if line == b'':
                 break
-            printcmd("%s%s", label, line.decode('utf-8'))
+            printcmd("%s%s", label, line.decode('utf-8').rstrip())
 
     if silent:
         await process.wait()
     else:
         await asyncio.gather(
             read_output(process.stdout, label, log.info),
             read_output(process.stderr, label, log.warn)
             )