reportname.html

Report generated on 10-Oct-2022 at 11:10:34 by pytest-html v3.1.1

Environment

Packages {"pluggy": "1.0.0", "py": "1.11.0", "pytest": "7.1.3"}
Platform Windows-10-10.0.22000-SP0
Plugins {"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"}
Python 3.9.5

Summary

49 tests ran in 1.92 seconds.

47 passed, 0 skipped, 2 failed, 0 errors, 0 expected failures, 0 unexpected passes, 0 rerun

Results

Result Test Duration Links
Failed testcase/test_case.py::test_fix_value_case[Dcm-DcmDspMaxDidToRead-3] 0.02
module_name = 'Dcm', param_name = 'DcmDspMaxDidToRead', expect_value = '3'

@allure.feature('Fix Value Parameter Check')
@pytest.mark.parametrize("module_name, param_name, expect_value", get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))
def test_fix_value_case(module_name, param_name, expect_value):
'''
该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
当有一个值与预期值不匹配时,将报错。
:param module_name:
:param param_name:
:param expect_value:
:return:
'''
item = (param_name, expect_value)
res = check_module_param_check(PROJECT, module_name, item)

> assert True == res
E assert True == False

testcase\test_case.py:34: AssertionError
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 32, in test_fix_value_case res = check_module_param_check(PROJECT, module_name, item) 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 DcmDspMaxDidToRead not match! Expect Value 3 != 1' Arguments: ()
-------------------------------Captured log call--------------------------------
ERROR root:CfgCheckBase.py:48 Check Param DcmDspMaxDidToRead not match! Expect Value 3 != 1
Failed testcase/test_case.py::test_fix_value_case[DoIP-DoIPSupportVidWithEId-true] 0.00
module_name = 'DoIP', param_name = 'DoIPSupportVidWithEId', expect_value = 'true'

@allure.feature('Fix Value Parameter Check')
@pytest.mark.parametrize("module_name, param_name, expect_value", get_xlsx_data_by_filter(PROJECT_TYPE, ItemType.FIXED_VALUE))
def test_fix_value_case(module_name, param_name, expect_value):
'''
该用例适用于 对某一配置项值进行检查,可能有多个container 都具有该配置项,但所有配置项的值都相同,为一固定值。
当有一个值与预期值不匹配时,将报错。
:param module_name:
:param param_name:
:param expect_value:
:return:
'''
item = (param_name, expect_value)
res = check_module_param_check(PROJECT, module_name, item)

> assert True == res
E assert True == False

