test_Ecc_CParser4_CListener (CheckPythonSyntax.Tests.test_Ecc_CParser4_CListener) ... ok
test_Ecc_CParser4_CParser (CheckPythonSyntax.Tests.test_Ecc_CParser4_CParser) ... ok
test_Ecc_CParser4___init__ (CheckPythonSyntax.Tests.test_Ecc_CParser4___init__) ... ok
test_Ecc_Check (CheckPythonSyntax.Tests.test_Ecc_Check) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/Check.py:1115: SyntaxWarning: invalid escape sequence '\X'
Path = Path.upper().replace('\X64', '').replace('\IA32', '').replace('\EBC', '').replace('\IPF', '').replace('\ARM', '')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/Check.py:1115: SyntaxWarning: invalid escape sequence '\I'
Path = Path.upper().replace('\X64', '').replace('\IA32', '').replace('\EBC', '').replace('\IPF', '').replace('\ARM', '')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/Check.py:1115: SyntaxWarning: invalid escape sequence '\E'
Path = Path.upper().replace('\X64', '').replace('\IA32', '').replace('\EBC', '').replace('\IPF', '').replace('\ARM', '')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/Check.py:1115: SyntaxWarning: invalid escape sequence '\I'
Path = Path.upper().replace('\X64', '').replace('\IA32', '').replace('\EBC', '').replace('\IPF', '').replace('\ARM', '')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/Check.py:1115: SyntaxWarning: invalid escape sequence '\A'
Path = Path.upper().replace('\X64', '').replace('\IA32', '').replace('\EBC', '').replace('\IPF', '').replace('\ARM', '')
ok
test_Ecc_CodeFragment (CheckPythonSyntax.Tests.test_Ecc_CodeFragment) ... ok
test_Ecc_CodeFragmentCollector (CheckPythonSyntax.Tests.test_Ecc_CodeFragmentCollector) ... ok
test_Ecc_Configuration (CheckPythonSyntax.Tests.test_Ecc_Configuration) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/Configuration.py:438: SyntaxWarning: invalid escape sequence '\S'
myconfig = Configuration("BaseTools\Source\Python\Ecc\config.ini")
ok
test_Ecc_Database (CheckPythonSyntax.Tests.test_Ecc_Database) ... ok
test_Ecc_EccGlobalData (CheckPythonSyntax.Tests.test_Ecc_EccGlobalData) ... ok
test_Ecc_EccMain (CheckPythonSyntax.Tests.test_Ecc_EccMain) ... ok
test_Ecc_EccToolError (CheckPythonSyntax.Tests.test_Ecc_EccToolError) ... ok
test_Ecc_Exception (CheckPythonSyntax.Tests.test_Ecc_Exception) ... ok
test_Ecc_FileProfile (CheckPythonSyntax.Tests.test_Ecc_FileProfile) ... ok
test_Ecc_MetaDataParser (CheckPythonSyntax.Tests.test_Ecc_MetaDataParser) ... ok
test_Ecc_MetaFileWorkspace_MetaDataTable (CheckPythonSyntax.Tests.test_Ecc_MetaFileWorkspace_MetaDataTable) ... ok
test_Ecc_MetaFileWorkspace_MetaFileParser (CheckPythonSyntax.Tests.test_Ecc_MetaFileWorkspace_MetaFileParser) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py:1844: SyntaxWarning: invalid escape sequence '\s'
PatternDesc = re.compile('##\s*([\x21-\x7E\s]*)', re.S)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py:1845: SyntaxWarning: invalid escape sequence '\s'
PatternPrompt = re.compile('#\s+@Prompt\s+([\x21-\x7E\s]*)', re.S)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py:1850: SyntaxWarning: invalid escape sequence '\s'
PatternValidRangeIn = '(NOT)?\s*(\d+\s*-\s*\d+|0[xX][a-fA-F0-9]+\s*-\s*0[xX][a-fA-F0-9]+|LT\s*\d+|LT\s*0[xX][a-fA-F0-9]+|GT\s*\d+|GT\s*0[xX][a-fA-F0-9]+|LE\s*\d+|LE\s*0[xX][a-fA-F0-9]+|GE\s*\d+|GE\s*0[xX][a-fA-F0-9]+|XOR\s*\d+|XOR\s*0[xX][a-fA-F0-9]+|EQ\s*\d+|EQ\s*0[xX][a-fA-F0-9]+)'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py:1851: SyntaxWarning: invalid escape sequence '\s'
PatternValidRng = re.compile('^' + '(NOT)?\s*' + PatternValidRangeIn + '$')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/MetaFileWorkspace/MetaFileParser.py:2074: SyntaxWarning: invalid escape sequence '\s'
KeyPattern = re.compile('#string\s+%s\s+.*?#language.*?".*?"' % Key, re.S)
ok
test_Ecc_MetaFileWorkspace_MetaFileTable (CheckPythonSyntax.Tests.test_Ecc_MetaFileWorkspace_MetaFileTable) ... ok
test_Ecc_MetaFileWorkspace___init__ (CheckPythonSyntax.Tests.test_Ecc_MetaFileWorkspace___init__) ... ok
test_Ecc_ParserWarning (CheckPythonSyntax.Tests.test_Ecc_ParserWarning) ... ok
test_Ecc_Xml_XmlRoutines (CheckPythonSyntax.Tests.test_Ecc_Xml_XmlRoutines) ... ok
test_Ecc_Xml___init__ (CheckPythonSyntax.Tests.test_Ecc_Xml___init__) ... ok
test_Ecc___init__ (CheckPythonSyntax.Tests.test_Ecc___init__) ... ok
test_Ecc_c (CheckPythonSyntax.Tests.test_Ecc_c) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Ecc/c.py:46: SyntaxWarning: invalid escape sequence '\w'
p = re.compile('[_\w\s]*\([\w\s]*\*+\s*[_\w]+\s*\)\s*\(.*\)', re.DOTALL)
ok
test_Eot_CParser3_CLexer (CheckPythonSyntax.Tests.test_Eot_CParser3_CLexer) ... ok
test_Eot_CParser3_CParser (CheckPythonSyntax.Tests.test_Eot_CParser3_CParser) ... ok
test_Eot_CParser3___init__ (CheckPythonSyntax.Tests.test_Eot_CParser3___init__) ... ok
test_Eot_CParser4_CLexer (CheckPythonSyntax.Tests.test_Eot_CParser4_CLexer) ... ok
test_Eot_CParser4_CListener (CheckPythonSyntax.Tests.test_Eot_CParser4_CListener) ... ok
test_Eot_CParser4_CParser (CheckPythonSyntax.Tests.test_Eot_CParser4_CParser) ... ok
test_Eot_CParser4___init__ (CheckPythonSyntax.Tests.test_Eot_CParser4___init__) ... ok
test_Eot_CodeFragment (CheckPythonSyntax.Tests.test_Eot_CodeFragment) ... ok
test_Eot_CodeFragmentCollector (CheckPythonSyntax.Tests.test_Eot_CodeFragmentCollector) ... ok
test_Eot_Database (CheckPythonSyntax.Tests.test_Eot_Database) ... ok
test_Eot_EotGlobalData (CheckPythonSyntax.Tests.test_Eot_EotGlobalData) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Eot/EotGlobalData.py:14: SyntaxWarning: invalid escape sequence '\S'
gSHELL_INF = 'Application\Shell'
ok
test_Eot_EotMain (CheckPythonSyntax.Tests.test_Eot_EotMain) ... ok
test_Eot_EotToolError (CheckPythonSyntax.Tests.test_Eot_EotToolError) ... ok
test_Eot_FileProfile (CheckPythonSyntax.Tests.test_Eot_FileProfile) ... ok
test_Eot_Identification (CheckPythonSyntax.Tests.test_Eot_Identification) ... ok
test_Eot_InfParserLite (CheckPythonSyntax.Tests.test_Eot_InfParserLite) ... ok
test_Eot_Parser (CheckPythonSyntax.Tests.test_Eot_Parser) ... ok
test_Eot_ParserWarning (CheckPythonSyntax.Tests.test_Eot_ParserWarning) ... ok
test_Eot_Report (CheckPythonSyntax.Tests.test_Eot_Report) ... ok
test_Eot___init__ (CheckPythonSyntax.Tests.test_Eot___init__) ... ok
test_Eot_c (CheckPythonSyntax.Tests.test_Eot_c) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Eot/c.py:57: SyntaxWarning: invalid escape sequence '\w'
p = re.compile('[_\w\s]*\([\w\s]*\*+\s*[_\w]+\s*\)\s*\(.*\)', re.DOTALL)
ok
test_FMMT_FMMT (CheckPythonSyntax.Tests.test_FMMT_FMMT) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/FMMT/FMMT.py:40: SyntaxWarning: invalid escape sequence '\C'
help="Provide the target FmmtConf.ini file path: '-c C:\Code\FmmtConf.ini' \
ok
test_FMMT___init__ (CheckPythonSyntax.Tests.test_FMMT___init__) ... ok
test_FMMT_core_BinaryFactoryProduct (CheckPythonSyntax.Tests.test_FMMT_core_BinaryFactoryProduct) ... ok
test_FMMT_core_BiosTree (CheckPythonSyntax.Tests.test_FMMT_core_BiosTree) ... ok
test_FMMT_core_BiosTreeNode (CheckPythonSyntax.Tests.test_FMMT_core_BiosTreeNode) ... ok
test_FMMT_core_FMMTOperation (CheckPythonSyntax.Tests.test_FMMT_core_FMMTOperation) ... ok
test_FMMT_core_FMMTParser (CheckPythonSyntax.Tests.test_FMMT_core_FMMTParser) ... ok
test_FMMT_core_FvHandler (CheckPythonSyntax.Tests.test_FMMT_core_FvHandler) ... ok
test_FMMT_core_GuidTools (CheckPythonSyntax.Tests.test_FMMT_core_GuidTools) ... ok
test_FMMT_utils_FmmtLogger (CheckPythonSyntax.Tests.test_FMMT_utils_FmmtLogger) ... ok
test_FMMT_utils_FvLayoutPrint (CheckPythonSyntax.Tests.test_FMMT_utils_FvLayoutPrint) ... ok
test_FirmwareStorageFormat_Common (CheckPythonSyntax.Tests.test_FirmwareStorageFormat_Common) ... ok
test_FirmwareStorageFormat_FfsFileHeader (CheckPythonSyntax.Tests.test_FirmwareStorageFormat_FfsFileHeader) ... ok
test_FirmwareStorageFormat_FvHeader (CheckPythonSyntax.Tests.test_FirmwareStorageFormat_FvHeader) ... ok
test_FirmwareStorageFormat_SectionHeader (CheckPythonSyntax.Tests.test_FirmwareStorageFormat_SectionHeader) ... ok
test_FirmwareStorageFormat___init__ (CheckPythonSyntax.Tests.test_FirmwareStorageFormat___init__) ... ok
test_GenFds_AprioriSection (CheckPythonSyntax.Tests.test_GenFds_AprioriSection) ... ok
test_GenFds_Capsule (CheckPythonSyntax.Tests.test_GenFds_Capsule) ... ok
test_GenFds_CapsuleData (CheckPythonSyntax.Tests.test_GenFds_CapsuleData) ... ok
test_GenFds_CompressSection (CheckPythonSyntax.Tests.test_GenFds_CompressSection) ... ok
test_GenFds_DataSection (CheckPythonSyntax.Tests.test_GenFds_DataSection) ... ok
test_GenFds_DepexSection (CheckPythonSyntax.Tests.test_GenFds_DepexSection) ... ok
test_GenFds_EfiSection (CheckPythonSyntax.Tests.test_GenFds_EfiSection) ... ok
test_GenFds_Fd (CheckPythonSyntax.Tests.test_GenFds_Fd) ... ok
test_GenFds_FdfParser (CheckPythonSyntax.Tests.test_GenFds_FdfParser) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenFds/FdfParser.py:68: SyntaxWarning: invalid escape sequence '\s'
RegionSizePattern = compile("\s*(?P(?:0x|0X)?[a-fA-F0-9]+)\s*\|\s*(?P(?:0x|0X)?[a-fA-F0-9]+)\s*")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenFds/FdfParser.py:69: SyntaxWarning: invalid escape sequence '\s'
RegionSizeGuidPattern = compile("\s*(?P\w+\.\w+[\.\w\[\]]*)\s*\|\s*(?P\w+\.\w+[\.\w\[\]]*)\s*")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenFds/FdfParser.py:70: SyntaxWarning: invalid escape sequence '\s'
RegionOffsetPcdPattern = compile("\s*(?P\w+\.\w+[\.\w\[\]]*)\s*$")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenFds/FdfParser.py:71: SyntaxWarning: invalid escape sequence '\s'
ShortcutPcdPattern = compile("\s*\w+\s*=\s*(?P(?:0x|0X)?[a-fA-F0-9]+)\s*\|\s*(?P\w+\.\w+)\s*")
ok
test_GenFds_Ffs (CheckPythonSyntax.Tests.test_GenFds_Ffs) ... ok
test_GenFds_FfsFileStatement (CheckPythonSyntax.Tests.test_GenFds_FfsFileStatement) ... ok
test_GenFds_FfsInfStatement (CheckPythonSyntax.Tests.test_GenFds_FfsInfStatement) ... ok
test_GenFds_Fv (CheckPythonSyntax.Tests.test_GenFds_Fv) ... ok
test_GenFds_FvImageSection (CheckPythonSyntax.Tests.test_GenFds_FvImageSection) ... ok
test_GenFds_GenFds (CheckPythonSyntax.Tests.test_GenFds_GenFds) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenFds/GenFds.py:736: SyntaxWarning: invalid escape sequence '\S'
ReFileEnds = compile('\S+(.ui)$|\S+(fv.sec.txt)$|\S+(.pe32.txt)$|\S+(.te.txt)$|\S+(.pic.txt)$|\S+(.raw.txt)$|\S+(.ffs.txt)$')
ok
test_GenFds_GenFdsGlobalVariable (CheckPythonSyntax.Tests.test_GenFds_GenFdsGlobalVariable) ... ok
test_GenFds_GuidSection (CheckPythonSyntax.Tests.test_GenFds_GuidSection) ... ok
test_GenFds_OptRomFileStatement (CheckPythonSyntax.Tests.test_GenFds_OptRomFileStatement) ... ok
test_GenFds_OptRomInfStatement (CheckPythonSyntax.Tests.test_GenFds_OptRomInfStatement) ... ok
test_GenFds_OptionRom (CheckPythonSyntax.Tests.test_GenFds_OptionRom) ... ok
test_GenFds_Region (CheckPythonSyntax.Tests.test_GenFds_Region) ... ok
test_GenFds_Rule (CheckPythonSyntax.Tests.test_GenFds_Rule) ... ok
test_GenFds_RuleComplexFile (CheckPythonSyntax.Tests.test_GenFds_RuleComplexFile) ... ok
test_GenFds_RuleSimpleFile (CheckPythonSyntax.Tests.test_GenFds_RuleSimpleFile) ... ok
test_GenFds_Section (CheckPythonSyntax.Tests.test_GenFds_Section) ... ok
test_GenFds_SubTypeGuidSection (CheckPythonSyntax.Tests.test_GenFds_SubTypeGuidSection) ... ok
test_GenFds_UiSection (CheckPythonSyntax.Tests.test_GenFds_UiSection) ... ok
test_GenFds_VerSection (CheckPythonSyntax.Tests.test_GenFds_VerSection) ... ok
test_GenFds___init__ (CheckPythonSyntax.Tests.test_GenFds___init__) ... ok
test_GenPatchPcdTable_GenPatchPcdTable (CheckPythonSyntax.Tests.test_GenPatchPcdTable_GenPatchPcdTable) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py:34: SyntaxWarning: invalid escape sequence '\d'
symRe = re.compile('^([\da-fA-F]+):([\da-fA-F]+) +([\.\-:\\\\\w\?@\$<>]+) +([\da-fA-F]+)', re.UNICODE)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py:52: SyntaxWarning: invalid escape sequence '\s'
if re.match('^\s*Address\s*Size\s*Align\s*Out\s*In\s*Symbol\s*$', firstline):
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py:62: SyntaxWarning: invalid escape sequence '\d'
valuePattern = re.compile('^([\da-fA-FxX]+)([\s\S]*)([_]*_gPcd_BinaryPatch_([\w]+))')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py:67: SyntaxWarning: invalid escape sequence '\s'
if status == 0 and (re.match('^\s*Address\s*Size\s*Align\s*Out\s*In\s*Symbol\s*$', line) \
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py:80: SyntaxWarning: invalid escape sequence '\w'
dataPattern = re.compile('^.data._gPcd_BinaryPatch_([\w_\d]+)$')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py:139: SyntaxWarning: invalid escape sequence '\w'
symPattern = re.compile('^[_]+gPcd_BinaryPatch_([\w]+)')
ok
test_GenPatchPcdTable___init__ (CheckPythonSyntax.Tests.test_GenPatchPcdTable___init__) ... ok
test_PatchPcdValue_PatchPcdValue (CheckPythonSyntax.Tests.test_PatchPcdValue_PatchPcdValue) ... ok
test_PatchPcdValue___init__ (CheckPythonSyntax.Tests.test_PatchPcdValue___init__) ... ok
test_Pkcs7Sign_Pkcs7Sign (CheckPythonSyntax.Tests.test_Pkcs7Sign_Pkcs7Sign) ... ok
test_Rsa2048Sha256Sign_Rsa2048Sha256GenerateKeys (CheckPythonSyntax.Tests.test_Rsa2048Sha256Sign_Rsa2048Sha256GenerateKeys) ... ok
test_Rsa2048Sha256Sign_Rsa2048Sha256Sign (CheckPythonSyntax.Tests.test_Rsa2048Sha256Sign_Rsa2048Sha256Sign) ... ok
test_Split_Split (CheckPythonSyntax.Tests.test_Split_Split) ... ok
test_Split___init__ (CheckPythonSyntax.Tests.test_Split___init__) ... ok
test_Table_Table (CheckPythonSyntax.Tests.test_Table_Table) ... ok
test_Table_TableDataModel (CheckPythonSyntax.Tests.test_Table_TableDataModel) ... ok
test_Table_TableDec (CheckPythonSyntax.Tests.test_Table_TableDec) ... ok
test_Table_TableDsc (CheckPythonSyntax.Tests.test_Table_TableDsc) ... ok
test_Table_TableEotReport (CheckPythonSyntax.Tests.test_Table_TableEotReport) ... ok
test_Table_TableFdf (CheckPythonSyntax.Tests.test_Table_TableFdf) ... ok
test_Table_TableFile (CheckPythonSyntax.Tests.test_Table_TableFile) ... ok
test_Table_TableFunction (CheckPythonSyntax.Tests.test_Table_TableFunction) ... ok
test_Table_TableIdentifier (CheckPythonSyntax.Tests.test_Table_TableIdentifier) ... ok
test_Table_TableInf (CheckPythonSyntax.Tests.test_Table_TableInf) ... ok
test_Table_TablePcd (CheckPythonSyntax.Tests.test_Table_TablePcd) ... ok
test_Table_TableQuery (CheckPythonSyntax.Tests.test_Table_TableQuery) ... ok
test_Table_TableReport (CheckPythonSyntax.Tests.test_Table_TableReport) ... ok
test_Table___init__ (CheckPythonSyntax.Tests.test_Table___init__) ... ok
test_TargetTool_TargetTool (CheckPythonSyntax.Tests.test_TargetTool_TargetTool) ... ok
test_TargetTool___init__ (CheckPythonSyntax.Tests.test_TargetTool___init__) ... ok
test_Trim_Trim (CheckPythonSyntax.Tests.test_Trim_Trim) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Trim/Trim.py:31: SyntaxWarning: invalid escape sequence '\s'
gLineControlDirective = re.compile('^\s*#(?:line)?\s+([0-9]+)\s+"*([^"]*)"')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Trim/Trim.py:33: SyntaxWarning: invalid escape sequence '\s'
gTypedefPattern = re.compile("^\s*typedef\s+struct(\s+\w+)?\s*[{]*$", re.MULTILINE)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Trim/Trim.py:35: SyntaxWarning: invalid escape sequence '\s'
gPragmaPattern = re.compile("^\s*#pragma\s+pack", re.MULTILINE)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Trim/Trim.py:37: SyntaxWarning: invalid escape sequence '\s'
gTypedef_SinglePattern = re.compile("^\s*typedef", re.MULTILINE)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Trim/Trim.py:39: SyntaxWarning: invalid escape sequence '\s'
gTypedef_MulPattern = re.compile("^\s*(typedef)?\s+(struct|union)(\s+\w+)?\s*[{]*$", re.MULTILINE)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Trim/Trim.py:54: SyntaxWarning: invalid escape sequence '\s'
gAslIncludePattern = re.compile("^(\s*)[iI]nclude\s*\(\"?([^\"\(\)]+)\"\)", re.MULTILINE)
ok
test_UPT_BuildVersion (CheckPythonSyntax.Tests.test_UPT_BuildVersion) ... ok
test_UPT_Core_DependencyRules (CheckPythonSyntax.Tests.test_UPT_Core_DependencyRules) ... ok
test_UPT_Core_DistributionPackageClass (CheckPythonSyntax.Tests.test_UPT_Core_DistributionPackageClass) ... ok
test_UPT_Core_FileHook (CheckPythonSyntax.Tests.test_UPT_Core_FileHook) ... ok
test_UPT_Core_IpiDb (CheckPythonSyntax.Tests.test_UPT_Core_IpiDb) ... ok
test_UPT_Core_PackageFile (CheckPythonSyntax.Tests.test_UPT_Core_PackageFile) ... ok
test_UPT_Core___init__ (CheckPythonSyntax.Tests.test_UPT_Core___init__) ... ok
test_UPT_GenMetaFile_GenDecFile (CheckPythonSyntax.Tests.test_UPT_GenMetaFile_GenDecFile) ... ok
test_UPT_GenMetaFile_GenInfFile (CheckPythonSyntax.Tests.test_UPT_GenMetaFile_GenInfFile) ... ok
test_UPT_GenMetaFile_GenMetaFileMisc (CheckPythonSyntax.Tests.test_UPT_GenMetaFile_GenMetaFileMisc) ... ok
test_UPT_GenMetaFile_GenXmlFile (CheckPythonSyntax.Tests.test_UPT_GenMetaFile_GenXmlFile) ... ok
test_UPT_GenMetaFile___init__ (CheckPythonSyntax.Tests.test_UPT_GenMetaFile___init__) ... ok
test_UPT_InstallPkg (CheckPythonSyntax.Tests.test_UPT_InstallPkg) ... ok
test_UPT_InventoryWs (CheckPythonSyntax.Tests.test_UPT_InventoryWs) ... ok
test_UPT_Library_CommentGenerating (CheckPythonSyntax.Tests.test_UPT_Library_CommentGenerating) ... ok
test_UPT_Library_CommentParsing (CheckPythonSyntax.Tests.test_UPT_Library_CommentParsing) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/CommentParsing.py:241: SyntaxWarning: invalid escape sequence '\s'
MACRO_PATTERN = '[\t\s]*\$\([A-Z][_A-Z0-9]*\)'
ok
test_UPT_Library_DataType (CheckPythonSyntax.Tests.test_UPT_Library_DataType) ... ok
test_UPT_Library_ExpressionValidate (CheckPythonSyntax.Tests.test_UPT_Library_ExpressionValidate) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/ExpressionValidate.py:69: SyntaxWarning: invalid escape sequence '\s'
HEX_PATTERN = '[\t\s]*0[xX][a-fA-F0-9]+'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/ExpressionValidate.py:70: SyntaxWarning: invalid escape sequence '\s'
INT_PATTERN = '[\t\s]*[0-9]+'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/ExpressionValidate.py:71: SyntaxWarning: invalid escape sequence '\s'
MACRO_PATTERN = '[\t\s]*\$\(([A-Z][_A-Z0-9]*)\)'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/ExpressionValidate.py:73: SyntaxWarning: invalid escape sequence '\s'
'[\t\s]*[_a-zA-Z][a-zA-Z0-9_]*[\t\s]*\.[\t\s]*[_a-zA-Z][a-zA-Z0-9_]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/ExpressionValidate.py:74: SyntaxWarning: invalid escape sequence '\s'
QUOTED_PATTERN = '[\t\s]*L?"[^"]*"'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/ExpressionValidate.py:75: SyntaxWarning: invalid escape sequence '\s'
BOOL_PATTERN = '[\t\s]*(true|True|TRUE|false|False|FALSE)'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/ExpressionValidate.py:306: SyntaxWarning: invalid escape sequence '\s'
INT_RANGE_PATTERN = '[\t\s]*[0-9]+[\t\s]*-[\t\s]*[0-9]+'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/ExpressionValidate.py:308: SyntaxWarning: invalid escape sequence '\s'
'[\t\s]*0[xX][a-fA-F0-9]+[\t\s]*-[\t\s]*0[xX][a-fA-F0-9]+'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/ExpressionValidate.py:410: SyntaxWarning: invalid escape sequence '\s'
VALID_LIST_PATTERN = '(0[xX][0-9a-fA-F]+|[0-9]+)([\t\s]*,[\t\s]*(0[xX][0-9a-fA-F]+|[0-9]+))*'
ok
test_UPT_Library_GlobalData (CheckPythonSyntax.Tests.test_UPT_Library_GlobalData) ... ok
test_UPT_Library_Misc (CheckPythonSyntax.Tests.test_UPT_Library_Misc) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/Misc.py:72: SyntaxWarning: invalid escape sequence '\s'
RegFormatGuidPattern = re.compile("^\s*([0-9a-fA-F]){8}-"
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/Misc.py:76: SyntaxWarning: invalid escape sequence '\s'
"([0-9a-fA-F]){12}\s*$")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/Misc.py:840: SyntaxWarning: invalid escape sequence '\s'
ReFileGuidPattern = re.compile("^\s*FILE_GUID\s*=.*$")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/Misc.py:841: SyntaxWarning: invalid escape sequence '\s'
ReVerStringPattern = re.compile("^\s*VERSION_STRING\s*=.*$")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/Misc.py:981: SyntaxWarning: invalid escape sequence '\-'
Pattern = '[a-zA-Z0-9_][a-zA-Z0-9_\-\.]*'
ok
test_UPT_Library_ParserValidate (CheckPythonSyntax.Tests.test_UPT_Library_ParserValidate) ... ok
test_UPT_Library_Parsing (CheckPythonSyntax.Tests.test_UPT_Library_Parsing) ... ok
test_UPT_Library_StringUtils (CheckPythonSyntax.Tests.test_UPT_Library_StringUtils) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Library/StringUtils.py:26: SyntaxWarning: invalid escape sequence '\$'
gMACRO_PATTERN = re.compile("\$\(([_A-Z][_A-Z0-9]*)\)", re.UNICODE)
ok
test_UPT_Library_UniClassObject (CheckPythonSyntax.Tests.test_UPT_Library_UniClassObject) ... ok
test_UPT_Library_Xml_XmlRoutines (CheckPythonSyntax.Tests.test_UPT_Library_Xml_XmlRoutines) ... ok
test_UPT_Library_Xml___init__ (CheckPythonSyntax.Tests.test_UPT_Library_Xml___init__) ... ok
test_UPT_Library___init__ (CheckPythonSyntax.Tests.test_UPT_Library___init__) ... ok
test_UPT_Logger_Log (CheckPythonSyntax.Tests.test_UPT_Logger_Log) ... ok
test_UPT_Logger_StringTable (CheckPythonSyntax.Tests.test_UPT_Logger_StringTable) ... ok
test_UPT_Logger_ToolError (CheckPythonSyntax.Tests.test_UPT_Logger_ToolError) ... ok
test_UPT_Logger___init__ (CheckPythonSyntax.Tests.test_UPT_Logger___init__) ... ok
test_UPT_MkPkg (CheckPythonSyntax.Tests.test_UPT_MkPkg) ... ok
test_UPT_Object_POM_CommonObject (CheckPythonSyntax.Tests.test_UPT_Object_POM_CommonObject) ... ok
test_UPT_Object_POM_ModuleObject (CheckPythonSyntax.Tests.test_UPT_Object_POM_ModuleObject) ... ok
test_UPT_Object_POM_PackageObject (CheckPythonSyntax.Tests.test_UPT_Object_POM_PackageObject) ... ok
test_UPT_Object_POM___init__ (CheckPythonSyntax.Tests.test_UPT_Object_POM___init__) ... ok
test_UPT_Object_Parser_DecObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_DecObject) ... ok
test_UPT_Object_Parser_InfBinaryObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfBinaryObject) ... ok
test_UPT_Object_Parser_InfBuildOptionObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfBuildOptionObject) ... ok
test_UPT_Object_Parser_InfCommonObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfCommonObject) ... ok
test_UPT_Object_Parser_InfDefineCommonObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfDefineCommonObject) ... ok
test_UPT_Object_Parser_InfDefineObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfDefineObject) ... ok
test_UPT_Object_Parser_InfDepexObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfDepexObject) ... ok
test_UPT_Object_Parser_InfGuidObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfGuidObject) ... ok
test_UPT_Object_Parser_InfHeaderObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfHeaderObject) ... ok
test_UPT_Object_Parser_InfLibraryClassesObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfLibraryClassesObject) ... ok
test_UPT_Object_Parser_InfMisc (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfMisc) ... ok
test_UPT_Object_Parser_InfPackagesObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfPackagesObject) ... ok
test_UPT_Object_Parser_InfPcdObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfPcdObject) ... ok
test_UPT_Object_Parser_InfPpiObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfPpiObject) ... ok
test_UPT_Object_Parser_InfProtocolObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfProtocolObject) ... ok
test_UPT_Object_Parser_InfSoucesObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfSoucesObject) ... ok
test_UPT_Object_Parser_InfUserExtensionObject (CheckPythonSyntax.Tests.test_UPT_Object_Parser_InfUserExtensionObject) ... ok
test_UPT_Object_Parser___init__ (CheckPythonSyntax.Tests.test_UPT_Object_Parser___init__) ... ok
test_UPT_Object___init__ (CheckPythonSyntax.Tests.test_UPT_Object___init__) ... ok
test_UPT_Parser_DecParser (CheckPythonSyntax.Tests.test_UPT_Parser_DecParser) ... ok
test_UPT_Parser_DecParserMisc (CheckPythonSyntax.Tests.test_UPT_Parser_DecParserMisc) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/DecParserMisc.py:28: SyntaxWarning: invalid escape sequence '\.'
VERSION_PATTERN = '[0-9]+(\.[0-9]+)?'
ok
test_UPT_Parser_InfAsBuiltProcess (CheckPythonSyntax.Tests.test_UPT_Parser_InfAsBuiltProcess) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py:56: SyntaxWarning: invalid escape sequence '\s'
RegFormatGuidPattern = re.compile("\s*([0-9a-fA-F]){8}-"
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py:60: SyntaxWarning: invalid escape sequence '\s'
"([0-9a-fA-F]){12}\s*")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py:61: SyntaxWarning: invalid escape sequence '\s'
VersionPattern = re.compile('[\t\s]*\d+(\.\d+)?[\t\s]*')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py:78: SyntaxWarning: invalid escape sequence '\s'
ReFindFileGuidPattern = re.compile("^\s*FILE_GUID\s*=.*$")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py:79: SyntaxWarning: invalid escape sequence '\s'
ReFindVerStringPattern = re.compile("^\s*VERSION_STRING\s*=.*$")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py:109: SyntaxWarning: invalid escape sequence '\s'
RePackageHeader = re.compile('^\s*\[Packages.*\].*$')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py:110: SyntaxWarning: invalid escape sequence '\s'
ReDefineHeader = re.compile('^\s*\[Defines].*$')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py:258: SyntaxWarning: invalid escape sequence '\s'
ReFindFileGuidPattern = re.compile("^\s*FILE_GUID\s*=.*$")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfAsBuiltProcess.py:259: SyntaxWarning: invalid escape sequence '\s'
ReFindVerStringPattern = re.compile("^\s*VERSION_STRING\s*=.*$")
ok
test_UPT_Parser_InfBinarySectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfBinarySectionParser) ... ok
test_UPT_Parser_InfBuildOptionSectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfBuildOptionSectionParser) ... ok
test_UPT_Parser_InfDefineSectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfDefineSectionParser) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfDefineSectionParser.py:43: SyntaxWarning: invalid escape sequence '\s'
ArchList = re.split('\s+', TempArch)
ok
test_UPT_Parser_InfDepexSectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfDepexSectionParser) ... ok
test_UPT_Parser_InfGuidPpiProtocolSectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfGuidPpiProtocolSectionParser) ... ok
test_UPT_Parser_InfLibrarySectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfLibrarySectionParser) ... ok
test_UPT_Parser_InfPackageSectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfPackageSectionParser) ... ok
test_UPT_Parser_InfParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfParser) ... ok
test_UPT_Parser_InfParserMisc (CheckPythonSyntax.Tests.test_UPT_Parser_InfParserMisc) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfParserMisc.py:112: SyntaxWarning: invalid escape sequence '\$'
gQuotedMacro = re.compile(".*\".*\$\(%s\).*\".*"%(Macro))
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfParserMisc.py:133: SyntaxWarning: invalid escape sequence '\s'
ReIsSourcesSection = re.compile("^\s*\[Sources.*\]\s.*$", re.IGNORECASE)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfParserMisc.py:134: SyntaxWarning: invalid escape sequence '\s'
ReIsBinarySection = re.compile("^\s*\[Binaries.*\]\s.*$", re.IGNORECASE)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfParserMisc.py:158: SyntaxWarning: invalid escape sequence '\s'
ReIsLibInstance = re.compile("^\s*##\s*@LIB_INSTANCES\s*$")
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Parser/InfParserMisc.py:174: SyntaxWarning: invalid escape sequence '\s'
ReIsAsBuildInstance = re.compile("^\s*##\s*@AsBuilt\s*$")
ok
test_UPT_Parser_InfPcdSectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfPcdSectionParser) ... ok
test_UPT_Parser_InfSectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfSectionParser) ... ok
test_UPT_Parser_InfSourceSectionParser (CheckPythonSyntax.Tests.test_UPT_Parser_InfSourceSectionParser) ... ok
test_UPT_Parser___init__ (CheckPythonSyntax.Tests.test_UPT_Parser___init__) ... ok
test_UPT_PomAdapter_DecPomAlignment (CheckPythonSyntax.Tests.test_UPT_PomAdapter_DecPomAlignment) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py:750: SyntaxWarning: invalid escape sequence '\s'
NOTNOT_Pattern = '[\t\s]*NOT[\t\s]+NOT[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py:751: SyntaxWarning: invalid escape sequence '\s'
NOTGE_Pattern = '[\t\s]*NOT[\t\s]+GE[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py:752: SyntaxWarning: invalid escape sequence '\s'
NOTLE_Pattern = '[\t\s]*NOT[\t\s]+LE[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py:753: SyntaxWarning: invalid escape sequence '\s'
NOTGT_Pattern = '[\t\s]*NOT[\t\s]+GT[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py:754: SyntaxWarning: invalid escape sequence '\s'
NOTLT_Pattern = '[\t\s]*NOT[\t\s]+LT[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py:755: SyntaxWarning: invalid escape sequence '\s'
NOTEQ_Pattern = '[\t\s]*NOT[\t\s]+EQ[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py:788: SyntaxWarning: invalid escape sequence '\.'
Pattern = '[a-zA-Z0-9]{1,}\.[a-zA-Z0-9]{1,}'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py:817: SyntaxWarning: invalid escape sequence '\s'
QUOTED_PATTERN = '[\t\s]*L?"[^"]*"'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/PomAdapter/DecPomAlignment.py:850: SyntaxWarning: invalid escape sequence '\s'
QUOTED_PATTERN = '[\t\s]*L?"[^"]*"'
ok
test_UPT_PomAdapter_InfPomAlignment (CheckPythonSyntax.Tests.test_UPT_PomAdapter_InfPomAlignment) ... ok
test_UPT_PomAdapter_InfPomAlignmentMisc (CheckPythonSyntax.Tests.test_UPT_PomAdapter_InfPomAlignmentMisc) ... ok
test_UPT_PomAdapter___init__ (CheckPythonSyntax.Tests.test_UPT_PomAdapter___init__) ... ok
test_UPT_ReplacePkg (CheckPythonSyntax.Tests.test_UPT_ReplacePkg) ... ok
test_UPT_RmPkg (CheckPythonSyntax.Tests.test_UPT_RmPkg) ... ok
test_UPT_TestInstall (CheckPythonSyntax.Tests.test_UPT_TestInstall) ... ok
test_UPT_UPT (CheckPythonSyntax.Tests.test_UPT_UPT) ... ok
test_UPT_UnitTest_CommentGeneratingUnitTest (CheckPythonSyntax.Tests.test_UPT_UnitTest_CommentGeneratingUnitTest) ... ok
test_UPT_UnitTest_CommentParsingUnitTest (CheckPythonSyntax.Tests.test_UPT_UnitTest_CommentParsingUnitTest) ... ok
test_UPT_UnitTest_DecParserTest (CheckPythonSyntax.Tests.test_UPT_UnitTest_DecParserTest) ... ok
test_UPT_UnitTest_DecParserUnitTest (CheckPythonSyntax.Tests.test_UPT_UnitTest_DecParserUnitTest) ... ok
test_UPT_UnitTest_InfBinarySectionTest (CheckPythonSyntax.Tests.test_UPT_UnitTest_InfBinarySectionTest) ... ok
test_UPT_Xml_CommonXml (CheckPythonSyntax.Tests.test_UPT_Xml_CommonXml) ... ok
test_UPT_Xml_GuidProtocolPpiXml (CheckPythonSyntax.Tests.test_UPT_Xml_GuidProtocolPpiXml) ... ok
test_UPT_Xml_IniToXml (CheckPythonSyntax.Tests.test_UPT_Xml_IniToXml) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/IniToXml.py:203: SyntaxWarning: invalid escape sequence '\.'
'Version' : ('[0-9]+(\.[0-9]+)?', ST.ERR_VERSION_VALUE % \
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/IniToXml.py:205: SyntaxWarning: invalid escape sequence '\.'
'XmlSpecification' : ('1\.1', ST.ERR_VERSION_XMLSPEC % Value)
ok
test_UPT_Xml_ModuleSurfaceAreaXml (CheckPythonSyntax.Tests.test_UPT_Xml_ModuleSurfaceAreaXml) ... ok
test_UPT_Xml_PackageSurfaceAreaXml (CheckPythonSyntax.Tests.test_UPT_Xml_PackageSurfaceAreaXml) ... ok
test_UPT_Xml_PcdXml (CheckPythonSyntax.Tests.test_UPT_Xml_PcdXml) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:103: SyntaxWarning: invalid escape sequence '\s'
INT_RANGE_PATTERN1 = '[\t\s]*[0-9]+[\t\s]*-[\t\s]*[0-9]+'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:104: SyntaxWarning: invalid escape sequence '\s'
INT_RANGE_PATTERN2 = '[\t\s]*(LT|GT|LE|GE|XOR|EQ)[\t\s]+\d+[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:106: SyntaxWarning: invalid escape sequence '\s'
'[\t\s]*0[xX][a-fA-F0-9]+[\t\s]*-[\t\s]*0[xX][a-fA-F0-9]+'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:107: SyntaxWarning: invalid escape sequence '\s'
HEX_RANGE_PATTERN2 = '[\t\s]*(LT|GT|LE|GE|XOR|EQ)[\t\s]+0[xX][a-fA-F0-9]+[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:161: SyntaxWarning: invalid escape sequence '\s'
'[\t\s]*[_a-zA-Z][a-zA-Z0-9_]*[\t\s]*\.[\t\s]*[_a-zA-Z][a-zA-Z0-9_]*[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:163: SyntaxWarning: invalid escape sequence '\s'
'[\t\s]*\([\t\s]*'+PCD_PATTERN+'[\t\s]+GE[\t\s]+\d+[\t\s]*\)[\t\s]+AND[\t\s]+\([\t\s]*'+\
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:163: SyntaxWarning: invalid escape sequence '\s'
'[\t\s]*\([\t\s]*'+PCD_PATTERN+'[\t\s]+GE[\t\s]+\d+[\t\s]*\)[\t\s]+AND[\t\s]+\([\t\s]*'+\
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:164: SyntaxWarning: invalid escape sequence '\s'
PCD_PATTERN+'[\t\s]+LE[\t\s]+\d+[\t\s]*\)'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:166: SyntaxWarning: invalid escape sequence '\s'
IntPattern2 = '[\t\s]*'+PCD_PATTERN+'[\t\s]+(LT|GT|LE|GE|XOR|EQ)[\t\s]+\d+[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:166: SyntaxWarning: invalid escape sequence '\s'
IntPattern2 = '[\t\s]*'+PCD_PATTERN+'[\t\s]+(LT|GT|LE|GE|XOR|EQ)[\t\s]+\d+[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:169: SyntaxWarning: invalid escape sequence '\s'
'[\t\s]*\([\t\s]*'+PCD_PATTERN+'[\t\s]+GE[\t\s]+0[xX][0-9a-fA-F]+[\t\s]*\)[\t\s]+AND[\t\s]+\([\t\s]*'+\
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:169: SyntaxWarning: invalid escape sequence '\s'
'[\t\s]*\([\t\s]*'+PCD_PATTERN+'[\t\s]+GE[\t\s]+0[xX][0-9a-fA-F]+[\t\s]*\)[\t\s]+AND[\t\s]+\([\t\s]*'+\
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:170: SyntaxWarning: invalid escape sequence '\s'
PCD_PATTERN+'[\t\s]+LE[\t\s]+0[xX][0-9a-fA-F]+[\t\s]*\)'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:172: SyntaxWarning: invalid escape sequence '\s'
HexPattern2 = '[\t\s]*'+PCD_PATTERN+'[\t\s]+(LT|GT|LE|GE|XOR|EQ)[\t\s]+0[xX][0-9a-zA-Z]+[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:172: SyntaxWarning: invalid escape sequence '\s'
HexPattern2 = '[\t\s]*'+PCD_PATTERN+'[\t\s]+(LT|GT|LE|GE|XOR|EQ)[\t\s]+0[xX][0-9a-zA-Z]+[\t\s]*'
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:183: SyntaxWarning: invalid escape sequence '\s'
RangeItemList = re.compile('[\t\s]*0[xX][0-9a-fA-F]+[\t\s]*').findall(HexMatchedItem)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/PcdXml.py:207: SyntaxWarning: invalid escape sequence '\s'
RangeItemList = re.compile('[\t\s]*\d+[\t\s]*').findall(MatchedItem)
ok
test_UPT_Xml_XmlParser (CheckPythonSyntax.Tests.test_UPT_Xml_XmlParser) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/XmlParser.py:284: SyntaxWarning: invalid escape sequence '\s'
'[\s\r\n]*"', '', XmlContent)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/XmlParser.py:287: SyntaxWarning: invalid escape sequence '\s'
'[\s\r\n]*"', '', XmlContent)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/XmlParser.py:293: SyntaxWarning: invalid escape sequence '\s'
'[\s\r\n]*', '', XmlContent)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/XmlParser.py:300: SyntaxWarning: invalid escape sequence '\s'
'common[\s\r\n]*[\s\r\n]*', '', XmlContent)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/XmlParser.py:307: SyntaxWarning: invalid escape sequence '\s'
'[\s\r\n]*"', '', XmlContent)
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/UPT/Xml/XmlParser.py:310: SyntaxWarning: invalid escape sequence '\s'
'[\s\r\n]*"', '', XmlContent)
ok
test_UPT_Xml_XmlParserMisc (CheckPythonSyntax.Tests.test_UPT_Xml_XmlParserMisc) ... ok
test_UPT_Xml___init__ (CheckPythonSyntax.Tests.test_UPT_Xml___init__) ... ok
test_Workspace_BuildClassObject (CheckPythonSyntax.Tests.test_Workspace_BuildClassObject) ... ok
test_Workspace_DecBuildData (CheckPythonSyntax.Tests.test_Workspace_DecBuildData) ... ok
test_Workspace_DscBuildData (CheckPythonSyntax.Tests.test_Workspace_DscBuildData) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Workspace/DscBuildData.py:93: SyntaxWarning: invalid escape sequence '\S'
PcdMakefileEnd = '''
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Workspace/DscBuildData.py:113: SyntaxWarning: invalid escape sequence '\d'
Pattern = re.compile('^[1-9]\d*|0$')
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Workspace/DscBuildData.py:2843: SyntaxWarning: invalid escape sequence '\%'
MakeApp = MakeApp + 'APPFILE = %s\%s.exe\n' % (self.OutputPath, PcdValueInitName) + 'APPNAME = %s\n' % (PcdValueInitName) + 'OBJECTS = %s\%s.obj %s.obj\n' % (self.OutputPath, PcdValueInitName, os.path.join(self.OutputPath, PcdValueCommonName)) + 'INC = '
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Workspace/DscBuildData.py:2843: SyntaxWarning: invalid escape sequence '\%'
MakeApp = MakeApp + 'APPFILE = %s\%s.exe\n' % (self.OutputPath, PcdValueInitName) + 'APPNAME = %s\n' % (PcdValueInitName) + 'OBJECTS = %s\%s.obj %s.obj\n' % (self.OutputPath, PcdValueInitName, os.path.join(self.OutputPath, PcdValueCommonName)) + 'INC = '
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Workspace/DscBuildData.py:2952: SyntaxWarning: invalid escape sequence '\C'
PcdValueCommonPath = os.path.normpath(mws.join(GlobalData.gGlobalDefines["EDK_TOOLS_PATH"], "Source\C\Common\PcdValueCommon.c"))
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Workspace/DscBuildData.py:2953: SyntaxWarning: invalid escape sequence '\P'
MakeApp = MakeApp + '%s\PcdValueCommon.c : %s\n' % (self.OutputPath, PcdValueCommonPath)
ok
test_Workspace_InfBuildData (CheckPythonSyntax.Tests.test_Workspace_InfBuildData) ... ok
test_Workspace_MetaDataTable (CheckPythonSyntax.Tests.test_Workspace_MetaDataTable) ... ok
test_Workspace_MetaFileCommentParser (CheckPythonSyntax.Tests.test_Workspace_MetaFileCommentParser) ... ok
test_Workspace_MetaFileParser (CheckPythonSyntax.Tests.test_Workspace_MetaFileParser) ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Source/Python/Workspace/MetaFileParser.py:1900: SyntaxWarning: invalid escape sequence '\s'
Line = re.sub(',[\s]*', TAB_COMMA_SPLIT, self._CurrentLine)
ok
test_Workspace_MetaFileTable (CheckPythonSyntax.Tests.test_Workspace_MetaFileTable) ... ok
test_Workspace_WorkspaceCommon (CheckPythonSyntax.Tests.test_Workspace_WorkspaceCommon) ... ok
test_Workspace_WorkspaceDatabase (CheckPythonSyntax.Tests.test_Workspace_WorkspaceDatabase) ... ok
test_Workspace___init__ (CheckPythonSyntax.Tests.test_Workspace___init__) ... ok
test_build_BuildReport (CheckPythonSyntax.Tests.test_build_BuildReport) ... ok
test_build___init__ (CheckPythonSyntax.Tests.test_build___init__) ... ok
test_build_build (CheckPythonSyntax.Tests.test_build_build) ... ok
test_build_buildoptions (CheckPythonSyntax.Tests.test_build_buildoptions) ... ok
test_sitecustomize (CheckPythonSyntax.Tests.test_sitecustomize) ... ok
test_tests_Split_test_split (CheckPythonSyntax.Tests.test_tests_Split_test_split) ... ok
test32bitUnicodeCharInUtf8Comment (CheckUnicodeSourceFiles.Tests.test32bitUnicodeCharInUtf8Comment) ... ok
test32bitUnicodeCharInUtf8File (CheckUnicodeSourceFiles.Tests.test32bitUnicodeCharInUtf8File) ... ok
testSupplementaryPlaneUnicodeCharInUtf16File (CheckUnicodeSourceFiles.Tests.testSupplementaryPlaneUnicodeCharInUtf16File) ... ok
testSurrogatePairUnicodeCharInUtf16File (CheckUnicodeSourceFiles.Tests.testSurrogatePairUnicodeCharInUtf16File) ... ok
testSurrogatePairUnicodeCharInUtf8File (CheckUnicodeSourceFiles.Tests.testSurrogatePairUnicodeCharInUtf8File) ... ok
testSurrogatePairUnicodeCharInUtf8FileWithBom (CheckUnicodeSourceFiles.Tests.testSurrogatePairUnicodeCharInUtf8FileWithBom) ... ok
testUtf16InUniFile (CheckUnicodeSourceFiles.Tests.testUtf16InUniFile) ... ok
testValidUtf8File (CheckUnicodeSourceFiles.Tests.testValidUtf8File) ... ok
testValidUtf8FileWithBom (CheckUnicodeSourceFiles.Tests.testValidUtf8FileWithBom) ... ok
----------------------------------------------------------------------
Ran 302 tests in 2.704s
OK
make[2]: Leaving directory '/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools/Tests'
make[1]: Leaving directory '/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools'
Build environment: Linux-6.5.0-asahi-15-1-ARCH-aarch64-with-glibc2.35
Build start time: 08:36:18, Feb.23 2024
WORKSPACE = /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308
PACKAGES_PATH = /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308:/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Build/Buildroot:/home/autobuild/autobuild/instance-14/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/share/edk2-platforms
EDK_TOOLS_PATH = /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/BaseTools
CONF_PATH = /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Conf
PYTHON_COMMAND = python3
Architecture(s) = X64
Build target = RELEASE
Toolchain = GCC5
Active Platform = /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/OvmfPkg/OvmfPkgX64.dsc
Processing meta-data ....... done!
Building ... /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
make[1]: Entering directory '/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Build/OvmfX64/RELEASE_GCC5/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint'
"gcc" -MMD -MF /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Build/OvmfX64/RELEASE_GCC5/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint/OUTPUT/DriverEntryPoint.obj.deps -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common -ffunction-sections -fdata-sections -DSTRING_ARRAY_NAME=UefiDriverEntryPointStrings -m64 -fno-stack-protector "-DEFIAPI=__attribute__((ms_abi))" -maccumulate-outgoing-args -mno-red-zone -Wno-address -mcmodel=small -fpie -fno-asynchronous-unwind-tables -Wno-address -fno-omit-frame-pointer -flto -DUSING_LTO -Wno-unused-but-set-variable -Wno-unused-const-variable -DMDEPKG_NDEBUG -mno-mmx -mno-sse -D DISABLE_NEW_DEPRECATED_INTERFACES -D TDX_GUEST_SUPPORTED -D ENABLE_MD5_DEPRECATED_INTERFACES -c -o /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Build/OvmfX64/RELEASE_GCC5/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint/OUTPUT/./DriverEntryPoint.obj -I/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg/Library/UefiDriverEntryPoint -I/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Build/OvmfX64/RELEASE_GCC5/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint/DEBUG -I/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg -I/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg/Include -I/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg/Test/UnitTest/Include -I/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg/Test/Mock/Include -I/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg/Library/MipiSysTLib/mipisyst/library/include -I/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg/Include/X64 /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c
gcc: error: unrecognized command-line option '-m64'
gcc: error: unrecognized command-line option '-maccumulate-outgoing-args'
gcc: error: unrecognized command-line option '-mno-red-zone'
gcc: error: unrecognized command-line option '-mno-mmx'
gcc: error: unrecognized command-line option '-mno-sse'; did you mean '-fno-dse'?
make[1]: *** [GNUmakefile:288: /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Build/OvmfX64/RELEASE_GCC5/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint/OUTPUT/DriverEntryPoint.obj] Error 1
make[1]: Leaving directory '/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Build/OvmfX64/RELEASE_GCC5/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint'
build.py...
: error 7000: Failed to execute command
make tbuild [/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Build/OvmfX64/RELEASE_GCC5/X64/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint]
build.py...
: error 7000: Failed to execute command
make tbuild [/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/Build/OvmfX64/RELEASE_GCC5/X64/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib]
build.py...
: error F002: Failed to build module
/home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64, GCC5, RELEASE]
- Failed -
Build end time: 08:36:26, Feb.23 2024
Build total time: 00:00:07
make: *** [package/pkg-generic.mk:283: /home/autobuild/autobuild/instance-14/output-1/build/edk2-edk2-stable202308/.stamp_built] Error 1
make: Leaving directory '/home/autobuild/autobuild/instance-14/buildroot'