reportname.html 596 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8"/>
  5. <title>Test Report</title>
  6. <link href="assets/style.css" rel="stylesheet" type="text/css"/></head>
  7. <body onLoad="init()">
  8. <script>/* This Source Code Form is subject to the terms of the Mozilla Public
  9. * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  10. * You can obtain one at http://mozilla.org/MPL/2.0/. */
  11. function toArray(iter) {
  12. if (iter === null) {
  13. return null;
  14. }
  15. return Array.prototype.slice.call(iter);
  16. }
  17. function find(selector, elem) { // eslint-disable-line no-redeclare
  18. if (!elem) {
  19. elem = document;
  20. }
  21. return elem.querySelector(selector);
  22. }
  23. function findAll(selector, elem) {
  24. if (!elem) {
  25. elem = document;
  26. }
  27. return toArray(elem.querySelectorAll(selector));
  28. }
  29. function sortColumn(elem) {
  30. toggleSortStates(elem);
  31. const colIndex = toArray(elem.parentNode.childNodes).indexOf(elem);
  32. let key;
  33. if (elem.classList.contains('result')) {
  34. key = keyResult;
  35. } else if (elem.classList.contains('links')) {
  36. key = keyLink;
  37. } else {
  38. key = keyAlpha;
  39. }
  40. sortTable(elem, key(colIndex));
  41. }
  42. function showAllExtras() { // eslint-disable-line no-unused-vars
  43. findAll('.col-result').forEach(showExtras);
  44. }
  45. function hideAllExtras() { // eslint-disable-line no-unused-vars
  46. findAll('.col-result').forEach(hideExtras);
  47. }
  48. function showExtras(colresultElem) {
  49. const extras = colresultElem.parentNode.nextElementSibling;
  50. const expandcollapse = colresultElem.firstElementChild;
  51. extras.classList.remove('collapsed');
  52. expandcollapse.classList.remove('expander');
  53. expandcollapse.classList.add('collapser');
  54. }
  55. function hideExtras(colresultElem) {
  56. const extras = colresultElem.parentNode.nextElementSibling;
  57. const expandcollapse = colresultElem.firstElementChild;
  58. extras.classList.add('collapsed');
  59. expandcollapse.classList.remove('collapser');
  60. expandcollapse.classList.add('expander');
  61. }
  62. function showFilters() {
  63. const filterItems = document.getElementsByClassName('filter');
  64. for (let i = 0; i < filterItems.length; i++)
  65. filterItems[i].hidden = false;
  66. }
  67. function addCollapse() {
  68. // Add links for show/hide all
  69. const resulttable = find('table#results-table');
  70. const showhideall = document.createElement('p');
  71. showhideall.innerHTML = '<a href="javascript:showAllExtras()">Show all details</a> / ' +
  72. '<a href="javascript:hideAllExtras()">Hide all details</a>';
  73. resulttable.parentElement.insertBefore(showhideall, resulttable);
  74. // Add show/hide link to each result
  75. findAll('.col-result').forEach(function(elem) {
  76. const collapsed = getQueryParameter('collapsed') || 'Passed';
  77. const extras = elem.parentNode.nextElementSibling;
  78. const expandcollapse = document.createElement('span');
  79. if (extras.classList.contains('collapsed')) {
  80. expandcollapse.classList.add('expander');
  81. } else if (collapsed.includes(elem.innerHTML)) {
  82. extras.classList.add('collapsed');
  83. expandcollapse.classList.add('expander');
  84. } else {
  85. expandcollapse.classList.add('collapser');
  86. }
  87. elem.appendChild(expandcollapse);
  88. elem.addEventListener('click', function(event) {
  89. if (event.currentTarget.parentNode.nextElementSibling.classList.contains('collapsed')) {
  90. showExtras(event.currentTarget);
  91. } else {
  92. hideExtras(event.currentTarget);
  93. }
  94. });
  95. });
  96. }
  97. function getQueryParameter(name) {
  98. const match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
  99. return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
  100. }
  101. function init () { // eslint-disable-line no-unused-vars
  102. resetSortHeaders();
  103. addCollapse();
  104. showFilters();
  105. sortColumn(find('.initial-sort'));
  106. findAll('.sortable').forEach(function(elem) {
  107. elem.addEventListener('click',
  108. function() {
  109. sortColumn(elem);
  110. }, false);
  111. });
  112. }
  113. function sortTable(clicked, keyFunc) {
  114. const rows = findAll('.results-table-row');
  115. const reversed = !clicked.classList.contains('asc');
  116. const sortedRows = sort(rows, keyFunc, reversed);
  117. /* Whole table is removed here because browsers acts much slower
  118. * when appending existing elements.
  119. */
  120. const thead = document.getElementById('results-table-head');
  121. document.getElementById('results-table').remove();
  122. const parent = document.createElement('table');
  123. parent.id = 'results-table';
  124. parent.appendChild(thead);
  125. sortedRows.forEach(function(elem) {
  126. parent.appendChild(elem);
  127. });
  128. document.getElementsByTagName('BODY')[0].appendChild(parent);
  129. }
  130. function sort(items, keyFunc, reversed) {
  131. const sortArray = items.map(function(item, i) {
  132. return [keyFunc(item), i];
  133. });
  134. sortArray.sort(function(a, b) {
  135. const keyA = a[0];
  136. const keyB = b[0];
  137. if (keyA == keyB) return 0;
  138. if (reversed) {
  139. return keyA < keyB ? 1 : -1;
  140. } else {
  141. return keyA > keyB ? 1 : -1;
  142. }
  143. });
  144. return sortArray.map(function(item) {
  145. const index = item[1];
  146. return items[index];
  147. });
  148. }
  149. function keyAlpha(colIndex) {
  150. return function(elem) {
  151. return elem.childNodes[1].childNodes[colIndex].firstChild.data.toLowerCase();
  152. };
  153. }
  154. function keyLink(colIndex) {
  155. return function(elem) {
  156. const dataCell = elem.childNodes[1].childNodes[colIndex].firstChild;
  157. return dataCell == null ? '' : dataCell.innerText.toLowerCase();
  158. };
  159. }
  160. function keyResult(colIndex) {
  161. return function(elem) {
  162. const strings = ['Error', 'Failed', 'Rerun', 'XFailed', 'XPassed',
  163. 'Skipped', 'Passed'];
  164. return strings.indexOf(elem.childNodes[1].childNodes[colIndex].firstChild.data);
  165. };
  166. }
  167. function resetSortHeaders() {
  168. findAll('.sort-icon').forEach(function(elem) {
  169. elem.parentNode.removeChild(elem);
  170. });
  171. findAll('.sortable').forEach(function(elem) {
  172. const icon = document.createElement('div');
  173. icon.className = 'sort-icon';
  174. icon.textContent = 'vvv';
  175. elem.insertBefore(icon, elem.firstChild);
  176. elem.classList.remove('desc', 'active');
  177. elem.classList.add('asc', 'inactive');
  178. });
  179. }
  180. function toggleSortStates(elem) {
  181. //if active, toggle between asc and desc
  182. if (elem.classList.contains('active')) {
  183. elem.classList.toggle('asc');
  184. elem.classList.toggle('desc');
  185. }
  186. //if inactive, reset all other functions and add ascending active
  187. if (elem.classList.contains('inactive')) {
  188. resetSortHeaders();
  189. elem.classList.remove('inactive');
  190. elem.classList.add('active');
  191. }
  192. }
  193. function isAllRowsHidden(value) {
  194. return value.hidden == false;
  195. }
  196. function filterTable(elem) { // eslint-disable-line no-unused-vars
  197. const outcomeAtt = 'data-test-result';
  198. const outcome = elem.getAttribute(outcomeAtt);
  199. const classOutcome = outcome + ' results-table-row';
  200. const outcomeRows = document.getElementsByClassName(classOutcome);
  201. for(let i = 0; i < outcomeRows.length; i++){
  202. outcomeRows[i].hidden = !elem.checked;
  203. }
  204. const rows = findAll('.results-table-row').filter(isAllRowsHidden);
  205. const allRowsHidden = rows.length == 0 ? true : false;
  206. const notFoundMessage = document.getElementById('not-found-message');
  207. notFoundMessage.hidden = !allRowsHidden;
  208. }
  209. </script>
  210. <h1>reportname.html</h1>
  211. <p>Report generated on 11-Oct-2022 at 10:07:57 by <a href="https://pypi.python.org/pypi/pytest-html">pytest-html</a> v3.1.1</p>
  212. <h2>Environment</h2>
  213. <table id="environment">
  214. <tr>
  215. <td>Packages</td>
  216. <td>{"pluggy": "1.0.0", "py": "1.11.0", "pytest": "7.1.3"}</td></tr>
  217. <tr>
  218. <td>Platform</td>
  219. <td>Windows-10-10.0.22000-SP0</td></tr>
  220. <tr>
  221. <td>Plugins</td>
  222. <td>{"allure-pytest": "2.10.0", "dependency": "0.5.1", "forked": "1.4.0", "html": "3.1.1", "metadata": "2.0.2", "ordering": "0.6", "rerunfailures": "10.2", "xdist": "2.5.0"}</td></tr>
  223. <tr>
  224. <td>Python</td>
  225. <td>3.9.5</td></tr></table>
  226. <h2>Summary</h2>
  227. <p>68 tests ran in 2.11 seconds. </p>
  228. <p class="filter" hidden="true">(Un)check the boxes to filter the results.</p><input checked="true" class="filter" data-test-result="passed" hidden="true" name="filter_checkbox" onChange="filterTable(this)" type="checkbox"/><span class="passed">54 passed</span>, <input checked="true" class="filter" data-test-result="skipped" disabled="true" hidden="true" name="filter_checkbox" onChange="filterTable(this)" type="checkbox"/><span class="skipped">0 skipped</span>, <input checked="true" class="filter" data-test-result="failed" hidden="true" name="filter_checkbox" onChange="filterTable(this)" type="checkbox"/><span class="failed">14 failed</span>, <input checked="true" class="filter" data-test-result="error" disabled="true" hidden="true" name="filter_checkbox" onChange="filterTable(this)" type="checkbox"/><span class="error">0 errors</span>, <input checked="true" class="filter" data-test-result="xfailed" disabled="true" hidden="true" name="filter_checkbox" onChange="filterTable(this)" type="checkbox"/><span class="xfailed">0 expected failures</span>, <input checked="true" class="filter" data-test-result="xpassed" disabled="true" hidden="true" name="filter_checkbox" onChange="filterTable(this)" type="checkbox"/><span class="xpassed">0 unexpected passes</span>, <input checked="true" class="filter" data-test-result="rerun" disabled="true" hidden="true" name="filter_checkbox" onChange="filterTable(this)" type="checkbox"/><span class="rerun">0 rerun</span>
  229. <h2>Results</h2>
  230. <table id="results-table">
  231. <thead id="results-table-head">
  232. <tr>
  233. <th class="sortable result initial-sort" col="result">Result</th>
  234. <th class="sortable" col="name">Test</th>
  235. <th class="sortable" col="duration">Duration</th>
  236. <th class="sortable links" col="links">Links</th></tr>
  237. <tr hidden="true" id="not-found-message">
  238. <th colspan="4">No results found. Try to check the filters</th></tr></thead>
  239. <tbody class="failed results-table-row">
  240. <tr>
  241. <td class="col-result">Failed</td>
  242. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemResetConfirmedBitOnOverflow-false]</td>
  243. <td class="col-duration">0.02</td>
  244. <td class="col-links"></td></tr>
  245. <tr>
  246. <td class="extra" colspan="4">
  247. <div class="log">module_name = &#x27;Dem&#x27;, param_name = &#x27;DemResetConfirmedBitOnOverflow&#x27;, expect_value = &#x27;false&#x27;<br/><br/> @allure.feature(&#x27;Fix Value Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))<br/> def test_fix_value_case(module_name, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。<br/> 当有一个值与预期值不匹配时,将报错。<br/> :param module_name:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item)<br/> <br/>&gt; assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:34: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  248. Traceback (most recent call last):
  249. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  250. stream.write(msg + self.terminator)
  251. OSError: [WinError 6] 句柄无效。
  252. Call stack:
  253. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  254. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  255. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  256. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  257. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  258. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  259. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  260. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  261. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  262. res = hook_impl.function(*args)
  263. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  264. return wrap_session(config, _main)
  265. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  266. session.exitstatus = doit(config, session) or 0
  267. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  268. config.hook.pytest_runtestloop(session=session)
  269. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  270. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  271. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  272. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  273. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  274. res = hook_impl.function(*args)
  275. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  276. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  277. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  278. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  279. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  280. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  281. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  282. res = hook_impl.function(*args)
  283. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  284. runtestprotocol(item, nextitem=nextitem)
  285. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  286. reports.append(call_and_report(item, &quot;call&quot;, log))
  287. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  288. call = call_runtest_hook(item, when, **kwds)
  289. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  290. return CallInfo.from_call(
  291. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  292. result: Optional[TResult] = func()
  293. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  294. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  295. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  296. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  297. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  298. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  299. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  300. res = hook_impl.function(*args)
  301. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  302. item.runtest()
  303. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  304. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  305. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  306. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  307. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  308. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  309. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  310. res = hook_impl.function(*args)
  311. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  312. result = testfunction(**testargs)
  313. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  314. res = check_module_param_check(PROJECT, module_name, item)
  315. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  316. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  317. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  318. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  319. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  320. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  321. Message: &#x27;Check Param DemResetConfirmedBitOnOverflow not match! Expect Value false != true&#x27;
  322. Arguments: ()
  323. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:CfgCheckBase.py:48 Check Param DemResetConfirmedBitOnOverflow not match! Expect Value false != true<br/></div></td></tr></tbody>
  324. <tbody class="failed results-table-row">
  325. <tr>
  326. <td class="col-result">Failed</td>
  327. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemPendingDtcProcessing-DEM_PROCESS_PDTC_ALL_DTC]</td>
  328. <td class="col-duration">0.01</td>
  329. <td class="col-links"></td></tr>
  330. <tr>
  331. <td class="extra" colspan="4">
  332. <div class="log">module_name = &#x27;Dem&#x27;, param_name = &#x27;DemPendingDtcProcessing&#x27;, expect_value = &#x27;DEM_PROCESS_PDTC_ALL_DTC&#x27;<br/><br/> @allure.feature(&#x27;Fix Value Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))<br/> def test_fix_value_case(module_name, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。<br/> 当有一个值与预期值不匹配时,将报错。<br/> :param module_name:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item)<br/> <br/>&gt; assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:34: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  333. Traceback (most recent call last):
  334. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  335. stream.write(msg + self.terminator)
  336. OSError: [WinError 6] 句柄无效。
  337. Call stack:
  338. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  339. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  340. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  341. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  342. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  343. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  344. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  345. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  346. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  347. res = hook_impl.function(*args)
  348. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  349. return wrap_session(config, _main)
  350. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  351. session.exitstatus = doit(config, session) or 0
  352. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  353. config.hook.pytest_runtestloop(session=session)
  354. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  355. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  356. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  357. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  358. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  359. res = hook_impl.function(*args)
  360. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  361. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  362. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  363. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  364. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  365. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  366. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  367. res = hook_impl.function(*args)
  368. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  369. runtestprotocol(item, nextitem=nextitem)
  370. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  371. reports.append(call_and_report(item, &quot;call&quot;, log))
  372. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  373. call = call_runtest_hook(item, when, **kwds)
  374. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  375. return CallInfo.from_call(
  376. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  377. result: Optional[TResult] = func()
  378. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  379. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  380. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  381. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  382. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  383. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  384. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  385. res = hook_impl.function(*args)
  386. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  387. item.runtest()
  388. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  389. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  390. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  391. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  392. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  393. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  394. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  395. res = hook_impl.function(*args)
  396. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  397. result = testfunction(**testargs)
  398. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  399. res = check_module_param_check(PROJECT, module_name, item)
  400. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  401. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  402. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  403. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  404. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  405. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  406. Message: &#x27;Check Param DemPendingDtcProcessing not match! Expect Value DEM_PROCESS_PDTC_ALL_DTC != DEM_PROCESS_PDTC_STOREDONLY&#x27;
  407. Arguments: ()
  408. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:CfgCheckBase.py:48 Check Param DemPendingDtcProcessing not match! Expect Value DEM_PROCESS_PDTC_ALL_DTC != DEM_PROCESS_PDTC_STOREDONLY<br/></div></td></tr></tbody>
  409. <tbody class="failed results-table-row">
  410. <tr>
  411. <td class="col-result">Failed</td>
  412. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemWarningIndicatorRequestedProcessing-DEM_PROCESS_WIR_ALL_DTC]</td>
  413. <td class="col-duration">0.01</td>
  414. <td class="col-links"></td></tr>
  415. <tr>
  416. <td class="extra" colspan="4">
  417. <div class="log">module_name = &#x27;Dem&#x27;, param_name = &#x27;DemWarningIndicatorRequestedProcessing&#x27;, expect_value = &#x27;DEM_PROCESS_WIR_ALL_DTC&#x27;<br/><br/> @allure.feature(&#x27;Fix Value Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))<br/> def test_fix_value_case(module_name, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。<br/> 当有一个值与预期值不匹配时,将报错。<br/> :param module_name:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item)<br/> <br/>&gt; assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:34: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  418. Traceback (most recent call last):
  419. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  420. stream.write(msg + self.terminator)
  421. OSError: [WinError 6] 句柄无效。
  422. Call stack:
  423. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  424. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  425. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  426. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  427. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  428. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  429. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  430. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  431. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  432. res = hook_impl.function(*args)
  433. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  434. return wrap_session(config, _main)
  435. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  436. session.exitstatus = doit(config, session) or 0
  437. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  438. config.hook.pytest_runtestloop(session=session)
  439. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  440. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  441. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  442. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  443. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  444. res = hook_impl.function(*args)
  445. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  446. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  447. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  448. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  449. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  450. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  451. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  452. res = hook_impl.function(*args)
  453. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  454. runtestprotocol(item, nextitem=nextitem)
  455. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  456. reports.append(call_and_report(item, &quot;call&quot;, log))
  457. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  458. call = call_runtest_hook(item, when, **kwds)
  459. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  460. return CallInfo.from_call(
  461. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  462. result: Optional[TResult] = func()
  463. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  464. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  465. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  466. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  467. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  468. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  469. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  470. res = hook_impl.function(*args)
  471. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  472. item.runtest()
  473. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  474. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  475. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  476. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  477. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  478. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  479. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  480. res = hook_impl.function(*args)
  481. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  482. result = testfunction(**testargs)
  483. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  484. res = check_module_param_check(PROJECT, module_name, item)
  485. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  486. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  487. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  488. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  489. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  490. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  491. Message: &#x27;Check Param DemWarningIndicatorRequestedProcessing not match! Expect Value DEM_PROCESS_WIR_ALL_DTC != DEM_PROCESS_WIR_STOREDONLY&#x27;
  492. Arguments: ()
  493. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:CfgCheckBase.py:48 Check Param DemWarningIndicatorRequestedProcessing not match! Expect Value DEM_PROCESS_WIR_ALL_DTC != DEM_PROCESS_WIR_STOREDONLY<br/></div></td></tr></tbody>
  494. <tbody class="failed results-table-row">
  495. <tr>
  496. <td class="col-result">Failed</td>
  497. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPTcpTxMgtQueueSize-31]</td>
  498. <td class="col-duration">0.00</td>
  499. <td class="col-links"></td></tr>
  500. <tr>
  501. <td class="extra" colspan="4">
  502. <div class="log">module_name = &#x27;DoIP&#x27;, param_name = &#x27;DoIPTcpTxMgtQueueSize&#x27;, expect_value = &#x27;31&#x27;<br/><br/> @allure.feature(&#x27;Fix Value Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))<br/> def test_fix_value_case(module_name, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。<br/> 当有一个值与预期值不匹配时,将报错。<br/> :param module_name:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item)<br/> <br/>&gt; assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:34: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  503. Traceback (most recent call last):
  504. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  505. stream.write(msg + self.terminator)
  506. OSError: [WinError 6] 句柄无效。
  507. Call stack:
  508. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  509. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  510. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  511. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  512. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  513. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  514. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  515. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  516. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  517. res = hook_impl.function(*args)
  518. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  519. return wrap_session(config, _main)
  520. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  521. session.exitstatus = doit(config, session) or 0
  522. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  523. config.hook.pytest_runtestloop(session=session)
  524. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  525. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  526. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  527. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  528. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  529. res = hook_impl.function(*args)
  530. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  531. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  532. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  533. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  534. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  535. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  536. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  537. res = hook_impl.function(*args)
  538. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  539. runtestprotocol(item, nextitem=nextitem)
  540. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  541. reports.append(call_and_report(item, &quot;call&quot;, log))
  542. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  543. call = call_runtest_hook(item, when, **kwds)
  544. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  545. return CallInfo.from_call(
  546. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  547. result: Optional[TResult] = func()
  548. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  549. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  550. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  551. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  552. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  553. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  554. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  555. res = hook_impl.function(*args)
  556. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  557. item.runtest()
  558. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  559. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  560. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  561. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  562. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  563. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  564. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  565. res = hook_impl.function(*args)
  566. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  567. result = testfunction(**testargs)
  568. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  569. res = check_module_param_check(PROJECT, module_name, item)
  570. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  571. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  572. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  573. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  574. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  575. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  576. Message: &#x27;Check Param DoIPTcpTxMgtQueueSize not match! Expect Value 31 != 34&#x27;
  577. Arguments: ()
  578. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:CfgCheckBase.py:48 Check Param DoIPTcpTxMgtQueueSize not match! Expect Value 31 != 34<br/></div></td></tr></tbody>
  579. <tbody class="failed results-table-row">
  580. <tr>
  581. <td class="col-result">Failed</td>
  582. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmDspMaxDidToRead-3]</td>
  583. <td class="col-duration">0.01</td>
  584. <td class="col-links"></td></tr>
  585. <tr>
  586. <td class="extra" colspan="4">
  587. <div class="log">module_name = &#x27;Dcm&#x27;, param_name = &#x27;DcmDspMaxDidToRead&#x27;, expect_value = &#x27;3&#x27;<br/><br/> @allure.feature(&#x27;Fix Value Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))<br/> def test_fix_value_case(module_name, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。<br/> 当有一个值与预期值不匹配时,将报错。<br/> :param module_name:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item)<br/> <br/>&gt; assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:34: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  588. Traceback (most recent call last):
  589. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  590. stream.write(msg + self.terminator)
  591. OSError: [WinError 6] 句柄无效。
  592. Call stack:
  593. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  594. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  595. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  596. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  597. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  598. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  599. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  600. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  601. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  602. res = hook_impl.function(*args)
  603. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  604. return wrap_session(config, _main)
  605. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  606. session.exitstatus = doit(config, session) or 0
  607. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  608. config.hook.pytest_runtestloop(session=session)
  609. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  610. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  611. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  612. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  613. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  614. res = hook_impl.function(*args)
  615. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  616. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  617. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  618. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  619. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  620. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  621. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  622. res = hook_impl.function(*args)
  623. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  624. runtestprotocol(item, nextitem=nextitem)
  625. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  626. reports.append(call_and_report(item, &quot;call&quot;, log))
  627. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  628. call = call_runtest_hook(item, when, **kwds)
  629. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  630. return CallInfo.from_call(
  631. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  632. result: Optional[TResult] = func()
  633. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  634. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  635. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  636. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  637. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  638. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  639. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  640. res = hook_impl.function(*args)
  641. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  642. item.runtest()
  643. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  644. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  645. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  646. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  647. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  648. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  649. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  650. res = hook_impl.function(*args)
  651. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  652. result = testfunction(**testargs)
  653. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  654. res = check_module_param_check(PROJECT, module_name, item)
  655. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  656. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  657. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  658. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  659. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  660. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  661. Message: &#x27;Check Param DcmDspMaxDidToRead not match! Expect Value 3 != 1&#x27;
  662. Arguments: ()
  663. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:CfgCheckBase.py:48 Check Param DcmDspMaxDidToRead not match! Expect Value 3 != 1<br/></div></td></tr></tbody>
  664. <tbody class="failed results-table-row">
  665. <tr>
  666. <td class="col-result">Failed</td>
  667. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPRoutingActivationConfirmationReqLength-4]</td>
  668. <td class="col-duration">0.00</td>
  669. <td class="col-links"></td></tr>
  670. <tr>
  671. <td class="extra" colspan="4">
  672. <div class="log">module_name = &#x27;DoIP&#x27;, param_name = &#x27;DoIPRoutingActivationConfirmationReqLength&#x27;, expect_value = &#x27;4&#x27;<br/><br/> @allure.feature(&#x27;Fix Value Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))<br/> def test_fix_value_case(module_name, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。<br/> 当有一个值与预期值不匹配时,将报错。<br/> :param module_name:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/>&gt; res = check_module_param_check(PROJECT, module_name, item)<br/><br/>testcase\test_case.py:32: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>Base\ModuleCfgCheck.py:96: in check_module_param_check<br/> cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)<br/>Base\ModuleCfgCheck.py:64: in do_param_check<br/> match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>self = &lt;Base.CfgCheckBase.CfgCheckBase object at 0x000001804B4188E0&gt;<br/>element = &lt;Element {http://autosar.org/schema/r4.0}AUTOSAR at 0x1804b417c40&gt;<br/>param_name = &#x27;DoIPRoutingActivationConfirmationReqLength&#x27;, param_expect_value = &#x27;4&#x27;, is_multi_container = False<br/><br/> def parameter_match(self, element: etree.Element,<br/> param_name: str,<br/> param_expect_value: str,<br/> is_multi_container:bool = False) -&gt; bool:<br/> &#x27;&#x27;&#x27;<br/> <br/> :param element: 待查询container<br/> :param param_name: 配置项值<br/> :param param_expect_value: 期望的配置值<br/> :param is_multi_container: 是否匹配多个相同的配置项<br/> :return: 是否与期望值匹配<br/> &#x27;&#x27;&#x27;<br/> <br/> param_definition_ref_containers = Arxml.get_all_match_element(element,<br/> &#x27;.//DEFINITION-REF&#x27;,<br/> param_name,<br/> xpath_rule=&#x27;CONTAINS&#x27;)<br/> compare_result = True<br/>&gt; if len(param_definition_ref_containers) != 0:<br/><span class="error">E TypeError: object of type &#x27;NoneType&#x27; has no len()</span><br/><br/>Base\CfgCheckBase.py:35: TypeError<br/></div></td></tr></tbody>
  673. <tbody class="failed results-table-row">
  674. <tr>
  675. <td class="col-result">Failed</td>
  676. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPRoutingActivationConfirmationResLength-4]</td>
  677. <td class="col-duration">0.00</td>
  678. <td class="col-links"></td></tr>
  679. <tr>
  680. <td class="extra" colspan="4">
  681. <div class="log">module_name = &#x27;DoIP&#x27;, param_name = &#x27;DoIPRoutingActivationConfirmationResLength&#x27;, expect_value = &#x27;4&#x27;<br/><br/> @allure.feature(&#x27;Fix Value Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))<br/> def test_fix_value_case(module_name, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。<br/> 当有一个值与预期值不匹配时,将报错。<br/> :param module_name:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/>&gt; res = check_module_param_check(PROJECT, module_name, item)<br/><br/>testcase\test_case.py:32: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>Base\ModuleCfgCheck.py:96: in check_module_param_check<br/> cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)<br/>Base\ModuleCfgCheck.py:64: in do_param_check<br/> match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>self = &lt;Base.CfgCheckBase.CfgCheckBase object at 0x000001804B422460&gt;<br/>element = &lt;Element {http://autosar.org/schema/r4.0}AUTOSAR at 0x1804b41dd40&gt;<br/>param_name = &#x27;DoIPRoutingActivationConfirmationResLength&#x27;, param_expect_value = &#x27;4&#x27;, is_multi_container = False<br/><br/> def parameter_match(self, element: etree.Element,<br/> param_name: str,<br/> param_expect_value: str,<br/> is_multi_container:bool = False) -&gt; bool:<br/> &#x27;&#x27;&#x27;<br/> <br/> :param element: 待查询container<br/> :param param_name: 配置项值<br/> :param param_expect_value: 期望的配置值<br/> :param is_multi_container: 是否匹配多个相同的配置项<br/> :return: 是否与期望值匹配<br/> &#x27;&#x27;&#x27;<br/> <br/> param_definition_ref_containers = Arxml.get_all_match_element(element,<br/> &#x27;.//DEFINITION-REF&#x27;,<br/> param_name,<br/> xpath_rule=&#x27;CONTAINS&#x27;)<br/> compare_result = True<br/>&gt; if len(param_definition_ref_containers) != 0:<br/><span class="error">E TypeError: object of type &#x27;NoneType&#x27; has no len()</span><br/><br/>Base\CfgCheckBase.py:35: TypeError<br/></div></td></tr></tbody>
  682. <tbody class="failed results-table-row">
  683. <tr>
  684. <td class="col-result">Failed</td>
  685. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPSupportVidWithEId-true]</td>
  686. <td class="col-duration">0.00</td>
  687. <td class="col-links"></td></tr>
  688. <tr>
  689. <td class="extra" colspan="4">
  690. <div class="log">module_name = &#x27;DoIP&#x27;, param_name = &#x27;DoIPSupportVidWithEId&#x27;, expect_value = &#x27;true&#x27;<br/><br/> @allure.feature(&#x27;Fix Value Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))<br/> def test_fix_value_case(module_name, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。<br/> 当有一个值与预期值不匹配时,将报错。<br/> :param module_name:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item)<br/> <br/>&gt; assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:34: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  691. Traceback (most recent call last):
  692. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  693. stream.write(msg + self.terminator)
  694. OSError: [WinError 6] 句柄无效。
  695. Call stack:
  696. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  697. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  698. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  699. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  700. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  701. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  702. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  703. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  704. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  705. res = hook_impl.function(*args)
  706. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  707. return wrap_session(config, _main)
  708. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  709. session.exitstatus = doit(config, session) or 0
  710. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  711. config.hook.pytest_runtestloop(session=session)
  712. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  713. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  714. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  715. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  716. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  717. res = hook_impl.function(*args)
  718. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  719. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  720. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  721. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  722. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  723. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  724. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  725. res = hook_impl.function(*args)
  726. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  727. runtestprotocol(item, nextitem=nextitem)
  728. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  729. reports.append(call_and_report(item, &quot;call&quot;, log))
  730. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  731. call = call_runtest_hook(item, when, **kwds)
  732. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  733. return CallInfo.from_call(
  734. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  735. result: Optional[TResult] = func()
  736. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  737. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  738. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  739. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  740. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  741. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  742. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  743. res = hook_impl.function(*args)
  744. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  745. item.runtest()
  746. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  747. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  748. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  749. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  750. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  751. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  752. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  753. res = hook_impl.function(*args)
  754. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  755. result = testfunction(**testargs)
  756. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  757. res = check_module_param_check(PROJECT, module_name, item)
  758. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  759. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  760. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  761. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  762. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  763. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  764. Message: &#x27;Check Param DoIPSupportVidWithEId not match! Expect Value true != false&#x27;
  765. Arguments: ()
  766. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:CfgCheckBase.py:48 Check Param DoIPSupportVidWithEId not match! Expect Value true != false<br/></div></td></tr></tbody>
  767. <tbody class="failed results-table-row">
  768. <tr>
  769. <td class="col-result">Failed</td>
  770. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern9-ComMNmVariant-FULL]</td>
  771. <td class="col-duration">0.00</td>
  772. <td class="col-links"></td></tr>
  773. <tr>
  774. <td class="extra" colspan="4">
  775. <div class="log">module_name = &#x27;ComM&#x27;<br/>search_pattern = {&#x27;xpath_rule&#x27;: &#x27;CONTAINS&#x27;, &#x27;xpath_str&#x27;: &#x27;.//SHORT-NAME&#x27;, &#x27;xpath_text&#x27;: &#x27;PTEXTCAN&#x27;}<br/>param_name = &#x27;ComMNmVariant&#x27;, expect_value = &#x27;FULL&#x27;<br/><br/> @allure.feature(&#x27;Custom Pattern Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, search_pattern, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.CUSTOM_PATTERN))<br/> def test_custom_pattern_case(module_name, search_pattern, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。<br/> 例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。<br/> :param module_name:<br/> :param search_pattern:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item, search_pattern)<br/> <br/>&gt; assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:51: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  776. Traceback (most recent call last):
  777. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  778. stream.write(msg + self.terminator)
  779. OSError: [WinError 6] 句柄无效。
  780. Call stack:
  781. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  782. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  783. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  784. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  785. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  786. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  787. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  788. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  789. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  790. res = hook_impl.function(*args)
  791. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  792. return wrap_session(config, _main)
  793. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  794. session.exitstatus = doit(config, session) or 0
  795. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  796. config.hook.pytest_runtestloop(session=session)
  797. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  798. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  799. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  800. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  801. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  802. res = hook_impl.function(*args)
  803. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  804. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  805. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  806. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  807. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  808. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  809. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  810. res = hook_impl.function(*args)
  811. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  812. runtestprotocol(item, nextitem=nextitem)
  813. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  814. reports.append(call_and_report(item, &quot;call&quot;, log))
  815. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  816. call = call_runtest_hook(item, when, **kwds)
  817. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  818. return CallInfo.from_call(
  819. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  820. result: Optional[TResult] = func()
  821. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  822. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  823. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  824. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  825. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  826. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  827. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  828. res = hook_impl.function(*args)
  829. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  830. item.runtest()
  831. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  832. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  833. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  834. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  835. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  836. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  837. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  838. res = hook_impl.function(*args)
  839. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  840. result = testfunction(**testargs)
  841. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  842. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  843. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  844. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  845. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  846. match_element = get_match_element_function(check_items, **search_pattern)
  847. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  848. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  849. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;2d9080b7-9e57-356e-8706-416c07a10755&quot;&gt;&lt;SHORT-NAME&gt;PTEXTCAN2Connector_4204420a&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTEXTCAN2Connector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;6&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;a491ef01-ca24-3f66-876e-83cc14b4f354&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;LIGHT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;d002fa07-8058-42f5-91c7-d223dd574473&quot;&gt;&lt;SHORT-NAME&gt;PTEXTCAN2Connector_3f418a4f&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTEXTCAN2Connector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/PTEXTCAN2Connector_c1ab8566&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  850. Arguments: ()
  851. --- Logging error ---
  852. Traceback (most recent call last):
  853. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  854. stream.write(msg + self.terminator)
  855. OSError: [WinError 6] 句柄无效。
  856. Call stack:
  857. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  858. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  859. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  860. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  861. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  862. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  863. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  864. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  865. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  866. res = hook_impl.function(*args)
  867. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  868. return wrap_session(config, _main)
  869. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  870. session.exitstatus = doit(config, session) or 0
  871. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  872. config.hook.pytest_runtestloop(session=session)
  873. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  874. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  875. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  876. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  877. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  878. res = hook_impl.function(*args)
  879. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  880. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  881. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  882. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  883. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  884. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  885. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  886. res = hook_impl.function(*args)
  887. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  888. runtestprotocol(item, nextitem=nextitem)
  889. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  890. reports.append(call_and_report(item, &quot;call&quot;, log))
  891. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  892. call = call_runtest_hook(item, when, **kwds)
  893. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  894. return CallInfo.from_call(
  895. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  896. result: Optional[TResult] = func()
  897. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  898. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  899. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  900. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  901. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  902. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  903. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  904. res = hook_impl.function(*args)
  905. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  906. item.runtest()
  907. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  908. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  909. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  910. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  911. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  912. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  913. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  914. res = hook_impl.function(*args)
  915. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  916. result = testfunction(**testargs)
  917. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  918. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  919. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  920. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  921. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  922. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  923. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  924. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  925. Message: &#x27;Check Param ComMNmVariant not match! Expect Value FULL != LIGHT&#x27;
  926. Arguments: ()
  927. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;2d9080b7-9e57-356e-8706-416c07a10755&quot;&gt;&lt;SHORT-NAME&gt;PTEXTCAN2Connector_4204420a&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTEXTCAN2Connector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;6&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;a491ef01-ca24-3f66-876e-83cc14b4f354&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;LIGHT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;d002fa07-8058-42f5-91c7-d223dd574473&quot;&gt;&lt;SHORT-NAME&gt;PTEXTCAN2Connector_3f418a4f&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTEXTCAN2Connector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/PTEXTCAN2Connector_c1ab8566&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;
  928. ERROR root:CfgCheckBase.py:48 Check Param ComMNmVariant not match! Expect Value FULL != LIGHT<br/></div></td></tr></tbody>
  929. <tbody class="failed results-table-row">
  930. <tr>
  931. <td class="col-result">Failed</td>
  932. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern10-ComMNmVariant-FULL]</td>
  933. <td class="col-duration">0.00</td>
  934. <td class="col-links"></td></tr>
  935. <tr>
  936. <td class="extra" colspan="4">
  937. <div class="log">module_name = &#x27;ComM&#x27;, search_pattern = {&#x27;xpath_rule&#x27;: &#x27;CONTAINS&#x27;, &#x27;xpath_str&#x27;: &#x27;.//SHORT-NAME&#x27;, &#x27;xpath_text&#x27;: &#x27;PTCAN&#x27;}<br/>param_name = &#x27;ComMNmVariant&#x27;, expect_value = &#x27;FULL&#x27;<br/><br/> @allure.feature(&#x27;Custom Pattern Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, search_pattern, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.CUSTOM_PATTERN))<br/> def test_custom_pattern_case(module_name, search_pattern, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。<br/> 例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。<br/> :param module_name:<br/> :param search_pattern:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item, search_pattern)<br/> <br/>&gt; assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:51: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  938. Traceback (most recent call last):
  939. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  940. stream.write(msg + self.terminator)
  941. OSError: [WinError 6] 句柄无效。
  942. Call stack:
  943. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  944. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  945. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  946. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  947. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  948. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  949. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  950. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  951. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  952. res = hook_impl.function(*args)
  953. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  954. return wrap_session(config, _main)
  955. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  956. session.exitstatus = doit(config, session) or 0
  957. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  958. config.hook.pytest_runtestloop(session=session)
  959. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  960. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  961. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  962. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  963. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  964. res = hook_impl.function(*args)
  965. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  966. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  967. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  968. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  969. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  970. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  971. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  972. res = hook_impl.function(*args)
  973. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  974. runtestprotocol(item, nextitem=nextitem)
  975. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  976. reports.append(call_and_report(item, &quot;call&quot;, log))
  977. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  978. call = call_runtest_hook(item, when, **kwds)
  979. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  980. return CallInfo.from_call(
  981. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  982. result: Optional[TResult] = func()
  983. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  984. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  985. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  986. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  987. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  988. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  989. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  990. res = hook_impl.function(*args)
  991. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  992. item.runtest()
  993. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  994. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  995. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  996. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  997. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  998. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  999. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1000. res = hook_impl.function(*args)
  1001. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1002. result = testfunction(**testargs)
  1003. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  1004. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  1005. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1006. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1007. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  1008. match_element = get_match_element_function(check_items, **search_pattern)
  1009. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 86, in get_detail_element
  1010. logging.info(match_string)
  1011. Message: &#x27;&lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;e54efaa3-a0ae-3e06-8867-dc51aea19aa3&quot;&gt;&lt;SHORT-NAME&gt;PTCANConnector_1fc94cd9&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  1012. Arguments: ()
  1013. --- Logging error ---
  1014. Traceback (most recent call last):
  1015. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1016. stream.write(msg + self.terminator)
  1017. OSError: [WinError 6] 句柄无效。
  1018. Call stack:
  1019. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1020. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1021. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1022. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1023. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1024. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1025. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1026. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1027. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1028. res = hook_impl.function(*args)
  1029. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1030. return wrap_session(config, _main)
  1031. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1032. session.exitstatus = doit(config, session) or 0
  1033. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1034. config.hook.pytest_runtestloop(session=session)
  1035. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1036. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1037. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1038. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1039. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1040. res = hook_impl.function(*args)
  1041. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1042. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1043. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1044. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1045. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1046. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1047. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1048. res = hook_impl.function(*args)
  1049. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1050. runtestprotocol(item, nextitem=nextitem)
  1051. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1052. reports.append(call_and_report(item, &quot;call&quot;, log))
  1053. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1054. call = call_runtest_hook(item, when, **kwds)
  1055. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1056. return CallInfo.from_call(
  1057. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1058. result: Optional[TResult] = func()
  1059. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1060. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1061. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1062. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1063. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1064. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1065. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1066. res = hook_impl.function(*args)
  1067. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1068. item.runtest()
  1069. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1070. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1071. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1072. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1073. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1074. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1075. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1076. res = hook_impl.function(*args)
  1077. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1078. result = testfunction(**testargs)
  1079. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  1080. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  1081. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1082. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1083. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  1084. match_element = get_match_element_function(check_items, **search_pattern)
  1085. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  1086. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  1087. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;e79ad42e-d298-3ee6-b7b0-784accd656a1&quot;&gt;&lt;SHORT-NAME&gt;PTCANConnector_57557ac6&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;6ce88167-875b-44d4-9970-ae5b0d4883a8&quot;&gt;&lt;SHORT-NAME&gt;PTCANConnector_3dea3036&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/PTCANConnector_1fc94cd9&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;ce9bfde3-9d77-3e8c-bc8a-e0415d53d6a4&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;LIGHT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  1088. Arguments: ()
  1089. --- Logging error ---
  1090. Traceback (most recent call last):
  1091. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1092. stream.write(msg + self.terminator)
  1093. OSError: [WinError 6] 句柄无效。
  1094. Call stack:
  1095. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1096. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1097. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1098. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1099. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1100. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1101. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1102. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1103. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1104. res = hook_impl.function(*args)
  1105. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1106. return wrap_session(config, _main)
  1107. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1108. session.exitstatus = doit(config, session) or 0
  1109. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1110. config.hook.pytest_runtestloop(session=session)
  1111. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1112. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1113. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1114. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1115. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1116. res = hook_impl.function(*args)
  1117. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1118. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1119. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1120. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1121. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1122. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1123. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1124. res = hook_impl.function(*args)
  1125. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1126. runtestprotocol(item, nextitem=nextitem)
  1127. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1128. reports.append(call_and_report(item, &quot;call&quot;, log))
  1129. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1130. call = call_runtest_hook(item, when, **kwds)
  1131. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1132. return CallInfo.from_call(
  1133. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1134. result: Optional[TResult] = func()
  1135. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1136. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1137. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1138. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1139. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1140. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1141. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1142. res = hook_impl.function(*args)
  1143. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1144. item.runtest()
  1145. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1146. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1147. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1148. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1149. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1150. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1151. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1152. res = hook_impl.function(*args)
  1153. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1154. result = testfunction(**testargs)
  1155. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  1156. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  1157. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1158. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1159. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  1160. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  1161. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  1162. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  1163. Message: &#x27;Check Param ComMNmVariant not match! Expect Value FULL != LIGHT&#x27;
  1164. Arguments: ()
  1165. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;e54efaa3-a0ae-3e06-8867-dc51aea19aa3&quot;&gt;&lt;SHORT-NAME&gt;PTCANConnector_1fc94cd9&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;
  1166. INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;e79ad42e-d298-3ee6-b7b0-784accd656a1&quot;&gt;&lt;SHORT-NAME&gt;PTCANConnector_57557ac6&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;6ce88167-875b-44d4-9970-ae5b0d4883a8&quot;&gt;&lt;SHORT-NAME&gt;PTCANConnector_3dea3036&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;PTCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/PTCANConnector_1fc94cd9&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;ce9bfde3-9d77-3e8c-bc8a-e0415d53d6a4&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;LIGHT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;
  1167. ERROR root:CfgCheckBase.py:48 Check Param ComMNmVariant not match! Expect Value FULL != LIGHT<br/></div></td></tr></tbody>
  1168. <tbody class="failed results-table-row">
  1169. <tr>
  1170. <td class="col-result">Failed</td>
  1171. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern12-ComMNmVariant-LIGHT]</td>
  1172. <td class="col-duration">0.00</td>
  1173. <td class="col-links"></td></tr>
  1174. <tr>
  1175. <td class="extra" colspan="4">
  1176. <div class="log">module_name = &#x27;ComM&#x27;, search_pattern = {&#x27;xpath_rule&#x27;: &#x27;CONTAINS&#x27;, &#x27;xpath_str&#x27;: &#x27;.//SHORT-NAME&#x27;, &#x27;xpath_text&#x27;: &#x27;LIN1&#x27;}<br/>param_name = &#x27;ComMNmVariant&#x27;, expect_value = &#x27;LIGHT&#x27;<br/><br/> @allure.feature(&#x27;Custom Pattern Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, search_pattern, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.CUSTOM_PATTERN))<br/> def test_custom_pattern_case(module_name, search_pattern, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。<br/> 例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。<br/> :param module_name:<br/> :param search_pattern:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/>&gt; res = check_module_param_check(PROJECT, module_name, item, search_pattern)<br/><br/>testcase\test_case.py:49: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>Base\ModuleCfgCheck.py:96: in check_module_param_check<br/> cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)<br/>Base\ModuleCfgCheck.py:64: in do_param_check<br/> match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)<br/>Base\CfgCheckBase.py:30: in parameter_match<br/> param_definition_ref_containers = Arxml.get_all_match_element(element,<br/>Base\Arxml.py:112: in get_all_match_element<br/> result = Arxml.get_xpath_result(root_element, xpath_str, xpath_text, xpath_rule)<br/>Base\Arxml.py:92: in get_xpath_result<br/> ns = Arxml.get_arxml_namespace(element)<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>element = None<br/><br/> @staticmethod<br/> def get_arxml_namespace(element: etree.Element):<br/>&gt; ns = element.nsmap<br/><span class="error">E AttributeError: &#x27;NoneType&#x27; object has no attribute &#x27;nsmap&#x27;</span><br/><br/>Base\Arxml.py:32: AttributeError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  1177. Traceback (most recent call last):
  1178. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1179. stream.write(msg + self.terminator)
  1180. OSError: [WinError 6] 句柄无效。
  1181. Call stack:
  1182. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1183. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1184. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1185. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1186. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1187. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1188. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1189. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1190. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1191. res = hook_impl.function(*args)
  1192. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1193. return wrap_session(config, _main)
  1194. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1195. session.exitstatus = doit(config, session) or 0
  1196. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1197. config.hook.pytest_runtestloop(session=session)
  1198. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1199. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1200. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1201. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1202. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1203. res = hook_impl.function(*args)
  1204. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1205. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1206. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1207. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1208. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1209. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1210. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1211. res = hook_impl.function(*args)
  1212. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1213. runtestprotocol(item, nextitem=nextitem)
  1214. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1215. reports.append(call_and_report(item, &quot;call&quot;, log))
  1216. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1217. call = call_runtest_hook(item, when, **kwds)
  1218. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1219. return CallInfo.from_call(
  1220. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1221. result: Optional[TResult] = func()
  1222. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1223. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1224. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1225. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1226. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1227. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1228. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1229. res = hook_impl.function(*args)
  1230. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1231. item.runtest()
  1232. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1233. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1234. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1235. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1236. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1237. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1238. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1239. res = hook_impl.function(*args)
  1240. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1241. result = testfunction(**testargs)
  1242. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  1243. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  1244. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1245. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1246. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  1247. match_element = get_match_element_function(check_items, **search_pattern)
  1248. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 74, in get_detail_element
  1249. logging.error(f&#x27;By Pattern {xpath_str}-{xpath_text}-{xpath_rule}, not find valud element!&#x27;)
  1250. Message: &#x27;By Pattern .//SHORT-NAME-LIN1-CONTAINS, not find valud element!&#x27;
  1251. Arguments: ()
  1252. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:ModuleCfgCheck.py:74 By Pattern .//SHORT-NAME-LIN1-CONTAINS, not find valud element!<br/></div></td></tr></tbody>
  1253. <tbody class="failed results-table-row">
  1254. <tr>
  1255. <td class="col-result">Failed</td>
  1256. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern24-OsTaskStackSize-2048]</td>
  1257. <td class="col-duration">0.00</td>
  1258. <td class="col-links"></td></tr>
  1259. <tr>
  1260. <td class="extra" colspan="4">
  1261. <div class="log">module_name = &#x27;Os&#x27;<br/>search_pattern = {&#x27;xpath_rule&#x27;: &#x27;TEXT_EQ&#x27;, &#x27;xpath_str&#x27;: &#x27;.//SHORT-NAME&#x27;, &#x27;xpath_text&#x27;: &#x27;SecureSrvTask&#x27;}<br/>param_name = &#x27;OsTaskStackSize&#x27;, expect_value = &#x27;2048&#x27;<br/><br/> @allure.feature(&#x27;Custom Pattern Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, search_pattern, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.CUSTOM_PATTERN))<br/> def test_custom_pattern_case(module_name, search_pattern, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。<br/> 例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。<br/> :param module_name:<br/> :param search_pattern:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/>&gt; res = check_module_param_check(PROJECT, module_name, item, search_pattern)<br/><br/>testcase\test_case.py:49: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>Base\ModuleCfgCheck.py:96: in check_module_param_check<br/> cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)<br/>Base\ModuleCfgCheck.py:64: in do_param_check<br/> match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)<br/>Base\CfgCheckBase.py:30: in parameter_match<br/> param_definition_ref_containers = Arxml.get_all_match_element(element,<br/>Base\Arxml.py:112: in get_all_match_element<br/> result = Arxml.get_xpath_result(root_element, xpath_str, xpath_text, xpath_rule)<br/>Base\Arxml.py:92: in get_xpath_result<br/> ns = Arxml.get_arxml_namespace(element)<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>element = None<br/><br/> @staticmethod<br/> def get_arxml_namespace(element: etree.Element):<br/>&gt; ns = element.nsmap<br/><span class="error">E AttributeError: &#x27;NoneType&#x27; object has no attribute &#x27;nsmap&#x27;</span><br/><br/>Base\Arxml.py:32: AttributeError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  1262. Traceback (most recent call last):
  1263. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1264. stream.write(msg + self.terminator)
  1265. OSError: [WinError 6] 句柄无效。
  1266. Call stack:
  1267. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1268. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1269. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1270. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1271. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1272. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1273. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1274. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1275. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1276. res = hook_impl.function(*args)
  1277. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1278. return wrap_session(config, _main)
  1279. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1280. session.exitstatus = doit(config, session) or 0
  1281. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1282. config.hook.pytest_runtestloop(session=session)
  1283. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1284. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1285. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1286. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1287. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1288. res = hook_impl.function(*args)
  1289. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1290. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1291. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1292. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1293. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1294. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1295. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1296. res = hook_impl.function(*args)
  1297. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1298. runtestprotocol(item, nextitem=nextitem)
  1299. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1300. reports.append(call_and_report(item, &quot;call&quot;, log))
  1301. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1302. call = call_runtest_hook(item, when, **kwds)
  1303. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1304. return CallInfo.from_call(
  1305. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1306. result: Optional[TResult] = func()
  1307. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1308. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1309. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1310. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1311. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1312. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1313. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1314. res = hook_impl.function(*args)
  1315. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1316. item.runtest()
  1317. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1318. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1319. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1320. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1321. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1322. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1323. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1324. res = hook_impl.function(*args)
  1325. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1326. result = testfunction(**testargs)
  1327. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  1328. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  1329. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1330. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1331. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  1332. match_element = get_match_element_function(check_items, **search_pattern)
  1333. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 74, in get_detail_element
  1334. logging.error(f&#x27;By Pattern {xpath_str}-{xpath_text}-{xpath_rule}, not find valud element!&#x27;)
  1335. Message: &#x27;By Pattern .//SHORT-NAME-SecureSrvTask-TEXT_EQ, not find valud element!&#x27;
  1336. Arguments: ()
  1337. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:ModuleCfgCheck.py:74 By Pattern .//SHORT-NAME-SecureSrvTask-TEXT_EQ, not find valud element!<br/></div></td></tr></tbody>
  1338. <tbody class="failed results-table-row">
  1339. <tr>
  1340. <td class="col-result">Failed</td>
  1341. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern25-OsTaskStackSize-4096]</td>
  1342. <td class="col-duration">0.01</td>
  1343. <td class="col-links"></td></tr>
  1344. <tr>
  1345. <td class="extra" colspan="4">
  1346. <div class="log">module_name = &#x27;Os&#x27;, search_pattern = {&#x27;xpath_rule&#x27;: &#x27;TEXT_EQ&#x27;, &#x27;xpath_str&#x27;: &#x27;.//SHORT-NAME&#x27;, &#x27;xpath_text&#x27;: &#x27;InitTask&#x27;}<br/>param_name = &#x27;OsTaskStackSize&#x27;, expect_value = &#x27;4096&#x27;<br/><br/> @allure.feature(&#x27;Custom Pattern Parameter Check&#x27;)<br/> @pytest.mark.parametrize(&quot;module_name, search_pattern, param_name, expect_value&quot;, get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.CUSTOM_PATTERN))<br/> def test_custom_pattern_case(module_name, search_pattern, param_name, expect_value):<br/> &#x27;&#x27;&#x27;<br/> 该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。<br/> 例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。<br/> :param module_name:<br/> :param search_pattern:<br/> :param param_name:<br/> :param expect_value:<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item, search_pattern)<br/> <br/>&gt; assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:51: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  1347. Traceback (most recent call last):
  1348. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1349. stream.write(msg + self.terminator)
  1350. OSError: [WinError 6] 句柄无效。
  1351. Call stack:
  1352. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1353. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1354. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1355. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1356. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1357. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1358. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1359. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1360. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1361. res = hook_impl.function(*args)
  1362. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1363. return wrap_session(config, _main)
  1364. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1365. session.exitstatus = doit(config, session) or 0
  1366. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1367. config.hook.pytest_runtestloop(session=session)
  1368. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1369. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1370. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1371. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1372. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1373. res = hook_impl.function(*args)
  1374. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1375. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1376. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1377. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1378. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1379. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1380. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1381. res = hook_impl.function(*args)
  1382. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1383. runtestprotocol(item, nextitem=nextitem)
  1384. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1385. reports.append(call_and_report(item, &quot;call&quot;, log))
  1386. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1387. call = call_runtest_hook(item, when, **kwds)
  1388. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1389. return CallInfo.from_call(
  1390. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1391. result: Optional[TResult] = func()
  1392. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1393. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1394. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1395. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1396. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1397. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1398. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1399. res = hook_impl.function(*args)
  1400. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1401. item.runtest()
  1402. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1403. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1404. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1405. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1406. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1407. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1408. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1409. res = hook_impl.function(*args)
  1410. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1411. result = testfunction(**testargs)
  1412. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  1413. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  1414. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1415. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1416. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  1417. match_element = get_match_element_function(check_items, **search_pattern)
  1418. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  1419. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  1420. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;7c0d8893-fed0-464d-9468-7726c4a24bb0&quot;&gt;&lt;SHORT-NAME&gt;InitTask&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsTask&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskActivation&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;110&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskSchedule&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;NON&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskStackSharing&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1024&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;BASIC&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskUsesFpu&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskAccessingApplication&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/SystemApplication_OsCore0&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskAccessingApplication&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/SystemApplication_OsCore1&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  1421. Arguments: ()
  1422. --- Logging error ---
  1423. Traceback (most recent call last):
  1424. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1425. stream.write(msg + self.terminator)
  1426. OSError: [WinError 6] 句柄无效。
  1427. Call stack:
  1428. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1429. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1430. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1431. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1432. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1433. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1434. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1435. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1436. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1437. res = hook_impl.function(*args)
  1438. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1439. return wrap_session(config, _main)
  1440. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1441. session.exitstatus = doit(config, session) or 0
  1442. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1443. config.hook.pytest_runtestloop(session=session)
  1444. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1445. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1446. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1447. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1448. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1449. res = hook_impl.function(*args)
  1450. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1451. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1452. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1453. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1454. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1455. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1456. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1457. res = hook_impl.function(*args)
  1458. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1459. runtestprotocol(item, nextitem=nextitem)
  1460. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1461. reports.append(call_and_report(item, &quot;call&quot;, log))
  1462. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1463. call = call_runtest_hook(item, when, **kwds)
  1464. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1465. return CallInfo.from_call(
  1466. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1467. result: Optional[TResult] = func()
  1468. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1469. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1470. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1471. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1472. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1473. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1474. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1475. res = hook_impl.function(*args)
  1476. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1477. item.runtest()
  1478. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1479. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1480. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1481. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1482. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1483. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1484. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1485. res = hook_impl.function(*args)
  1486. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1487. result = testfunction(**testargs)
  1488. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  1489. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  1490. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1491. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1492. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  1493. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  1494. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  1495. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  1496. Message: &#x27;Check Param OsTaskStackSize not match! Expect Value 4096 != 1024&#x27;
  1497. Arguments: ()
  1498. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;7c0d8893-fed0-464d-9468-7726c4a24bb0&quot;&gt;&lt;SHORT-NAME&gt;InitTask&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsTask&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskActivation&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;110&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskSchedule&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;NON&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskStackSharing&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1024&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;BASIC&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskUsesFpu&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskAccessingApplication&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/SystemApplication_OsCore0&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskAccessingApplication&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/SystemApplication_OsCore1&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;
  1499. ERROR root:CfgCheckBase.py:48 Check Param OsTaskStackSize not match! Expect Value 4096 != 1024<br/></div></td></tr></tbody>
  1500. <tbody class="failed results-table-row">
  1501. <tr>
  1502. <td class="col-result">Failed</td>
  1503. <td class="col-name">testcase/test_case.py::test_canif_buffersize_check_case</td>
  1504. <td class="col-duration">0.04</td>
  1505. <td class="col-links"></td></tr>
  1506. <tr>
  1507. <td class="extra" colspan="4">
  1508. <div class="log">@allure.feature(&#x27;CanIfBufferSize Check&#x27;)<br/> @allure.title(&#x27;tx buffer 配置检查&#x27;)<br/> def test_canif_buffersize_check_case():<br/> &#x27;&#x27;&#x27;<br/> 该用例用于 CanIf 模块 CanIfBufferCfg CanIfBufferSize CanIfTxBufferHandlingType检查。<br/> :return:<br/> &#x27;&#x27;&#x27;<br/> mcc = ModuleCfgCheck(&#x27;CanIf&#x27;, PROJECT)<br/> canif_init_cfg = Arxml.get_first_match_element(mcc.arxml_root, &#x27;.//SHORT-NAME&#x27;, &#x27;CanIfInitCfg&#x27;, &#x27;TEXT_EQ&#x27;)<br/> <br/> ecuc_containers = Arxml.get_all_match_element(Arxml.get_parent_element(canif_init_cfg), &#x27;.//ECUC-CONTAINER-VALUE&#x27;)<br/> for ecuc in ecuc_containers:<br/> ecuc_con = EcucContainerValue(ecuc)<br/> ecuc_con_attr = ecuc_con.container_attr<br/> ecuc_type = Arxml.get_split_end_value(ecuc_con_attr[&#x27;container_definition_ref&#x27;][-1])<br/> if ecuc_type == &#x27;CanIfBufferCfg&#x27;:<br/> CanIfTxBufferHandlingType = ecuc_con_attr[&#x27;parameter_values&#x27;][&#x27;CanIfTxBufferHandlingType&#x27;][-1]<br/> CanIfBufferSize = ecuc_con_attr[&#x27;parameter_values&#x27;][&#x27;CanIfBufferSize&#x27;][-1]<br/> CanIfTxBufferMappedTxPdus = ecuc_con_attr[&#x27;parameter_values&#x27;][&#x27;CanIfTxBufferMappedTxPdus&#x27;][-1]<br/> print(f&quot;{ecuc_con_attr[&#x27;short_name&#x27;]}, CanIfTxBufferHandlingType={CanIfTxBufferHandlingType}&quot;)<br/> if (&#x27;CanIfBufferCfg&#x27; not in ecuc_con_attr[&#x27;short_name&#x27;] and<br/> int(CanIfTxBufferMappedTxPdus) &gt; int(CanIfBufferSize)):<br/> print(f&quot;CanIfBufferSize Check ERROR! {ecuc_con_attr[&#x27;short_name&#x27;]}, CanIfBufferSize={CanIfBufferSize}, CanIfTxBufferMappedTxPdus={CanIfTxBufferMappedTxPdus}&quot;)<br/>&gt; assert True == False<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:110: AssertionError<br/> ------------------------------Captured stdout call------------------------------ <br/>PhCnADCANFD_8062c890, CanIfTxBufferHandlingType=FIFO
  1509. CanIfBufferSize Check ERROR! PhCnADCANFD_8062c890, CanIfBufferSize=16, CanIfTxBufferMappedTxPdus=24
  1510. <br/></div></td></tr></tbody>
  1511. <tbody class="passed results-table-row">
  1512. <tr>
  1513. <td class="col-result">Passed</td>
  1514. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmResetToFblAfterSessionFinalResponseEnabled-true]</td>
  1515. <td class="col-duration">0.01</td>
  1516. <td class="col-links"></td></tr>
  1517. <tr>
  1518. <td class="extra" colspan="4">
  1519. <div class="empty log">No log output captured.</div></td></tr></tbody>
  1520. <tbody class="passed results-table-row">
  1521. <tr>
  1522. <td class="col-result">Passed</td>
  1523. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmSpecificCauseCodeEnabled-true0]</td>
  1524. <td class="col-duration">0.01</td>
  1525. <td class="col-links"></td></tr>
  1526. <tr>
  1527. <td class="extra" colspan="4">
  1528. <div class="empty log">No log output captured.</div></td></tr></tbody>
  1529. <tbody class="passed results-table-row">
  1530. <tr>
  1531. <td class="col-result">Passed</td>
  1532. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmSpecificCauseCodeEnabled-true1]</td>
  1533. <td class="col-duration">0.01</td>
  1534. <td class="col-links"></td></tr>
  1535. <tr>
  1536. <td class="extra" colspan="4">
  1537. <div class="empty log">No log output captured.</div></td></tr></tbody>
  1538. <tbody class="passed results-table-row">
  1539. <tr>
  1540. <td class="col-result">Passed</td>
  1541. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemClearDTCBehavior-DEM_CLRRESP_VOLATILE]</td>
  1542. <td class="col-duration">0.01</td>
  1543. <td class="col-links"></td></tr>
  1544. <tr>
  1545. <td class="extra" colspan="4">
  1546. <div class="empty log">No log output captured.</div></td></tr></tbody>
  1547. <tbody class="passed results-table-row">
  1548. <tr>
  1549. <td class="col-result">Passed</td>
  1550. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemMaxNumberEventEntryPrimary-40]</td>
  1551. <td class="col-duration">0.01</td>
  1552. <td class="col-links"></td></tr>
  1553. <tr>
  1554. <td class="extra" colspan="4">
  1555. <div class="empty log">No log output captured.</div></td></tr></tbody>
  1556. <tbody class="passed results-table-row">
  1557. <tr>
  1558. <td class="col-result">Passed</td>
  1559. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemTypeOfFreezeFrameRecordNumeration-DEM_FF_RECNUM_CONFIGURED]</td>
  1560. <td class="col-duration">0.01</td>
  1561. <td class="col-links"></td></tr>
  1562. <tr>
  1563. <td class="extra" colspan="4">
  1564. <div class="empty log">No log output captured.</div></td></tr></tbody>
  1565. <tbody class="passed results-table-row">
  1566. <tr>
  1567. <td class="col-result">Passed</td>
  1568. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemImmediateNvStorage-true]</td>
  1569. <td class="col-duration">0.03</td>
  1570. <td class="col-links"></td></tr>
  1571. <tr>
  1572. <td class="extra" colspan="4">
  1573. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  1574. Traceback (most recent call last):
  1575. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1576. stream.write(msg + self.terminator)
  1577. OSError: [WinError 6] 句柄无效。
  1578. Call stack:
  1579. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1580. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1581. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1582. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1583. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1584. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1585. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1586. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1587. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1588. res = hook_impl.function(*args)
  1589. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1590. return wrap_session(config, _main)
  1591. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1592. session.exitstatus = doit(config, session) or 0
  1593. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1594. config.hook.pytest_runtestloop(session=session)
  1595. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1596. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1597. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1598. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1599. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1600. res = hook_impl.function(*args)
  1601. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1602. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1603. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1604. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1605. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1606. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1607. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1608. res = hook_impl.function(*args)
  1609. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1610. runtestprotocol(item, nextitem=nextitem)
  1611. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1612. reports.append(call_and_report(item, &quot;call&quot;, log))
  1613. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1614. call = call_runtest_hook(item, when, **kwds)
  1615. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1616. return CallInfo.from_call(
  1617. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1618. result: Optional[TResult] = func()
  1619. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1620. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1621. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1622. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1623. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1624. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1625. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1626. res = hook_impl.function(*args)
  1627. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1628. item.runtest()
  1629. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1630. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1631. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1632. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1633. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1634. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1635. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1636. res = hook_impl.function(*args)
  1637. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1638. result = testfunction(**testargs)
  1639. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  1640. res = check_module_param_check(PROJECT, module_name, item)
  1641. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1642. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1643. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  1644. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  1645. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  1646. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  1647. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  1648. Arguments: ()
  1649. --- Logging error ---
  1650. Traceback (most recent call last):
  1651. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1652. stream.write(msg + self.terminator)
  1653. OSError: [WinError 6] 句柄无效。
  1654. Call stack:
  1655. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1656. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1657. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1658. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1659. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1660. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1661. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1662. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1663. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1664. res = hook_impl.function(*args)
  1665. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1666. return wrap_session(config, _main)
  1667. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1668. session.exitstatus = doit(config, session) or 0
  1669. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1670. config.hook.pytest_runtestloop(session=session)
  1671. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1672. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1673. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1674. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1675. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1676. res = hook_impl.function(*args)
  1677. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1678. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1679. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1680. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1681. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1682. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1683. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1684. res = hook_impl.function(*args)
  1685. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1686. runtestprotocol(item, nextitem=nextitem)
  1687. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1688. reports.append(call_and_report(item, &quot;call&quot;, log))
  1689. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1690. call = call_runtest_hook(item, when, **kwds)
  1691. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1692. return CallInfo.from_call(
  1693. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1694. result: Optional[TResult] = func()
  1695. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1696. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1697. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1698. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1699. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1700. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1701. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1702. res = hook_impl.function(*args)
  1703. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1704. item.runtest()
  1705. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1706. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1707. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1708. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1709. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1710. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1711. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1712. res = hook_impl.function(*args)
  1713. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1714. result = testfunction(**testargs)
  1715. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  1716. res = check_module_param_check(PROJECT, module_name, item)
  1717. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1718. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1719. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  1720. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  1721. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  1722. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  1723. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  1724. Arguments: ()
  1725. --- Logging error ---
  1726. Traceback (most recent call last):
  1727. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1728. stream.write(msg + self.terminator)
  1729. OSError: [WinError 6] 句柄无效。
  1730. Call stack:
  1731. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1732. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1733. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1734. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1735. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1736. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1737. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1738. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1739. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1740. res = hook_impl.function(*args)
  1741. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1742. return wrap_session(config, _main)
  1743. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1744. session.exitstatus = doit(config, session) or 0
  1745. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1746. config.hook.pytest_runtestloop(session=session)
  1747. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1748. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1749. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1750. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1751. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1752. res = hook_impl.function(*args)
  1753. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1754. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1755. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1756. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1757. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1758. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1759. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1760. res = hook_impl.function(*args)
  1761. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1762. runtestprotocol(item, nextitem=nextitem)
  1763. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1764. reports.append(call_and_report(item, &quot;call&quot;, log))
  1765. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1766. call = call_runtest_hook(item, when, **kwds)
  1767. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1768. return CallInfo.from_call(
  1769. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1770. result: Optional[TResult] = func()
  1771. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1772. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1773. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1774. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1775. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1776. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1777. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1778. res = hook_impl.function(*args)
  1779. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1780. item.runtest()
  1781. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1782. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1783. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1784. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1785. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1786. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1787. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1788. res = hook_impl.function(*args)
  1789. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1790. result = testfunction(**testargs)
  1791. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  1792. res = check_module_param_check(PROJECT, module_name, item)
  1793. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1794. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1795. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  1796. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  1797. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  1798. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  1799. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  1800. Arguments: ()
  1801. --- Logging error ---
  1802. Traceback (most recent call last):
  1803. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1804. stream.write(msg + self.terminator)
  1805. OSError: [WinError 6] 句柄无效。
  1806. Call stack:
  1807. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1808. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1809. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1810. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1811. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1812. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1813. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1814. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1815. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1816. res = hook_impl.function(*args)
  1817. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1818. return wrap_session(config, _main)
  1819. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1820. session.exitstatus = doit(config, session) or 0
  1821. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1822. config.hook.pytest_runtestloop(session=session)
  1823. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1824. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1825. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1826. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1827. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1828. res = hook_impl.function(*args)
  1829. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1830. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1831. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1832. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1833. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1834. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1835. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1836. res = hook_impl.function(*args)
  1837. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1838. runtestprotocol(item, nextitem=nextitem)
  1839. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1840. reports.append(call_and_report(item, &quot;call&quot;, log))
  1841. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1842. call = call_runtest_hook(item, when, **kwds)
  1843. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1844. return CallInfo.from_call(
  1845. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1846. result: Optional[TResult] = func()
  1847. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1848. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1849. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1850. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1851. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1852. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1853. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1854. res = hook_impl.function(*args)
  1855. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1856. item.runtest()
  1857. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1858. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1859. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1860. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1861. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1862. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1863. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1864. res = hook_impl.function(*args)
  1865. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1866. result = testfunction(**testargs)
  1867. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  1868. res = check_module_param_check(PROJECT, module_name, item)
  1869. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1870. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1871. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  1872. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  1873. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  1874. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  1875. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  1876. Arguments: ()
  1877. --- Logging error ---
  1878. Traceback (most recent call last):
  1879. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1880. stream.write(msg + self.terminator)
  1881. OSError: [WinError 6] 句柄无效。
  1882. Call stack:
  1883. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1884. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1885. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1886. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1887. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1888. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1889. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1890. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1891. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1892. res = hook_impl.function(*args)
  1893. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1894. return wrap_session(config, _main)
  1895. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1896. session.exitstatus = doit(config, session) or 0
  1897. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1898. config.hook.pytest_runtestloop(session=session)
  1899. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1900. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1901. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1902. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1903. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1904. res = hook_impl.function(*args)
  1905. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1906. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1907. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1908. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1909. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1910. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1911. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1912. res = hook_impl.function(*args)
  1913. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1914. runtestprotocol(item, nextitem=nextitem)
  1915. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1916. reports.append(call_and_report(item, &quot;call&quot;, log))
  1917. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1918. call = call_runtest_hook(item, when, **kwds)
  1919. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1920. return CallInfo.from_call(
  1921. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1922. result: Optional[TResult] = func()
  1923. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  1924. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  1925. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1926. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1927. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1928. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1929. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1930. res = hook_impl.function(*args)
  1931. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  1932. item.runtest()
  1933. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  1934. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  1935. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1936. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1937. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1938. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1939. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1940. res = hook_impl.function(*args)
  1941. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  1942. result = testfunction(**testargs)
  1943. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  1944. res = check_module_param_check(PROJECT, module_name, item)
  1945. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  1946. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  1947. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  1948. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  1949. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  1950. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  1951. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  1952. Arguments: ()
  1953. --- Logging error ---
  1954. Traceback (most recent call last):
  1955. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  1956. stream.write(msg + self.terminator)
  1957. OSError: [WinError 6] 句柄无效。
  1958. Call stack:
  1959. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  1960. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  1961. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  1962. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  1963. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1964. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1965. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1966. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1967. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1968. res = hook_impl.function(*args)
  1969. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  1970. return wrap_session(config, _main)
  1971. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  1972. session.exitstatus = doit(config, session) or 0
  1973. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  1974. config.hook.pytest_runtestloop(session=session)
  1975. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1976. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1977. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1978. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1979. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1980. res = hook_impl.function(*args)
  1981. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  1982. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  1983. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  1984. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  1985. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  1986. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  1987. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  1988. res = hook_impl.function(*args)
  1989. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  1990. runtestprotocol(item, nextitem=nextitem)
  1991. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  1992. reports.append(call_and_report(item, &quot;call&quot;, log))
  1993. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  1994. call = call_runtest_hook(item, when, **kwds)
  1995. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  1996. return CallInfo.from_call(
  1997. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  1998. result: Optional[TResult] = func()
  1999. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2000. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2001. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2002. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2003. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2004. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2005. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2006. res = hook_impl.function(*args)
  2007. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2008. item.runtest()
  2009. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2010. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2011. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2012. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2013. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2014. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2015. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2016. res = hook_impl.function(*args)
  2017. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2018. result = testfunction(**testargs)
  2019. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2020. res = check_module_param_check(PROJECT, module_name, item)
  2021. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2022. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2023. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2024. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2025. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2026. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2027. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2028. Arguments: ()
  2029. --- Logging error ---
  2030. Traceback (most recent call last):
  2031. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2032. stream.write(msg + self.terminator)
  2033. OSError: [WinError 6] 句柄无效。
  2034. Call stack:
  2035. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2036. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2037. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2038. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2039. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2040. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2041. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2042. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2043. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2044. res = hook_impl.function(*args)
  2045. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2046. return wrap_session(config, _main)
  2047. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2048. session.exitstatus = doit(config, session) or 0
  2049. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2050. config.hook.pytest_runtestloop(session=session)
  2051. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2052. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2053. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2054. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2055. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2056. res = hook_impl.function(*args)
  2057. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2058. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2059. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2060. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2061. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2062. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2063. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2064. res = hook_impl.function(*args)
  2065. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2066. runtestprotocol(item, nextitem=nextitem)
  2067. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2068. reports.append(call_and_report(item, &quot;call&quot;, log))
  2069. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2070. call = call_runtest_hook(item, when, **kwds)
  2071. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2072. return CallInfo.from_call(
  2073. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2074. result: Optional[TResult] = func()
  2075. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2076. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2077. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2078. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2079. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2080. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2081. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2082. res = hook_impl.function(*args)
  2083. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2084. item.runtest()
  2085. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2086. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2087. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2088. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2089. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2090. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2091. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2092. res = hook_impl.function(*args)
  2093. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2094. result = testfunction(**testargs)
  2095. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2096. res = check_module_param_check(PROJECT, module_name, item)
  2097. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2098. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2099. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2100. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2101. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2102. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2103. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2104. Arguments: ()
  2105. --- Logging error ---
  2106. Traceback (most recent call last):
  2107. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2108. stream.write(msg + self.terminator)
  2109. OSError: [WinError 6] 句柄无效。
  2110. Call stack:
  2111. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2112. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2113. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2114. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2115. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2116. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2117. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2118. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2119. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2120. res = hook_impl.function(*args)
  2121. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2122. return wrap_session(config, _main)
  2123. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2124. session.exitstatus = doit(config, session) or 0
  2125. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2126. config.hook.pytest_runtestloop(session=session)
  2127. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2128. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2129. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2130. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2131. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2132. res = hook_impl.function(*args)
  2133. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2134. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2135. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2136. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2137. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2138. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2139. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2140. res = hook_impl.function(*args)
  2141. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2142. runtestprotocol(item, nextitem=nextitem)
  2143. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2144. reports.append(call_and_report(item, &quot;call&quot;, log))
  2145. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2146. call = call_runtest_hook(item, when, **kwds)
  2147. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2148. return CallInfo.from_call(
  2149. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2150. result: Optional[TResult] = func()
  2151. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2152. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2153. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2154. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2155. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2156. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2157. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2158. res = hook_impl.function(*args)
  2159. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2160. item.runtest()
  2161. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2162. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2163. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2164. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2165. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2166. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2167. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2168. res = hook_impl.function(*args)
  2169. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2170. result = testfunction(**testargs)
  2171. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2172. res = check_module_param_check(PROJECT, module_name, item)
  2173. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2174. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2175. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2176. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2177. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2178. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2179. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2180. Arguments: ()
  2181. --- Logging error ---
  2182. Traceback (most recent call last):
  2183. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2184. stream.write(msg + self.terminator)
  2185. OSError: [WinError 6] 句柄无效。
  2186. Call stack:
  2187. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2188. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2189. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2190. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2191. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2192. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2193. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2194. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2195. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2196. res = hook_impl.function(*args)
  2197. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2198. return wrap_session(config, _main)
  2199. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2200. session.exitstatus = doit(config, session) or 0
  2201. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2202. config.hook.pytest_runtestloop(session=session)
  2203. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2204. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2205. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2206. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2207. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2208. res = hook_impl.function(*args)
  2209. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2210. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2211. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2212. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2213. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2214. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2215. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2216. res = hook_impl.function(*args)
  2217. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2218. runtestprotocol(item, nextitem=nextitem)
  2219. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2220. reports.append(call_and_report(item, &quot;call&quot;, log))
  2221. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2222. call = call_runtest_hook(item, when, **kwds)
  2223. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2224. return CallInfo.from_call(
  2225. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2226. result: Optional[TResult] = func()
  2227. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2228. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2229. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2230. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2231. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2232. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2233. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2234. res = hook_impl.function(*args)
  2235. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2236. item.runtest()
  2237. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2238. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2239. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2240. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2241. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2242. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2243. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2244. res = hook_impl.function(*args)
  2245. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2246. result = testfunction(**testargs)
  2247. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2248. res = check_module_param_check(PROJECT, module_name, item)
  2249. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2250. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2251. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2252. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2253. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2254. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2255. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2256. Arguments: ()
  2257. --- Logging error ---
  2258. Traceback (most recent call last):
  2259. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2260. stream.write(msg + self.terminator)
  2261. OSError: [WinError 6] 句柄无效。
  2262. Call stack:
  2263. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2264. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2265. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2266. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2267. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2268. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2269. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2270. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2271. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2272. res = hook_impl.function(*args)
  2273. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2274. return wrap_session(config, _main)
  2275. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2276. session.exitstatus = doit(config, session) or 0
  2277. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2278. config.hook.pytest_runtestloop(session=session)
  2279. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2280. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2281. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2282. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2283. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2284. res = hook_impl.function(*args)
  2285. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2286. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2287. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2288. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2289. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2290. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2291. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2292. res = hook_impl.function(*args)
  2293. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2294. runtestprotocol(item, nextitem=nextitem)
  2295. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2296. reports.append(call_and_report(item, &quot;call&quot;, log))
  2297. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2298. call = call_runtest_hook(item, when, **kwds)
  2299. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2300. return CallInfo.from_call(
  2301. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2302. result: Optional[TResult] = func()
  2303. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2304. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2305. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2306. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2307. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2308. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2309. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2310. res = hook_impl.function(*args)
  2311. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2312. item.runtest()
  2313. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2314. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2315. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2316. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2317. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2318. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2319. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2320. res = hook_impl.function(*args)
  2321. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2322. result = testfunction(**testargs)
  2323. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2324. res = check_module_param_check(PROJECT, module_name, item)
  2325. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2326. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2327. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2328. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2329. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2330. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2331. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2332. Arguments: ()
  2333. --- Logging error ---
  2334. Traceback (most recent call last):
  2335. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2336. stream.write(msg + self.terminator)
  2337. OSError: [WinError 6] 句柄无效。
  2338. Call stack:
  2339. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2340. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2341. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2342. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2343. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2344. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2345. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2346. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2347. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2348. res = hook_impl.function(*args)
  2349. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2350. return wrap_session(config, _main)
  2351. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2352. session.exitstatus = doit(config, session) or 0
  2353. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2354. config.hook.pytest_runtestloop(session=session)
  2355. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2356. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2357. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2358. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2359. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2360. res = hook_impl.function(*args)
  2361. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2362. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2363. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2364. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2365. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2366. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2367. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2368. res = hook_impl.function(*args)
  2369. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2370. runtestprotocol(item, nextitem=nextitem)
  2371. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2372. reports.append(call_and_report(item, &quot;call&quot;, log))
  2373. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2374. call = call_runtest_hook(item, when, **kwds)
  2375. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2376. return CallInfo.from_call(
  2377. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2378. result: Optional[TResult] = func()
  2379. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2380. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2381. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2382. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2383. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2384. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2385. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2386. res = hook_impl.function(*args)
  2387. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2388. item.runtest()
  2389. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2390. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2391. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2392. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2393. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2394. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2395. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2396. res = hook_impl.function(*args)
  2397. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2398. result = testfunction(**testargs)
  2399. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2400. res = check_module_param_check(PROJECT, module_name, item)
  2401. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2402. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2403. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2404. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2405. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2406. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2407. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2408. Arguments: ()
  2409. --- Logging error ---
  2410. Traceback (most recent call last):
  2411. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2412. stream.write(msg + self.terminator)
  2413. OSError: [WinError 6] 句柄无效。
  2414. Call stack:
  2415. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2416. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2417. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2418. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2419. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2420. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2421. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2422. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2423. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2424. res = hook_impl.function(*args)
  2425. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2426. return wrap_session(config, _main)
  2427. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2428. session.exitstatus = doit(config, session) or 0
  2429. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2430. config.hook.pytest_runtestloop(session=session)
  2431. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2432. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2433. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2434. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2435. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2436. res = hook_impl.function(*args)
  2437. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2438. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2439. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2440. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2441. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2442. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2443. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2444. res = hook_impl.function(*args)
  2445. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2446. runtestprotocol(item, nextitem=nextitem)
  2447. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2448. reports.append(call_and_report(item, &quot;call&quot;, log))
  2449. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2450. call = call_runtest_hook(item, when, **kwds)
  2451. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2452. return CallInfo.from_call(
  2453. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2454. result: Optional[TResult] = func()
  2455. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2456. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2457. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2458. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2459. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2460. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2461. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2462. res = hook_impl.function(*args)
  2463. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2464. item.runtest()
  2465. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2466. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2467. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2468. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2469. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2470. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2471. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2472. res = hook_impl.function(*args)
  2473. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2474. result = testfunction(**testargs)
  2475. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2476. res = check_module_param_check(PROJECT, module_name, item)
  2477. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2478. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2479. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2480. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2481. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2482. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2483. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2484. Arguments: ()
  2485. --- Logging error ---
  2486. Traceback (most recent call last):
  2487. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2488. stream.write(msg + self.terminator)
  2489. OSError: [WinError 6] 句柄无效。
  2490. Call stack:
  2491. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2492. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2493. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2494. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2495. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2496. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2497. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2498. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2499. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2500. res = hook_impl.function(*args)
  2501. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2502. return wrap_session(config, _main)
  2503. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2504. session.exitstatus = doit(config, session) or 0
  2505. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2506. config.hook.pytest_runtestloop(session=session)
  2507. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2508. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2509. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2510. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2511. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2512. res = hook_impl.function(*args)
  2513. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2514. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2515. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2516. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2517. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2518. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2519. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2520. res = hook_impl.function(*args)
  2521. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2522. runtestprotocol(item, nextitem=nextitem)
  2523. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2524. reports.append(call_and_report(item, &quot;call&quot;, log))
  2525. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2526. call = call_runtest_hook(item, when, **kwds)
  2527. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2528. return CallInfo.from_call(
  2529. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2530. result: Optional[TResult] = func()
  2531. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2532. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2533. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2534. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2535. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2536. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2537. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2538. res = hook_impl.function(*args)
  2539. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2540. item.runtest()
  2541. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2542. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2543. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2544. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2545. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2546. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2547. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2548. res = hook_impl.function(*args)
  2549. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2550. result = testfunction(**testargs)
  2551. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2552. res = check_module_param_check(PROJECT, module_name, item)
  2553. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2554. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2555. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2556. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2557. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2558. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2559. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2560. Arguments: ()
  2561. --- Logging error ---
  2562. Traceback (most recent call last):
  2563. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2564. stream.write(msg + self.terminator)
  2565. OSError: [WinError 6] 句柄无效。
  2566. Call stack:
  2567. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2568. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2569. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2570. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2571. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2572. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2573. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2574. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2575. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2576. res = hook_impl.function(*args)
  2577. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2578. return wrap_session(config, _main)
  2579. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2580. session.exitstatus = doit(config, session) or 0
  2581. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2582. config.hook.pytest_runtestloop(session=session)
  2583. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2584. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2585. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2586. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2587. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2588. res = hook_impl.function(*args)
  2589. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2590. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2591. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2592. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2593. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2594. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2595. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2596. res = hook_impl.function(*args)
  2597. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2598. runtestprotocol(item, nextitem=nextitem)
  2599. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2600. reports.append(call_and_report(item, &quot;call&quot;, log))
  2601. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2602. call = call_runtest_hook(item, when, **kwds)
  2603. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2604. return CallInfo.from_call(
  2605. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2606. result: Optional[TResult] = func()
  2607. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2608. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2609. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2610. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2611. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2612. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2613. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2614. res = hook_impl.function(*args)
  2615. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2616. item.runtest()
  2617. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2618. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2619. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2620. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2621. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2622. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2623. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2624. res = hook_impl.function(*args)
  2625. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2626. result = testfunction(**testargs)
  2627. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2628. res = check_module_param_check(PROJECT, module_name, item)
  2629. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2630. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2631. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2632. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2633. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2634. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2635. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2636. Arguments: ()
  2637. --- Logging error ---
  2638. Traceback (most recent call last):
  2639. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2640. stream.write(msg + self.terminator)
  2641. OSError: [WinError 6] 句柄无效。
  2642. Call stack:
  2643. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2644. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2645. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2646. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2647. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2648. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2649. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2650. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2651. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2652. res = hook_impl.function(*args)
  2653. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2654. return wrap_session(config, _main)
  2655. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2656. session.exitstatus = doit(config, session) or 0
  2657. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2658. config.hook.pytest_runtestloop(session=session)
  2659. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2660. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2661. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2662. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2663. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2664. res = hook_impl.function(*args)
  2665. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2666. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2667. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2668. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2669. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2670. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2671. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2672. res = hook_impl.function(*args)
  2673. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2674. runtestprotocol(item, nextitem=nextitem)
  2675. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2676. reports.append(call_and_report(item, &quot;call&quot;, log))
  2677. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2678. call = call_runtest_hook(item, when, **kwds)
  2679. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2680. return CallInfo.from_call(
  2681. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2682. result: Optional[TResult] = func()
  2683. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2684. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2685. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2686. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2687. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2688. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2689. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2690. res = hook_impl.function(*args)
  2691. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2692. item.runtest()
  2693. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2694. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2695. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2696. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2697. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2698. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2699. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2700. res = hook_impl.function(*args)
  2701. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2702. result = testfunction(**testargs)
  2703. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2704. res = check_module_param_check(PROJECT, module_name, item)
  2705. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2706. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2707. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2708. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2709. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2710. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2711. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2712. Arguments: ()
  2713. --- Logging error ---
  2714. Traceback (most recent call last):
  2715. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2716. stream.write(msg + self.terminator)
  2717. OSError: [WinError 6] 句柄无效。
  2718. Call stack:
  2719. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2720. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2721. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2722. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2723. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2724. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2725. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2726. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2727. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2728. res = hook_impl.function(*args)
  2729. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2730. return wrap_session(config, _main)
  2731. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2732. session.exitstatus = doit(config, session) or 0
  2733. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2734. config.hook.pytest_runtestloop(session=session)
  2735. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2736. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2737. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2738. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2739. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2740. res = hook_impl.function(*args)
  2741. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2742. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2743. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2744. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2745. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2746. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2747. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2748. res = hook_impl.function(*args)
  2749. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2750. runtestprotocol(item, nextitem=nextitem)
  2751. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2752. reports.append(call_and_report(item, &quot;call&quot;, log))
  2753. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2754. call = call_runtest_hook(item, when, **kwds)
  2755. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2756. return CallInfo.from_call(
  2757. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2758. result: Optional[TResult] = func()
  2759. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2760. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2761. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2762. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2763. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2764. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2765. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2766. res = hook_impl.function(*args)
  2767. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2768. item.runtest()
  2769. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2770. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2771. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2772. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2773. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2774. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2775. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2776. res = hook_impl.function(*args)
  2777. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2778. result = testfunction(**testargs)
  2779. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2780. res = check_module_param_check(PROJECT, module_name, item)
  2781. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2782. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2783. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2784. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2785. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2786. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2787. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2788. Arguments: ()
  2789. --- Logging error ---
  2790. Traceback (most recent call last):
  2791. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2792. stream.write(msg + self.terminator)
  2793. OSError: [WinError 6] 句柄无效。
  2794. Call stack:
  2795. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2796. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2797. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2798. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2799. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2800. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2801. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2802. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2803. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2804. res = hook_impl.function(*args)
  2805. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2806. return wrap_session(config, _main)
  2807. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2808. session.exitstatus = doit(config, session) or 0
  2809. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2810. config.hook.pytest_runtestloop(session=session)
  2811. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2812. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2813. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2814. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2815. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2816. res = hook_impl.function(*args)
  2817. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2818. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2819. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2820. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2821. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2822. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2823. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2824. res = hook_impl.function(*args)
  2825. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2826. runtestprotocol(item, nextitem=nextitem)
  2827. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2828. reports.append(call_and_report(item, &quot;call&quot;, log))
  2829. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2830. call = call_runtest_hook(item, when, **kwds)
  2831. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2832. return CallInfo.from_call(
  2833. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2834. result: Optional[TResult] = func()
  2835. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  2836. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  2837. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2838. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2839. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2840. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2841. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2842. res = hook_impl.function(*args)
  2843. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  2844. item.runtest()
  2845. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  2846. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  2847. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2848. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2849. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2850. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2851. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2852. res = hook_impl.function(*args)
  2853. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  2854. result = testfunction(**testargs)
  2855. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  2856. res = check_module_param_check(PROJECT, module_name, item)
  2857. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  2858. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  2859. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  2860. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  2861. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  2862. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  2863. Message: &#x27;Check Param DemImmediateNvStorage not match! Expect Value true != false&#x27;
  2864. Arguments: ()
  2865. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2866. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2867. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2868. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2869. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2870. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2871. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2872. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2873. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2874. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2875. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2876. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2877. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2878. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2879. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2880. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false
  2881. ERROR root:CfgCheckBase.py:48 Check Param DemImmediateNvStorage not match! Expect Value true != false<br/></div></td></tr></tbody>
  2882. <tbody class="passed results-table-row">
  2883. <tr>
  2884. <td class="col-result">Passed</td>
  2885. <td class="col-name">testcase/test_case.py::test_fix_value_case[CanTp-CanTpChannelMode-CANTP_MODE_FULL_DUPLEX]</td>
  2886. <td class="col-duration">0.01</td>
  2887. <td class="col-links"></td></tr>
  2888. <tr>
  2889. <td class="extra" colspan="4">
  2890. <div class="empty log">No log output captured.</div></td></tr></tbody>
  2891. <tbody class="passed results-table-row">
  2892. <tr>
  2893. <td class="col-result">Passed</td>
  2894. <td class="col-name">testcase/test_case.py::test_fix_value_case[CanTp-CanTpMainFunctionPeriod-0.005]</td>
  2895. <td class="col-duration">0.01</td>
  2896. <td class="col-links"></td></tr>
  2897. <tr>
  2898. <td class="extra" colspan="4">
  2899. <div class="empty log">No log output captured.</div></td></tr></tbody>
  2900. <tbody class="passed results-table-row">
  2901. <tr>
  2902. <td class="col-result">Passed</td>
  2903. <td class="col-name">testcase/test_case.py::test_fix_value_case[CanTp-CanTpEnableSynchronousTransmit-true]</td>
  2904. <td class="col-duration">0.01</td>
  2905. <td class="col-links"></td></tr>
  2906. <tr>
  2907. <td class="extra" colspan="4">
  2908. <div class="empty log">No log output captured.</div></td></tr></tbody>
  2909. <tbody class="passed results-table-row">
  2910. <tr>
  2911. <td class="col-result">Passed</td>
  2912. <td class="col-name">testcase/test_case.py::test_fix_value_case[EthIf-EthIfVlanId-7]</td>
  2913. <td class="col-duration">0.00</td>
  2914. <td class="col-links"></td></tr>
  2915. <tr>
  2916. <td class="extra" colspan="4">
  2917. <div class="empty log">No log output captured.</div></td></tr></tbody>
  2918. <tbody class="passed results-table-row">
  2919. <tr>
  2920. <td class="col-result">Passed</td>
  2921. <td class="col-name">testcase/test_case.py::test_fix_value_case[EthIf-EthIfTrcvLinkStateChgMainReload-50]</td>
  2922. <td class="col-duration">0.00</td>
  2923. <td class="col-links"></td></tr>
  2924. <tr>
  2925. <td class="extra" colspan="4">
  2926. <div class="empty log">No log output captured.</div></td></tr></tbody>
  2927. <tbody class="passed results-table-row">
  2928. <tr>
  2929. <td class="col-result">Passed</td>
  2930. <td class="col-name">testcase/test_case.py::test_fix_value_case[EthTrcv-EthTrcvHwAccessMonitorPeriod-1]</td>
  2931. <td class="col-duration">0.00</td>
  2932. <td class="col-links"></td></tr>
  2933. <tr>
  2934. <td class="extra" colspan="4">
  2935. <div class="empty log">No log output captured.</div></td></tr></tbody>
  2936. <tbody class="passed results-table-row">
  2937. <tr>
  2938. <td class="col-result">Passed</td>
  2939. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPControlIpAssignment-false]</td>
  2940. <td class="col-duration">0.00</td>
  2941. <td class="col-links"></td></tr>
  2942. <tr>
  2943. <td class="extra" colspan="4">
  2944. <div class="empty log">No log output captured.</div></td></tr></tbody>
  2945. <tbody class="passed results-table-row">
  2946. <tr>
  2947. <td class="col-result">Passed</td>
  2948. <td class="col-name">testcase/test_case.py::test_fix_value_case[ComM-ComMMainFunctionPeriod-0.01]</td>
  2949. <td class="col-duration">0.00</td>
  2950. <td class="col-links"></td></tr>
  2951. <tr>
  2952. <td class="extra" colspan="4">
  2953. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  2954. Traceback (most recent call last):
  2955. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  2956. stream.write(msg + self.terminator)
  2957. OSError: [WinError 6] 句柄无效。
  2958. Call stack:
  2959. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  2960. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  2961. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  2962. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  2963. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2964. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2965. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2966. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2967. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2968. res = hook_impl.function(*args)
  2969. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  2970. return wrap_session(config, _main)
  2971. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  2972. session.exitstatus = doit(config, session) or 0
  2973. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  2974. config.hook.pytest_runtestloop(session=session)
  2975. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2976. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2977. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2978. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2979. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2980. res = hook_impl.function(*args)
  2981. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  2982. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  2983. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  2984. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  2985. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  2986. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  2987. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  2988. res = hook_impl.function(*args)
  2989. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  2990. runtestprotocol(item, nextitem=nextitem)
  2991. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  2992. reports.append(call_and_report(item, &quot;call&quot;, log))
  2993. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  2994. call = call_runtest_hook(item, when, **kwds)
  2995. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  2996. return CallInfo.from_call(
  2997. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  2998. result: Optional[TResult] = func()
  2999. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3000. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3001. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3002. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3003. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3004. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3005. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3006. res = hook_impl.function(*args)
  3007. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3008. item.runtest()
  3009. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3010. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3011. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3012. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3013. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3014. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3015. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3016. res = hook_impl.function(*args)
  3017. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3018. result = testfunction(**testargs)
  3019. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 32, in test_fix_value_case
  3020. res = check_module_param_check(PROJECT, module_name, item)
  3021. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3022. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3023. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 64, in do_param_check
  3024. match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
  3025. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py&quot;, line 48, in parameter_match
  3026. logging.error(f&quot;Check Param {param_name} not match! Expect Value {param_expect_value} != {value}&quot;)
  3027. Message: &#x27;Check Param ComMMainFunctionPeriod not match! Expect Value 0.01 != 0.02&#x27;
  3028. Arguments: ()
  3029. <br/> -------------------------------Captured log call-------------------------------- <br/>ERROR root:CfgCheckBase.py:48 Check Param ComMMainFunctionPeriod not match! Expect Value 0.01 != 0.02<br/></div></td></tr></tbody>
  3030. <tbody class="passed results-table-row">
  3031. <tr>
  3032. <td class="col-result">Passed</td>
  3033. <td class="col-name">testcase/test_case.py::test_fix_value_case[Ea-EaNumberOfWriteCycles-1000000]</td>
  3034. <td class="col-duration">0.01</td>
  3035. <td class="col-links"></td></tr>
  3036. <tr>
  3037. <td class="extra" colspan="4">
  3038. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3039. <tbody class="passed results-table-row">
  3040. <tr>
  3041. <td class="col-result">Passed</td>
  3042. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmRequestManufacturerNotificationEnabled-true]</td>
  3043. <td class="col-duration">0.01</td>
  3044. <td class="col-links"></td></tr>
  3045. <tr>
  3046. <td class="extra" colspan="4">
  3047. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3048. <tbody class="passed results-table-row">
  3049. <tr>
  3050. <td class="col-result">Passed</td>
  3051. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmRequestSupplierNotificationEnabled-true]</td>
  3052. <td class="col-duration">0.01</td>
  3053. <td class="col-links"></td></tr>
  3054. <tr>
  3055. <td class="extra" colspan="4">
  3056. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3057. <tbody class="passed results-table-row">
  3058. <tr>
  3059. <td class="col-result">Passed</td>
  3060. <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemReportSuppressedDTCsInService19x0A-true]</td>
  3061. <td class="col-duration">0.01</td>
  3062. <td class="col-links"></td></tr>
  3063. <tr>
  3064. <td class="extra" colspan="4">
  3065. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3066. <tbody class="passed results-table-row">
  3067. <tr>
  3068. <td class="col-result">Passed</td>
  3069. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPActivationLineDefaultActive-true]</td>
  3070. <td class="col-duration">0.00</td>
  3071. <td class="col-links"></td></tr>
  3072. <tr>
  3073. <td class="extra" colspan="4">
  3074. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3075. <tbody class="passed results-table-row">
  3076. <tr>
  3077. <td class="col-result">Passed</td>
  3078. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPAliveCheckResponseTimeout-0.5]</td>
  3079. <td class="col-duration">0.00</td>
  3080. <td class="col-links"></td></tr>
  3081. <tr>
  3082. <td class="extra" colspan="4">
  3083. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3084. <tbody class="passed results-table-row">
  3085. <tr>
  3086. <td class="col-result">Passed</td>
  3087. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPGeneralInactivityTime-300]</td>
  3088. <td class="col-duration">0.00</td>
  3089. <td class="col-links"></td></tr>
  3090. <tr>
  3091. <td class="extra" colspan="4">
  3092. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3093. <tbody class="passed results-table-row">
  3094. <tr>
  3095. <td class="col-result">Passed</td>
  3096. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPInitialInactivityTime-2]</td>
  3097. <td class="col-duration">0.00</td>
  3098. <td class="col-links"></td></tr>
  3099. <tr>
  3100. <td class="extra" colspan="4">
  3101. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3102. <tbody class="passed results-table-row">
  3103. <tr>
  3104. <td class="col-result">Passed</td>
  3105. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPInitialVehicleAnnouncementTime-0.5]</td>
  3106. <td class="col-duration">0.00</td>
  3107. <td class="col-links"></td></tr>
  3108. <tr>
  3109. <td class="extra" colspan="4">
  3110. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3111. <tbody class="passed results-table-row">
  3112. <tr>
  3113. <td class="col-result">Passed</td>
  3114. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPNodeType-DOIP_GATEWAY]</td>
  3115. <td class="col-duration">0.00</td>
  3116. <td class="col-links"></td></tr>
  3117. <tr>
  3118. <td class="extra" colspan="4">
  3119. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3120. <tbody class="passed results-table-row">
  3121. <tr>
  3122. <td class="col-result">Passed</td>
  3123. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPSupportEntityState-true]</td>
  3124. <td class="col-duration">0.00</td>
  3125. <td class="col-links"></td></tr>
  3126. <tr>
  3127. <td class="extra" colspan="4">
  3128. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3129. <tbody class="passed results-table-row">
  3130. <tr>
  3131. <td class="col-result">Passed</td>
  3132. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPUseEIDasGID-true]</td>
  3133. <td class="col-duration">0.00</td>
  3134. <td class="col-links"></td></tr>
  3135. <tr>
  3136. <td class="extra" colspan="4">
  3137. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3138. <tbody class="passed results-table-row">
  3139. <tr>
  3140. <td class="col-result">Passed</td>
  3141. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPUseMacAddressForIdentification-true]</td>
  3142. <td class="col-duration">0.00</td>
  3143. <td class="col-links"></td></tr>
  3144. <tr>
  3145. <td class="extra" colspan="4">
  3146. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3147. <tbody class="passed results-table-row">
  3148. <tr>
  3149. <td class="col-result">Passed</td>
  3150. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPUseVehicleIdentificationSyncStatus-true]</td>
  3151. <td class="col-duration">0.00</td>
  3152. <td class="col-links"></td></tr>
  3153. <tr>
  3154. <td class="extra" colspan="4">
  3155. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3156. <tbody class="passed results-table-row">
  3157. <tr>
  3158. <td class="col-result">Passed</td>
  3159. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPVehicleAnnouncementInterval-0.5]</td>
  3160. <td class="col-duration">0.00</td>
  3161. <td class="col-links"></td></tr>
  3162. <tr>
  3163. <td class="extra" colspan="4">
  3164. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3165. <tbody class="passed results-table-row">
  3166. <tr>
  3167. <td class="col-result">Passed</td>
  3168. <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPVehicleAnnouncementRepetition-3]</td>
  3169. <td class="col-duration">0.00</td>
  3170. <td class="col-links"></td></tr>
  3171. <tr>
  3172. <td class="extra" colspan="4">
  3173. <div class="empty log">No log output captured.</div></td></tr></tbody>
  3174. <tbody class="passed results-table-row">
  3175. <tr>
  3176. <td class="col-result">Passed</td>
  3177. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Rte-search_pattern0-RteExclusiveAreaImplMechanism-NONE]</td>
  3178. <td class="col-duration">0.05</td>
  3179. <td class="col-links"></td></tr>
  3180. <tr>
  3181. <td class="extra" colspan="4">
  3182. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  3183. Traceback (most recent call last):
  3184. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3185. stream.write(msg + self.terminator)
  3186. OSError: [WinError 6] 句柄无效。
  3187. Call stack:
  3188. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3189. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3190. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3191. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3192. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3193. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3194. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3195. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3196. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3197. res = hook_impl.function(*args)
  3198. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3199. return wrap_session(config, _main)
  3200. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3201. session.exitstatus = doit(config, session) or 0
  3202. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3203. config.hook.pytest_runtestloop(session=session)
  3204. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3205. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3206. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3207. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3208. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3209. res = hook_impl.function(*args)
  3210. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3211. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3212. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3213. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3214. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3215. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3216. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3217. res = hook_impl.function(*args)
  3218. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3219. runtestprotocol(item, nextitem=nextitem)
  3220. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3221. reports.append(call_and_report(item, &quot;call&quot;, log))
  3222. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3223. call = call_runtest_hook(item, when, **kwds)
  3224. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3225. return CallInfo.from_call(
  3226. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3227. result: Optional[TResult] = func()
  3228. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3229. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3230. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3231. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3232. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3233. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3234. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3235. res = hook_impl.function(*args)
  3236. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3237. item.runtest()
  3238. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3239. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3240. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3241. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3242. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3243. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3244. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3245. res = hook_impl.function(*args)
  3246. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3247. result = testfunction(**testargs)
  3248. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3249. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3250. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3251. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3252. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  3253. match_element = get_match_element_function(check_items, **search_pattern)
  3254. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  3255. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  3256. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bf14d0c1-3d89-4086-bc75-df93012555d2&quot;&gt;&lt;SHORT-NAME&gt;ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;NONE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;EXCLUSIVE-AREA&quot;&gt;/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  3257. Arguments: ()
  3258. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bf14d0c1-3d89-4086-bc75-df93012555d2&quot;&gt;&lt;SHORT-NAME&gt;ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;NONE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;EXCLUSIVE-AREA&quot;&gt;/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  3259. <tbody class="passed results-table-row">
  3260. <tr>
  3261. <td class="col-result">Passed</td>
  3262. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Rte-search_pattern1-RteExclusiveAreaImplMechanism-NONE]</td>
  3263. <td class="col-duration">0.05</td>
  3264. <td class="col-links"></td></tr>
  3265. <tr>
  3266. <td class="extra" colspan="4">
  3267. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  3268. Traceback (most recent call last):
  3269. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3270. stream.write(msg + self.terminator)
  3271. OSError: [WinError 6] 句柄无效。
  3272. Call stack:
  3273. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3274. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3275. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3276. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3277. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3278. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3279. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3280. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3281. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3282. res = hook_impl.function(*args)
  3283. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3284. return wrap_session(config, _main)
  3285. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3286. session.exitstatus = doit(config, session) or 0
  3287. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3288. config.hook.pytest_runtestloop(session=session)
  3289. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3290. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3291. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3292. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3293. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3294. res = hook_impl.function(*args)
  3295. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3296. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3297. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3298. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3299. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3300. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3301. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3302. res = hook_impl.function(*args)
  3303. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3304. runtestprotocol(item, nextitem=nextitem)
  3305. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3306. reports.append(call_and_report(item, &quot;call&quot;, log))
  3307. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3308. call = call_runtest_hook(item, when, **kwds)
  3309. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3310. return CallInfo.from_call(
  3311. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3312. result: Optional[TResult] = func()
  3313. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3314. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3315. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3316. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3317. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3318. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3319. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3320. res = hook_impl.function(*args)
  3321. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3322. item.runtest()
  3323. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3324. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3325. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3326. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3327. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3328. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3329. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3330. res = hook_impl.function(*args)
  3331. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3332. result = testfunction(**testargs)
  3333. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3334. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3335. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3336. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3337. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  3338. match_element = get_match_element_function(check_items, **search_pattern)
  3339. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  3340. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  3341. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bf14d0c1-3d89-4086-bc75-df93012555d2&quot;&gt;&lt;SHORT-NAME&gt;ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;NONE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;EXCLUSIVE-AREA&quot;&gt;/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  3342. Arguments: ()
  3343. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bf14d0c1-3d89-4086-bc75-df93012555d2&quot;&gt;&lt;SHORT-NAME&gt;ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;NONE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;EXCLUSIVE-AREA&quot;&gt;/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  3344. <tbody class="passed results-table-row">
  3345. <tr>
  3346. <td class="col-result">Passed</td>
  3347. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Rte-search_pattern2-RteExclusiveAreaImplMechanism-NONE]</td>
  3348. <td class="col-duration">0.05</td>
  3349. <td class="col-links"></td></tr>
  3350. <tr>
  3351. <td class="extra" colspan="4">
  3352. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  3353. Traceback (most recent call last):
  3354. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3355. stream.write(msg + self.terminator)
  3356. OSError: [WinError 6] 句柄无效。
  3357. Call stack:
  3358. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3359. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3360. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3361. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3362. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3363. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3364. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3365. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3366. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3367. res = hook_impl.function(*args)
  3368. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3369. return wrap_session(config, _main)
  3370. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3371. session.exitstatus = doit(config, session) or 0
  3372. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3373. config.hook.pytest_runtestloop(session=session)
  3374. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3375. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3376. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3377. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3378. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3379. res = hook_impl.function(*args)
  3380. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3381. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3382. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3383. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3384. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3385. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3386. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3387. res = hook_impl.function(*args)
  3388. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3389. runtestprotocol(item, nextitem=nextitem)
  3390. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3391. reports.append(call_and_report(item, &quot;call&quot;, log))
  3392. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3393. call = call_runtest_hook(item, when, **kwds)
  3394. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3395. return CallInfo.from_call(
  3396. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3397. result: Optional[TResult] = func()
  3398. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3399. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3400. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3401. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3402. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3403. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3404. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3405. res = hook_impl.function(*args)
  3406. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3407. item.runtest()
  3408. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3409. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3410. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3411. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3412. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3413. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3414. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3415. res = hook_impl.function(*args)
  3416. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3417. result = testfunction(**testargs)
  3418. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3419. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3420. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3421. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3422. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  3423. match_element = get_match_element_function(check_items, **search_pattern)
  3424. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  3425. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  3426. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;98dc5aa8-2a5d-442e-b734-3561af67f232&quot;&gt;&lt;SHORT-NAME&gt;EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;NONE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;EXCLUSIVE-AREA&quot;&gt;/MICROSAR/EthSwt_30_88Q5050_ib_bswmd/BswModuleDescriptions/EthSwt/EthSwt_30_88Q5050Behavior/EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  3427. Arguments: ()
  3428. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;98dc5aa8-2a5d-442e-b734-3561af67f232&quot;&gt;&lt;SHORT-NAME&gt;EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;NONE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;EXCLUSIVE-AREA&quot;&gt;/MICROSAR/EthSwt_30_88Q5050_ib_bswmd/BswModuleDescriptions/EthSwt/EthSwt_30_88Q5050Behavior/EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  3429. <tbody class="passed results-table-row">
  3430. <tr>
  3431. <td class="col-result">Passed</td>
  3432. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[TcpIp-search_pattern3-TcpIpAssignmentTrigger-TCPIP_MANUAL]</td>
  3433. <td class="col-duration">0.00</td>
  3434. <td class="col-links"></td></tr>
  3435. <tr>
  3436. <td class="extra" colspan="4">
  3437. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  3438. Traceback (most recent call last):
  3439. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3440. stream.write(msg + self.terminator)
  3441. OSError: [WinError 6] 句柄无效。
  3442. Call stack:
  3443. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3444. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3445. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3446. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3447. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3448. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3449. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3450. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3451. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3452. res = hook_impl.function(*args)
  3453. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3454. return wrap_session(config, _main)
  3455. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3456. session.exitstatus = doit(config, session) or 0
  3457. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3458. config.hook.pytest_runtestloop(session=session)
  3459. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3460. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3461. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3462. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3463. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3464. res = hook_impl.function(*args)
  3465. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3466. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3467. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3468. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3469. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3470. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3471. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3472. res = hook_impl.function(*args)
  3473. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3474. runtestprotocol(item, nextitem=nextitem)
  3475. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3476. reports.append(call_and_report(item, &quot;call&quot;, log))
  3477. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3478. call = call_runtest_hook(item, when, **kwds)
  3479. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3480. return CallInfo.from_call(
  3481. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3482. result: Optional[TResult] = func()
  3483. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3484. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3485. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3486. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3487. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3488. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3489. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3490. res = hook_impl.function(*args)
  3491. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3492. item.runtest()
  3493. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3494. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3495. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3496. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3497. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3498. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3499. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3500. res = hook_impl.function(*args)
  3501. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3502. result = testfunction(**testargs)
  3503. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3504. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3505. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3506. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3507. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  3508. match_element = get_match_element_function(check_items, **search_pattern)
  3509. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  3510. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  3511. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;397b14d1-b5e8-3292-9609-e1ae8e71e090&quot;&gt;&lt;SHORT-NAME&gt;NE_CCP_MCU_4b8feb2f&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;NE_CCP_MCU&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddressType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TCPIP_UNICAST&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpDomainType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TCPIP_AF_INET&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpIpAddrReceiveAllNotConfiguredMulticasts&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpCtrlRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/TcpIp/TcpIpConfig/EthernetCnt_MCUSOMEIP_958a6954&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;a57adb29-b7d4-40f3-978b-fe9394e325a1&quot;&gt;&lt;SHORT-NAME&gt;TcpIpStaticIpAddressConfig&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-STRING-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpStaticIpAddress&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;172.31.7.1&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpNetmask&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;24&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;71ccd270-2f06-46bd-86f6-98dc762b67f7&quot;&gt;&lt;SHORT-NAME&gt;NE_CCP_MCU_4b8feb2f&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentMethod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TCPIP_STATIC&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentTrigger&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TCPIP_MANUAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  3512. Arguments: ()
  3513. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;397b14d1-b5e8-3292-9609-e1ae8e71e090&quot;&gt;&lt;SHORT-NAME&gt;NE_CCP_MCU_4b8feb2f&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;NE_CCP_MCU&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddressType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TCPIP_UNICAST&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpDomainType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TCPIP_AF_INET&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpIpAddrReceiveAllNotConfiguredMulticasts&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpCtrlRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/TcpIp/TcpIpConfig/EthernetCnt_MCUSOMEIP_958a6954&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;a57adb29-b7d4-40f3-978b-fe9394e325a1&quot;&gt;&lt;SHORT-NAME&gt;TcpIpStaticIpAddressConfig&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-STRING-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpStaticIpAddress&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;172.31.7.1&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpNetmask&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;24&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;71ccd270-2f06-46bd-86f6-98dc762b67f7&quot;&gt;&lt;SHORT-NAME&gt;NE_CCP_MCU_4b8feb2f&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentMethod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TCPIP_STATIC&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentTrigger&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TCPIP_MANUAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  3514. <tbody class="passed results-table-row">
  3515. <tr>
  3516. <td class="col-result">Passed</td>
  3517. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern4-ComMNmVariant-FULL]</td>
  3518. <td class="col-duration">0.00</td>
  3519. <td class="col-links"></td></tr>
  3520. <tr>
  3521. <td class="extra" colspan="4">
  3522. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  3523. Traceback (most recent call last):
  3524. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3525. stream.write(msg + self.terminator)
  3526. OSError: [WinError 6] 句柄无效。
  3527. Call stack:
  3528. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3529. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3530. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3531. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3532. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3533. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3534. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3535. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3536. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3537. res = hook_impl.function(*args)
  3538. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3539. return wrap_session(config, _main)
  3540. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3541. session.exitstatus = doit(config, session) or 0
  3542. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3543. config.hook.pytest_runtestloop(session=session)
  3544. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3545. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3546. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3547. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3548. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3549. res = hook_impl.function(*args)
  3550. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3551. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3552. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3553. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3554. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3555. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3556. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3557. res = hook_impl.function(*args)
  3558. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3559. runtestprotocol(item, nextitem=nextitem)
  3560. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3561. reports.append(call_and_report(item, &quot;call&quot;, log))
  3562. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3563. call = call_runtest_hook(item, when, **kwds)
  3564. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3565. return CallInfo.from_call(
  3566. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3567. result: Optional[TResult] = func()
  3568. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3569. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3570. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3571. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3572. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3573. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3574. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3575. res = hook_impl.function(*args)
  3576. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3577. item.runtest()
  3578. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3579. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3580. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3581. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3582. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3583. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3584. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3585. res = hook_impl.function(*args)
  3586. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3587. result = testfunction(**testargs)
  3588. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3589. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3590. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3591. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3592. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  3593. match_element = get_match_element_function(check_items, **search_pattern)
  3594. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  3595. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  3596. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;394ab424-d42e-395e-b4a2-e443acae98ff&quot;&gt;&lt;SHORT-NAME&gt;CNCANConnector_c3dea38d&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CNCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;3&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;824aef3e-8710-39ed-99de-e897083d40db&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;5d2bfe99-b98f-4bde-88df-06746f146b06&quot;&gt;&lt;SHORT-NAME&gt;CNCANConnector_79bed539&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CNCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/CNCANConnector_56ba5669&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  3597. Arguments: ()
  3598. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;394ab424-d42e-395e-b4a2-e443acae98ff&quot;&gt;&lt;SHORT-NAME&gt;CNCANConnector_c3dea38d&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CNCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;3&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;824aef3e-8710-39ed-99de-e897083d40db&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;5d2bfe99-b98f-4bde-88df-06746f146b06&quot;&gt;&lt;SHORT-NAME&gt;CNCANConnector_79bed539&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CNCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/CNCANConnector_56ba5669&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  3599. <tbody class="passed results-table-row">
  3600. <tr>
  3601. <td class="col-result">Passed</td>
  3602. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern5-ComMNmVariant-FULL]</td>
  3603. <td class="col-duration">0.00</td>
  3604. <td class="col-links"></td></tr>
  3605. <tr>
  3606. <td class="extra" colspan="4">
  3607. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  3608. Traceback (most recent call last):
  3609. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3610. stream.write(msg + self.terminator)
  3611. OSError: [WinError 6] 句柄无效。
  3612. Call stack:
  3613. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3614. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3615. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3616. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3617. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3618. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3619. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3620. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3621. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3622. res = hook_impl.function(*args)
  3623. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3624. return wrap_session(config, _main)
  3625. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3626. session.exitstatus = doit(config, session) or 0
  3627. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3628. config.hook.pytest_runtestloop(session=session)
  3629. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3630. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3631. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3632. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3633. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3634. res = hook_impl.function(*args)
  3635. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3636. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3637. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3638. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3639. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3640. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3641. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3642. res = hook_impl.function(*args)
  3643. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3644. runtestprotocol(item, nextitem=nextitem)
  3645. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3646. reports.append(call_and_report(item, &quot;call&quot;, log))
  3647. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3648. call = call_runtest_hook(item, when, **kwds)
  3649. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3650. return CallInfo.from_call(
  3651. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3652. result: Optional[TResult] = func()
  3653. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3654. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3655. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3656. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3657. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3658. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3659. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3660. res = hook_impl.function(*args)
  3661. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3662. item.runtest()
  3663. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3664. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3665. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3666. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3667. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3668. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3669. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3670. res = hook_impl.function(*args)
  3671. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3672. result = testfunction(**testargs)
  3673. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3674. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3675. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3676. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3677. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  3678. match_element = get_match_element_function(check_items, **search_pattern)
  3679. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 86, in get_detail_element
  3680. logging.info(match_string)
  3681. Message: &#x27;&lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bfe9f16a-5503-31cd-b184-760fdbd0ad77&quot;&gt;&lt;SHORT-NAME&gt;ADCANFDConnector_de070bd3&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;ADCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  3682. Arguments: ()
  3683. --- Logging error ---
  3684. Traceback (most recent call last):
  3685. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3686. stream.write(msg + self.terminator)
  3687. OSError: [WinError 6] 句柄无效。
  3688. Call stack:
  3689. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3690. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3691. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3692. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3693. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3694. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3695. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3696. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3697. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3698. res = hook_impl.function(*args)
  3699. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3700. return wrap_session(config, _main)
  3701. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3702. session.exitstatus = doit(config, session) or 0
  3703. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3704. config.hook.pytest_runtestloop(session=session)
  3705. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3706. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3707. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3708. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3709. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3710. res = hook_impl.function(*args)
  3711. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3712. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3713. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3714. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3715. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3716. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3717. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3718. res = hook_impl.function(*args)
  3719. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3720. runtestprotocol(item, nextitem=nextitem)
  3721. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3722. reports.append(call_and_report(item, &quot;call&quot;, log))
  3723. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3724. call = call_runtest_hook(item, when, **kwds)
  3725. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3726. return CallInfo.from_call(
  3727. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3728. result: Optional[TResult] = func()
  3729. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3730. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3731. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3732. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3733. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3734. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3735. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3736. res = hook_impl.function(*args)
  3737. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3738. item.runtest()
  3739. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3740. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3741. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3742. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3743. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3744. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3745. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3746. res = hook_impl.function(*args)
  3747. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3748. result = testfunction(**testargs)
  3749. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3750. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3751. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3752. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3753. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  3754. match_element = get_match_element_function(check_items, **search_pattern)
  3755. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  3756. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  3757. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;42cf0dd8-4b7f-38eb-b5c5-bde29d208885&quot;&gt;&lt;SHORT-NAME&gt;ADCANFDConnector_e856f16b&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;ADCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;0db6318b-416b-368d-9855-1f59191773e1&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;2b61137b-7af9-4fc3-8ed5-cf4a802b49b7&quot;&gt;&lt;SHORT-NAME&gt;ADCANFDConnector_957d0f0b&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;ADCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/ADCANFDConnector_de070bd3&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  3758. Arguments: ()
  3759. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bfe9f16a-5503-31cd-b184-760fdbd0ad77&quot;&gt;&lt;SHORT-NAME&gt;ADCANFDConnector_de070bd3&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;ADCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;
  3760. INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;42cf0dd8-4b7f-38eb-b5c5-bde29d208885&quot;&gt;&lt;SHORT-NAME&gt;ADCANFDConnector_e856f16b&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;ADCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;0db6318b-416b-368d-9855-1f59191773e1&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;2b61137b-7af9-4fc3-8ed5-cf4a802b49b7&quot;&gt;&lt;SHORT-NAME&gt;ADCANFDConnector_957d0f0b&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;ADCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/ADCANFDConnector_de070bd3&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  3761. <tbody class="passed results-table-row">
  3762. <tr>
  3763. <td class="col-result">Passed</td>
  3764. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern6-ComMNmVariant-FULL]</td>
  3765. <td class="col-duration">0.00</td>
  3766. <td class="col-links"></td></tr>
  3767. <tr>
  3768. <td class="extra" colspan="4">
  3769. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  3770. Traceback (most recent call last):
  3771. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3772. stream.write(msg + self.terminator)
  3773. OSError: [WinError 6] 句柄无效。
  3774. Call stack:
  3775. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3776. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3777. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3778. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3779. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3780. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3781. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3782. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3783. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3784. res = hook_impl.function(*args)
  3785. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3786. return wrap_session(config, _main)
  3787. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3788. session.exitstatus = doit(config, session) or 0
  3789. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3790. config.hook.pytest_runtestloop(session=session)
  3791. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3792. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3793. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3794. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3795. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3796. res = hook_impl.function(*args)
  3797. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3798. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3799. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3800. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3801. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3802. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3803. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3804. res = hook_impl.function(*args)
  3805. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3806. runtestprotocol(item, nextitem=nextitem)
  3807. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3808. reports.append(call_and_report(item, &quot;call&quot;, log))
  3809. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3810. call = call_runtest_hook(item, when, **kwds)
  3811. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3812. return CallInfo.from_call(
  3813. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3814. result: Optional[TResult] = func()
  3815. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3816. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3817. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3818. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3819. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3820. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3821. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3822. res = hook_impl.function(*args)
  3823. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3824. item.runtest()
  3825. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3826. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3827. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3828. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3829. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3830. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3831. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3832. res = hook_impl.function(*args)
  3833. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3834. result = testfunction(**testargs)
  3835. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3836. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3837. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3838. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3839. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  3840. match_element = get_match_element_function(check_items, **search_pattern)
  3841. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 86, in get_detail_element
  3842. logging.info(match_string)
  3843. Message: &#x27;&lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;34c5c58c-28c0-3cbf-95c2-fa138328e8a4&quot;&gt;&lt;SHORT-NAME&gt;CHCANFDConnector_f56a8f6f&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CHCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;2&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  3844. Arguments: ()
  3845. --- Logging error ---
  3846. Traceback (most recent call last):
  3847. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3848. stream.write(msg + self.terminator)
  3849. OSError: [WinError 6] 句柄无效。
  3850. Call stack:
  3851. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3852. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3853. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3854. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3855. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3856. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3857. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3858. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3859. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3860. res = hook_impl.function(*args)
  3861. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3862. return wrap_session(config, _main)
  3863. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3864. session.exitstatus = doit(config, session) or 0
  3865. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3866. config.hook.pytest_runtestloop(session=session)
  3867. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3868. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3869. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3870. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3871. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3872. res = hook_impl.function(*args)
  3873. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3874. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3875. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3876. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3877. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3878. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3879. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3880. res = hook_impl.function(*args)
  3881. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3882. runtestprotocol(item, nextitem=nextitem)
  3883. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3884. reports.append(call_and_report(item, &quot;call&quot;, log))
  3885. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3886. call = call_runtest_hook(item, when, **kwds)
  3887. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3888. return CallInfo.from_call(
  3889. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3890. result: Optional[TResult] = func()
  3891. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3892. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3893. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3894. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3895. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3896. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3897. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3898. res = hook_impl.function(*args)
  3899. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3900. item.runtest()
  3901. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3902. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3903. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3904. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3905. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3906. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3907. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3908. res = hook_impl.function(*args)
  3909. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3910. result = testfunction(**testargs)
  3911. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3912. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3913. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  3914. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  3915. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  3916. match_element = get_match_element_function(check_items, **search_pattern)
  3917. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  3918. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  3919. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;980a104a-8466-365c-939b-4a178458c775&quot;&gt;&lt;SHORT-NAME&gt;CHCANFDConnector_2a037dec&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CHCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;2&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;c2519040-88f7-36b4-8761-ef60bb094cab&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;fd4d52d6-a940-4c2f-9d0b-65b9f9f6076f&quot;&gt;&lt;SHORT-NAME&gt;CHCANFDConnector_bc5aedf3&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CHCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/CHCANFDConnector_f56a8f6f&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  3920. Arguments: ()
  3921. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;34c5c58c-28c0-3cbf-95c2-fa138328e8a4&quot;&gt;&lt;SHORT-NAME&gt;CHCANFDConnector_f56a8f6f&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CHCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;2&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;
  3922. INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;980a104a-8466-365c-939b-4a178458c775&quot;&gt;&lt;SHORT-NAME&gt;CHCANFDConnector_2a037dec&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CHCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;2&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;c2519040-88f7-36b4-8761-ef60bb094cab&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;fd4d52d6-a940-4c2f-9d0b-65b9f9f6076f&quot;&gt;&lt;SHORT-NAME&gt;CHCANFDConnector_bc5aedf3&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CHCANFDConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/CHCANFDConnector_f56a8f6f&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  3923. <tbody class="passed results-table-row">
  3924. <tr>
  3925. <td class="col-result">Passed</td>
  3926. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern7-ComMNmVariant-FULL]</td>
  3927. <td class="col-duration">0.00</td>
  3928. <td class="col-links"></td></tr>
  3929. <tr>
  3930. <td class="extra" colspan="4">
  3931. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  3932. Traceback (most recent call last):
  3933. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  3934. stream.write(msg + self.terminator)
  3935. OSError: [WinError 6] 句柄无效。
  3936. Call stack:
  3937. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  3938. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  3939. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  3940. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  3941. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3942. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3943. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3944. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3945. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3946. res = hook_impl.function(*args)
  3947. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  3948. return wrap_session(config, _main)
  3949. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  3950. session.exitstatus = doit(config, session) or 0
  3951. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  3952. config.hook.pytest_runtestloop(session=session)
  3953. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3954. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3955. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3956. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3957. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3958. res = hook_impl.function(*args)
  3959. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  3960. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  3961. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3962. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3963. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3964. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3965. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3966. res = hook_impl.function(*args)
  3967. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  3968. runtestprotocol(item, nextitem=nextitem)
  3969. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  3970. reports.append(call_and_report(item, &quot;call&quot;, log))
  3971. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  3972. call = call_runtest_hook(item, when, **kwds)
  3973. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  3974. return CallInfo.from_call(
  3975. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  3976. result: Optional[TResult] = func()
  3977. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  3978. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  3979. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3980. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3981. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3982. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3983. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3984. res = hook_impl.function(*args)
  3985. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  3986. item.runtest()
  3987. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  3988. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  3989. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  3990. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  3991. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  3992. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  3993. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  3994. res = hook_impl.function(*args)
  3995. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  3996. result = testfunction(**testargs)
  3997. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  3998. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  3999. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4000. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4001. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4002. match_element = get_match_element_function(check_items, **search_pattern)
  4003. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4004. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4005. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;1784dcfe-507a-3858-a638-087302885c9b&quot;&gt;&lt;SHORT-NAME&gt;CFCANConnector_99dd70e0&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CFCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;851c0e88-0b08-3de3-ac80-5957d111f0e7&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;bb492b9d-e338-4840-b0fa-7bbb768955fb&quot;&gt;&lt;SHORT-NAME&gt;CFCANConnector_9aaae16d&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CFCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/CFCANConnector_eff97069&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4006. Arguments: ()
  4007. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;1784dcfe-507a-3858-a638-087302885c9b&quot;&gt;&lt;SHORT-NAME&gt;CFCANConnector_99dd70e0&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CFCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;851c0e88-0b08-3de3-ac80-5957d111f0e7&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;bb492b9d-e338-4840-b0fa-7bbb768955fb&quot;&gt;&lt;SHORT-NAME&gt;CFCANConnector_9aaae16d&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CFCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/CFCANConnector_eff97069&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4008. <tbody class="passed results-table-row">
  4009. <tr>
  4010. <td class="col-result">Passed</td>
  4011. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern8-ComMNmVariant-LIGHT]</td>
  4012. <td class="col-duration">0.00</td>
  4013. <td class="col-links"></td></tr>
  4014. <tr>
  4015. <td class="extra" colspan="4">
  4016. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4017. Traceback (most recent call last):
  4018. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4019. stream.write(msg + self.terminator)
  4020. OSError: [WinError 6] 句柄无效。
  4021. Call stack:
  4022. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4023. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4024. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4025. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4026. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4027. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4028. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4029. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4030. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4031. res = hook_impl.function(*args)
  4032. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4033. return wrap_session(config, _main)
  4034. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4035. session.exitstatus = doit(config, session) or 0
  4036. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4037. config.hook.pytest_runtestloop(session=session)
  4038. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4039. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4040. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4041. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4042. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4043. res = hook_impl.function(*args)
  4044. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4045. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4046. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4047. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4048. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4049. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4050. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4051. res = hook_impl.function(*args)
  4052. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4053. runtestprotocol(item, nextitem=nextitem)
  4054. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4055. reports.append(call_and_report(item, &quot;call&quot;, log))
  4056. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4057. call = call_runtest_hook(item, when, **kwds)
  4058. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4059. return CallInfo.from_call(
  4060. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4061. result: Optional[TResult] = func()
  4062. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4063. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4064. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4065. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4066. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4067. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4068. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4069. res = hook_impl.function(*args)
  4070. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4071. item.runtest()
  4072. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4073. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4074. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4075. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4076. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4077. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4078. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4079. res = hook_impl.function(*args)
  4080. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4081. result = testfunction(**testargs)
  4082. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4083. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4084. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4085. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4086. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4087. match_element = get_match_element_function(check_items, **search_pattern)
  4088. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4089. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4090. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;c0546a3f-0b96-30f7-af65-584fe9839573&quot;&gt;&lt;SHORT-NAME&gt;DIAGCANConnector_8f3cc1a5&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;DIAGCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;4ae751f2-2cc1-3ac4-8a44-b6a8619d1797&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;LIGHT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;5d6609c6-31da-47dd-93ad-3108cb060c66&quot;&gt;&lt;SHORT-NAME&gt;DIAGCANConnector_208d3468&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;DIAGCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/DIAGCANConnector_11f8ac3d&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4091. Arguments: ()
  4092. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;c0546a3f-0b96-30f7-af65-584fe9839573&quot;&gt;&lt;SHORT-NAME&gt;DIAGCANConnector_8f3cc1a5&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;DIAGCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_CAN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;4ae751f2-2cc1-3ac4-8a44-b6a8619d1797&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;LIGHT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;5d6609c6-31da-47dd-93ad-3108cb060c66&quot;&gt;&lt;SHORT-NAME&gt;DIAGCANConnector_208d3468&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;DIAGCANConnector&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/DIAGCANConnector_11f8ac3d&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4093. <tbody class="passed results-table-row">
  4094. <tr>
  4095. <td class="col-result">Passed</td>
  4096. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern11-ComMNmVariant-LIGHT]</td>
  4097. <td class="col-duration">0.00</td>
  4098. <td class="col-links"></td></tr>
  4099. <tr>
  4100. <td class="extra" colspan="4">
  4101. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4102. Traceback (most recent call last):
  4103. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4104. stream.write(msg + self.terminator)
  4105. OSError: [WinError 6] 句柄无效。
  4106. Call stack:
  4107. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4108. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4109. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4110. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4111. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4112. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4113. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4114. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4115. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4116. res = hook_impl.function(*args)
  4117. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4118. return wrap_session(config, _main)
  4119. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4120. session.exitstatus = doit(config, session) or 0
  4121. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4122. config.hook.pytest_runtestloop(session=session)
  4123. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4124. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4125. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4126. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4127. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4128. res = hook_impl.function(*args)
  4129. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4130. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4131. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4132. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4133. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4134. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4135. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4136. res = hook_impl.function(*args)
  4137. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4138. runtestprotocol(item, nextitem=nextitem)
  4139. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4140. reports.append(call_and_report(item, &quot;call&quot;, log))
  4141. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4142. call = call_runtest_hook(item, when, **kwds)
  4143. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4144. return CallInfo.from_call(
  4145. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4146. result: Optional[TResult] = func()
  4147. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4148. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4149. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4150. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4151. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4152. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4153. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4154. res = hook_impl.function(*args)
  4155. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4156. item.runtest()
  4157. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4158. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4159. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4160. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4161. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4162. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4163. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4164. res = hook_impl.function(*args)
  4165. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4166. result = testfunction(**testargs)
  4167. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4168. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4169. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4170. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4171. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4172. match_element = get_match_element_function(check_items, **search_pattern)
  4173. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 86, in get_detail_element
  4174. logging.info(match_string)
  4175. Message: &#x27;&lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;4f160355-9994-31dc-9766-e19c382f5d34&quot;&gt;&lt;SHORT-NAME&gt;CCPLin2Master_63f50e10&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CCPLin2Master&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;9&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4176. Arguments: ()
  4177. --- Logging error ---
  4178. Traceback (most recent call last):
  4179. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4180. stream.write(msg + self.terminator)
  4181. OSError: [WinError 6] 句柄无效。
  4182. Call stack:
  4183. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4184. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4185. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4186. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4187. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4188. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4189. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4190. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4191. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4192. res = hook_impl.function(*args)
  4193. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4194. return wrap_session(config, _main)
  4195. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4196. session.exitstatus = doit(config, session) or 0
  4197. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4198. config.hook.pytest_runtestloop(session=session)
  4199. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4200. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4201. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4202. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4203. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4204. res = hook_impl.function(*args)
  4205. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4206. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4207. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4208. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4209. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4210. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4211. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4212. res = hook_impl.function(*args)
  4213. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4214. runtestprotocol(item, nextitem=nextitem)
  4215. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4216. reports.append(call_and_report(item, &quot;call&quot;, log))
  4217. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4218. call = call_runtest_hook(item, when, **kwds)
  4219. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4220. return CallInfo.from_call(
  4221. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4222. result: Optional[TResult] = func()
  4223. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4224. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4225. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4226. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4227. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4228. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4229. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4230. res = hook_impl.function(*args)
  4231. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4232. item.runtest()
  4233. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4234. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4235. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4236. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4237. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4238. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4239. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4240. res = hook_impl.function(*args)
  4241. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4242. result = testfunction(**testargs)
  4243. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4244. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4245. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4246. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4247. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4248. match_element = get_match_element_function(check_items, **search_pattern)
  4249. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4250. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4251. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;c5eb3e7d-f5a5-3340-908f-1c0a4cc4d67d&quot;&gt;&lt;SHORT-NAME&gt;CCPLin2Master_184f7691&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CCPLin2Master&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_LIN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;9&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;35956d2f-b60a-4506-8a53-4b852de7c2bb&quot;&gt;&lt;SHORT-NAME&gt;CCPLin2Master_b08ec2b1&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CCPLin2Master&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/CCPLin2Master_63f50e10&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;d367e7ab-d5cc-3723-bf1d-31d58b5990c6&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;LIGHT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4252. Arguments: ()
  4253. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;4f160355-9994-31dc-9766-e19c382f5d34&quot;&gt;&lt;SHORT-NAME&gt;CCPLin2Master_63f50e10&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CCPLin2Master&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;9&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;
  4254. INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;c5eb3e7d-f5a5-3340-908f-1c0a4cc4d67d&quot;&gt;&lt;SHORT-NAME&gt;CCPLin2Master_184f7691&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CCPLin2Master&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;COMM_BUS_TYPE_LIN&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;9&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.01&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;SUB-CONTAINERS&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;35956d2f-b60a-4506-8a53-4b852de7c2bb&quot;&gt;&lt;SHORT-NAME&gt;CCPLin2Master_b08ec2b1&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;CCPLin2Master&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel&lt;/DEFINITION-REF&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/ComM/ComMConfigSet/CCPLin2Master_63f50e10&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;ECUC-CONTAINER-VALUE UUID=&quot;d367e7ab-d5cc-3723-bf1d-31d58b5990c6&quot;&gt;&lt;SHORT-NAME&gt;ComMNetworkManagement&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;LIGHT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&lt;/SUB-CONTAINERS&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4255. <tbody class="passed results-table-row">
  4256. <tr>
  4257. <td class="col-result">Passed</td>
  4258. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dcm-search_pattern13-DcmDspSessionForBoot-DCM_OEM_BOOT]</td>
  4259. <td class="col-duration">0.01</td>
  4260. <td class="col-links"></td></tr>
  4261. <tr>
  4262. <td class="extra" colspan="4">
  4263. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4264. Traceback (most recent call last):
  4265. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4266. stream.write(msg + self.terminator)
  4267. OSError: [WinError 6] 句柄无效。
  4268. Call stack:
  4269. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4270. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4271. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4272. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4273. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4274. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4275. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4276. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4277. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4278. res = hook_impl.function(*args)
  4279. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4280. return wrap_session(config, _main)
  4281. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4282. session.exitstatus = doit(config, session) or 0
  4283. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4284. config.hook.pytest_runtestloop(session=session)
  4285. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4286. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4287. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4288. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4289. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4290. res = hook_impl.function(*args)
  4291. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4292. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4293. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4294. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4295. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4296. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4297. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4298. res = hook_impl.function(*args)
  4299. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4300. runtestprotocol(item, nextitem=nextitem)
  4301. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4302. reports.append(call_and_report(item, &quot;call&quot;, log))
  4303. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4304. call = call_runtest_hook(item, when, **kwds)
  4305. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4306. return CallInfo.from_call(
  4307. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4308. result: Optional[TResult] = func()
  4309. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4310. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4311. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4312. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4313. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4314. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4315. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4316. res = hook_impl.function(*args)
  4317. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4318. item.runtest()
  4319. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4320. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4321. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4322. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4323. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4324. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4325. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4326. res = hook_impl.function(*args)
  4327. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4328. result = testfunction(**testargs)
  4329. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4330. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4331. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4332. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4333. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4334. match_element = get_match_element_function(check_items, **search_pattern)
  4335. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4336. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4337. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bc679531-efb9-3d33-bec7-9b9cd4ac4386&quot;&gt;&lt;SHORT-NAME&gt;Programming&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;Programming&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionLevel&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;2&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2ServerMax&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.05&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2StarServerMax&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionForBoot&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DCM_OEM_BOOT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4338. Arguments: ()
  4339. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bc679531-efb9-3d33-bec7-9b9cd4ac4386&quot;&gt;&lt;SHORT-NAME&gt;Programming&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;Programming&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionLevel&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;2&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2ServerMax&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;0.05&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FLOAT-PARAM-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2StarServerMax&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;5&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionForBoot&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DCM_OEM_BOOT&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4340. <tbody class="passed results-table-row">
  4341. <tr>
  4342. <td class="col-result">Passed</td>
  4343. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern14-DemDataElementUsePort-USE_DATA_INTERNAL]</td>
  4344. <td class="col-duration">0.01</td>
  4345. <td class="col-links"></td></tr>
  4346. <tr>
  4347. <td class="extra" colspan="4">
  4348. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4349. Traceback (most recent call last):
  4350. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4351. stream.write(msg + self.terminator)
  4352. OSError: [WinError 6] 句柄无效。
  4353. Call stack:
  4354. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4355. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4356. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4357. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4358. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4359. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4360. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4361. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4362. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4363. res = hook_impl.function(*args)
  4364. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4365. return wrap_session(config, _main)
  4366. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4367. session.exitstatus = doit(config, session) or 0
  4368. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4369. config.hook.pytest_runtestloop(session=session)
  4370. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4371. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4372. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4373. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4374. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4375. res = hook_impl.function(*args)
  4376. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4377. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4378. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4379. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4380. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4381. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4382. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4383. res = hook_impl.function(*args)
  4384. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4385. runtestprotocol(item, nextitem=nextitem)
  4386. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4387. reports.append(call_and_report(item, &quot;call&quot;, log))
  4388. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4389. call = call_runtest_hook(item, when, **kwds)
  4390. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4391. return CallInfo.from_call(
  4392. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4393. result: Optional[TResult] = func()
  4394. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4395. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4396. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4397. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4398. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4399. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4400. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4401. res = hook_impl.function(*args)
  4402. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4403. item.runtest()
  4404. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4405. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4406. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4407. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4408. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4409. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4410. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4411. res = hook_impl.function(*args)
  4412. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4413. result = testfunction(**testargs)
  4414. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4415. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4416. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4417. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4418. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4419. match_element = get_match_element_function(check_items, **search_pattern)
  4420. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4421. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4422. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;654cc654-d4b1-3dff-b5f3-f6f921176c5e&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_AgedCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;AgedCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_AGED_COUNTER&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4423. Arguments: ()
  4424. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;654cc654-d4b1-3dff-b5f3-f6f921176c5e&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_AgedCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;AgedCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_AGED_COUNTER&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4425. <tbody class="passed results-table-row">
  4426. <tr>
  4427. <td class="col-result">Passed</td>
  4428. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern15-DemDataElementUsePort-USE_DATA_INTERNAL]</td>
  4429. <td class="col-duration">0.01</td>
  4430. <td class="col-links"></td></tr>
  4431. <tr>
  4432. <td class="extra" colspan="4">
  4433. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4434. Traceback (most recent call last):
  4435. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4436. stream.write(msg + self.terminator)
  4437. OSError: [WinError 6] 句柄无效。
  4438. Call stack:
  4439. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4440. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4441. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4442. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4443. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4444. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4445. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4446. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4447. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4448. res = hook_impl.function(*args)
  4449. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4450. return wrap_session(config, _main)
  4451. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4452. session.exitstatus = doit(config, session) or 0
  4453. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4454. config.hook.pytest_runtestloop(session=session)
  4455. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4456. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4457. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4458. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4459. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4460. res = hook_impl.function(*args)
  4461. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4462. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4463. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4464. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4465. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4466. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4467. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4468. res = hook_impl.function(*args)
  4469. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4470. runtestprotocol(item, nextitem=nextitem)
  4471. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4472. reports.append(call_and_report(item, &quot;call&quot;, log))
  4473. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4474. call = call_runtest_hook(item, when, **kwds)
  4475. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4476. return CallInfo.from_call(
  4477. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4478. result: Optional[TResult] = func()
  4479. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4480. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4481. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4482. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4483. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4484. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4485. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4486. res = hook_impl.function(*args)
  4487. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4488. item.runtest()
  4489. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4490. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4491. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4492. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4493. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4494. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4495. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4496. res = hook_impl.function(*args)
  4497. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4498. result = testfunction(**testargs)
  4499. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4500. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4501. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4502. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4503. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4504. match_element = get_match_element_function(check_items, **search_pattern)
  4505. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4506. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4507. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;4f7ae86f-ec83-34eb-879d-bd59cc3b8006&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_AgeingCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;AgeingCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_AGINGCTR&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4508. Arguments: ()
  4509. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;4f7ae86f-ec83-34eb-879d-bd59cc3b8006&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_AgeingCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;AgeingCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_AGINGCTR&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4510. <tbody class="passed results-table-row">
  4511. <tr>
  4512. <td class="col-result">Passed</td>
  4513. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern16-DemDataElementUsePort-USE_DATA_INTERNAL]</td>
  4514. <td class="col-duration">0.01</td>
  4515. <td class="col-links"></td></tr>
  4516. <tr>
  4517. <td class="extra" colspan="4">
  4518. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4519. Traceback (most recent call last):
  4520. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4521. stream.write(msg + self.terminator)
  4522. OSError: [WinError 6] 句柄无效。
  4523. Call stack:
  4524. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4525. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4526. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4527. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4528. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4529. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4530. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4531. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4532. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4533. res = hook_impl.function(*args)
  4534. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4535. return wrap_session(config, _main)
  4536. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4537. session.exitstatus = doit(config, session) or 0
  4538. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4539. config.hook.pytest_runtestloop(session=session)
  4540. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4541. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4542. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4543. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4544. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4545. res = hook_impl.function(*args)
  4546. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4547. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4548. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4549. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4550. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4551. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4552. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4553. res = hook_impl.function(*args)
  4554. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4555. runtestprotocol(item, nextitem=nextitem)
  4556. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4557. reports.append(call_and_report(item, &quot;call&quot;, log))
  4558. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4559. call = call_runtest_hook(item, when, **kwds)
  4560. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4561. return CallInfo.from_call(
  4562. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4563. result: Optional[TResult] = func()
  4564. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4565. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4566. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4567. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4568. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4569. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4570. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4571. res = hook_impl.function(*args)
  4572. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4573. item.runtest()
  4574. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4575. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4576. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4577. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4578. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4579. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4580. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4581. res = hook_impl.function(*args)
  4582. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4583. result = testfunction(**testargs)
  4584. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4585. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4586. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4587. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4588. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4589. match_element = get_match_element_function(check_items, **search_pattern)
  4590. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4591. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4592. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;5ce75aed-e810-3c22-97e3-9f8b3a807614&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_FaultOccurrenceCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;FaultOccurrenceCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_OCCCTR&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4593. Arguments: ()
  4594. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;5ce75aed-e810-3c22-97e3-9f8b3a807614&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_FaultOccurrenceCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;FaultOccurrenceCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_OCCCTR&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4595. <tbody class="passed results-table-row">
  4596. <tr>
  4597. <td class="col-result">Passed</td>
  4598. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern17-DemDataElementUsePort-USE_DATA_INTERNAL]</td>
  4599. <td class="col-duration">0.01</td>
  4600. <td class="col-links"></td></tr>
  4601. <tr>
  4602. <td class="extra" colspan="4">
  4603. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4604. Traceback (most recent call last):
  4605. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4606. stream.write(msg + self.terminator)
  4607. OSError: [WinError 6] 句柄无效。
  4608. Call stack:
  4609. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4610. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4611. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4612. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4613. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4614. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4615. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4616. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4617. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4618. res = hook_impl.function(*args)
  4619. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4620. return wrap_session(config, _main)
  4621. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4622. session.exitstatus = doit(config, session) or 0
  4623. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4624. config.hook.pytest_runtestloop(session=session)
  4625. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4626. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4627. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4628. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4629. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4630. res = hook_impl.function(*args)
  4631. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4632. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4633. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4634. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4635. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4636. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4637. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4638. res = hook_impl.function(*args)
  4639. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4640. runtestprotocol(item, nextitem=nextitem)
  4641. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4642. reports.append(call_and_report(item, &quot;call&quot;, log))
  4643. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4644. call = call_runtest_hook(item, when, **kwds)
  4645. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4646. return CallInfo.from_call(
  4647. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4648. result: Optional[TResult] = func()
  4649. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4650. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4651. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4652. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4653. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4654. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4655. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4656. res = hook_impl.function(*args)
  4657. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4658. item.runtest()
  4659. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4660. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4661. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4662. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4663. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4664. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4665. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4666. res = hook_impl.function(*args)
  4667. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4668. result = testfunction(**testargs)
  4669. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4670. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4671. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4672. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4673. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4674. match_element = get_match_element_function(check_items, **search_pattern)
  4675. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4676. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4677. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_FaultPendingCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;FaultPendingCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_FAULT_PENDING_COUNTER&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4678. Arguments: ()
  4679. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_FaultPendingCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;FaultPendingCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_FAULT_PENDING_COUNTER&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4680. <tbody class="passed results-table-row">
  4681. <tr>
  4682. <td class="col-result">Passed</td>
  4683. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern18-DemDataElementInternalData-DEM_AGED_COUNTER]</td>
  4684. <td class="col-duration">0.01</td>
  4685. <td class="col-links"></td></tr>
  4686. <tr>
  4687. <td class="extra" colspan="4">
  4688. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4689. Traceback (most recent call last):
  4690. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4691. stream.write(msg + self.terminator)
  4692. OSError: [WinError 6] 句柄无效。
  4693. Call stack:
  4694. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4695. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4696. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4697. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4698. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4699. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4700. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4701. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4702. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4703. res = hook_impl.function(*args)
  4704. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4705. return wrap_session(config, _main)
  4706. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4707. session.exitstatus = doit(config, session) or 0
  4708. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4709. config.hook.pytest_runtestloop(session=session)
  4710. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4711. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4712. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4713. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4714. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4715. res = hook_impl.function(*args)
  4716. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4717. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4718. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4719. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4720. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4721. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4722. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4723. res = hook_impl.function(*args)
  4724. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4725. runtestprotocol(item, nextitem=nextitem)
  4726. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4727. reports.append(call_and_report(item, &quot;call&quot;, log))
  4728. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4729. call = call_runtest_hook(item, when, **kwds)
  4730. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4731. return CallInfo.from_call(
  4732. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4733. result: Optional[TResult] = func()
  4734. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4735. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4736. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4737. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4738. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4739. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4740. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4741. res = hook_impl.function(*args)
  4742. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4743. item.runtest()
  4744. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4745. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4746. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4747. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4748. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4749. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4750. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4751. res = hook_impl.function(*args)
  4752. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4753. result = testfunction(**testargs)
  4754. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4755. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4756. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4757. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4758. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4759. match_element = get_match_element_function(check_items, **search_pattern)
  4760. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4761. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4762. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;654cc654-d4b1-3dff-b5f3-f6f921176c5e&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_AgedCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;AgedCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_AGED_COUNTER&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4763. Arguments: ()
  4764. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;654cc654-d4b1-3dff-b5f3-f6f921176c5e&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_AgedCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;AgedCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_AGED_COUNTER&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4765. <tbody class="passed results-table-row">
  4766. <tr>
  4767. <td class="col-result">Passed</td>
  4768. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern19-DemDataElementInternalData-DEM_AGINGCTR]</td>
  4769. <td class="col-duration">0.01</td>
  4770. <td class="col-links"></td></tr>
  4771. <tr>
  4772. <td class="extra" colspan="4">
  4773. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4774. Traceback (most recent call last):
  4775. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4776. stream.write(msg + self.terminator)
  4777. OSError: [WinError 6] 句柄无效。
  4778. Call stack:
  4779. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4780. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4781. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4782. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4783. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4784. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4785. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4786. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4787. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4788. res = hook_impl.function(*args)
  4789. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4790. return wrap_session(config, _main)
  4791. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4792. session.exitstatus = doit(config, session) or 0
  4793. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4794. config.hook.pytest_runtestloop(session=session)
  4795. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4796. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4797. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4798. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4799. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4800. res = hook_impl.function(*args)
  4801. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4802. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4803. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4804. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4805. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4806. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4807. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4808. res = hook_impl.function(*args)
  4809. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4810. runtestprotocol(item, nextitem=nextitem)
  4811. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4812. reports.append(call_and_report(item, &quot;call&quot;, log))
  4813. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4814. call = call_runtest_hook(item, when, **kwds)
  4815. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4816. return CallInfo.from_call(
  4817. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4818. result: Optional[TResult] = func()
  4819. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4820. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4821. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4822. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4823. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4824. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4825. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4826. res = hook_impl.function(*args)
  4827. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4828. item.runtest()
  4829. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4830. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4831. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4832. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4833. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4834. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4835. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4836. res = hook_impl.function(*args)
  4837. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4838. result = testfunction(**testargs)
  4839. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4840. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4841. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4842. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4843. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4844. match_element = get_match_element_function(check_items, **search_pattern)
  4845. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4846. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4847. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;4f7ae86f-ec83-34eb-879d-bd59cc3b8006&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_AgeingCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;AgeingCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_AGINGCTR&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4848. Arguments: ()
  4849. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;4f7ae86f-ec83-34eb-879d-bd59cc3b8006&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_AgeingCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;AgeingCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_AGINGCTR&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4850. <tbody class="passed results-table-row">
  4851. <tr>
  4852. <td class="col-result">Passed</td>
  4853. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern20-DemDataElementInternalData-DEM_OCCCTR]</td>
  4854. <td class="col-duration">0.01</td>
  4855. <td class="col-links"></td></tr>
  4856. <tr>
  4857. <td class="extra" colspan="4">
  4858. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4859. Traceback (most recent call last):
  4860. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4861. stream.write(msg + self.terminator)
  4862. OSError: [WinError 6] 句柄无效。
  4863. Call stack:
  4864. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4865. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4866. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4867. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4868. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4869. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4870. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4871. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4872. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4873. res = hook_impl.function(*args)
  4874. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4875. return wrap_session(config, _main)
  4876. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4877. session.exitstatus = doit(config, session) or 0
  4878. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4879. config.hook.pytest_runtestloop(session=session)
  4880. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4881. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4882. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4883. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4884. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4885. res = hook_impl.function(*args)
  4886. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4887. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4888. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4889. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4890. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4891. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4892. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4893. res = hook_impl.function(*args)
  4894. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4895. runtestprotocol(item, nextitem=nextitem)
  4896. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4897. reports.append(call_and_report(item, &quot;call&quot;, log))
  4898. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4899. call = call_runtest_hook(item, when, **kwds)
  4900. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4901. return CallInfo.from_call(
  4902. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4903. result: Optional[TResult] = func()
  4904. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4905. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4906. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4907. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4908. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4909. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4910. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4911. res = hook_impl.function(*args)
  4912. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4913. item.runtest()
  4914. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  4915. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  4916. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4917. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4918. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4919. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4920. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4921. res = hook_impl.function(*args)
  4922. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  4923. result = testfunction(**testargs)
  4924. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  4925. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  4926. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  4927. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  4928. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  4929. match_element = get_match_element_function(check_items, **search_pattern)
  4930. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  4931. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  4932. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;5ce75aed-e810-3c22-97e3-9f8b3a807614&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_FaultOccurrenceCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;FaultOccurrenceCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_OCCCTR&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  4933. Arguments: ()
  4934. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;5ce75aed-e810-3c22-97e3-9f8b3a807614&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_FaultOccurrenceCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;FaultOccurrenceCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_OCCCTR&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  4935. <tbody class="passed results-table-row">
  4936. <tr>
  4937. <td class="col-result">Passed</td>
  4938. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern21-DemDataElementInternalData-DEM_FAULT_PENDING_COUNTER]</td>
  4939. <td class="col-duration">0.01</td>
  4940. <td class="col-links"></td></tr>
  4941. <tr>
  4942. <td class="extra" colspan="4">
  4943. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  4944. Traceback (most recent call last):
  4945. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  4946. stream.write(msg + self.terminator)
  4947. OSError: [WinError 6] 句柄无效。
  4948. Call stack:
  4949. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  4950. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  4951. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  4952. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  4953. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4954. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4955. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4956. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4957. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4958. res = hook_impl.function(*args)
  4959. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  4960. return wrap_session(config, _main)
  4961. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  4962. session.exitstatus = doit(config, session) or 0
  4963. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  4964. config.hook.pytest_runtestloop(session=session)
  4965. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4966. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4967. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4968. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4969. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4970. res = hook_impl.function(*args)
  4971. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  4972. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  4973. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4974. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4975. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4976. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4977. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4978. res = hook_impl.function(*args)
  4979. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  4980. runtestprotocol(item, nextitem=nextitem)
  4981. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  4982. reports.append(call_and_report(item, &quot;call&quot;, log))
  4983. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  4984. call = call_runtest_hook(item, when, **kwds)
  4985. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  4986. return CallInfo.from_call(
  4987. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  4988. result: Optional[TResult] = func()
  4989. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  4990. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  4991. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  4992. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  4993. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  4994. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  4995. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  4996. res = hook_impl.function(*args)
  4997. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  4998. item.runtest()
  4999. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  5000. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  5001. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5002. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5003. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5004. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5005. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5006. res = hook_impl.function(*args)
  5007. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  5008. result = testfunction(**testargs)
  5009. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  5010. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  5011. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  5012. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  5013. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  5014. match_element = get_match_element_function(check_items, **search_pattern)
  5015. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  5016. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  5017. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_FaultPendingCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;FaultPendingCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_FAULT_PENDING_COUNTER&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  5018. Arguments: ()
  5019. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f&quot;&gt;&lt;SHORT-NAME&gt;EDR_01_FaultPendingCounter&lt;/SHORT-NAME&gt;&lt;LONG-NAME&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;FaultPendingCounter&lt;/L-4&gt;&lt;/LONG-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;UINT8&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;OPAQUE&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;USE_DATA_INTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;DEM_FAULT_PENDING_COUNTER&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-FOREIGN-REFERENCE-DEF&quot;&gt;/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;DIAGNOSTIC-DATA-ELEMENT&quot;&gt;/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  5020. <tbody class="passed results-table-row">
  5021. <tr>
  5022. <td class="col-result">Passed</td>
  5023. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern22-OsIsrInterruptSource-211]</td>
  5024. <td class="col-duration">0.01</td>
  5025. <td class="col-links"></td></tr>
  5026. <tr>
  5027. <td class="extra" colspan="4">
  5028. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  5029. Traceback (most recent call last):
  5030. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  5031. stream.write(msg + self.terminator)
  5032. OSError: [WinError 6] 句柄无效。
  5033. Call stack:
  5034. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  5035. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  5036. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  5037. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  5038. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5039. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5040. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5041. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5042. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5043. res = hook_impl.function(*args)
  5044. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  5045. return wrap_session(config, _main)
  5046. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  5047. session.exitstatus = doit(config, session) or 0
  5048. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  5049. config.hook.pytest_runtestloop(session=session)
  5050. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5051. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5052. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5053. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5054. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5055. res = hook_impl.function(*args)
  5056. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  5057. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  5058. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5059. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5060. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5061. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5062. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5063. res = hook_impl.function(*args)
  5064. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  5065. runtestprotocol(item, nextitem=nextitem)
  5066. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  5067. reports.append(call_and_report(item, &quot;call&quot;, log))
  5068. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  5069. call = call_runtest_hook(item, when, **kwds)
  5070. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  5071. return CallInfo.from_call(
  5072. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  5073. result: Optional[TResult] = func()
  5074. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  5075. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  5076. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5077. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5078. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5079. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5080. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5081. res = hook_impl.function(*args)
  5082. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  5083. item.runtest()
  5084. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  5085. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  5086. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5087. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5088. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5089. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5090. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5091. res = hook_impl.function(*args)
  5092. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  5093. result = testfunction(**testargs)
  5094. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  5095. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  5096. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  5097. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  5098. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  5099. match_element = get_match_element_function(check_items, **search_pattern)
  5100. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  5101. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  5102. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;ac87d5ab-22ea-44df-a6cd-279ff87bc071&quot;&gt;&lt;SHORT-NAME&gt;EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Rx&lt;/SHORT-NAME&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;LABEL&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;/ActiveEcuC/Eth&lt;/L-4&gt;&lt;/LABEL&gt;&lt;ANNOTATION-ORIGIN&gt;DV:OsInterruptServiceRoutine&lt;/ANNOTATION-ORIGIN&gt;&lt;ANNOTATION-TEXT&gt;&lt;P&gt;&lt;L-1 L=&quot;FOR-ALL&quot;&gt;PLAIN_TEXT&lt;/L-1&gt;&lt;/P&gt;&lt;P&gt;&lt;L-1 L=&quot;FOR-ALL&quot;&gt;ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).&lt;/L-1&gt;&lt;/P&gt;&lt;/ANNOTATION-TEXT&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsIsr&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrCategory&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;CATEGORY_2&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;EXTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptSource&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;211&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4096&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrEnableNesting&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrUsesFpu&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  5103. Arguments: ()
  5104. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;ac87d5ab-22ea-44df-a6cd-279ff87bc071&quot;&gt;&lt;SHORT-NAME&gt;EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Rx&lt;/SHORT-NAME&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;LABEL&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;/ActiveEcuC/Eth&lt;/L-4&gt;&lt;/LABEL&gt;&lt;ANNOTATION-ORIGIN&gt;DV:OsInterruptServiceRoutine&lt;/ANNOTATION-ORIGIN&gt;&lt;ANNOTATION-TEXT&gt;&lt;P&gt;&lt;L-1 L=&quot;FOR-ALL&quot;&gt;PLAIN_TEXT&lt;/L-1&gt;&lt;/P&gt;&lt;P&gt;&lt;L-1 L=&quot;FOR-ALL&quot;&gt;ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).&lt;/L-1&gt;&lt;/P&gt;&lt;/ANNOTATION-TEXT&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsIsr&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrCategory&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;CATEGORY_2&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;EXTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptSource&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;211&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4096&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrEnableNesting&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrUsesFpu&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  5105. <tbody class="passed results-table-row">
  5106. <tr>
  5107. <td class="col-result">Passed</td>
  5108. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern23-OsIsrInterruptSource-212]</td>
  5109. <td class="col-duration">0.00</td>
  5110. <td class="col-links"></td></tr>
  5111. <tr>
  5112. <td class="extra" colspan="4">
  5113. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  5114. Traceback (most recent call last):
  5115. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  5116. stream.write(msg + self.terminator)
  5117. OSError: [WinError 6] 句柄无效。
  5118. Call stack:
  5119. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  5120. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  5121. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  5122. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  5123. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5124. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5125. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5126. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5127. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5128. res = hook_impl.function(*args)
  5129. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  5130. return wrap_session(config, _main)
  5131. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  5132. session.exitstatus = doit(config, session) or 0
  5133. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  5134. config.hook.pytest_runtestloop(session=session)
  5135. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5136. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5137. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5138. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5139. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5140. res = hook_impl.function(*args)
  5141. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  5142. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  5143. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5144. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5145. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5146. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5147. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5148. res = hook_impl.function(*args)
  5149. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  5150. runtestprotocol(item, nextitem=nextitem)
  5151. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  5152. reports.append(call_and_report(item, &quot;call&quot;, log))
  5153. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  5154. call = call_runtest_hook(item, when, **kwds)
  5155. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  5156. return CallInfo.from_call(
  5157. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  5158. result: Optional[TResult] = func()
  5159. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  5160. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  5161. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5162. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5163. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5164. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5165. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5166. res = hook_impl.function(*args)
  5167. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  5168. item.runtest()
  5169. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  5170. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  5171. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5172. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5173. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5174. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5175. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5176. res = hook_impl.function(*args)
  5177. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  5178. result = testfunction(**testargs)
  5179. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  5180. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  5181. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  5182. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  5183. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  5184. match_element = get_match_element_function(check_items, **search_pattern)
  5185. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  5186. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  5187. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bbd60c48-9047-4133-894a-60441bc77432&quot;&gt;&lt;SHORT-NAME&gt;EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Tx&lt;/SHORT-NAME&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;LABEL&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;/ActiveEcuC/Eth&lt;/L-4&gt;&lt;/LABEL&gt;&lt;ANNOTATION-ORIGIN&gt;DV:OsInterruptServiceRoutine&lt;/ANNOTATION-ORIGIN&gt;&lt;ANNOTATION-TEXT&gt;&lt;P&gt;&lt;L-1 L=&quot;FOR-ALL&quot;&gt;PLAIN_TEXT&lt;/L-1&gt;&lt;/P&gt;&lt;P&gt;&lt;L-1 L=&quot;FOR-ALL&quot;&gt;ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).&lt;/L-1&gt;&lt;/P&gt;&lt;/ANNOTATION-TEXT&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsIsr&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrCategory&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;CATEGORY_2&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;EXTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptSource&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;212&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4096&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrEnableNesting&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrUsesFpu&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  5188. Arguments: ()
  5189. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;bbd60c48-9047-4133-894a-60441bc77432&quot;&gt;&lt;SHORT-NAME&gt;EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Tx&lt;/SHORT-NAME&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;LABEL&gt;&lt;L-4 L=&quot;FOR-ALL&quot;&gt;/ActiveEcuC/Eth&lt;/L-4&gt;&lt;/LABEL&gt;&lt;ANNOTATION-ORIGIN&gt;DV:OsInterruptServiceRoutine&lt;/ANNOTATION-ORIGIN&gt;&lt;ANNOTATION-TEXT&gt;&lt;P&gt;&lt;L-1 L=&quot;FOR-ALL&quot;&gt;PLAIN_TEXT&lt;/L-1&gt;&lt;/P&gt;&lt;P&gt;&lt;L-1 L=&quot;FOR-ALL&quot;&gt;ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).&lt;/L-1&gt;&lt;/P&gt;&lt;/ANNOTATION-TEXT&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsIsr&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrCategory&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;CATEGORY_2&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;EXTERNAL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInterruptSource&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;212&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4096&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrEnableNesting&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrUsesFpu&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;true&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  5190. <tbody class="passed results-table-row">
  5191. <tr>
  5192. <td class="col-result">Passed</td>
  5193. <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern26-OsTaskStackSize-4096]</td>
  5194. <td class="col-duration">0.01</td>
  5195. <td class="col-links"></td></tr>
  5196. <tr>
  5197. <td class="extra" colspan="4">
  5198. <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
  5199. Traceback (most recent call last):
  5200. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  5201. stream.write(msg + self.terminator)
  5202. OSError: [WinError 6] 句柄无效。
  5203. Call stack:
  5204. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  5205. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  5206. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  5207. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  5208. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5209. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5210. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5211. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5212. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5213. res = hook_impl.function(*args)
  5214. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  5215. return wrap_session(config, _main)
  5216. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  5217. session.exitstatus = doit(config, session) or 0
  5218. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  5219. config.hook.pytest_runtestloop(session=session)
  5220. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5221. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5222. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5223. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5224. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5225. res = hook_impl.function(*args)
  5226. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  5227. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  5228. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5229. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5230. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5231. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5232. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5233. res = hook_impl.function(*args)
  5234. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  5235. runtestprotocol(item, nextitem=nextitem)
  5236. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  5237. reports.append(call_and_report(item, &quot;call&quot;, log))
  5238. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  5239. call = call_runtest_hook(item, when, **kwds)
  5240. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  5241. return CallInfo.from_call(
  5242. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  5243. result: Optional[TResult] = func()
  5244. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  5245. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  5246. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5247. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5248. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5249. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5250. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5251. res = hook_impl.function(*args)
  5252. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  5253. item.runtest()
  5254. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  5255. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  5256. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5257. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5258. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5259. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5260. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5261. res = hook_impl.function(*args)
  5262. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  5263. result = testfunction(**testargs)
  5264. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  5265. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  5266. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  5267. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  5268. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  5269. match_element = get_match_element_function(check_items, **search_pattern)
  5270. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 86, in get_detail_element
  5271. logging.info(match_string)
  5272. Message: &#x27;&lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;58148371-9b63-4bcf-b7c6-f2803b132fd8&quot;&gt;&lt;SHORT-NAME&gt;User_BSW_ETH_Task_Core0&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4096&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TASK_EXTENDED_STACK&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackCore&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/OsCore0&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-CHOICE-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackUser&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/User_BSW_ETH_Task_Core0&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  5273. Arguments: ()
  5274. --- Logging error ---
  5275. Traceback (most recent call last):
  5276. File &quot;C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py&quot;, line 1086, in emit
  5277. stream.write(msg + self.terminator)
  5278. OSError: [WinError 6] 句柄无效。
  5279. Call stack:
  5280. File &quot;D:\01_Work\Python_Venv\pytest_src\all.py&quot;, line 10, in &lt;module&gt;
  5281. pytest.main([&#x27;./testcase&#x27;, &#x27;-v&#x27;, &#x27;--html=reportname.html&#x27;, &#x27;--alluredir&#x27;, &#x27;./result/&#x27;])
  5282. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py&quot;, line 164, in main
  5283. ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
  5284. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5285. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5286. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5287. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5288. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5289. res = hook_impl.function(*args)
  5290. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 315, in pytest_cmdline_main
  5291. return wrap_session(config, _main)
  5292. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 268, in wrap_session
  5293. session.exitstatus = doit(config, session) or 0
  5294. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 322, in _main
  5295. config.hook.pytest_runtestloop(session=session)
  5296. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5297. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5298. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5299. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5300. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5301. res = hook_impl.function(*args)
  5302. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py&quot;, line 347, in pytest_runtestloop
  5303. item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
  5304. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5305. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5306. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5307. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5308. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5309. res = hook_impl.function(*args)
  5310. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 111, in pytest_runtest_protocol
  5311. runtestprotocol(item, nextitem=nextitem)
  5312. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 130, in runtestprotocol
  5313. reports.append(call_and_report(item, &quot;call&quot;, log))
  5314. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 219, in call_and_report
  5315. call = call_runtest_hook(item, when, **kwds)
  5316. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 258, in call_runtest_hook
  5317. return CallInfo.from_call(
  5318. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 338, in from_call
  5319. result: Optional[TResult] = func()
  5320. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 259, in &lt;lambda&gt;
  5321. lambda: ihook(item=item, **kwds), when=when, reraise=reraise
  5322. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5323. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5324. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5325. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5326. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5327. res = hook_impl.function(*args)
  5328. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py&quot;, line 166, in pytest_runtest_call
  5329. item.runtest()
  5330. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 1761, in runtest
  5331. self.ihook.pytest_pyfunc_call(pyfuncitem=self)
  5332. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py&quot;, line 265, in __call__
  5333. return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
  5334. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py&quot;, line 80, in _hookexec
  5335. return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  5336. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py&quot;, line 39, in _multicall
  5337. res = hook_impl.function(*args)
  5338. File &quot;D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py&quot;, line 192, in pytest_pyfunc_call
  5339. result = testfunction(**testargs)
  5340. File &quot;D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py&quot;, line 49, in test_custom_pattern_case
  5341. res = check_module_param_check(PROJECT, module_name, item, search_pattern)
  5342. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 96, in check_module_param_check
  5343. cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
  5344. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 61, in do_param_check
  5345. match_element = get_match_element_function(check_items, **search_pattern)
  5346. File &quot;D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py&quot;, line 83, in get_detail_element
  5347. logging.info(f&#x27;Find Valid Element: {match_string}&#x27;)
  5348. Message: &#x27;Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;f1791f5e-fb68-418b-84a0-2264197262be&quot;&gt;&lt;SHORT-NAME&gt;User_BSW_ETH_Task_Core0&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsTask&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskActivation&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;10&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskSchedule&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskStackSharing&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4096&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;EXTENDED&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskUsesFpu&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskAccessingApplication&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/SystemApplication_OsCore0&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskAccessingApplication&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/SystemApplication_OsCore1&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_1s&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_20ms&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_40ms&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Run_CpCddEthSwc_RCtCddEthSwc_Process5ms&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Run_CpCddEthSwc_RCtCddEthSwc_Process100ms&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Run_CpCddEthSwc_RCtCddEthSwc_RecvDoIPEthActvn&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;&#x27;
  5349. Arguments: ()
  5350. <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;58148371-9b63-4bcf-b7c6-f2803b132fd8&quot;&gt;&lt;SHORT-NAME&gt;User_BSW_ETH_Task_Core0&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4096&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;TASK_EXTENDED_STACK&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackCore&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/OsCore0&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-CHOICE-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackUser&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/User_BSW_ETH_Task_Core0&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;
  5351. INFO root:ModuleCfgCheck.py:83 Find Valid Element: &lt;ECUC-CONTAINER-VALUE xmlns=&quot;http://autosar.org/schema/r4.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; UUID=&quot;f1791f5e-fb68-418b-84a0-2264197262be&quot;&gt;&lt;SHORT-NAME&gt;User_BSW_ETH_Task_Core0&lt;/SHORT-NAME&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-PARAM-CONF-CONTAINER-DEF&quot;&gt;/MICROSAR/Os/OsTask&lt;/DEFINITION-REF&gt;&lt;PARAMETER-VALUES&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskActivation&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;1&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskPriority&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;10&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskSchedule&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;FULL&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskStackSharing&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-INTEGER-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskStackSize&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;4096&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-ENUMERATION-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskType&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;EXTENDED&lt;/VALUE&gt;&lt;/ECUC-TEXTUAL-PARAM-VALUE&gt;&lt;ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-BOOLEAN-PARAM-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskUsesFpu&lt;/DEFINITION-REF&gt;&lt;VALUE&gt;false&lt;/VALUE&gt;&lt;/ECUC-NUMERICAL-PARAM-VALUE&gt;&lt;/PARAMETER-VALUES&gt;&lt;REFERENCE-VALUES&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskAccessingApplication&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/SystemApplication_OsCore0&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskAccessingApplication&lt;/DEFINITION-REF&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/SystemApplication_OsCore1&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_1s&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_20ms&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_40ms&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Run_CpCddEthSwc_RCtCddEthSwc_Process5ms&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Run_CpCddEthSwc_RCtCddEthSwc_Process100ms&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;ECUC-REFERENCE-VALUE&gt;&lt;DEFINITION-REF DEST=&quot;ECUC-REFERENCE-DEF&quot;&gt;/MICROSAR/Os/OsTask/OsTaskEventRef&lt;/DEFINITION-REF&gt;&lt;ANNOTATIONS&gt;&lt;ANNOTATION&gt;&lt;ANNOTATION-ORIGIN&gt;DV:RTE&lt;/ANNOTATION-ORIGIN&gt;&lt;/ANNOTATION&gt;&lt;/ANNOTATIONS&gt;&lt;VALUE-REF DEST=&quot;ECUC-CONTAINER-VALUE&quot;&gt;/ActiveEcuC/Os/Rte_Ev_Run_CpCddEthSwc_RCtCddEthSwc_RecvDoIPEthActvn&lt;/VALUE-REF&gt;&lt;/ECUC-REFERENCE-VALUE&gt;&lt;/REFERENCE-VALUES&gt;&lt;/ECUC-CONTAINER-VALUE&gt;<br/></div></td></tr></tbody>
  5352. <tbody class="passed results-table-row">
  5353. <tr>
  5354. <td class="col-result">Passed</td>
  5355. <td class="col-name">testcase/test_case.py::test_canif_dlc_check_case</td>
  5356. <td class="col-duration">0.48</td>
  5357. <td class="col-links"></td></tr>
  5358. <tr>
  5359. <td class="extra" colspan="4">
  5360. <div class="empty log">No log output captured.</div></td></tr></tbody></table></body></html>