From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web12.3185.1584560598337226058 for ; Wed, 18 Mar 2020 12:43:19 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: ashley.e.desimone@intel.com) IronPort-SDR: ji2NveEfSFgBZ3v49fi/KKOmpayJduEofiigppeRO2Y+QiLL1V4AOPwNj7wZWRyoMucLDjdSAG Nh8PJl3Ncxsg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2020 12:43:18 -0700 IronPort-SDR: H/Psn09a0eQLLypYrzorl+5GREbPfYDt3D0DxDqcEGGe6rKE49YYFERad2d/Gj7VyL1sNFikVh 4Bm6DxvKulEQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,568,1574150400"; d="scan'208";a="444288680" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by fmsmga005.fm.intel.com with ESMTP; 18 Mar 2020 12:43:18 -0700 Received: from orsmsx116.amr.corp.intel.com ([169.254.7.196]) by ORSMSX102.amr.corp.intel.com ([169.254.3.165]) with mapi id 14.03.0439.000; Wed, 18 Mar 2020 12:43:17 -0700 From: "Desimone, Ashley E" To: "Desimone, Nathaniel L" , "devel@edk2.groups.io" CC: "Pandya, Puja" , "Bjorge, Erik C" , Bret Barkelew Subject: Re: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add additional debug for checkout failures Thread-Topic: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add additional debug for checkout failures Thread-Index: AQHV/VuMF3uelDQAf0uvbp0iQER9a6hOwByQ Date: Wed, 18 Mar 2020 19:43:16 +0000 Message-ID: <4CF3A9EB60ABDA47BE7821A4DA3A0A3353D59222@ORSMSX116.amr.corp.intel.com> References: <20200318192921.1529-1-nathaniel.l.desimone@intel.com> In-Reply-To: <20200318192921.1529-1-nathaniel.l.desimone@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ashley DeSimone -----Original Message----- From: Desimone, Nathaniel L =20 Sent: Wednesday, March 18, 2020 12:29 PM To: devel@edk2.groups.io Cc: Desimone, Ashley E ; Pandya, Puja ; Bjorge, Erik C ; Bret Barkelew Subject: [edk2-staging/EdkRepo] [PATCH] EdkRepo: Add additional debug for c= heckout failures Cc: Ashley DeSimone Cc: Puja Pandya Cc: Erik Bjorge Cc: Bret Barkelew Signed-off-by: Nate DeSimone --- edkrepo/common/common_repo_functions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/edkrepo/common/common_repo_functions.py b/edkrepo/common/commo= n_repo_functions.py index 4b580c0..288dd27 100644 --- a/edkrepo/common/common_repo_functions.py +++ b/edkrepo/common/common_repo_functions.py @@ -14,6 +14,7 @@ import sys import unicodedata import urllib.request import subprocess +import traceback =20 import git from git import Repo @@ -600,7 +601,9 @@ def checkout(combination_or_sha, verbose=3DFalse, overr= ide=3DFalse, log=3DNone): if combination_is_in_manifest(combo_or_sha, manifest): manifest.write_current_combo(combo_or_sha) except: - print (CHECKOUT_COMBO_UNSUCCESFULL.format(combo_or_sha)) + if verbose: + traceback.print_exc() + print (CHECKOUT_COMBO_UNSUCCESSFULL.format(combo_or_sha)) # Return to the initial combo, since there was an issue with cheki= ng out the selected combo checkout_repos(verbose, override, initial_repo_sources, workspace_= path, manifest) finally: --=20 2.24.0.windows.2