From 3ee3c40f95ebf36ab45fcf49c4374d0184068b19 Mon Sep 17 00:00:00 2001 From: Eric Boren Date: Thu, 20 Sep 2018 09:22:13 -0400 Subject: [PATCH] Add extra logging to roll_deps.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is to help debug a depot_tools auth problem and can be reverted once it is solved. Bug: skia:8394 Change-Id: I3c713fce6c6ba6edbd2498d95938b48a28eff588 Reviewed-on: https://webrtc-review.googlesource.com/101160 Reviewed-by: Patrik Höglund Reviewed-by: Yves Gerey Commit-Queue: Eric Boren Cr-Commit-Position: refs/heads/master@{#24781} --- tools_webrtc/autoroller/roll_deps.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools_webrtc/autoroller/roll_deps.py b/tools_webrtc/autoroller/roll_deps.py index 7ea93c4b79..d91d83810a 100755 --- a/tools_webrtc/autoroller/roll_deps.py +++ b/tools_webrtc/autoroller/roll_deps.py @@ -605,7 +605,13 @@ def _UploadCL(commit_queue_mode): elif commit_queue_mode >= 1: logging.info('Starting CQ dry run...') cmd.extend(['--cq-dry-run']) - _RunCommand(cmd, extra_env={'EDITOR': 'true', 'SKIP_GCE_AUTH_FOR_GIT': '1'}) + extra_env = { + 'EDITOR': 'true', + 'SKIP_GCE_AUTH_FOR_GIT': '1', + } + stdout, stderr = _RunCommand(cmd, extra_env=extra_env) + logging.debug('Output from "git cl upload":\nstdout:\n%s\n\nstderr:\n%s', + stdout, stderr) def GetRollRevisionRanges(opts, webrtc_deps):