testcase\test_case.py:34: AssertionError
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 32, in test_fix_value_case res = check_module_param_check(PROJECT, module_name, item) 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 DoIPSupportVidWithEId not match! Expect Value true != false' Arguments: ()
-------------------------------Captured log call--------------------------------
ERROR root:CfgCheckBase.py:48 Check Param DoIPSupportVidWithEId not match! Expect Value true != false
Passed testcase/test_case.py::test_fix_value_case[Dcm-DcmResetToFblAfterSessionFinalResponseEnabled-true] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dcm-DcmSpecificCauseCodeEnabled-true0] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dem-DemResetConfirmedBitOnOverflow-false] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dem-DemPendingDtcProcessing-DEM_PROCESS_PDTC_ALL_DTC] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dem-DemWarningIndicatorRequestedProcessing-DEM_PROCESS_WIR_ALL_DTC] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dcm-DcmSpecificCauseCodeEnabled-true1] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dem-DemClearDTCBehavior-DEM_CLRRESP_VOLATILE] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dem-DemMaxNumberEventEntryPrimary-40] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dem-DemTypeOfFreezeFrameRecordNumeration-DEM_FF_RECNUM_CONFIGURED] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dem-DemImmediateNvStorage-true] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[CanTp-CanTpChannelMode-CANTP_MODE_FULL_DUPLEX] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[CanTp-CanTpMainFunctionPeriod-0.005] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[CanTp-CanTpEnableSynchronousTransmit-true] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[EthIf-EthIfVlanId-7] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[EthIf-EthIfTrcvLinkStateChgMainReload-50] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[EthTrcv-EthTrcvHwAccessMonitorPeriod-1] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPControlIpAssignment-false] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPTcpTxMgtQueueSize-31] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[ComM-ComMMainFunctionPeriod-0.01] 0.00
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 32, in test_fix_value_case res = check_module_param_check(PROJECT, module_name, item) 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 ComMMainFunctionPeriod not match! Expect Value 0.01 != 0.02' Arguments: ()
-------------------------------Captured log call--------------------------------
ERROR root:CfgCheckBase.py:48 Check Param ComMMainFunctionPeriod not match! Expect Value 0.01 != 0.02
Passed testcase/test_case.py::test_fix_value_case[Dcm-DcmRequestManufacturerNotificationEnabled-true] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dcm-DcmRequestSupplierNotificationEnabled-true] 0.02
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dem-DemReportSuppressedDTCsInService19x0A-true] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPRoutingActivationConfirmationReqLength-4] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPRoutingActivationConfirmationResLength-4] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPActivationLineDefaultActive-true] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPAliveCheckResponseTimeout-0.5] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPGeneralInactivityTime-300] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPInitialInactivityTime-2] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPInitialVehicleAnnouncementTime-0.5] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPNodeType-DOIP_GATEWAY] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPSupportEntityState-true] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPUseEIDasGID-true] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPUseMacAddressForIdentification-true] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPUseVehicleIdentificationSyncStatus-true] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPVehicleAnnouncementInterval-0.5] 0.00
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[DoIP-DoIPVehicleAnnouncementRepetition-3] 0.00
No log output captured.
Passed testcase/test_case.py::test_custom_pattern_case[Dcm-search_pattern0-DcmDspSessionForBoot-DCM_OEM_BOOT] 0.01
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 49, 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: ()
-------------------------------Captured log call--------------------------------
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>
Passed testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern1-DemDataElementUsePort-USE_DATA_INTERNAL] 0.01
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 49, 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: ()
-------------------------------Captured log call--------------------------------
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>
Passed testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern2-DemDataElementUsePort-USE_DATA_INTERNAL] 0.01
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 49, 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: ()
-------------------------------Captured log call--------------------------------
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>
Passed testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern3-DemDataElementUsePort-USE_DATA_INTERNAL] 0.01
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 49, 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: ()
-------------------------------Captured log call--------------------------------
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>
Passed testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern4-DemDataElementUsePort-USE_DATA_INTERNAL] 0.01
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 49, 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: ()
-------------------------------Captured log call--------------------------------
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>
Passed testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern5-DemDataElementInternalData-DEM_AGED_COUNTER] 0.01
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 49, 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: ()
-------------------------------Captured log call--------------------------------
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>
Passed testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern6-DemDataElementInternalData-DEM_AGINGCTR] 0.01
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 49, 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: ()
-------------------------------Captured log call--------------------------------
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>
Passed testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern7-DemDataElementInternalData-DEM_OCCCTR] 0.01
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 49, 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: ()
-------------------------------Captured log call--------------------------------
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>
Passed testcase/test_case.py::test_custom_pattern_case[Dem-search_pattern8-DemDataElementInternalData-DEM_FAULT_PENDING_COUNTER] 0.01
------------------------------Captured stderr call------------------------------
--- 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 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.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 49, 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: ()
-------------------------------Captured log call--------------------------------
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>
Passed testcase/test_case.py::test_canif_dlc_check_case 0.38
No log output captured.
Passed testcase/test_case.py::test_canif_buffersize_check_case 0.39
------------------------------Captured stdout call------------------------------
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=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_IPK_517a9dc5_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_SCU_52b5031e_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_BCM_bc0f88b2_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_EPS_bf6fa2ab_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_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_SCS_010ms_PDU02_020ms_de434998_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_010ms_PDU01_020ms_0d6468dc_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_010ms_PDU48_d948270d_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_010ms_PDU19_9ffd860f_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_EPS_010ms_PDU00_7f559dba_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_010ms_PDU27_3448f269_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_010ms_PDU42_1b40bda8_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IBS_010ms_PDU12_c7a5b863_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_020ms_PDU02_857a5940_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_020ms_PDU27_9a4f55aa_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_020ms_PDU03_772993f6_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_020ms_PDU08_e4ccc58e_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_CCP_020ms_PDU02_63412c54_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_BMS_050ms_PDU30_b86a3d66_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_050ms_PDU40_38545801_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_050ms_PDU23_3b348eb9_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_VCU_100ms_PDU04_09f41fb9_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_FICM_100ms_PDU21_2cc32d2a_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_VCU_100ms_PDU68_c8f21d46_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_100ms_PDU81_331fba52_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_CCP_250ms_PDU12_f52be13b_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_FICM_100ms_PDU24_4cc909c8_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_100ms_PDU52_70dcf18a_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_FICM_200ms_PDU12_9b2ca3f6_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_200ms_PDU12_36008985_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_TPMS_400ms_PDU01_20773cb9_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_CCP_SigGW_050ms_PTEXTCAN_PDU15_385f696a_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCU_100ms_PDU02_cdfc374a_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCU_100ms_PDU04_239d528e_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_b823bc2f_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_SCU_2a637b7b_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_EPMCU_7e154346_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_PTEXTCAN_FuncReq_38b997cc_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_100ms_PDU51_ae3e9efb_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_200ms_PDU84_36288ce9_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_TPMS_400ms_PDU02_02aa6310_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_LADS_6dada81a_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_BPEPS_c3a7733c_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_TBOX_100ms_PDU01_e0678931_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_ADCANFD_010ms_Container00_9533d14c_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_EPS_010ms_PDU00_30ms_16b69b71_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_SigGW_010ms_PDU07_3dddea1c_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_020ms_PDU45_9f15d6e7_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IBS_020ms_PDU30_1c81b516_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_100ms_PDU0C_SC_dd7a9d95_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_1000ms_PDU06_7b16239b_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_1000ms_PDU14_fee21be3_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FICM_ae8151a0_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_LADS_050ms_PDU05_082d50c7_Tx, CanIfTxBufferHandlingType=NONE