From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.2686.1601084122744441702 for ; Fri, 25 Sep 2020 18:35:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=rPGNh6Nw; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: nathaniel.l.desimone@intel.com) IronPort-SDR: 9DckO/XT/Q2jwDCp40E0oOd4EstqyF8oP2hNi/gnLnIZ8IBVkIMlRwcQeWN7ZgTA0EAN2oAkeJ AwzfkBbEWfvg== X-IronPort-AV: E=McAfee;i="6000,8403,9755"; a="149452777" X-IronPort-AV: E=Sophos;i="5.77,303,1596524400"; d="scan'208";a="149452777" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2020 18:35:20 -0700 IronPort-SDR: ORFkPp84+CvwUCqWzJYV5LOnBUt0YULAL4biIEk9qmESLl7GRxZSz1zJCd7pnGq9qyY3INE3zb 2PUCGYOqHpdA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,303,1596524400"; d="scan'208";a="292112019" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga007.fm.intel.com with ESMTP; 25 Sep 2020 18:35:19 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 25 Sep 2020 18:35:19 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 25 Sep 2020 18:35:18 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 25 Sep 2020 18:35:18 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.177) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Fri, 25 Sep 2020 18:35:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EWVvm0uFqRzAE+0NRGoE9DMEtLuDKd33VgmFcgUAuEz1+1DrYFubCcxfcIZNJ2vWqCp0XZjtX7wKk0AtpdZGskCP3ZYpn6qLBfNLdmdQaxNIXB3BoZ83dSoJ/43/08ivUZMd2GCGyl7N/4C4L/gp2LVyTaH+/9kQfpiv9Nm8yQv7pVy8tw6MIDoUKQDbt4jVXFeJk8Q0G+O2YV4VflHBgyboAOESM+xA7vqjT2OkfqeaiQei4H9leyxLvlrv+aRXFC7B6BgdFNAy2SWfOlRgO121Q55PdbPADNHBeYFDeGHofHpExoQgFHhIPGb4Fc6kAVGzaQdRm4QyWYyzrlx51g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l62oC5Le+pavuCRPmmwwAuhlFDK8U6ntEF0FezrHsCs=; b=gdcxGvvr0BoZXLlyDqbzcsc8RF05VBJGtAUDAq3kaVrwiggY+QngxTtd1KnmtSxH1AfT4eOrtt5Sv3+nlBHipPTVMfCPDuUTcXFL4NQqSp5JmNuc1/kaZxgr1eVxwpz1eNGfZMFxFFp+mTCeVymGguJapJpQiYqapWQ1zbGdn8R1wlxts5m8xMpAQS3AkVYuw+HN4BP8uBwnoUb5oQ1/17PNcggdNajDH2KWKr+wGIQ5A4RVr46S347KgCAjso+HcAtOjDv84S8DzTzHvfT3o6sVBiBYSYqY9lRCd53ybnCv6ZzuPdg2YcQenDn8utGcRA2LDRkXlE8PAwcXb2eGdw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l62oC5Le+pavuCRPmmwwAuhlFDK8U6ntEF0FezrHsCs=; b=rPGNh6NwcSCYNbyfB81Uh90z0kt+g/wPuAtSI+Y/4ThdFt4/ko7E1E0z+yN57JNqd7GvLS8fYVCIqajQrF36C9/fbIKwwVo6bAQi0RKotZqOIocMdDRXJlhG99vnpRMcFIqkCOSPl8f/JTHWSQ5Brd+ZBTDr6hTdp4f+tISqS6o= Received: from MWHPR1101MB2160.namprd11.prod.outlook.com (2603:10b6:301:5b::12) by MWHPR11MB0061.namprd11.prod.outlook.com (2603:10b6:301:65::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.21; Sat, 26 Sep 2020 01:35:13 +0000 Received: from MWHPR1101MB2160.namprd11.prod.outlook.com ([fe80::75c9:81e9:2646:791c]) by MWHPR1101MB2160.namprd11.prod.outlook.com ([fe80::75c9:81e9:2646:791c%4]) with mapi id 15.20.3412.024; Sat, 26 Sep 2020 01:35:13 +0000 From: "Nate DeSimone" To: "devel@edk2.groups.io" , "Desimone, Ashley E" CC: "Pandya, Puja" , Bret Barkelew , "Agyeman, Prince" , "Bjorge, Erik C" Subject: Re: [edk2-devel] [edk2-staging/EdkRepo] [PATCH V3] EdkRepo: Return exit codes in edkrepo_entry_point.py Thread-Topic: [edk2-devel] [edk2-staging/EdkRepo] [PATCH V3] EdkRepo: Return exit codes in edkrepo_entry_point.py Thread-Index: AQHWhvIPNNTfXh3pJEKvY9BDnph7X6l6PKIg Date: Sat, 26 Sep 2020 01:35:12 +0000 Message-ID: References: <20200909214146.2104-1-ashley.e.desimone@intel.com> In-Reply-To: <20200909214146.2104-1-ashley.e.desimone@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmY2OGI1ZmYtMDk1Mi00NWY4LTgwZDktNWU0NGM1YzdiYjdhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVUZzd0NnOWdQQkplSGF0a0R2UlA1T2YxRkVvbWI3MTAwTHY1S2t4RXpEV2diZnBWQUJpTmU3ZGphckR6eHNwZCJ9 dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-ctpclassification: CTP_NT authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [50.53.190.176] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: be6059de-389b-48f6-aaf4-08d861bc69d6 x-ms-traffictypediagnostic: MWHPR11MB0061: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2733; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bEDcXC/2p+VHXqfAG60LD9wbZJkqOTYHN+IM2APb3eqI4P9Gt6GzvHg3rrB4B6YiJ2+pgDjDvee0xeopKtQb+Rdop3+fsyDgTTKoAkm/TpIOM4tE9HJLHKdL1MnwI9luKyCkj9+UPmdGApmqVv4MnQTKN3KviqhMIntw/805bXSmW3kSTHMD0OQ6esb6ZhcRNVTO3ap6kjnww+7KZ0GmvPXsVyK5OX708t6sbU9wiq+cqo6IdKst0FCoJMwY711qFjDwrznDXMBFJkMHLXD1QKrXBGAgIvETpmB6nb7Vyhrpzsb1nCn3gDlHEXH9zQhXiQJu42FiRH8miEr4jyBol5lD3M4Hv3ewNKvLu/i0HnTOmFaIbGOF5fnQH2P382LOlt0G7L4a+jg4zca5piaxtTCa5fRGfAdRXwIBHOTekVMurSH/UaPsidunE0UmBTY0 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1101MB2160.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(396003)(366004)(376002)(136003)(346002)(6636002)(8936002)(316002)(83380400001)(26005)(8676002)(52536014)(86362001)(6506007)(7696005)(71200400001)(186003)(53546011)(2906002)(33656002)(5660300002)(107886003)(66556008)(110136005)(4326008)(76116006)(966005)(64756008)(9686003)(66446008)(55016002)(66946007)(54906003)(66476007)(478600001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 7xNdrRo6CyUfdImsib3p52cL+YBpD7efOaVam5ol22DI6aZgwkjVNTLkxnu+hd03U17/6g00EQJ4xg9U4ND4UYVqx8savFxpu1C/m42b0ccMkOrRlyV8GE+mX1ABA+QjVS0qB84NJv9WvwiJbVbQ3ajL3qhhP/3IrzuQH4+wmM12+axxfFnqGrLLU5XJhwn+8KqjnSnEUpsL40uSg/DQ5Ut9MiICdC6Fe9dr1LGd/v97kTu6e0s4Yy0PirRiyEMC8vyZ0HNEKg9NrcQCexixCbYabIP/ztIZs2lHC96quywGwJhcOohDC1vPsCEd9tQ/BQlUBkslmsOu5ZNeXjPee+VVEa7cv+LVxdZiz/NYyub8vKmXFz7k0d0vfdNHQ7BSQbh2ZwM473rctTFUscfVSQbBfnj3UFzPM8z7TTYf5jCUkTubPEb3bzCtubJQ+fl3x8FMowUW832dxX9fXm89QeAcu3fDdAvvhzmwL0sx1V9WhqaXaMfSSG/7Amkq5CQslsSEBkW7/3CFVh0pjcrI17BNFJOsBxTmoZYgGNkR+x7efu8MNj5J0Jsq32JMezzJfDE8ldCbjP+rInFSSMHWGoWHcaXOZ+0Pri2ZCSlGtx4u7rJZN+W7s3N/+rTnVyyRQzd4BWb8U+5GEldci2lgeg== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR1101MB2160.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: be6059de-389b-48f6-aaf4-08d861bc69d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2020 01:35:12.7798 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gUhirY5A3bEWKWhLucuZe/uZtGgX31RD55WVK8/7yWXUiqEO4rkTiMi0PXAkc8Le7s8ZzV1CZYvAwAS8HgHrXNa9HLHhsaGRO6jrUEwkXEU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB0061 Return-Path: nathaniel.l.desimone@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Nate DeSimone -----Original Message----- From: devel@edk2.groups.io On Behalf Of Ashley E Des= imone Sent: Wednesday, September 9, 2020 2:42 PM To: devel@edk2.groups.io Cc: Desimone, Nathaniel L ; Pandya, Puja ; Bret Barkelew ; Agyeman= , Prince ; Bjorge, Erik C Subject: [edk2-devel] [edk2-staging/EdkRepo] [PATCH V3] EdkRepo: Return exi= t codes in edkrepo_entry_point.py Return the error codes generated by edkrepo_cli that is called in main() Cc: Nate DeSimone Cc: Puja Pandya Cc: Bret Barkelew Cc: Prince Agyeman Cc: Erik Bjorge Signed-off-by: Ashley E Desimone --- edkrepo/edkrepo_entry_point.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edkrepo/edkrepo_entry_point.py b/edkrepo/edkrepo_entry_point.p= y index c2ff56a..dd2b36e 100644 --- a/edkrepo/edkrepo_entry_point.py +++ b/edkrepo/edkrepo_entry_point.py @@ -91,12 +91,12 @@ def main(): try: mod =3D importlib.import_module(pref_entry) func = =3D getattr(mod, pref_entry_func)- func()+ return(func()) = except Exception as e: print('Unable to launch preferred entry poi= nt. Launching default entry point edkrepo.edkrepo_cli.py') tracebac= k.print_exc() import edkrepo.edkrepo_cli- edkrepo.edkrepo_cl= i.main()+ return edkrepo.edkrepo_cli.main() if __name__ =3D=3D "__m= ain__": try:--=20 2.26.2.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D Groups.io Links: You receive all messages sent to this group. View/Reply Online (#65164): https://edk2.groups.io/g/devel/message/65164 Mute This Topic: https://groups.io/mt/76743015/1767664 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [nathaniel.l.desimone@in= tel.com] -=3D-=3D-=3D-=3D-=3D-=3D