From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web12.6087.1584681157567668141 for ; Thu, 19 Mar 2020 22:12:37 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: bob.c.feng@intel.com) IronPort-SDR: MyrzHgFWe1E0L8VqOfkbbh13Jy+1uJGcWZS86DmBncfYYece9py8/Lwkj2pH3kndA2PotztrVR xuchOffbCaDQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2020 22:12:36 -0700 IronPort-SDR: cca3XcG80G4+QBLCIrFnf50LxoTn5LUlHqODXOhiKaLUqBN/1J6I4ULuv0zYWizpgaroiwAP5X M1W9MdfcF2CA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,283,1580803200"; d="scan'208";a="234400631" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga007.jf.intel.com with ESMTP; 19 Mar 2020 22:12:36 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 19 Mar 2020 22:12:36 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX603.ccr.corp.intel.com (10.109.6.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 20 Mar 2020 13:12:33 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.1713.004; Fri, 20 Mar 2020 13:12:33 +0800 From: "Bob Feng" To: "Fan, ZhijuX" , "devel@edk2.groups.io" CC: "Gao, Liming" Subject: Re: [PATCH 1/1] BaseTools:Fix build tools print traceback info issue Thread-Topic: [PATCH 1/1] BaseTools:Fix build tools print traceback info issue Thread-Index: AQHV/mvA+onzcN0KPEK9TLGgb5NTE6hQ71yg Date: Fri, 20 Mar 2020 05:12:33 +0000 Message-ID: <24f63bd3c4ac42d6b0f8250f684b7879@intel.com> References: <20200320035755.13080-1-zhijux.fan@intel.com> In-Reply-To: <20200320035755.13080-1-zhijux.fan@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] MIME-Version: 1.0 Return-Path: bob.c.feng@intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Zhiju, Please update the Bugzilla status. -----Original Message----- From: Fan, ZhijuX=20 Sent: Friday, March 20, 2020 11:58 AM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming ;= Fan, ZhijuX Subject: [PATCH 1/1] BaseTools:Fix build tools print traceback info issue REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2610 We meet a case that the DEC file declaring the PCD isn't included in the IN= F.it cause build tools report Traceback error. Remove raise statements that generate Tracebacks that were only intended fo= r development/debug. With the raise statements removed proper error message= s are shown. Cc: Bob Feng Cc: Liming Gao Signed-off-by: Zhiju.Fan --- BaseTools/Source/Python/AutoGen/AutoGenWorker.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/BaseTools/Source/Python/AutoGen/AutoGenWorker.py b/BaseTools/S= ource/Python/AutoGen/AutoGenWorker.py index 40b448f5b2db..563d91b421ce 100755 --- a/BaseTools/Source/Python/AutoGen/AutoGenWorker.py +++ b/BaseTools/Source/Python/AutoGen/AutoGenWorker.py @@ -256,7 +256,6 @@ class AutoGenWorkerInProcess(mp.Process): CacheResult =3D Ma.CanSkipbyPreMakeCache() except: CacheResult =3D False - traceback.print_exc(file=3Dsys.stdout) self.feedback_q.put(taskname) =20 if CacheResult: @@ -273,7 +272,6 @@ class AutoGenWorkerInProcess(mp.Process): CacheResult =3D Ma.CanSkipbyMakeCache() except: CacheResult =3D False - traceback.print_exc(file=3Dsys.stdout) self.feedback_q.put(taskname) =20 if CacheResult: @@ -285,7 +283,6 @@ class AutoGenWorkerInProcess(mp.Process): except Empty: pass except: - traceback.print_exc(file=3Dsys.stdout) self.feedback_q.put(taskname) finally: self.feedback_q.put("Done") -- 2.14.1.windows.1