1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8"/>
- <title>Test Report</title>
- <link href="assets/style.css" rel="stylesheet" type="text/css"/></head>
- <body onLoad="init()">
- <script>/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this file,
- * You can obtain one at http://mozilla.org/MPL/2.0/. */
- function toArray(iter) {
- if (iter === null) {
- return null;
- }
- return Array.prototype.slice.call(iter);
- }
- function find(selector, elem) { // eslint-disable-line no-redeclare
- if (!elem) {
- elem = document;
- }
- return elem.querySelector(selector);
- }
- function findAll(selector, elem) {
- if (!elem) {
- elem = document;
- }
- return toArray(elem.querySelectorAll(selector));
- }
- function sortColumn(elem) {
- toggleSortStates(elem);
- const colIndex = toArray(elem.parentNode.childNodes).indexOf(elem);
- let key;
- if (elem.classList.contains('result')) {
- key = keyResult;
- } else if (elem.classList.contains('links')) {
- key = keyLink;
- } else {
- key = keyAlpha;
- }
- sortTable(elem, key(colIndex));
- }
- function showAllExtras() { // eslint-disable-line no-unused-vars
- findAll('.col-result').forEach(showExtras);
- }
- function hideAllExtras() { // eslint-disable-line no-unused-vars
- findAll('.col-result').forEach(hideExtras);
- }
- function showExtras(colresultElem) {
- const extras = colresultElem.parentNode.nextElementSibling;
- const expandcollapse = colresultElem.firstElementChild;
- extras.classList.remove('collapsed');
- expandcollapse.classList.remove('expander');
- expandcollapse.classList.add('collapser');
- }
- function hideExtras(colresultElem) {
- const extras = colresultElem.parentNode.nextElementSibling;
- const expandcollapse = colresultElem.firstElementChild;
- extras.classList.add('collapsed');
- expandcollapse.classList.remove('collapser');
- expandcollapse.classList.add('expander');
- }
- function showFilters() {
- const filterItems = document.getElementsByClassName('filter');
- for (let i = 0; i < filterItems.length; i++)
- filterItems[i].hidden = false;
- }
- function addCollapse() {
- // Add links for show/hide all
- const resulttable = find('table#results-table');
- const showhideall = document.createElement('p');
- showhideall.innerHTML = '<a href="javascript:showAllExtras()">Show all details</a> / ' +
- '<a href="javascript:hideAllExtras()">Hide all details</a>';
- resulttable.parentElement.insertBefore(showhideall, resulttable);
- // Add show/hide link to each result
- findAll('.col-result').forEach(function(elem) {
- const collapsed = getQueryParameter('collapsed') || 'Passed';
- const extras = elem.parentNode.nextElementSibling;
- const expandcollapse = document.createElement('span');
- if (extras.classList.contains('collapsed')) {
- expandcollapse.classList.add('expander');
- } else if (collapsed.includes(elem.innerHTML)) {
- extras.classList.add('collapsed');
- expandcollapse.classList.add('expander');
- } else {
- expandcollapse.classList.add('collapser');
- }
- elem.appendChild(expandcollapse);
- elem.addEventListener('click', function(event) {
- if (event.currentTarget.parentNode.nextElementSibling.classList.contains('collapsed')) {
- showExtras(event.currentTarget);
- } else {
- hideExtras(event.currentTarget);
- }
- });
- });
- }
- function getQueryParameter(name) {
- const match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
- return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
- }
- function init () { // eslint-disable-line no-unused-vars
- resetSortHeaders();
- addCollapse();
- showFilters();
- sortColumn(find('.initial-sort'));
- findAll('.sortable').forEach(function(elem) {
- elem.addEventListener('click',
- function() {
- sortColumn(elem);
- }, false);
- });
- }
- function sortTable(clicked, keyFunc) {
- const rows = findAll('.results-table-row');
- const reversed = !clicked.classList.contains('asc');
- const sortedRows = sort(rows, keyFunc, reversed);
- /* Whole table is removed here because browsers acts much slower
- * when appending existing elements.
- */
- const thead = document.getElementById('results-table-head');
- document.getElementById('results-table').remove();
- const parent = document.createElement('table');
- parent.id = 'results-table';
- parent.appendChild(thead);
- sortedRows.forEach(function(elem) {
- parent.appendChild(elem);
- });
- document.getElementsByTagName('BODY')[0].appendChild(parent);
- }
- function sort(items, keyFunc, reversed) {
- const sortArray = items.map(function(item, i) {
- return [keyFunc(item), i];
- });
- sortArray.sort(function(a, b) {
- const keyA = a[0];
- const keyB = b[0];
- if (keyA == keyB) return 0;
- if (reversed) {
- return keyA < keyB ? 1 : -1;
- } else {
- return keyA > keyB ? 1 : -1;
- }
- });
- return sortArray.map(function(item) {
- const index = item[1];
- return items[index];
- });
- }
- function keyAlpha(colIndex) {
- return function(elem) {
- return elem.childNodes[1].childNodes[colIndex].firstChild.data.toLowerCase();
- };
- }
- function keyLink(colIndex) {
- return function(elem) {
- const dataCell = elem.childNodes[1].childNodes[colIndex].firstChild;
- return dataCell == null ? '' : dataCell.innerText.toLowerCase();
- };
- }
- function keyResult(colIndex) {
- return function(elem) {
- const strings = ['Error', 'Failed', 'Rerun', 'XFailed', 'XPassed',
- 'Skipped', 'Passed'];
- return strings.indexOf(elem.childNodes[1].childNodes[colIndex].firstChild.data);
- };
- }
- function resetSortHeaders() {
- findAll('.sort-icon').forEach(function(elem) {
- elem.parentNode.removeChild(elem);
- });
- findAll('.sortable').forEach(function(elem) {
- const icon = document.createElement('div');
- icon.className = 'sort-icon';
- icon.textContent = 'vvv';
- elem.insertBefore(icon, elem.firstChild);
- elem.classList.remove('desc', 'active');
- elem.classList.add('asc', 'inactive');
- });
- }
- function toggleSortStates(elem) {
- //if active, toggle between asc and desc
- if (elem.classList.contains('active')) {
- elem.classList.toggle('asc');
- elem.classList.toggle('desc');
- }
- //if inactive, reset all other functions and add ascending active
- if (elem.classList.contains('inactive')) {
- resetSortHeaders();
- elem.classList.remove('inactive');
- elem.classList.add('active');
- }
- }
- function isAllRowsHidden(value) {
- return value.hidden == false;
- }
- function filterTable(elem) { // eslint-disable-line no-unused-vars
- const outcomeAtt = 'data-test-result';
- const outcome = elem.getAttribute(outcomeAtt);
- const classOutcome = outcome + ' results-table-row';
- const outcomeRows = document.getElementsByClassName(classOutcome);
- for(let i = 0; i < outcomeRows.length; i++){
- outcomeRows[i].hidden = !elem.checked;
- }
- const rows = findAll('.results-table-row').filter(isAllRowsHidden);
- const allRowsHidden = rows.length == 0 ? true : false;
- const notFoundMessage = document.getElementById('not-found-message');
- notFoundMessage.hidden = !allRowsHidden;
- }
- </script>
- <h1>GW04_AS33_V7.1a.html</h1>
- <p>Report generated on 18-Oct-2022 at 13:46:38 by <a href="https://pypi.python.org/pypi/pytest-html">pytest-html</a> v3.1.1</p>
- <h2>Environment</h2>
- <table id="environment">
- <tr>
- <td>Packages</td>
- <td>{"pluggy": "1.0.0", "py": "1.11.0", "pytest": "7.1.3"}</td></tr>
- <tr>
- <td>Platform</td>
- <td>Windows-10-10.0.22000-SP0</td></tr>
- <tr>
- <td>Plugins</td>
- <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>
- <tr>
- <td>Python</td>
- <td>3.9.5</td></tr></table>
- <h2>Summary</h2>
- <p>68 tests ran in 2.21 seconds. </p>
- <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">66 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">2 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>
- <h2>Results</h2>
- <table id="results-table">
- <thead id="results-table-head">
- <tr>
- <th class="sortable result initial-sort" col="result">Result</th>
- <th class="sortable" col="name">Test</th>
- <th class="sortable" col="duration">Duration</th>
- <th class="sortable links" col="links">Links</th></tr>
- <tr hidden="true" id="not-found-message">
- <th colspan="4">No results found. Try to check the filters</th></tr></thead>
- <tbody class="failed results-table-row">
- <tr>
- <td class="col-result">Failed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern24-OsTaskStackSize-2048]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log">module_name = 'Os'<br/>search_pattern = {'xpath_rule': 'TEXT_EQ', 'xpath_str': './/SHORT-NAME', 'xpath_text': 'SecureSrvTask'}<br/>param_name = 'OsTaskStackSize', expect_value = '2048'<br/><br/> @allure.feature('Custom Pattern Parameter Check')<br/> @pytest.mark.parametrize("module_name, search_pattern, param_name, expect_value", get_xlsx_data_by_filter(HARDWARE_TYPE, PROJECT_TYPE, ItemType.CUSTOM_PATTERN))<br/> def test_custom_pattern_case(module_name, search_pattern, param_name, expect_value):<br/> '''<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/> '''<br/> item = (param_name, expect_value)<br/>> res = check_module_param_check(PROJECT, module_name, item, search_pattern)<br/><br/>testcase\test_case.py:52: <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/>> ns = element.nsmap<br/><span class="error">E AttributeError: 'NoneType' object has no attribute 'nsmap'</span><br/><br/>Base\Arxml.py:32: AttributeError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 74, in get_detail_element
- logging.error(f'By Pattern {xpath_str}-{xpath_text}-{xpath_rule}, not find valud element!')
- Message: 'By Pattern .//SHORT-NAME-SecureSrvTask-TEXT_EQ, not find valud element!'
- Arguments: ()
- <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>
- <tbody class="failed results-table-row">
- <tr>
- <td class="col-result">Failed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern25-OsTaskStackSize-4096]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log">module_name = 'Os', search_pattern = {'xpath_rule': 'TEXT_EQ', 'xpath_str': './/SHORT-NAME', 'xpath_text': 'InitTask'}<br/>param_name = 'OsTaskStackSize', expect_value = '4096'<br/><br/> @allure.feature('Custom Pattern Parameter Check')<br/> @pytest.mark.parametrize("module_name, search_pattern, param_name, expect_value", get_xlsx_data_by_filter(HARDWARE_TYPE, PROJECT_TYPE, ItemType.CUSTOM_PATTERN))<br/> def test_custom_pattern_case(module_name, search_pattern, param_name, expect_value):<br/> '''<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/> '''<br/> item = (param_name, expect_value)<br/> res = check_module_param_check(PROJECT, module_name, item, search_pattern)<br/> <br/>> assert True == res<br/><span class="error">E assert True == False</span><br/><br/>testcase\test_case.py:54: AssertionError<br/> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="197fdf7b-c75d-4917-8a46-9d1e90ad0cfd"><SHORT-NAME>InitTask</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsTask</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskActivation</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskPriority</DEFINITION-REF><VALUE>110</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskSchedule</DEFINITION-REF><VALUE>NON</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSharing</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSize</DEFINITION-REF><VALUE>1024</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskType</DEFINITION-REF><VALUE>BASIC</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore1</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 64, in do_param_check
- match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
- File "D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py", line 48, in parameter_match
- logging.error(f"Check Param {param_name} not match! Expect Value {param_expect_value} != {value}")
- Message: 'Check Param OsTaskStackSize not match! Expect Value 4096 != 1024'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="197fdf7b-c75d-4917-8a46-9d1e90ad0cfd"><SHORT-NAME>InitTask</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsTask</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskActivation</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskPriority</DEFINITION-REF><VALUE>110</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskSchedule</DEFINITION-REF><VALUE>NON</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSharing</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSize</DEFINITION-REF><VALUE>1024</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskType</DEFINITION-REF><VALUE>BASIC</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore1</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>
- ERROR root:CfgCheckBase.py:48 Check Param OsTaskStackSize not match! Expect Value 4096 != 1024<br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmResetToFblAfterSessionFinalResponseEnabled-true]</td>
- <td class="col-duration">0.02</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmSpecificCauseCodeEnabled-true0]</td>
- <td class="col-duration">0.02</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemResetConfirmedBitOnOverflow-false]</td>
- <td class="col-duration">0.02</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemPendingDtcProcessing-DEM_PROCESS_PDTC_ALL_DTC]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemWarningIndicatorRequestedProcessing-DEM_PROCESS_WIR_ALL_DTC]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmSpecificCauseCodeEnabled-true1]</td>
- <td class="col-duration">0.02</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemClearDTCBehavior-DEM_CLRRESP_VOLATILE]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemMaxNumberEventEntryPrimary-40]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemTypeOfFreezeFrameRecordNumeration-DEM_FF_RECNUM_CONFIGURED]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemImmediateNvStorage-true]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[CanTp-CanTpChannelMode-CANTP_MODE_FULL_DUPLEX]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[CanTp-CanTpMainFunctionPeriod-0.005]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[CanTp-CanTpEnableSynchronousTransmit-true]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[EthIf-EthIfVlanId-7]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[EthIf-EthIfTrcvLinkStateChgMainReload-50]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[EthTrcv-EthTrcvHwAccessMonitorPeriod-1]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPControlIpAssignment-false]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPTcpTxMgtQueueSize-31]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[ComM-ComMMainFunctionPeriod-0.01]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Ea-EaNumberOfWriteCycles-1000000]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmRequestManufacturerNotificationEnabled-true]</td>
- <td class="col-duration">0.02</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmRequestSupplierNotificationEnabled-true]</td>
- <td class="col-duration">0.02</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dcm-DcmDspMaxDidToRead-3]</td>
- <td class="col-duration">0.02</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[Dem-DemReportSuppressedDTCsInService19x0A-true]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPRoutingActivationConfirmationReqLength-4]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPRoutingActivationConfirmationResLength-4]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPActivationLineDefaultActive-true]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPAliveCheckResponseTimeout-0.5]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPGeneralInactivityTime-300]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPInitialInactivityTime-2]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPInitialVehicleAnnouncementTime-0.5]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPNodeType-DOIP_GATEWAY]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPSupportEntityState-true]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPSupportVidWithEId-true]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPUseEIDasGID-true]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPUseMacAddressForIdentification-true]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPUseVehicleIdentificationSyncStatus-true]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPVehicleAnnouncementInterval-0.5]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_fix_value_case[DoIP-DoIPVehicleAnnouncementRepetition-3]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Rte-search_pattern0-RteExclusiveAreaImplMechanism-NONE]</td>
- <td class="col-duration">0.06</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="d6583e71-e13d-43ca-af3e-ef5fd15e589a"><SHORT-NAME>ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="d6583e71-e13d-43ca-af3e-ef5fd15e589a"><SHORT-NAME>ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Rte-search_pattern1-RteExclusiveAreaImplMechanism-NONE]</td>
- <td class="col-duration">0.06</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="d6583e71-e13d-43ca-af3e-ef5fd15e589a"><SHORT-NAME>ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="d6583e71-e13d-43ca-af3e-ef5fd15e589a"><SHORT-NAME>ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Rte-search_pattern2-RteExclusiveAreaImplMechanism-NONE]</td>
- <td class="col-duration">0.06</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ffef8be3-864f-41ea-ac59-5c77fd917adb"><SHORT-NAME>EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthSwt_30_88Q5050_ib_bswmd/BswModuleDescriptions/EthSwt/EthSwt_30_88Q5050Behavior/EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ffef8be3-864f-41ea-ac59-5c77fd917adb"><SHORT-NAME>EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthSwt_30_88Q5050_ib_bswmd/BswModuleDescriptions/EthSwt/EthSwt_30_88Q5050Behavior/EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[TcpIp-search_pattern3-TcpIpAssignmentTrigger-TCPIP_MANUAL]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="397b14d1-b5e8-3292-9609-e1ae8e71e090"><SHORT-NAME>NE_CCP_MCU_4b8feb2f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">NE_CCP_MCU</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddressType</DEFINITION-REF><VALUE>TCPIP_UNICAST</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpDomainType</DEFINITION-REF><VALUE>TCPIP_AF_INET</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrId</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpIpAddrReceiveAllNotConfiguredMulticasts</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpCtrlRef</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/TcpIp/TcpIpConfig/EthernetCnt_MCUSOMEIP_958a6954</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="a57adb29-b7d4-40f3-978b-fe9394e325a1"><SHORT-NAME>TcpIpStaticIpAddressConfig</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-STRING-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpStaticIpAddress</DEFINITION-REF><VALUE>172.31.7.1</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpNetmask</DEFINITION-REF><VALUE>24</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="71ccd270-2f06-46bd-86f6-98dc762b67f7"><SHORT-NAME>NE_CCP_MCU_4b8feb2f</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentMethod</DEFINITION-REF><VALUE>TCPIP_STATIC</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentTrigger</DEFINITION-REF><VALUE>TCPIP_MANUAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="397b14d1-b5e8-3292-9609-e1ae8e71e090"><SHORT-NAME>NE_CCP_MCU_4b8feb2f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">NE_CCP_MCU</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddressType</DEFINITION-REF><VALUE>TCPIP_UNICAST</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpDomainType</DEFINITION-REF><VALUE>TCPIP_AF_INET</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrId</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpIpAddrReceiveAllNotConfiguredMulticasts</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpCtrlRef</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/TcpIp/TcpIpConfig/EthernetCnt_MCUSOMEIP_958a6954</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="a57adb29-b7d4-40f3-978b-fe9394e325a1"><SHORT-NAME>TcpIpStaticIpAddressConfig</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-STRING-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpStaticIpAddress</DEFINITION-REF><VALUE>172.31.7.1</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpNetmask</DEFINITION-REF><VALUE>24</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="71ccd270-2f06-46bd-86f6-98dc762b67f7"><SHORT-NAME>NE_CCP_MCU_4b8feb2f</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentMethod</DEFINITION-REF><VALUE>TCPIP_STATIC</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentTrigger</DEFINITION-REF><VALUE>TCPIP_MANUAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern4-ComMNmVariant-FULL]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element
- logging.info(match_string)
- Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="9f974ec9-7b23-3c08-932f-021ca0d8fc34"><SHORT-NAME>CNCANConnector_d4b41c15</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>3</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="35190240-c67a-3f2e-a3c8-4d6fad262845"><SHORT-NAME>CNCANConnector_a63177cb</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>3</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7bb95bd4-148b-437f-9edd-8e6b72c8dc75"><SHORT-NAME>CNCANConnector_d474d05f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CNCANConnector_d4b41c15</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="53853d52-1a24-3093-88b4-0cbfb43f1cfb"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="9f974ec9-7b23-3c08-932f-021ca0d8fc34"><SHORT-NAME>CNCANConnector_d4b41c15</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>3</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
- INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="35190240-c67a-3f2e-a3c8-4d6fad262845"><SHORT-NAME>CNCANConnector_a63177cb</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>3</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7bb95bd4-148b-437f-9edd-8e6b72c8dc75"><SHORT-NAME>CNCANConnector_d474d05f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CNCANConnector_d4b41c15</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="53853d52-1a24-3093-88b4-0cbfb43f1cfb"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern5-ComMNmVariant-FULL]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element
- logging.info(match_string)
- Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="223a71cb-6c39-34d3-ac1d-576ebddd7a26"><SHORT-NAME>ADCANFDConnector_cb8417a9</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="7423a31d-5b72-38fe-994f-2181ca142967"><SHORT-NAME>ADCANFDConnector_cfcb6aca</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="9357841a-0260-4d8a-9fca-16c04455a9ca"><SHORT-NAME>ADCANFDConnector_d6b09a6f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/ADCANFDConnector_cb8417a9</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="cc30ad1d-e75f-3aa2-b401-95913cdb7394"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="223a71cb-6c39-34d3-ac1d-576ebddd7a26"><SHORT-NAME>ADCANFDConnector_cb8417a9</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
- INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="7423a31d-5b72-38fe-994f-2181ca142967"><SHORT-NAME>ADCANFDConnector_cfcb6aca</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="9357841a-0260-4d8a-9fca-16c04455a9ca"><SHORT-NAME>ADCANFDConnector_d6b09a6f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/ADCANFDConnector_cb8417a9</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="cc30ad1d-e75f-3aa2-b401-95913cdb7394"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern6-ComMNmVariant-FULL]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element
- logging.info(match_string)
- Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ad6eb04c-5778-3d03-9b3a-f5d9a75835dd"><SHORT-NAME>CHCANFDConnector_e0e99315</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5003662d-f6ae-3714-83bc-65dbc3bcba28"><SHORT-NAME>CHCANFDConnector_0d9ee64d</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="c71be702-4632-3fbe-87b5-30aa2d8d858f"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="fcea6d62-bef3-4d20-a974-c6234fb1cccd"><SHORT-NAME>CHCANFDConnector_ff977897</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CHCANFDConnector_e0e99315</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ad6eb04c-5778-3d03-9b3a-f5d9a75835dd"><SHORT-NAME>CHCANFDConnector_e0e99315</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
- INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5003662d-f6ae-3714-83bc-65dbc3bcba28"><SHORT-NAME>CHCANFDConnector_0d9ee64d</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="c71be702-4632-3fbe-87b5-30aa2d8d858f"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="fcea6d62-bef3-4d20-a974-c6234fb1cccd"><SHORT-NAME>CHCANFDConnector_ff977897</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CHCANFDConnector_e0e99315</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern7-ComMNmVariant-FULL]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element
- logging.info(match_string)
- Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="dc6c4ba1-bfe5-3f4f-bbfa-c34b0c9211da"><SHORT-NAME>CFCANConnector_6df73a15</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5c066f49-7aa7-3d53-834f-911d35520ba8"><SHORT-NAME>CFCANConnector_fc32a4a6</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7094b46a-8e03-3b88-a061-f545ee991ee1"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="9b22392a-e32b-4482-ad38-3a5dd93a79c6"><SHORT-NAME>CFCANConnector_3760e40b</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CFCANConnector_6df73a15</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="dc6c4ba1-bfe5-3f4f-bbfa-c34b0c9211da"><SHORT-NAME>CFCANConnector_6df73a15</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
- INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5c066f49-7aa7-3d53-834f-911d35520ba8"><SHORT-NAME>CFCANConnector_fc32a4a6</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7094b46a-8e03-3b88-a061-f545ee991ee1"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="9b22392a-e32b-4482-ad38-3a5dd93a79c6"><SHORT-NAME>CFCANConnector_3760e40b</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CFCANConnector_6df73a15</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern8-ComMNmVariant-LIGHT]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element
- logging.info(match_string)
- Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="91fb0e9e-14e0-3c9e-8ad9-802e6f8cce08"><SHORT-NAME>DIAGCANConnector_047bb047</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>4</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="8f3eb055-f977-35b7-ab6e-80bd469b3faf"><SHORT-NAME>DIAGCANConnector_a8a15a04</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>4</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="9ec6ed37-fd19-4e50-be8f-127679adcc54"><SHORT-NAME>DIAGCANConnector_6340a10c</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/DIAGCANConnector_047bb047</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="f5aaa688-c840-301d-927a-eef86c619ab0"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="91fb0e9e-14e0-3c9e-8ad9-802e6f8cce08"><SHORT-NAME>DIAGCANConnector_047bb047</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>4</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
- INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="8f3eb055-f977-35b7-ab6e-80bd469b3faf"><SHORT-NAME>DIAGCANConnector_a8a15a04</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>4</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="9ec6ed37-fd19-4e50-be8f-127679adcc54"><SHORT-NAME>DIAGCANConnector_6340a10c</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/DIAGCANConnector_047bb047</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="f5aaa688-c840-301d-927a-eef86c619ab0"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern9-ComMNmVariant-FULL]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ab64d5ef-8e71-35b4-a292-5d2a91cdda57"><SHORT-NAME>PTEXTCANConnector_76d2cfd8</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTEXTCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>6</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="79aa022b-b354-327b-a3eb-93d6d8af9f18"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="0840efb2-99cc-4533-a02d-45fe55ed7b02"><SHORT-NAME>PTEXTCANConnector_a0e823ab</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTEXTCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/PTEXTCANConnector_649c0f16</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ab64d5ef-8e71-35b4-a292-5d2a91cdda57"><SHORT-NAME>PTEXTCANConnector_76d2cfd8</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTEXTCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>6</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="79aa022b-b354-327b-a3eb-93d6d8af9f18"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="0840efb2-99cc-4533-a02d-45fe55ed7b02"><SHORT-NAME>PTEXTCANConnector_a0e823ab</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTEXTCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/PTEXTCANConnector_649c0f16</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern10-ComMNmVariant-FULL]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element
- logging.info(match_string)
- Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="92553781-b722-3658-b726-219a87550590"><SHORT-NAME>PTCANFDConnector_4973dff4</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="b40aa6ea-c46d-3de9-b239-12e87a1838dc"><SHORT-NAME>PTCANFDConnector_c3e65a8a</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="6fce0bbd-18b2-393f-9aa5-0cdba93678bf"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="c2cf0408-d81f-4122-a522-7890ab231de1"><SHORT-NAME>PTCANFDConnector_7362d04f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/PTCANFDConnector_4973dff4</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="92553781-b722-3658-b726-219a87550590"><SHORT-NAME>PTCANFDConnector_4973dff4</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
- INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="b40aa6ea-c46d-3de9-b239-12e87a1838dc"><SHORT-NAME>PTCANFDConnector_c3e65a8a</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="6fce0bbd-18b2-393f-9aa5-0cdba93678bf"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="c2cf0408-d81f-4122-a522-7890ab231de1"><SHORT-NAME>PTCANFDConnector_7362d04f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/PTCANFDConnector_4973dff4</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern11-ComMNmVariant-LIGHT]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element
- logging.info(match_string)
- Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4fdbf58e-4229-37d2-af17-fe71e36d5e75"><SHORT-NAME>GW_Lin2Master_1c684630</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>8</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="056103d1-fcf0-3f1d-9c8a-02e2a95d05f1"><SHORT-NAME>GW_Lin2Master_1b1dbe1a</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_LIN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>8</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="1d239198-dbe0-38ba-8a67-edcf2ab08ae0"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="ee023a6c-8b6e-4c39-93f0-7913d352f0e6"><SHORT-NAME>GW_Lin2Master_343c619c</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/GW_Lin2Master_1c684630</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4fdbf58e-4229-37d2-af17-fe71e36d5e75"><SHORT-NAME>GW_Lin2Master_1c684630</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>8</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
- INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="056103d1-fcf0-3f1d-9c8a-02e2a95d05f1"><SHORT-NAME>GW_Lin2Master_1b1dbe1a</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_LIN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>8</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="1d239198-dbe0-38ba-8a67-edcf2ab08ae0"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="ee023a6c-8b6e-4c39-93f0-7913d352f0e6"><SHORT-NAME>GW_Lin2Master_343c619c</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/GW_Lin2Master_1c684630</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern12-ComMNmVariant-LIGHT]</td>
- <td class="col-duration">0.00</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element
- logging.info(match_string)
- Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="9a490999-67ba-3a94-bd99-265cbf80c90e"><SHORT-NAME>GW_LIN1_Master_22a01de4</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>7</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="a17004d9-089d-38be-b9b7-513987ecdacb"><SHORT-NAME>GW_LIN1_Master_cdec64e9</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_LIN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>7</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7570542c-0326-3094-8748-9221498f2d5f"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="40c1b414-8947-4058-8f0d-eb0e6dbd0d91"><SHORT-NAME>GW_LIN1_Master_c3de1389</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/GW_LIN1_Master_22a01de4</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="9a490999-67ba-3a94-bd99-265cbf80c90e"><SHORT-NAME>GW_LIN1_Master_22a01de4</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>7</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
- INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="a17004d9-089d-38be-b9b7-513987ecdacb"><SHORT-NAME>GW_LIN1_Master_cdec64e9</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_LIN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>7</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7570542c-0326-3094-8748-9221498f2d5f"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="40c1b414-8947-4058-8f0d-eb0e6dbd0d91"><SHORT-NAME>GW_LIN1_Master_c3de1389</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/GW_LIN1_Master_22a01de4</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dcm-search_pattern13-DcmDspSessionForBoot-DCM_OEM_BOOT]</td>
- <td class="col-duration">0.02</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="bc679531-efb9-3d33-bec7-9b9cd4ac4386"><SHORT-NAME>Programming</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">Programming</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionLevel</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2ServerMax</DEFINITION-REF><VALUE>0.05</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2StarServerMax</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionForBoot</DEFINITION-REF><VALUE>DCM_OEM_BOOT</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="bc679531-efb9-3d33-bec7-9b9cd4ac4386"><SHORT-NAME>Programming</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">Programming</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionLevel</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2ServerMax</DEFINITION-REF><VALUE>0.05</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2StarServerMax</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionForBoot</DEFINITION-REF><VALUE>DCM_OEM_BOOT</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern14-DemDataElementUsePort-USE_DATA_INTERNAL]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="654cc654-d4b1-3dff-b5f3-f6f921176c5e"><SHORT-NAME>EDR_01_AgedCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgedCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGED_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="654cc654-d4b1-3dff-b5f3-f6f921176c5e"><SHORT-NAME>EDR_01_AgedCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgedCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGED_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern15-DemDataElementUsePort-USE_DATA_INTERNAL]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4f7ae86f-ec83-34eb-879d-bd59cc3b8006"><SHORT-NAME>EDR_01_AgeingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgeingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGINGCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4f7ae86f-ec83-34eb-879d-bd59cc3b8006"><SHORT-NAME>EDR_01_AgeingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgeingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGINGCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern16-DemDataElementUsePort-USE_DATA_INTERNAL]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5ce75aed-e810-3c22-97e3-9f8b3a807614"><SHORT-NAME>EDR_01_FaultOccurrenceCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultOccurrenceCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_OCCCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5ce75aed-e810-3c22-97e3-9f8b3a807614"><SHORT-NAME>EDR_01_FaultOccurrenceCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultOccurrenceCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_OCCCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern17-DemDataElementUsePort-USE_DATA_INTERNAL]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f"><SHORT-NAME>EDR_01_FaultPendingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultPendingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_FAULT_PENDING_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f"><SHORT-NAME>EDR_01_FaultPendingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultPendingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_FAULT_PENDING_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern18-DemDataElementInternalData-DEM_AGED_COUNTER]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="654cc654-d4b1-3dff-b5f3-f6f921176c5e"><SHORT-NAME>EDR_01_AgedCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgedCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGED_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="654cc654-d4b1-3dff-b5f3-f6f921176c5e"><SHORT-NAME>EDR_01_AgedCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgedCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGED_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern19-DemDataElementInternalData-DEM_AGINGCTR]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4f7ae86f-ec83-34eb-879d-bd59cc3b8006"><SHORT-NAME>EDR_01_AgeingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgeingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGINGCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4f7ae86f-ec83-34eb-879d-bd59cc3b8006"><SHORT-NAME>EDR_01_AgeingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgeingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGINGCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern20-DemDataElementInternalData-DEM_OCCCTR]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5ce75aed-e810-3c22-97e3-9f8b3a807614"><SHORT-NAME>EDR_01_FaultOccurrenceCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultOccurrenceCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_OCCCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5ce75aed-e810-3c22-97e3-9f8b3a807614"><SHORT-NAME>EDR_01_FaultOccurrenceCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultOccurrenceCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_OCCCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern21-DemDataElementInternalData-DEM_FAULT_PENDING_COUNTER]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f"><SHORT-NAME>EDR_01_FaultPendingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultPendingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_FAULT_PENDING_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f"><SHORT-NAME>EDR_01_FaultPendingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultPendingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_FAULT_PENDING_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern22-OsIsrInterruptSource-211]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="e167f1dc-64c0-4a63-89f2-377866d24ff0"><SHORT-NAME>EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Rx</SHORT-NAME><ANNOTATIONS><ANNOTATION><LABEL><L-4 L="FOR-ALL">/ActiveEcuC/Eth</L-4></LABEL><ANNOTATION-ORIGIN>DV:OsInterruptServiceRoutine</ANNOTATION-ORIGIN><ANNOTATION-TEXT><P><L-1 L="FOR-ALL">PLAIN_TEXT</L-1></P><P><L-1 L="FOR-ALL">ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).</L-1></P></ANNOTATION-TEXT></ANNOTATION></ANNOTATIONS><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsIsr</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrCategory</DEFINITION-REF><VALUE>CATEGORY_2</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptType</DEFINITION-REF><VALUE>EXTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptSource</DEFINITION-REF><VALUE>211</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrEnableNesting</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="e167f1dc-64c0-4a63-89f2-377866d24ff0"><SHORT-NAME>EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Rx</SHORT-NAME><ANNOTATIONS><ANNOTATION><LABEL><L-4 L="FOR-ALL">/ActiveEcuC/Eth</L-4></LABEL><ANNOTATION-ORIGIN>DV:OsInterruptServiceRoutine</ANNOTATION-ORIGIN><ANNOTATION-TEXT><P><L-1 L="FOR-ALL">PLAIN_TEXT</L-1></P><P><L-1 L="FOR-ALL">ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).</L-1></P></ANNOTATION-TEXT></ANNOTATION></ANNOTATIONS><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsIsr</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrCategory</DEFINITION-REF><VALUE>CATEGORY_2</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptType</DEFINITION-REF><VALUE>EXTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptSource</DEFINITION-REF><VALUE>211</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrEnableNesting</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern23-OsIsrInterruptSource-212]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="f00e2030-4bc2-4977-b3bd-3b367cc07fec"><SHORT-NAME>EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Tx</SHORT-NAME><ANNOTATIONS><ANNOTATION><LABEL><L-4 L="FOR-ALL">/ActiveEcuC/Eth</L-4></LABEL><ANNOTATION-ORIGIN>DV:OsInterruptServiceRoutine</ANNOTATION-ORIGIN><ANNOTATION-TEXT><P><L-1 L="FOR-ALL">PLAIN_TEXT</L-1></P><P><L-1 L="FOR-ALL">ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).</L-1></P></ANNOTATION-TEXT></ANNOTATION></ANNOTATIONS><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsIsr</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrCategory</DEFINITION-REF><VALUE>CATEGORY_2</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptType</DEFINITION-REF><VALUE>EXTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptSource</DEFINITION-REF><VALUE>212</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrEnableNesting</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="f00e2030-4bc2-4977-b3bd-3b367cc07fec"><SHORT-NAME>EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Tx</SHORT-NAME><ANNOTATIONS><ANNOTATION><LABEL><L-4 L="FOR-ALL">/ActiveEcuC/Eth</L-4></LABEL><ANNOTATION-ORIGIN>DV:OsInterruptServiceRoutine</ANNOTATION-ORIGIN><ANNOTATION-TEXT><P><L-1 L="FOR-ALL">PLAIN_TEXT</L-1></P><P><L-1 L="FOR-ALL">ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).</L-1></P></ANNOTATION-TEXT></ANNOTATION></ANNOTATIONS><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsIsr</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrCategory</DEFINITION-REF><VALUE>CATEGORY_2</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptType</DEFINITION-REF><VALUE>EXTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptSource</DEFINITION-REF><VALUE>212</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrEnableNesting</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_custom_pattern_case[Os-search_pattern26-OsTaskStackSize-4096]</td>
- <td class="col-duration">0.01</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stderr call------------------------------ <br/>--- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element
- logging.info(match_string)
- Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="f42b164b-930a-40bd-822c-ffcd36cc409e"><SHORT-NAME>User_BSW_ETH_Task_Core0</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackType</DEFINITION-REF><VALUE>TASK_EXTENDED_STACK</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackCore</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-CHOICE-REFERENCE-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackUser</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/User_BSW_ETH_Task_Core0</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- --- Logging error ---
- Traceback (most recent call last):
- File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit
- stream.write(msg + self.terminator)
- OSError: [WinError 6] 句柄无效。
- Call stack:
- File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module>
- pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/'])
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main
- ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main
- return wrap_session(config, _main)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session
- session.exitstatus = doit(config, session) or 0
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main
- config.hook.pytest_runtestloop(session=session)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop
- item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol
- runtestprotocol(item, nextitem=nextitem)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol
- reports.append(call_and_report(item, "call", log))
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report
- call = call_runtest_hook(item, when, **kwds)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook
- return CallInfo.from_call(
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call
- result: Optional[TResult] = func()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda>
- lambda: ihook(item=item, **kwds), when=when, reraise=reraise
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call
- item.runtest()
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest
- self.ihook.pytest_pyfunc_call(pyfuncitem=self)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__
- return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall
- res = hook_impl.function(*args)
- File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call
- result = testfunction(**testargs)
- File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case
- res = check_module_param_check(PROJECT, module_name, item, search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check
- cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check
- match_element = get_match_element_function(check_items, **search_pattern)
- File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element
- logging.info(f'Find Valid Element: {match_string}')
- Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="07215333-bcb5-4414-a2c2-5a492fa3211b"><SHORT-NAME>User_BSW_ETH_Task_Core0</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsTask</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskActivation</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskPriority</DEFINITION-REF><VALUE>10</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskSchedule</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSharing</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskType</DEFINITION-REF><VALUE>EXTENDED</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore1</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_1s</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_20ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_40ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_Process100ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_Process5ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_RecvDoIPEthActvn</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>'
- Arguments: ()
- <br/> -------------------------------Captured log call-------------------------------- <br/>INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="f42b164b-930a-40bd-822c-ffcd36cc409e"><SHORT-NAME>User_BSW_ETH_Task_Core0</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackType</DEFINITION-REF><VALUE>TASK_EXTENDED_STACK</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackCore</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-CHOICE-REFERENCE-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackUser</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/User_BSW_ETH_Task_Core0</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>
- INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="07215333-bcb5-4414-a2c2-5a492fa3211b"><SHORT-NAME>User_BSW_ETH_Task_Core0</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsTask</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskActivation</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskPriority</DEFINITION-REF><VALUE>10</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskSchedule</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSharing</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskType</DEFINITION-REF><VALUE>EXTENDED</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore1</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_1s</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_20ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_40ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_Process100ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_Process5ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_RecvDoIPEthActvn</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><br/></div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_canif_dlc_check_case</td>
- <td class="col-duration">0.45</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="empty log">No log output captured.</div></td></tr></tbody>
- <tbody class="passed results-table-row">
- <tr>
- <td class="col-result">Passed</td>
- <td class="col-name">testcase/test_case.py::test_canif_buffersize_check_case</td>
- <td class="col-duration">0.46</td>
- <td class="col-links"></td></tr>
- <tr>
- <td class="extra" colspan="4">
- <div class="log"> ------------------------------Captured stdout call------------------------------ <br/>PhCnPTEXTCAN_c3c56e7f, CanIfTxBufferHandlingType=NONE
- PhCnADCANFD_8062c890, CanIfTxBufferHandlingType=PRIO_BY_CANID
- PhCnCNCAN_4d22b9a4, CanIfTxBufferHandlingType=PRIO_BY_CANID
- PhCnCHCANFD_08726639, CanIfTxBufferHandlingType=PRIO_BY_CANID
- PhCnCFCAN_bbcf8f7d, CanIfTxBufferHandlingType=PRIO_BY_CANID
- PhCnPTCANFD_a81eba3b, CanIfTxBufferHandlingType=PRIO_BY_CANID
- PhCnDIAGCAN_7f331147, CanIfTxBufferHandlingType=NONE
- PhCnADCANFD_8062c890_Tp, CanIfTxBufferHandlingType=FIFO
- PhCnCFCAN_bbcf8f7d_Tp, CanIfTxBufferHandlingType=FIFO
- PhCnCHCANFD_08726639_Tp, CanIfTxBufferHandlingType=FIFO
- PhCnCNCAN_4d22b9a4_Tp, CanIfTxBufferHandlingType=FIFO
- PhCnPTCANFD_a81eba3b_Tp, CanIfTxBufferHandlingType=FIFO
- PhCnPTEXTCAN_c3c56e7f_Tp, CanIfTxBufferHandlingType=FIFO
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_SCU_52b5031e_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_EVCC_86ea3ade_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_SDM_e6539cab_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FLSM_383aa7d6_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_DMS_c41c76e0_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_BCM_bc0f88b2_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_SAC_7e69d916_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_BMS_531d0999_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_IMCU_2a493c38_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_GW_d92f7162_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_IBS_1dff87ea_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_RDA_LH_1cfa6a98_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_ESCL_88de391f_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_EPS_bf6fa2ab_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_CCU_73ae5924_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_TBox_2d3dcc49_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FVCM_dc2e4651_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_RDA_RH_d030a1fb_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_EPMCU_d487b2de_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_ATC_d5ee2c61_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FICM_ae8151a0_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_CHCANFD_010ms_Container02_1bf90685_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_CHCANFD_010ms_Container14_7ec3ae3c_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_VCU_010ms_PDU00_59e97fc1_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_020ms_PDU00_fefa274a_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SDM_020ms_PDU00_a20e3da0_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_020ms_PDU00_CN_1a0b398a_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_VCU_010ms_PDU00_1df97b92_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SCS_020ms_PDU04_9333f7bf_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SDM_020ms_PDU00_90976b9e_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_SigGW_020ms_CFCAN_PDU22_1fb1e574_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_EPS_010ms_PDU00_e9636f33_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IMCU_010ms_PDU48_d948270d_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_EPS_010ms_PDU00_7f559dba_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IMCU_010ms_PDU27_3448f269_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SAC_010ms_PDU02_2359eb50_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BCM_010ms_PDU42_1b40bda8_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SAC_010ms_PDU00_58d9955a_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IBS_010ms_PDU12_c7a5b863_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_020ms_PDU27_9a4f55aa_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_LADS_020ms_PDU12_ad291813_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SCS_020ms_PDU03_772993f6_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SCS_020ms_PDU08_e4ccc58e_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_LADS_020ms_PDU35_cf09b9ef_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SCS_020ms_PDU04_3fa7f6b2_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_050ms_PDU09_ebdb1b07_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_SigGW_100ms_CNCAN_PDU82_7b948c35_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SCS_020ms_PDU06_5d3cb9f9_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IMCU_020ms_PDU24_c9b9f129_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SCS_020ms_PDU15_7230fd07_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_VCU_020ms_PDU10_4b7b69be_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_050ms_PDU11_57320981_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_050ms_PDU01_d71da945_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_050ms_PDU10_8d4a1b83_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU28_8febe690_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_LADS_100ms_PDU03_16a51b4c_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_050ms_PDU30_b86a3d66_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BCM_050ms_PDU40_38545801_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_050ms_PDU23_3b348eb9_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_LADS_050ms_PDU02_f751acbc_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_LADS_050ms_PDU33_847ca93e_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_AC_050ms_PDU04_b65e34b3_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_SigGw_050ms_PDU79_3a8fe704_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BCM_050ms_PDU43_7e14190e_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCU_100ms_PDU01_72869dce_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU16_a6e2c737_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU06_b8a9f250_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU31_f70c134c_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU12_51e23b23_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU14_dd62b93d_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU15_e0a28638_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCU_100ms_PDU00_4f46a2cb_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCU_100ms_PDU04_2622cb7c_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCU_100ms_PDU06_2dc841f9_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_FICM_100ms_PDU21_2cc32d2a_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_VCU_100ms_PDU51_ae3e9efb_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_100ms_PDU04_a1ac84f8_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BCM_100ms_PDU08_a7e19530_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCU_100ms_PDU05_858661da_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_VCU_100ms_PDU67_082bf985_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IMCU_100ms_PDU82_11c2e5fb_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BCM_100ms_PDU04_6591974d_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IPK_100ms_PDU07_1ee814bf_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_100ms_PDU01_d6f57f19_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BCM_100ms_PDU03_d4d12a56_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_SigGW_100ms_CNCAN_PDU66_8760161e_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_LADS_100ms_PDU30_9b5082f6_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_VCU_100ms_PDU68_c8f21d46_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IMCU_100ms_PDU81_331fba52_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SAC_100ms_PDU04_47a51534_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_AC_100ms_PDU03_5b116556_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IPK_100ms_PDU08_9ad857cd_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU60_5dd358c6_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU54_c74f6dbc_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_AC_100ms_PDU05_e18c2d3b_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_AC_100ms_PDU07_3ed7e8df_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_AC_100ms_PDU10_b83b7c92_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IMCU_100ms_PDU26_9a3b2350_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_100ms_PDU50_304f91a8_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_200ms_PDU84_36288ce9_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_250ms_PDU12_f52be13b_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_LADS_6dada81a_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_UGW_c1a37077_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_AMP_209f4e16_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_EOPC_0441fcbb_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_BPEPS_c3a7733c_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_020ms_PDU00_PTE_b4afb06f_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_SCS_020ms_PDU15_15538a12_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_020ms_PDU02_910a31be_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_LADS_050ms_PDU05_082d50c7_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_SigGW_050ms_PTEXTCAN_PDU15_385f696a_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_SigGW_100ms_PTEXTCAN_PDU21_3d1dc401_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_100ms_PDU06_7f70a5f1_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_NmPDU_PTEXTCAN_GW_ad93e14c_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_1000ms_PDU14_d9543113_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IPK_200ms_PDU06_be30eede_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_SCU_2a637b7b_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_EPMCU_7e154346_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_EVCC_ef4e2bff_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_EOPC_02a76f0f_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_PTEXTCAN_FuncReq_38b997cc_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_BMS_020ms_PDU02_100ms_0015f6bb_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_FICM_100ms_PDU24_4cc909c8_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_VCU_100ms_PDU02_d22a3548_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_VCU_100ms_PDU55_a4be3710_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IPK_200ms_PDU15_ba79f663_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_IPK_200ms_PDU09_085ec0ae_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_CCP_CNCAN_FrI00_1765ecc1_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FLPDM_9ce61288_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FRPDM_eeef4677_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FRSM_1231e27b_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_Diag_DIAGCAN_PhyResp_CTM_68e649a5_Tx, CanIfTxBufferHandlingType=NONE
- CanIfBufferCfg_FICM_100ms_PDU46_8151566c_Tx, CanIfTxBufferHandlingType=NONE
- <br/></div></td></tr></tbody></table></body></html>
|