From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62072+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62072+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025335; cv=none; d=zohomail.com; s=zohoarc; b=Q5CnJEpIxjglgOJJ0n5HUbxgmfGC/wBMLw1wDIGIW+wpnLXkj+gfGgY90emZVjBbwEDAMlwgxTV0Vw/r5ixhVDk8HE/YZIs0ak1sI0ZrLI1kUN+O4WcDbIGv5qtVSKqI4apAPbM4r7pHV5dkil7M+dbaVNm1+v3+aCefboRIiGM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025335; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=aodbX1doMv918U9cbrtLF6EbLRUqAlu3/WFnSl2h8XM=; b=E4Ju/SuRjT5qkqwwlWsdlsTY3kmPqdfkMwenbd9J6VbLudqZzBKtIlcSWLugwutOGKdISDLDRqJutifTrXa80DwFG5XcHMGQvXr0En4PRxhjVmQ3DjGz3PCFQE4Mubl9vPqJLpIU5uq6/pHxHtJ4owZ/PPP1k4F/L5TOyfTv1cM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62072+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025335657585.633019226365; Mon, 6 Jul 2020 01:48:55 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id SVJVYY1788612xv9Mke7odni; Mon, 06 Jul 2020 01:48:54 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:48:52 -0700 IronPort-SDR: T6nadYA8oM4CTrLLdeKZdMsoU+xM/cPcwTkraBc/d+UphvgF6imA/wghD8c1e8PvNgVURfvIpk +f3aV6U+L1SQ== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630764" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630764" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:48:52 -0700 IronPort-SDR: b7ZrxyvBU92iY+BhCLZ8WkgR9eM/yRMAjULoRd2oM77BRtM6uZ7pqdinw+54zYKxw9aZmKja23 /YneAIihhUKg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972491" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:48:51 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v7 01/16] pip-requirements.txt: Add Ecc required lib Date: Mon, 6 Jul 2020 16:48:31 +0800 Message-Id: <20200706084846.12748-2-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: Rnc9zJ2ObE2OJtEf9E2vKXvex1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025334; bh=XLRfzxmKgdb7tgr3N7r2C/pj/Ba6/nao8QBub9vXDVQ=; h=Cc:Date:From:Reply-To:Subject:To; b=Tdd0kWApgzO0Tsr0bPSo2wZyp6aY5UAMRNly2K7BJT/Ebacqm7HrDLaoCZINRTdbMsJ nFplYhlvH40opn57B4XljtmwSMkJz8IP0+ckjhs6jTPxlAEVnRWZ1FVYFMafArGaiILh5 DeAQvnYhkoqk2MfapojTlAMDPnDeE7uVi5M= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" antlr4-python3-runtime is a lib to support Ecc run with Py3.x. Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- pip-requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/pip-requirements.txt b/pip-requirements.txt index 574dac43b1a6..0fecd37f2a83 100644 --- a/pip-requirements.txt +++ b/pip-requirements.txt @@ -14,3 +14,4 @@ =20 edk2-pytool-library=3D=3D0.10.* edk2-pytool-extensions~=3D0.13.3 +antlr4-python3-runtime=3D=3D4.7.1 --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62072): https://edk2.groups.io/g/devel/message/62072 Mute This Topic: https://groups.io/mt/75329190/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62073+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62073+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025340; cv=none; d=zohomail.com; s=zohoarc; b=eGL8WeivaXDIdgUkRDqD3ySaVLBRwXNn+0HVGaPEGKS2Lz5j2mwrPQIgPkhrgcej9qdqfmucI+1RmNAqWwP/nbdPbqK5nu0EpQoWtg2U97qSMGGLkg2Sm8etRMqKlnsJPjK0If//R5EKeihdBlrSev515MBZVcE0zJXiE93xAH0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025340; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=CTZakQkIuck7dGSBmHm6Q0x2YdU42ILZy6UwgP+7zTc=; b=XU/5LtkdFRNNNGnqzEQPVeu9W+8CMyYtGVjXx5BqX7Hi5R5Iy6ytLOAdfBYtWH8/Ia3pLCcG/61GEfXtMcSxL2kMltjM1DopN1LrCqqwhdV/SGnRQ25nQfUOgeUre2a2yMytLVyhvJ7oRxw9fGrgg8Qm6tsR5VVyWxSGLMrP17Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62073+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 15940253402421023.7624929054689; Mon, 6 Jul 2020 01:49:00 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id rvaVYY1788612xt33hmTdE2Z; Mon, 06 Jul 2020 01:48:59 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:48:55 -0700 IronPort-SDR: dHkUfBWG8LMEvzuEv5QTigP/jGh5PsyxCSsAAvrSbCKyR0HKw1J+qX62f5SZo+C7GG8uCOfdHn oiSUk8t4cssA== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630774" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630774" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:48:55 -0700 IronPort-SDR: SOFfN84q06phg7m1OQj1+6Vu+R1Dj0+d9CUGPFh+mm+W1LadgJ5CyCMd6s0CFhp3aXAuzxwCm5 HY3uZimasnMA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972499" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:48:53 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v7 02/16] .pytool/Plugin: Add a plugin EccCheck Date: Mon, 6 Jul 2020 16:48:32 +0800 Message-Id: <20200706084846.12748-3-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: 4H6rnLcCshNtp6OlJMzVYiYjx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025339; bh=h7NJQpB1ZI3B6CFHH4R/w+E/kVGVuW6r5W+HEyianO0=; h=Cc:Date:From:Reply-To:Subject:To; b=WgfHoiaDxjrUUnvD10lT/7BTqcEbdwUEPq9sj0Gu32ZsD5nIrHhrBikodUCEs0QEVsx RsFUE6UqW1wMu/itNaWfjNRsIXoMP8XqJqYGniNfTCQ3m8PQJ/vbBulv6Y0nHVGu+uJjX gnKk4jx1NfhQ/GbXOHnn9UpfXIgCotW5ask= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2606 EccCheck is a plugin to report Ecc issues for code in pull request , which will be run on open ci. But note not each kind of issue could be reported out. It can only handle the issues, whose line number in CSV report accurately map with their code in source code files. And Ecc issues about comments can also be handled. Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Shenglei Zhang --- .pytool/Plugin/EccCheck/EccCheck.py | 267 ++++++++++++++++++ .pytool/Plugin/EccCheck/EccCheck_plug_in.yaml | 11 + .pytool/Plugin/EccCheck/Readme.md | 15 + 3 files changed, 293 insertions(+) create mode 100644 .pytool/Plugin/EccCheck/EccCheck.py create mode 100644 .pytool/Plugin/EccCheck/EccCheck_plug_in.yaml create mode 100644 .pytool/Plugin/EccCheck/Readme.md diff --git a/.pytool/Plugin/EccCheck/EccCheck.py b/.pytool/Plugin/EccCheck/= EccCheck.py new file mode 100644 index 000000000000..3857f472eda2 --- /dev/null +++ b/.pytool/Plugin/EccCheck/EccCheck.py @@ -0,0 +1,267 @@ +# @file EccCheck.py +# +# Copyright (c) 2020, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## + +import os +import re +import csv +import xml.dom.minidom +from typing import List, Dict, Tuple +import logging +from io import StringIO +from edk2toolext.environment import shell_environment +from edk2toolext.environment.plugintypes.ci_build_plugin import ICiBuildPl= ugin +from edk2toolext.environment.var_dict import VarDict +from edk2toollib.utility_functions import RunCmd + + +class EccCheck(ICiBuildPlugin): + """ + A CiBuildPlugin that finds the Ecc issues of newly added code in pull = request. + + Configuration options: + "EccCheck": { + "ExceptionList": [], + "IgnoreFiles": [] + }, + """ + + ReModifyFile =3D re.compile(r'[B-Q,S-Z]+[\d]*\t(.*)') + FindModifyFile =3D re.compile(r'\+\+\+ b\/(.*)') + LineScopePattern =3D (r'@@ -\d*\,*\d* \+\d*\,*\d* @@.*') + LineNumRange =3D re.compile(r'@@ -\d*\,*\d* \+(\d*)\,*(\d*) @@.*') + + def GetTestName(self, packagename: str, environment: VarDict) -> tuple: + """ Provide the testcase name and classname for use in reporting + testclassname: a descriptive string for the testcase can inclu= de whitespace + classname: should be patterned .. + + Args: + packagename: string containing name of package to build + environment: The VarDict for the test to run in + Returns: + a tuple containing the testcase name and the classname + (testcasename, classname) + """ + return ("Check for efi coding style for " + packagename, packagena= me + ".EccCheck") + + ## + # External function of plugin. This function is used to perform the t= ask of the ci_build_plugin Plugin + # + # - package is the edk2 path to package. This means workspace/packa= gepath relative. + # - edk2path object configured with workspace and packages path + # - PkgConfig Object (dict) for the pkg + # - EnvConfig Object + # - Plugin Manager Instance + # - Plugin Helper Obj Instance + # - Junit Logger + # - output_stream the StringIO output stream from this plugin via lo= gging + def RunBuildPlugin(self, packagename, Edk2pathObj, pkgconfig, environm= ent, PLM, PLMHelper, tc, output_stream=3DNone): + edk2_path =3D Edk2pathObj.WorkspacePath + python_path =3D os.path.join(edk2_path, "BaseTools", "Source", "Py= thon") + env =3D shell_environment.GetEnvironment() + env.set_shell_var('PYTHONPATH', python_path) + env.set_shell_var('WORKSPACE', edk2_path) + self.ECC_PASS =3D True + self.ApplyConfig(pkgconfig, edk2_path, packagename) + modify_dir_list =3D self.GetModifyDir(packagename) + patch =3D self.GetDiff(packagename) + ecc_diff_range =3D self.GetDiffRange(patch, packagename, edk2_path) + self.GenerateEccReport(modify_dir_list, ecc_diff_range, edk2_path) + ecc_log =3D os.path.join(edk2_path, "Ecc.log") + if self.ECC_PASS: + tc.SetSuccess() + self.RemoveFile(ecc_log) + return 0 + else: + with open(ecc_log, encoding=3D'utf8') as output: + ecc_output =3D output.readlines() + for line in ecc_output: + logging.error(line) + self.RemoveFile(ecc_log) + tc.SetFailed("EccCheck failed for {0}".format(packagename), "E= cc detected issues") + return 1 + + def GetDiff(self, pkg: str) -> List[str]: + return_buffer =3D StringIO() + params =3D "diff --unified=3D0 origin/master HEAD" + RunCmd("git", params, outstream=3Dreturn_buffer) + p =3D return_buffer.getvalue().strip() + patch =3D p.split("\n") + return_buffer.close() + + return patch + + def RemoveFile(self, file: str) -> None: + if os.path.exists(file): + os.remove(file) + return + + def GetModifyDir(self, pkg: str) -> List[str]: + return_buffer =3D StringIO() + params =3D "diff --name-status" + ' HEAD' + ' origin/master' + RunCmd("git", params, outstream=3Dreturn_buffer) + p1 =3D return_buffer.getvalue().strip() + dir_list =3D p1.split("\n") + return_buffer.close() + modify_dir_list =3D [] + for modify_dir in dir_list: + file_path =3D self.ReModifyFile.findall(modify_dir) + if file_path: + file_dir =3D os.path.dirname(file_path[0]) + else: + continue + if pkg in file_dir and file_dir !=3D pkg: + modify_dir_list.append('%s' % file_dir) + else: + continue + + modify_dir_list =3D list(set(modify_dir_list)) + return modify_dir_list + + def GetDiffRange(self, patch_diff: List[str], pkg: str, workingdir: st= r) -> Dict[str, List[Tuple[int, int]]]: + IsDelete =3D True + StartCheck =3D False + range_directory: Dict[str, List[Tuple[int, int]]] =3D {} + for line in patch_diff: + modify_file =3D self.FindModifyFile.findall(line) + if modify_file and pkg in modify_file[0] and not StartCheck an= d os.path.isfile(modify_file[0]): + modify_file_comment_dic =3D self.GetCommentRange(modify_fi= le[0], workingdir) + IsDelete =3D False + StartCheck =3D True + modify_file_dic =3D modify_file[0] + modify_file_dic =3D modify_file_dic.replace("/", os.sep) + range_directory[modify_file_dic] =3D [] + elif line.startswith('--- '): + StartCheck =3D False + elif re.match(self.LineScopePattern, line, re.I) and not IsDel= ete and StartCheck: + start_line =3D self.LineNumRange.search(line).group(1) + line_range =3D self.LineNumRange.search(line).group(2) + if not line_range: + line_range =3D '1' + range_directory[modify_file_dic].append((int(start_line), = int(start_line) + int(line_range) - 1)) + for i in modify_file_comment_dic: + if int(i[0]) <=3D int(start_line) <=3D int(i[1]): + range_directory[modify_file_dic].append(i) + return range_directory + + def GetCommentRange(self, modify_file: str, workingdir: str) -> List[T= uple[int, int]]: + modify_file_path =3D os.path.join(workingdir, modify_file) + with open(modify_file_path) as f: + line_no =3D 1 + comment_range: List[Tuple[int, int]] =3D [] + Start =3D False + for line in f: + if line.startswith('/**'): + start_no =3D line_no + Start =3D True + if line.startswith('**/') and Start: + end_no =3D line_no + Start =3D False + comment_range.append((int(start_no), int(end_no))) + line_no +=3D 1 + + if comment_range and comment_range[0][0] =3D=3D 1: + del comment_range[0] + return comment_range + + def GenerateEccReport(self, modify_dir_list: List[str], ecc_diff_range= : Dict[str, List[Tuple[int, int]]], + edk2_path: str) -> None: + ecc_need =3D False + ecc_run =3D True + config =3D os.path.join(edk2_path, "BaseTools", "Source", "Python"= , "Ecc", "config.ini") + exception =3D os.path.join(edk2_path, "BaseTools", "Source", "Pyth= on", "Ecc", "exception.xml") + report =3D os.path.join(edk2_path, "Ecc.csv") + for modify_dir in modify_dir_list: + target =3D os.path.join(edk2_path, modify_dir) + logging.info('Run ECC tool for the commit in %s' % modify_dir) + ecc_need =3D True + ecc_params =3D "-c {0} -e {1} -t {2} -r {3}".format(config, ex= ception, target, report) + return_code =3D RunCmd("Ecc", ecc_params, workingdir=3Dedk2_pa= th) + if return_code !=3D 0: + ecc_run =3D False + break + if not ecc_run: + logging.error('Fail to run ECC tool') + self.ParseEccReport(ecc_diff_range, edk2_path) + + if not ecc_need: + logging.info("Doesn't need run ECC check") + + revert_params =3D "checkout -- {}".format(exception) + RunCmd("git", revert_params) + return + + def ParseEccReport(self, ecc_diff_range: Dict[str, List[Tuple[int, int= ]]], edk2_path: str) -> None: + ecc_log =3D os.path.join(edk2_path, "Ecc.log") + ecc_csv =3D "Ecc.csv" + file =3D os.listdir(edk2_path) + row_lines =3D [] + if ecc_csv in file: + with open(ecc_csv) as csv_file: + reader =3D csv.reader(csv_file) + for row in reader: + for modify_file in ecc_diff_range: + if modify_file in row[3]: + for i in ecc_diff_range[modify_file]: + line_no =3D int(row[4]) + if i[0] <=3D line_no <=3D i[1]: + row[0] =3D '\nEFI coding style error' + row[1] =3D 'Error code: ' + row[1] + row[3] =3D 'file: ' + row[3] + row[4] =3D 'Line number: ' + row[4] + row_line =3D '\n *'.join(row) + row_lines.append(row_line) + break + break + if row_lines: + self.ECC_PASS =3D False + + with open(ecc_log, 'a') as log: + all_line =3D '\n'.join(row_lines) + all_line =3D all_line + '\n' + log.writelines(all_line) + return + + def ApplyConfig(self, pkgconfig: Dict[str, List[str]], edk2_path: str,= pkg: str) -> None: + if "IgnoreFiles" in pkgconfig: + for a in pkgconfig["IgnoreFiles"]: + a =3D os.path.join(edk2_path, pkg, a) + a =3D a.replace(os.sep, "/") + try: + logging.info("Ignoring File {0}".format(a)) + self.RemoveFile(a) + except Exception: + logging.info("EccCheck.IgnoreInf -> {0} not found in f= ilesystem. Invalid ignore file".format(a)) + if "ExceptionList" in pkgconfig: + exception_list =3D pkgconfig["ExceptionList"] + exception_xml =3D os.path.join(edk2_path, "BaseTools", "Source= ", "Python", "Ecc", "exception.xml") + try: + logging.info("Appending exceptions") + self.AppendException(exception_list, exception_xml) + except Exception as e: + logging.error("Fail to apply exceptions") + raise e + return + + def AppendException(self, exception_list: List[str], exception_xml: st= r) -> None: + error_code_list =3D exception_list[::2] + keyword_list =3D exception_list[1::2] + dom_tree =3D xml.dom.minidom.parse(exception_xml) + root_node =3D dom_tree.documentElement + for error_code, keyword in zip(error_code_list, keyword_list): + customer_node =3D dom_tree.createElement("Exception") + keyword_node =3D dom_tree.createElement("KeyWord") + keyword_node_text_value =3D dom_tree.createTextNode(keyword) + keyword_node.appendChild(keyword_node_text_value) + customer_node.appendChild(keyword_node) + error_code_node =3D dom_tree.createElement("ErrorID") + error_code_text_value =3D dom_tree.createTextNode(error_code) + error_code_node.appendChild(error_code_text_value) + customer_node.appendChild(error_code_node) + root_node.appendChild(customer_node) + with open(exception_xml, 'w') as f: + dom_tree.writexml(f, indent=3D'', addindent=3D'', newl=3D'\n',= encoding=3D'UTF-8') + return diff --git a/.pytool/Plugin/EccCheck/EccCheck_plug_in.yaml b/.pytool/Plugin= /EccCheck/EccCheck_plug_in.yaml new file mode 100644 index 000000000000..0d121ecb1861 --- /dev/null +++ b/.pytool/Plugin/EccCheck/EccCheck_plug_in.yaml @@ -0,0 +1,11 @@ +## @file +# CiBuildPlugin used to check Ecc issues +# +# Copyright (c) 2020, Intel Corporation. All rights reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## +{ + "scope": "cibuild", + "name": "EccCheck Test", + "module": "EccCheck" +} diff --git a/.pytool/Plugin/EccCheck/Readme.md b/.pytool/Plugin/EccCheck/Re= adme.md new file mode 100644 index 000000000000..85c439a5edf1 --- /dev/null +++ b/.pytool/Plugin/EccCheck/Readme.md @@ -0,0 +1,15 @@ +# EFI Coding style Check Plugin + +This CiBuildPlugin finds the Ecc issues of newly added code in pull reques= t. + +## Configuration + +The plugin can be configured to ignore certain files and issues. + +"EccCheck": { + "ExceptionList": [], + "IgnoreFiles": [] + }, + """ + +OPTIONAL List of file to ignore. --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62073): https://edk2.groups.io/g/devel/message/62073 Mute This Topic: https://groups.io/mt/75329191/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62074+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62074+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025339; cv=none; d=zohomail.com; s=zohoarc; b=mHN9ptNp6MHtcDxyHlZkhbRTPboXR0WyCb8fMy461oQxtmRRJXopT26/XPR4IfG7CP/sFZdQXOXl/FZMTvM1ah1jJlHl2wyi04pLTIZE4CgGJKVQxPXxJId4hLRm/X+qeGvB/epvXXyOHLbIDkfme+6EXV4qY+Nh2NdjV/MorxU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025339; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=e2VCHJaSRlagM1TGRYTL7vHcZGm4DpS6LQra/wyLKQQ=; b=ZwWAyVARsN+NIRmETsulgVAcjGaH9syZKvuKOhBpymvbQiIOhxWn7FIEro1GpNrC1mwyNQMVSb+0UEJybY8JFTyZH/M8AdMgWP/T0zLJrG5o4N/J9ism1VTKaQaT5N6SPbKyXRCCDcy3oUfwPKP+8fg6KugAyadzLvxPactLK/k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62074+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025339449342.4870730993208; Mon, 6 Jul 2020 01:48:59 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 4DKsYY1788612xiBlGDxSUGW; Mon, 06 Jul 2020 01:48:59 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:48:57 -0700 IronPort-SDR: nxBFB82oxFTuF1F+GqCduB1C1GCX2UP4EGq6+QTMNKGfeebrWB8vk8O3thAMrwtVsisIYNOYKu PA28f1e7N5tA== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630778" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630778" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:48:57 -0700 IronPort-SDR: hfBLGybN8jIQnVmy16Eo6akF9j7Ps7sNrT2iP5AhQBprl8Isa4z4Nx80DHabux4a2q3sb5wnjX l7Xk+2sCGuCg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972505" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:48:56 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jian J Wang , Hao A Wu Subject: [edk2-devel] [PATCH v7 03/16] MdeModulePkg/MdeModulePkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:33 +0800 Message-Id: <20200706084846.12748-4-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: bigIKoYhLVXOhOW30wl0dV7xx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025339; bh=vZw4tDNrrVyCrmi/+oIy3sQEqmcFa5FzRdqDGMPiFs8=; h=Cc:Date:From:Reply-To:Subject:To; b=GOnBk0cox9MCSkgxkrCV5M0CiK/BYZlEjfzbJKxLV+Cln194Y317Fl6u7c3Loqjv2AP SCvBbUqyuXcRkdpkr0T3bD7DZUUFbc4OrELv7sdLOB1N68QJJ1ulwwSOzx3rQ8dfSFog+ AShfOcEGMbS1J06Mk5yv+Eqd4I7F43EAvBg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Jian J Wang Cc: Hao A Wu Signed-off-by: Shenglei Zhang Acked-by: Hao A Wu --- MdeModulePkg/MdeModulePkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.= ci.yaml index 1cfc1328390e..0ed929855417 100644 --- a/MdeModulePkg/MdeModulePkg.ci.yaml +++ b/MdeModulePkg/MdeModulePkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for MdeModulePkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, ## options defined ci/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "MdeModulePkg.dsc" --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62074): https://edk2.groups.io/g/devel/message/62074 Mute This Topic: https://groups.io/mt/75329192/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62075+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62075+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025343; cv=none; d=zohomail.com; s=zohoarc; b=eS3DQcfiUwoCZsLK8vVwoICA4+aVDP6R7l1f74LdiEMPTBkMm7F8eIZNd2tV1I8tgf6mcBLak3BYN5stM+xiup/PTiYEYdk5GvIPSpFtrastoM7wMLffdMeXwPAr/wU8L7EJ/v+3Zb0/ARrNjjTtavxuOdr5AJMp99z09y2bWZ0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025343; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=ossXL6/ddB5j22spKQbKyGJRoLzictmyPkgN/c+bdj8=; b=eDw48E4WB2H2K/+GcQ4ui7X4+N+Kg5Ce+nONm9SefIMa1Y3OdPQfVN8Orb8th3ZHDFglhg9kmrizGZpRHHo7ZYlT/sQDP/LS407e2zpxSI+Q4OsWZNR3vnRshrSHxA+H2eiLr6ZTLwTW5qDiR5nfxdWBn5xyVVbDtvOCkVdDgEo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62075+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025343185759.918674757747; Mon, 6 Jul 2020 01:49:03 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id i12DYY1788612xGBavEvZyfX; Mon, 06 Jul 2020 01:49:02 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:48:59 -0700 IronPort-SDR: ZG+9OuywAKkIUkh77GPomneu4whdh+Fl0GbAhk1/DjRX20V4C1Q8e4UZiJBxaYOVUL3MpR/MaZ 7OQPa+5dQIyw== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630786" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630786" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:48:59 -0700 IronPort-SDR: XZBEaOoFoIDcA2Hcj89iOqeRn3qCwx4rq0DmOYpcIubByrIY2UZYT67BP9urxxKEVuC48z4Ua8 oGZQXda4PknQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972508" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:48:57 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Laszlo Ersek , Ard Biesheuvel , Leif Lindholm Subject: [edk2-devel] [PATCH v7 04/16] ArmVirtPkg/ArmVirtPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:34 +0800 Message-Id: <20200706084846.12748-5-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: 4GRpKaJ7spPlkczVW4geXb2xx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025342; bh=dbyyJfn3PU7RJTka5q/fNdMrkNGlHXSt5CgJ2KJhl+I=; h=Cc:Date:From:Reply-To:Subject:To; b=A6gmOQDM0BkKjCiQJYRe+SDU1uMPlIF+vS1O4p/V1BuS4G2UnFXVyiq37FJsdJLO3Mu D+TVeWQS+WnqGX4Vh/zgLCeyr1rZpLoBUQEKNxOe8CGkJSiQFlvrNReEYsIpJA288SQS7 588Xk1g5EiBQFs4k5+0WisYoysihILC9OhM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Leif Lindholm Signed-off-by: Shenglei Zhang Acked-by: Laszlo Ersek --- ArmVirtPkg/ArmVirtPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ArmVirtPkg/ArmVirtPkg.ci.yaml b/ArmVirtPkg/ArmVirtPkg.ci.yaml index 4553725ee528..3b321c806a62 100644 --- a/ArmVirtPkg/ArmVirtPkg.ci.yaml +++ b/ArmVirtPkg/ArmVirtPkg.ci.yaml @@ -5,9 +5,20 @@ # used for code analysis. # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "" # Don't support this test --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62075): https://edk2.groups.io/g/devel/message/62075 Mute This Topic: https://groups.io/mt/75329193/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62076+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62076+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025345; cv=none; d=zohomail.com; s=zohoarc; b=FBz3ANPs4zvsFWUgOWj3qiLJT7hmcyRxOixBT2bBvhxzSTKzRUdFokNpLQJvne4YXv3AgDV4WDUizjoejGsLwkECsJW4BzcP1P7H0/L4PCghrktMUUNitRm1rrmfGkEmkJEsX1Pyiuh9mpmiMUXpJ4K2GsFtUodnAEMDSZ9HbDA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025345; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=FNINfV+IVZMoNuetRW2Ld3O81N6mQXg7sj+4e3jlWhM=; b=kDjgU5bMo92PQ2+hV7hACbg52yO4lVjc2tmMqmHzAqLl8oR0RVLCXLikHnRcZtAUowRDdWL/KiJb890e8+ksIJVmvnE4OAu/jl4w/Re98u6oHO8ITqZjH7es9kfOUmnlw+ird4IA3iFClGnACuofbuiaaTUOYFb6v69o25FcTdM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62076+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025345071877.6330255079766; Mon, 6 Jul 2020 01:49:05 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id soszYY1788612xmidXXYiy8Z; Mon, 06 Jul 2020 01:49:04 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:01 -0700 IronPort-SDR: tKfuSBfYCBBzNgBoZDArdIJpxgnF2VzJPNdwlQyUC1HIdckaa7A2ftGeLCYCNvu3VJpZnLy3af ZVVXaT35DFiQ== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630794" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630794" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:01 -0700 IronPort-SDR: 2QNybMSZkXIJ8C3bmx/52nc5Eb2af2pIwHw9Ms83ljOJ2xzhEt4czYQLUHTW7TxnWw8gkFQdOO DDh1IDCALcHA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972525" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:00 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jian J Wang , Xiaoyu Lu Subject: [edk2-devel] [PATCH v7 05/16] CryptoPkg/CryptoPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:35 +0800 Message-Id: <20200706084846.12748-6-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: YvkwOIu0DxdaohFuv94X59kux1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025344; bh=UtZhgnvL6wQsu65poWlDtVR0rG/XUqpbyrqYcz8bQbo=; h=Cc:Date:From:Reply-To:Subject:To; b=LoKxmqjn5H4oSLC0b4A/+UxEq77lgDZetOANYjFtQ6/46Zd+txoilPUuPfIVy4xSCCC uW5X88QzL2K0ngLeDTPuiqXVwoLD/mapt9MwzdxveTD7pECA0/lGMF03kndvwww9oR0AR fiwPkDRQrpz+17Ra8Oja61TdK2jLUAeiOeQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Jian J Wang Cc: Xiaoyu Lu Signed-off-by: Shenglei Zhang Reviewed-by: Guomin Jiang Reviewed-by: Jian J Wang --- CryptoPkg/CryptoPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CryptoPkg/CryptoPkg.ci.yaml b/CryptoPkg/CryptoPkg.ci.yaml index f54ebfb22e70..c60d8bac6dee 100644 --- a/CryptoPkg/CryptoPkg.ci.yaml +++ b/CryptoPkg/CryptoPkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for CryptoPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "CryptoPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62076): https://edk2.groups.io/g/devel/message/62076 Mute This Topic: https://groups.io/mt/75329194/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62077+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62077+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025346; cv=none; d=zohomail.com; s=zohoarc; b=DUCLtWW6aDw5h+vwTgnLiKBY890KdrhhrcMHldvYBzjHuA+X2K3DdMxiw3bq8n/n5p+P2Ggm8kWLk6pl5B8bRu4t1SbVb16ZY983T98GFJmPJTpE5iHDl2ePt4XRZjKs7SqMkvieygipW94FXnKS13utYBfGmuo5D9G6TiT8Q+c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025346; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=lCStKkP5yP2tmiuuPGtRdzTBv18bKhzPVGod3BbfiBw=; b=i6djcqfuQQgnel1qjgRGdmKrR4wK95VFJd6eSHTa/vbL6zgOBZoLY8KrSirZJl4UPR9UVegAQV6IVPn47/NGsl3MzgfYFTgF7aJY+hHgDwS9MZZoEymrS+cRJK36SBCDZAeovBjxsAJ5oNZSZVZ1vU5bAc1umQPbIAlGliuaUWU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62077+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025346302837.8468532593481; Mon, 6 Jul 2020 01:49:06 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id JD9uYY1788612xgRUxXgYDee; Mon, 06 Jul 2020 01:49:05 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:03 -0700 IronPort-SDR: iSQ30F9QxBgQ9AqyFRHudJ77iYXSNm4W/u0JevP23Kw+bLqNAkc793xZkKYM+34udwaGTKldX9 Bq8T4h+BeNiw== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630801" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630801" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:03 -0700 IronPort-SDR: Lde3qPhL8f4l9QS6hytxTIV/TbSl1Qn5ME2960IYcbo7oLUFf+5V8sM2xKt8W0k3jCkY8OcgHO tX702NbY4tMw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972554" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:02 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni Subject: [edk2-devel] [PATCH v7 06/16] EmulatorPkg/EmulatorPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:36 +0800 Message-Id: <20200706084846.12748-7-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: DGQGp0fdxy3DW2mOeRHcxfRPx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025345; bh=rory4/9sr5RSDuqHOPiKHgM3hrLMoXzYeye9CD7Mdu0=; h=Cc:Date:From:Reply-To:Subject:To; b=AJiyvpcOIppQRVcR+y3et/5j+TV3TWPMVAC/aXMvsOnYui2MMf51Rm1lBMFlfouwYun v6oG7ibzgZZQWW5LV8Voum74EONutYmLoSiYWT/RydDjBReci0NDRIYQS2TVWaRXh1B8I Fwo5tyyijpL9ybO5EHDs/YkAthCKnrDUomA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Signed-off-by: Shenglei Zhang Acked-by: Ray Ni --- EmulatorPkg/EmulatorPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/EmulatorPkg/EmulatorPkg.ci.yaml b/EmulatorPkg/EmulatorPkg.ci.y= aml index 81f81780ec76..a664f4462e5d 100644 --- a/EmulatorPkg/EmulatorPkg.ci.yaml +++ b/EmulatorPkg/EmulatorPkg.ci.yaml @@ -5,9 +5,20 @@ # used for code analysis. # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "" # Don't support this test --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62077): https://edk2.groups.io/g/devel/message/62077 Mute This Topic: https://groups.io/mt/75329196/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62078+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62078+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025347; cv=none; d=zohomail.com; s=zohoarc; b=HlOVoY/UrRNjU/l61j27k4j2Flp01aLHvc2UDyIJMqlf4isG+wiyzaVHFIlZO+xWq3F+kgiITLSwbqMyTgWDovUHhoSTFT+DCQ7ZVkwsU6962qrPwv2Zov4X1zUaQ6KWFw/NqrCMHuzE4meGfzBLRucvUlUBpmWOaotH1ikCOpk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025347; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=iN3l9gTFqmRqCdyNP8Hw0NQjwE9GEnaf+zXMSTDrpUE=; b=hMbtpUFeKJRABd43AiTB/6FADmrvk8zCs7/6oUXG1zRD3ArQ3OFgwSuVbK73/6KYZznlEE+wGcsfJDxXBp6GnpXzQ4Yitj5LD+hcr7KuWIOktjkShyiqexXs13Ogx52KU3Vc558ecz4cCbU4lLyJIbPD/tsmlUYpdETNw4vOj2U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62078+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025347983391.84767036947164; Mon, 6 Jul 2020 01:49:07 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id VX7rYY1788612xXy8lAa1hP4; Mon, 06 Jul 2020 01:49:07 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:05 -0700 IronPort-SDR: TyZsyfhF2vP4dao8rj0L4PNNnCJGSrcFHBwgpORCCioyMGXSzQKrL/485Sweu4N78suw0QjI5A v8s+4cqoWsdw== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630807" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630807" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:05 -0700 IronPort-SDR: /hYf+T6R+wfkf2WPeZBzjm24WQZOB4gmor75dMgKpGpyE2EPxFiwivzSBoh8ArSPlP9F0V69C4 rx/kIJ2rENCQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972567" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:04 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Ray Ni Subject: [edk2-devel] [PATCH v7 07/16] FatPkg/FatPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:37 +0800 Message-Id: <20200706084846.12748-8-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: yXsDj48mLyW16TrPHEAtipQ1x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025347; bh=LQ7cRWTnZyeyG+aRByaHJocU+VpLi3jX8a59JL996sM=; h=Cc:Date:From:Reply-To:Subject:To; b=Hw9ZSBsudy0x4a7yzfcr1zASji4sA7cMouSRsH6jOAmZe9ej4Q6dLuks2Y9Tih5LYbm oPU3eGyA9QN9Nw2mfULiLsF2un40WcU8amVL0qDm0bgUFm0mxFFkNev/p1aOX8aa2572L FRoWVnZpsJSQSkkLDjpHcKlUuJDJgFoPrFs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Ray Ni Signed-off-by: Shenglei Zhang Reviewed-by: Guomin Jiang --- FatPkg/FatPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/FatPkg/FatPkg.ci.yaml b/FatPkg/FatPkg.ci.yaml index 8b0fb1d4fcd5..e6a4c810976f 100644 --- a/FatPkg/FatPkg.ci.yaml +++ b/FatPkg/FatPkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for FatPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "FatPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62078): https://edk2.groups.io/g/devel/message/62078 Mute This Topic: https://groups.io/mt/75329197/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62079+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62079+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025349; cv=none; d=zohomail.com; s=zohoarc; b=dm/O8CG76jc/vJv8/uyc6LBYAw4nTmeYEaZyTyRhfhc7GdoxeCd/z+wykOBnUohTpjYuCQrvXr0NumD8tcPHSORSO+zHqe6Ls125FCkpCDdKpRYCefrX5qPcHCmNDyftLcMAp1J6GGqRoz4RM9zLjGqiv6iEFLbg1oOCn/5ry1w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025349; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=ueP9dRXbKdvNhJcG4KaiJaIahT7FAztr0MgiWFhOt5E=; b=U0o/QP/kTEMagd44hYFK+CZXeAnzlKuCfvgkbVijThehanI9A3orFpVby++lnHaRJSjWOzGBhn0iqR2RsOQZaUej+5KXCtw8KIVwEzq6GIcdvsm1MIe2rXcTUsL4ps4gKKHhAdDYTtKSskNXlSop6nV33FKtTTLbRLNJW/PPBH0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62079+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025349137605.1068795053033; Mon, 6 Jul 2020 01:49:09 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id PCyHYY1788612x7764ElYxO9; Mon, 06 Jul 2020 01:49:08 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:07 -0700 IronPort-SDR: yWqphp4JxjmBbOvE/ALE24u2Bh/PNsxllIfjamSAHCx/L9rZ01CgyRNlEdVSgMkn84sinMuFBy XxZnisYY7EdA== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630813" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630813" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:07 -0700 IronPort-SDR: RdHuBTy+0UEcYbkdrwPoEq/WQVYSCJhMfl6EinlRXQFh/n+h3kY3/TSq3rPbeJE5nCTL9CsIQz 4wHQOz8a5SiQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972586" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:06 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Liming Gao , Michael D Kinney Subject: [edk2-devel] [PATCH v7 08/16] FmpDevicePkg/FmpDevicePkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:38 +0800 Message-Id: <20200706084846.12748-9-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: 7XsgmKYxkjI09WvDrUirrOoOx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025348; bh=PoMNg9zzb7B1m8NmFq8I3MWZf+YU5/qVy33bs9XtKus=; h=Cc:Date:From:Reply-To:Subject:To; b=OKOLro1PrbqHKOhxeZVhu3bzCOn132ISj2o8iYBoeu1UIub/q0cU9/Pi+eNuUum093O CTLT8A9qlJIuORzy7NzBRkjsBEGkKJrmFfWPJTRwXPeR5fc4+x3aRDgH4Y0RWMA2oVzB4 9Qhef/viryf/ICT7EY/nr3y0GsZrN6x0K7U= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Liming Gao Cc: Michael D Kinney Signed-off-by: Shenglei Zhang Reviewed-by: Guomin Jiang --- FmpDevicePkg/FmpDevicePkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/FmpDevicePkg/FmpDevicePkg.ci.yaml b/FmpDevicePkg/FmpDevicePkg.= ci.yaml index 74a0aefe8e49..b84400f06ffd 100644 --- a/FmpDevicePkg/FmpDevicePkg.ci.yaml +++ b/FmpDevicePkg/FmpDevicePkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for FmpDevicePkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "FmpDevicePkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62079): https://edk2.groups.io/g/devel/message/62079 Mute This Topic: https://groups.io/mt/75329198/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62080+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62080+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025356; cv=none; d=zohomail.com; s=zohoarc; b=nGNJPlNIItI0C7x3wf9zjPQ6DANyudVnGmFmXPvcukAD0Vc07wbVvD8Bq+5g651I1RYs360NK/GPTIo2HxkDpRudTrUSnnWcto4J83iSTUlhcOHcAStd2OgHOxBLovaow0thhkfQReVvdLpUjvcRk0Mz2zQQ4vX9tD3qKL0PFp0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025356; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=fw83jHUMNdvoSDI4P5BhXpQqBB1/tor0kPj+NiPH7KA=; b=iKaMk0CiLH4t2HR9Au1kncyWTrzY1odZYJWW2cJBSV2u4xq2nVBkq6+cNHEBnHnHnHiWbErzePwD0Ww5MpnMj2Tig7bbXtdV/Nl8nU1pussph24zKIXVEQKF0/GjCwxaxJOXglGo0iJXTIq3gZZE0KjoQ1zrBIZXGZvvc/pp5Ws= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62080+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025356301758.2068755149919; Mon, 6 Jul 2020 01:49:16 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 9YoUYY1788612x8iKuspf02p; Mon, 06 Jul 2020 01:49:15 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:09 -0700 IronPort-SDR: ZlI0twTDOfMtEavNFv/Jmukp2T7GmCiGfgdHP8B8sRABUPoARkFp6kT98lY/ZnrDC/csDSwOSW jBNKVBQCbQxg== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630827" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630827" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:09 -0700 IronPort-SDR: rxqwkv5VI9PWJShJcrtXBnG4kfqsi0MP7W9EUkHd+MakhX5KNRhZCo48PL08yimQi20teaEz6w DkdzgDG7LpNQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972597" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:08 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao Subject: [edk2-devel] [PATCH v7 09/16] MdePkg/MdePkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:39 +0800 Message-Id: <20200706084846.12748-10-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: RT64KwFhYJbpedTVhBelJ6imx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025355; bh=qnPgyQdLBNcHshea9tE2zIe7p9JQZYPD15kHbtlnSDA=; h=Cc:Date:From:Reply-To:Subject:To; b=Xo9MTzjhT+vV0NCb7j2P3qTNhzLA8eeX7GXCszd2CP4OZ3KfBIkrgF59DxSphvhZv1E iacCMAXA470n3WKaSZNr+MhT3HMWJ1CEYL/7/rzkQJElFKk58qMivkJGfCl3ZR7ihIiEY iZbJzSRwiSeaUolfoeGd0tQ1ZGDB4NO2nG8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Shenglei Zhang Reviewed-by: Liming Gao --- MdePkg/MdePkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/MdePkg/MdePkg.ci.yaml b/MdePkg/MdePkg.ci.yaml index 3268f1535499..b6d7c57de83c 100644 --- a/MdePkg/MdePkg.ci.yaml +++ b/MdePkg/MdePkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for MdePkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, ## options defined ci/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "MdePkg.dsc" --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62080): https://edk2.groups.io/g/devel/message/62080 Mute This Topic: https://groups.io/mt/75329199/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62081+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62081+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025360; cv=none; d=zohomail.com; s=zohoarc; b=Om9n4Kf1A1bjUq9moS02f6aEIUCf4BMe6X7uJ29E7r3isrgw/YdQBJV5Bi9/TzTky0mIYrWecIHyZo5zyyniHH/9vFzpBUKsKlFW3pjY6yc/Orj4u/fj+rPkxvIzK5201HEH+hGql91lK1GeLTGwgChRtjZQRVCyfOtQL2yB2oo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025360; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=h9AxwT94CWAvizJcI7cZkaAPHFVN5lbG4OJc7unRvbc=; b=CtWdNxK6SdP0iCxQZubw4oKJVaK1G4tAgWx/Fe7MGdw+s9DtdW9CsnSsAtKihTI7XonALl4HlOP5DX0vGxtYdHRSHw1JXsB1/rwEouf0Ja/OIz119mr+uw9janM+Zvbxzcqc+zUpL9MI1sOxWbr+r20YwNwEh1q8yEAp4r8WdR4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62081+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025360442335.1798149895982; Mon, 6 Jul 2020 01:49:20 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id tYrnYY1788612xHcnsaBiIpB; Mon, 06 Jul 2020 01:49:19 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:12 -0700 IronPort-SDR: v+/6KLEGrurWEI+czecYV6S/ow2BCyH5xRdCJarKO4enqtl5xGcFCQKf1sOV2gH1H7E7jRshrM 3rqlPiZaXygw== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630834" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630834" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:11 -0700 IronPort-SDR: kATwE2u/t90VSrdZC+u3eZcFTNi/SZbzH/eCv5EZxzitmFF5LpNscWxpIwXeXeyz5QEz+cldgu bHF7RPe5mJZw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972608" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:10 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Maciej Rabeda , Jiaxin Wu , Siyuan Fu Subject: [edk2-devel] [PATCH v7 10/16] NetworkPkg/NetworkPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:40 +0800 Message-Id: <20200706084846.12748-11-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: xyGQIZ5L0hodztxbZQngEZZnx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025359; bh=JDvB5wY+Sl0uHLdro9bJ2AMP7YWhVtookFFrB5gQ6xk=; h=Cc:Date:From:Reply-To:Subject:To; b=He/FZ/ne11r0o9FzS73hB7AtaTrv75sYFnTOWFs222SxMA9DU+Wq8trDOSNJA8kCnKP N3Xn1bxFad0mYlGvI21+ec41m29rzDb4kGFmkZugnxRDj3ivu21FSItPe311ZqVlqomw6 3a5XymOaehMmY5oSde9YF27bYWyjyx8y94Y= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Maciej Rabeda Cc: Jiaxin Wu Cc: Siyuan Fu Signed-off-by: Shenglei Zhang Reviewed-by: Maciej Rabeda --- NetworkPkg/NetworkPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/NetworkPkg/NetworkPkg.ci.yaml b/NetworkPkg/NetworkPkg.ci.yaml index 70f2e1014748..d45faf0ac967 100644 --- a/NetworkPkg/NetworkPkg.ci.yaml +++ b/NetworkPkg/NetworkPkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for NetworkPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "NetworkPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62081): https://edk2.groups.io/g/devel/message/62081 Mute This Topic: https://groups.io/mt/75329200/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62082+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62082+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025360; cv=none; d=zohomail.com; s=zohoarc; b=f8mB4p9X5vkTeVuXsY6C18YgNayau27q/nkOCiu3PQseotnrHAfqXDEMUNPWb/6eOm91/wHzQpDE6NeOoqoE7IOpO4KnwFq9RsHhu9SC6XczWDsCIl0VhPDjv5mdwsmPG//7wtdiBSkxG7rf48NvNqEyw6Mdd9T+3m1tRXOjJg0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025360; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=uEzKxRd0j+lcNE0pR5lvxbGY82FwQJ799tvV4FdpBrg=; b=HRRFVCNYXDyxnjPrGxsLJYVwEh9SgYLh8D6216mAjfouPUTgiMf/OvGTSyXx/m8I18Ul2HloWR7ZIIKuvvuw7RUWraXFX2hH5gT2vzjLvXiBMg7vb1qQ8rCDpUrmdXiavu3stKWp0hGuY8mqaSXdx+jetH6flvBTGW08/Bj9i3A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62082+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025360360976.0871490017787; Mon, 6 Jul 2020 01:49:20 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id HtxoYY1788612xWqc53RTjqG; Mon, 06 Jul 2020 01:49:19 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:14 -0700 IronPort-SDR: /FjsOzzOpTBHhrhWNNNDiSy0Kp78DVCFN8aCzTqiCK4orJwtSDtIFg/0C31fClggZAallh/F0Y R/5a26pNSMkQ== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630845" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630845" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:14 -0700 IronPort-SDR: H85p4fzzRMznBDUDxjREtKhPA9mAu9hdBhMKd8y1h0soFjwF7/1Y53+iOHvBlyaNlSfaECLFMw 8bWwxJtywZVw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972616" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:12 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel Subject: [edk2-devel] [PATCH v7 11/16] OvmfPkg/OvmfPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:41 +0800 Message-Id: <20200706084846.12748-12-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: nSp9e4l7t0qzrduejj6vgFEcx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025359; bh=Hl7yc3KxK0hF1rkb/1w2RoU60KhAHbyYQzX8JU9tZgE=; h=Cc:Date:From:Reply-To:Subject:To; b=VEGdBOG6kZu6p+90GB5ugneJtLzizNEoAsyrQlUPB6I9HT6nlaVWgaaleCR6bsKR01c QwHCV342bXf4G0MV6Uhv+5Y5u2HvizZ/zW0fIJUH68zL0lWcSuWYpLDPbg5wPlKT20ksZ PSDQMY/ZHrrwyYeQHc1e21Olz+SqbTUAie0= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Shenglei Zhang Acked-by: Laszlo Ersek --- OvmfPkg/OvmfPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/OvmfPkg/OvmfPkg.ci.yaml b/OvmfPkg/OvmfPkg.ci.yaml index 98992f0429ff..e151cebf7020 100644 --- a/OvmfPkg/OvmfPkg.ci.yaml +++ b/OvmfPkg/OvmfPkg.ci.yaml @@ -5,9 +5,20 @@ # used for code analysis. # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "" # Don't support this test --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62082): https://edk2.groups.io/g/devel/message/62082 Mute This Topic: https://groups.io/mt/75329201/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62083+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62083+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025361; cv=none; d=zohomail.com; s=zohoarc; b=f0glvJzD7qV1gfSg9DskXFMdXkb7m39QfB3abQ24W48BQsRGoZB93HwXfNPRp0RDdXyFK1xdIog4JFP4V/xHjfnrC9QuFvyo6+TJ3Md2RHGV1R5nnFx9Js7kHP6OHpqPyjs25LUhv4DSj1I5lGA+rWO0lzqEfndUcNYJPU0y96M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025361; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=vgLIIFdxrsUaBwun0HUjQHNlQMNhpTljcKLdkNnu1c4=; b=Ph97crmarxI37NJIVrXxpjOg0v2BBhvAGbUKC5LU0MsyDwRSyKe+oawP3xCu6ikrCn4zgptyc4MoUNgl0PHKFAEMHp2fkDwIBgk9bDKcg9EskfVzHZ+qQ2i/XOqhFKVkfFSKXZai10i/6jMYmNukK5JbMP6ahPyq0eVpW3yM+7k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62083+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025361691567.2383613147271; Mon, 6 Jul 2020 01:49:21 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id WRzRYY1788612x8uJGzd8Bxl; Mon, 06 Jul 2020 01:49:20 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:15 -0700 IronPort-SDR: YRhSqYgY5XzVtv1z99X9xgEOI9FFrGpnlpEk5gvGByDrfVYLRW4Wk5BFxIkK4wUf4h/gVW86ph mMfWekBPqdfA== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630849" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630849" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:15 -0700 IronPort-SDR: aJiy0PEjTGuYSktx5j3psP2xPFOTa3h++8x5m5Ab9UDYEHPx9AFxMT6rTycvwpuDgOcxeL9zwr D+W8Ku2FzZ/Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972620" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:14 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Ray Ni Subject: [edk2-devel] [PATCH v7 12/16] PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:42 +0800 Message-Id: <20200706084846.12748-13-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: 298QIt58imBLE3lmLF77w7ldx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025360; bh=S/RmqHhaaCObcUl+JnGNLSb3CU70241DvJjpZdgMkmA=; h=Cc:Date:From:Reply-To:Subject:To; b=AMjuV7AXWaYZkh4oxiI+20PDDZTrI/5ukjzzGbvo+2wYkdS6GhQaauDSir6tt9O1rTH bEWoKnxkQKrlUnmGzHkhlH10UyW2OBpdtWLP/AXkuZ+YtfJlAOTcJo6lHJWHKgAhEH4k2 oF41v4gciAJU+vsktq8GSn59t/FkTmlKzVs= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Ray Ni Signed-off-by: Shenglei Zhang Acked-by: Ray Ni --- PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml b/PcAtChipsetPkg/PcAtChi= psetPkg.ci.yaml index be470807bd9e..c59287064d65 100644 --- a/PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml +++ b/PcAtChipsetPkg/PcAtChipsetPkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for PcAtChipsetPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "PcAtChipsetPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62083): https://edk2.groups.io/g/devel/message/62083 Mute This Topic: https://groups.io/mt/75329202/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62084+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62084+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025362; cv=none; d=zohomail.com; s=zohoarc; b=K8NEEvGhc5KolpRmYS91jue7p5d8aPDSdIEZvEIKYBpQ+MMXLXSKABinq+0PJgUEdclNdBofiIoIizDIOVXh8yxAhPTtch5ta0a/egxu86HUtHnZBORRIuZVWUVblhI6ECayA1/GAKCYI3bmjdeaGp5gVrTo9p5tLAnPtcD/mn4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025362; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=rK1fqLLrcWQB5sTFvmYRCsywDep9Fv1TQ/ojIWudHL8=; b=Cl2flN7olqFsmx5plWtbkbac2Mr5C71hbRn9tyigWH7vt+kp8BnVBvTad7rVS6ZnUL8ykYNRcmktjX2+L0ld9DrgvboXd+DSqrIpRm1o2T2wQuM2UKdztm1wkwuCsO7ow3Nc4pql1NRLYYaJLrVCBgGWJWSX+JGdtHu1r7Uao/k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62084+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025362601418.3185866441851; Mon, 6 Jul 2020 01:49:22 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id AgphYY1788612xhkvh3Azs1O; Mon, 06 Jul 2020 01:49:22 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:18 -0700 IronPort-SDR: JMsWzhcJtse84R+Oc3V8o7uRseWQ84r2WhntxEDpHS/dvm6Qy/g29WLrdgawS3f7XrWVgMyTLF HQ9fetjUKv4Q== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630860" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630860" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:17 -0700 IronPort-SDR: 6ai/eiS4Djk5KNWZvR/shf4116yV41wn2YUKA8xFvezdU3lFvmHlZk4485ungHNMFclVxgAXFw rkSzfVAKk+xw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972630" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:16 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Chao Zhang Subject: [edk2-devel] [PATCH v7 13/16] SecurityPkg/SecurityPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:43 +0800 Message-Id: <20200706084846.12748-14-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: 0IEfmn5VpOVTHtStZJAHV3qtx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025362; bh=VdR8XnnNgt16BcWZvH+40ap51rlvlqbIIp3oonZtH10=; h=Cc:Date:From:Reply-To:Subject:To; b=h4yLVMRe1oJhqvCgL27Q1/leJ4rl+qFfnyPCrZUsJ52cz5Sp2JTV48P4sL6zOJGP2GE Cwef7PLOKSHO4Zsh8bOhlM4IyJONMKorjjFEr9XjrGRZGua4IPgFapdhY98R8WQNm3tti ntAsT8vHvj8nwXHpILlWqRe6BsgHLCYy78o= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Jiewen Yao Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Shenglei Zhang Reviewed-by: Jian J Wang --- SecurityPkg/SecurityPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/SecurityPkg/SecurityPkg.ci.yaml b/SecurityPkg/SecurityPkg.ci.y= aml index 953219053318..a0e143140875 100644 --- a/SecurityPkg/SecurityPkg.ci.yaml +++ b/SecurityPkg/SecurityPkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for SecurityPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "SecurityPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62084): https://edk2.groups.io/g/devel/message/62084 Mute This Topic: https://groups.io/mt/75329203/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62085+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62085+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025364; cv=none; d=zohomail.com; s=zohoarc; b=WjN1AeNYSnuYrRlu51EVtrID60y87YzL8/jYo8owfSjznHom+Ap+jKQq6U+ZF6OGtsCCssWcayM0VI5Rtrv+w8DrSwvjTwk2n6ZzviTuKn8236kPuMvoUalIfF7QvrEV5qLooYynSmp6dBKKpqZsBdRWgGAfkttcS8imUN1bZIo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025364; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=2+i8JiLdcqEJYvdedQe2LjdG68Ry/dow5t6pfUslJkc=; b=QxxbIeyF+BF7kY8RQq2rSmL3eE61hF8+g9FiiYtDV3qv/WktgE+AeD5ThvqGj8hx9cVJBSWcw4HI3ISSfr7yc0yw6KpTlq5NG64Ii5Zrmg7tWLPJcx5XPOw4uj3TP+5ZTr7K3BkB9td3CBxV9ikzyS33DEAJ5SjJhaRm29susH4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62085+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025364325529.6574773799808; Mon, 6 Jul 2020 01:49:24 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id RHhTYY1788612x9K0jT4iwVX; Mon, 06 Jul 2020 01:49:23 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:20 -0700 IronPort-SDR: MnY/C0OTWqI53lbH+TFnt1bWfHsUhvkoV/+TdPfmVecuzWOdq9SxavM/euGtx8bWtBVAORBC3q UhEynTykqFkg== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630867" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630867" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:20 -0700 IronPort-SDR: kfeC8IuQVQKd1kgCsSEly+f5CCzWLR1Jpo82bd0n11e9A+6hjkzm0ycA4Et5BToDhifQFEkCo6 hpmcQ1o7Gc4Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972640" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:18 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Ray Ni , Zhichao Gao Subject: [edk2-devel] [PATCH v7 14/16] ShellPkg/ShellPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:44 +0800 Message-Id: <20200706084846.12748-15-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: aupJwsXMsyux7UdJm6RUeAxax1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025363; bh=M2MvUGbruG0s9H2pBgB+gt255N2UkhS3g3Nl5YL49r0=; h=Cc:Date:From:Reply-To:Subject:To; b=qA95VKgFGMtmysEWLzwMcAa1sozXdqSkQ3MzFtXYF2Gdrr4VqEwm4sai6v5ItYqFsax a3bbpGaz84yYWV0Bw9oShM8iiX7qCDyU62A7Po2Rimkfo7W3f/S8MLdvhpZIbvm0udlPM TDG1RdPy+lA8DCLhHq9imMEOo9YL9bVLP3U= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Shenglei Zhang Acked-by: Ray Ni --- ShellPkg/ShellPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/ShellPkg/ShellPkg.ci.yaml b/ShellPkg/ShellPkg.ci.yaml index 67de34a2556e..eedc173738dc 100644 --- a/ShellPkg/ShellPkg.ci.yaml +++ b/ShellPkg/ShellPkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for ShellPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "ShellPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62085): https://edk2.groups.io/g/devel/message/62085 Mute This Topic: https://groups.io/mt/75329206/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62086+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62086+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025364; cv=none; d=zohomail.com; s=zohoarc; b=mGAeIhlAWrXpzYsn6SsOqk6M/FYU9WplfvUx7IjjEt3pg4iwV7drvuE3lhJBk/AVtsSzmv182XwB7ehNgsHl7rVAMwKqEtux++nHonzv13s6jH6JNc4+FDs4Rao4ShT7ApyqvdMAxBLgKgbKk0H3oyCvUICO5xLpkmB0TLRD204= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025364; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=L2aDj1l6r91lf3HsNjfMomLrvXuAHuFjFYAq7WX6xww=; b=ILH9uvuV1RuYEwxIeBm90DTRJ7svA+ltv3BEt1DPEv68K57AvsGAK0zpFgtAtdGBJyu0Xu/POb5s7LXu+cLhdckREMpaA6s1g6Uy3jV5bbBpT56ipLd5LCkmExCTJu1HiEbZHxDbtfyPNhvD/mC62dz0glWWCBgy0FRWWAncvfg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62086+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 159402536478162.96583210283325; Mon, 6 Jul 2020 01:49:24 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id fWNvYY1788612xU8TZIpvweF; Mon, 06 Jul 2020 01:49:24 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:22 -0700 IronPort-SDR: CixvDXWbyZJAA/1jprea9ar3wm5SA6reAmy16njBJgYVHmN/VrQWKjNb6dLYaCZtQ9JV6rzJz1 Z3KmnH79GlMA== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630875" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630875" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:22 -0700 IronPort-SDR: 0buIVjFL50p2TrTf90i8oNeq/let+KZ/EDZ0bKw7kUvyU0un7i59GQ3HlzLnB4QwnnD03nrvuJ WG+Bk84Lknjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972644" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:20 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Eric Dong , Ray Ni , Laszlo Ersek Subject: [edk2-devel] [PATCH v7 15/16] UefiCpuPkg/UefiCpuPkg.ci.yaml: Add configuration for Ecc check Date: Mon, 6 Jul 2020 16:48:45 +0800 Message-Id: <20200706084846.12748-16-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: CjkCMeredOIajk9zU57GQuLfx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025364; bh=Uo63giiah7dZ8oIiD/RYwktOTa5Tl2/Xvl+q57Ru0lQ=; h=Cc:Date:From:Reply-To:Subject:To; b=M7dIKkJJkl7mfdSYzMDqMJ20QUkJtWRS3Au9pgZLOFTdKdLSovpiRb00PgF3j2/YZXE iUyOtcUrzP8KsAyeMOW++Ul+luLMGsQpUVv3hWizhNbP7PuYiEohT+HdeJ3lrb8Ybi8+i i/+w3+HT1QvtAMg3ArpdbQwaq6+gIG2e/hc= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Eric Dong Cc: Ray Ni Cc: Laszlo Ersek Signed-off-by: Shenglei Zhang Acked-by: Ray Ni Reviewed-by: Eric Dong Acked-by: Laszlo Ersek --- UefiCpuPkg/UefiCpuPkg.ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.ci.yaml b/UefiCpuPkg/UefiCpuPkg.ci.yaml index 99e460a8b090..0e216344cd53 100644 --- a/UefiCpuPkg/UefiCpuPkg.ci.yaml +++ b/UefiCpuPkg/UefiCpuPkg.ci.yaml @@ -2,9 +2,20 @@ # CI configuration for UefiCpuPkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, "CompilerPlugin": { "DscPath": "UefiCpuPkg.dsc" }, --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62086): https://edk2.groups.io/g/devel/message/62086 Mute This Topic: https://groups.io/mt/75329207/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 3 11:02:45 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+62087+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62087+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1594025368; cv=none; d=zohomail.com; s=zohoarc; b=NnMBApmuM8BIBS2ks1VLBR6Sm42UfBbf1XOVZXVS7yqutZUIwuulRovx5Ggv1AxmguF15TtQH9LRDG80jheUJB70RCiWxT/uEcRjyqzQy2bQn6knmQ66hZ9enR0foMD0lyJDFJAele/VeiX8be4dyxOEFEsmkOeRTQ3nLwbUf0k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594025368; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=svTNRY+Bg8aJ4/FDV7ykLjCrH634dBd6vDh6aR3DIKU=; b=SqfGxp2ad8LkniaoesyzMWUKxbRShr0/5+GswTNUkinf/RhHJExLsZyx1iMsEmpXi+XZg2F5WeFhPx1+1Y1/p9388rvBQs6tGb+8XXzQI+evFeCC1+B2lElcDEwPooPvoE3LLzD3TB6iX38FG6n7p+VkAbK4gIoLeci66JSOqOA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+62087+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1594025368460440.1190953899019; Mon, 6 Jul 2020 01:49:28 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id qJ3XYY1788612xk0tL6Lg7yU; Mon, 06 Jul 2020 01:49:26 -0700 X-Received: from mga02.intel.com (mga02.intel.com []) by mx.groups.io with SMTP id smtpd.web10.53771.1594025331674329881 for ; Mon, 06 Jul 2020 01:49:24 -0700 IronPort-SDR: pkh2/dEZtYNnVz7etUohJPtLByin4LfBUh5dL9/J32cbDIvenzotI6YMzvQh/sfewgzEf40DXu QRjZKlGnHctQ== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="135630885" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="135630885" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 01:49:24 -0700 IronPort-SDR: n1wNCftpEd0q40H/6kpEOxjYmyHA6U8EmJCNk+30r4sTRGnrQ88pK5EeF9gjGZz9B0aB68U0ap Li5b5CcCeOpw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="282972650" X-Received: from shenglei-dev.ccr.corp.intel.com ([10.239.158.52]) by orsmga006.jf.intel.com with ESMTP; 06 Jul 2020 01:49:22 -0700 From: "Zhang, Shenglei" To: devel@edk2.groups.io Cc: Michael D Kinney , Sean Brogan , Bret Barkelew Subject: [edk2-devel] [PATCH v7 16/16] UnitTestFrameworkPkg: Add configuration for Ecc check in yaml file Date: Mon, 6 Jul 2020 16:48:46 +0800 Message-Id: <20200706084846.12748-17-shenglei.zhang@intel.com> In-Reply-To: <20200706084846.12748-1-shenglei.zhang@intel.com> References: <20200706084846.12748-1-shenglei.zhang@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,shenglei.zhang@intel.com X-Gm-Message-State: lnNU35dFzXbUg2nAWpDscZ1rx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1594025366; bh=1+JLklT6uC6TtX6mAAlMAsGpoUARX+II5tWrrr3C53k=; h=Cc:Date:From:Reply-To:Subject:To; b=NAZtRk57q+eEHs7U1Evyr+FrCB0+w1DvlPMKPgd4Y8nvv8o8JonN12ZHADc6YZLfvdE lj1VlvJOrJzHkodFa6Wn+yt3bSREQJD0G+8yE6tT+YhkcSFLjUlicEDzGUzqe4WDOAfNa 2lo6IWw0ZJh3EVzaar+UFKwKWf3kx700HB8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add configuration ExceptionList and IgnoreFiles for package config files. So users can rely on this to ignore some Ecc issues. Cc: Michael D Kinney Cc: Sean Brogan Cc: Bret Barkelew Signed-off-by: Shenglei Zhang Acked-by: Ray Ni --- UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml b/UnitTestFr= ameworkPkg/UnitTestFrameworkPkg.ci.yaml index 51e172537f8a..7e9fc5d005fb 100644 --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkg.ci.yaml @@ -5,6 +5,16 @@ # SPDX-License-Identifier: BSD-2-Clause-Patent ## { + "EccCheck": { + ## Exception sample looks like below: + ## "ExceptionList": [ + ## "", "" + ## ] + "ExceptionList": [ + ], + "IgnoreFiles": [ + ] + }, ## options defined .pytool/Plugin/CompilerPlugin "CompilerPlugin": { "DscPath": "UnitTestFrameworkPkg.dsc" --=20 2.18.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#62087): https://edk2.groups.io/g/devel/message/62087 Mute This Topic: https://groups.io/mt/75329208/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-