GW04_AS33_V7.1a.html

Report generated on 18-Oct-2022 at 13:46:38 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

68 tests ran in 2.21 seconds.

66 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_custom_pattern_case[Os-search_pattern24-OsTaskStackSize-2048] 0.01
module_name = 'Os'
search_pattern = {'xpath_rule': 'TEXT_EQ', 'xpath_str': './/SHORT-NAME', 'xpath_text': 'SecureSrvTask'}
param_name = 'OsTaskStackSize', expect_value = '2048'

@allure.feature('Custom Pattern Parameter Check')
@pytest.mark.parametrize("module_name, search_pattern, param_name, expect_value", get_xlsx_data_by_filter(HARDWARE_TYPE, PROJECT_TYPE, ItemType.CUSTOM_PATTERN))
def test_custom_pattern_case(module_name, search_pattern, param_name, expect_value):
'''
该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
:param module_name:
:param search_pattern:
:param param_name:
:param expect_value:
:return:
'''
item = (param_name, expect_value)
> res = check_module_param_check(PROJECT, module_name, item, search_pattern)

testcase\test_case.py:52:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Base\ModuleCfgCheck.py:96: in check_module_param_check
cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func)
Base\ModuleCfgCheck.py:64: in do_param_check
match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value)
Base\CfgCheckBase.py:30: in parameter_match
param_definition_ref_containers = Arxml.get_all_match_element(element,
Base\Arxml.py:112: in get_all_match_element
result = Arxml.get_xpath_result(root_element, xpath_str, xpath_text, xpath_rule)
Base\Arxml.py:92: in get_xpath_result
ns = Arxml.get_arxml_namespace(element)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

element = None

@staticmethod
def get_arxml_namespace(element: etree.Element):
> ns = element.nsmap
E AttributeError: 'NoneType' object has no attribute 'nsmap'

Base\Arxml.py:32: AttributeError
------------------------------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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 74, in get_detail_element logging.error(f'By Pattern {xpath_str}-{xpath_text}-{xpath_rule}, not find valud element!') Message: 'By Pattern .//SHORT-NAME-SecureSrvTask-TEXT_EQ, not find valud element!' Arguments: ()
-------------------------------Captured log call--------------------------------
ERROR root:ModuleCfgCheck.py:74 By Pattern .//SHORT-NAME-SecureSrvTask-TEXT_EQ, not find valud element!
Failed testcase/test_case.py::test_custom_pattern_case[Os-search_pattern25-OsTaskStackSize-4096] 0.01
module_name = 'Os', search_pattern = {'xpath_rule': 'TEXT_EQ', 'xpath_str': './/SHORT-NAME', 'xpath_text': 'InitTask'}
param_name = 'OsTaskStackSize', expect_value = '4096'

@allure.feature('Custom Pattern Parameter Check')
@pytest.mark.parametrize("module_name, search_pattern, param_name, expect_value", get_xlsx_data_by_filter(HARDWARE_TYPE, PROJECT_TYPE, ItemType.CUSTOM_PATTERN))
def test_custom_pattern_case(module_name, search_pattern, param_name, expect_value):
'''
该用例适用于测试 通过某种模式规则,定位到唯一的container, 该container包含的指定配置项,是否与期望值相同。
例如,可能多个container 都具有该配置项,但对于目标container, 可能和其他container 配置值不同。
:param module_name:
:param search_pattern:
:param param_name:
:param expect_value:
:return:
'''
item = (param_name, expect_value)
res = check_module_param_check(PROJECT, module_name, item, search_pattern)

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

testcase\test_case.py:54: 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="197fdf7b-c75d-4917-8a46-9d1e90ad0cfd"><SHORT-NAME>InitTask</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsTask</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskActivation</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskPriority</DEFINITION-REF><VALUE>110</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskSchedule</DEFINITION-REF><VALUE>NON</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSharing</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSize</DEFINITION-REF><VALUE>1024</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskType</DEFINITION-REF><VALUE>BASIC</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore1</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 64, in do_param_check match_res = cfg_check.parameter_match(match_element, param_name, param_expect_value) File "D:\01_Work\Python_Venv\pytest_src\Base\CfgCheckBase.py", line 48, in parameter_match logging.error(f"Check Param {param_name} not match! Expect Value {param_expect_value} != {value}") Message: 'Check Param OsTaskStackSize not match! Expect Value 4096 != 1024' Arguments: ()
-------------------------------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="197fdf7b-c75d-4917-8a46-9d1e90ad0cfd"><SHORT-NAME>InitTask</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsTask</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskActivation</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskPriority</DEFINITION-REF><VALUE>110</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskSchedule</DEFINITION-REF><VALUE>NON</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSharing</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSize</DEFINITION-REF><VALUE>1024</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskType</DEFINITION-REF><VALUE>BASIC</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore1</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE> ERROR root:CfgCheckBase.py:48 Check Param OsTaskStackSize not match! Expect Value 4096 != 1024
Passed testcase/test_case.py::test_fix_value_case[Dcm-DcmResetToFblAfterSessionFinalResponseEnabled-true] 0.02
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dcm-DcmSpecificCauseCodeEnabled-true0] 0.02
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dem-DemResetConfirmedBitOnOverflow-false] 0.02
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.02
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.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[CanTp-CanTpMainFunctionPeriod-0.005] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[CanTp-CanTpEnableSynchronousTransmit-true] 0.01
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
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Ea-EaNumberOfWriteCycles-1000000] 0.01
No log output captured.
Passed testcase/test_case.py::test_fix_value_case[Dcm-DcmRequestManufacturerNotificationEnabled-true] 0.02
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[Dcm-DcmDspMaxDidToRead-3] 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-DoIPSupportVidWithEId-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[Rte-search_pattern0-RteExclusiveAreaImplMechanism-NONE] 0.06
------------------------------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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="d6583e71-e13d-43ca-af3e-ef5fd15e589a"><SHORT-NAME>ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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="d6583e71-e13d-43ca-af3e-ef5fd15e589a"><SHORT-NAME>ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[Rte-search_pattern1-RteExclusiveAreaImplMechanism-NONE] 0.06
------------------------------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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="d6583e71-e13d-43ca-af3e-ef5fd15e589a"><SHORT-NAME>ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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="d6583e71-e13d-43ca-af3e-ef5fd15e589a"><SHORT-NAME>ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthTrcv_30_88Q1010_ib_bswmd/BswModuleDescriptions/EthTrcv/EthTrcv_30_88Q1010Behavior/ETHTRCV_30_88Q1010_EXCLUSIVE_AREA_SEQUENCE</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[Rte-search_pattern2-RteExclusiveAreaImplMechanism-NONE] 0.06
------------------------------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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ffef8be3-864f-41ea-ac59-5c77fd917adb"><SHORT-NAME>EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthSwt_30_88Q5050_ib_bswmd/BswModuleDescriptions/EthSwt/EthSwt_30_88Q5050Behavior/EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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="ffef8be3-864f-41ea-ac59-5c77fd917adb"><SHORT-NAME>EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteExclusiveAreaImplMechanism</DEFINITION-REF><VALUE>NONE</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Rte/RteBswModuleInstance/RteBswExclusiveAreaImpl/RteBswExclusiveAreaRef</DEFINITION-REF><VALUE-REF DEST="EXCLUSIVE-AREA">/MICROSAR/EthSwt_30_88Q5050_ib_bswmd/BswModuleDescriptions/EthSwt/EthSwt_30_88Q5050Behavior/EXCLUSIVE_AREA_SMI_MULTI_CHIP_ACCESS</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[TcpIp-search_pattern3-TcpIpAssignmentTrigger-TCPIP_MANUAL] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="397b14d1-b5e8-3292-9609-e1ae8e71e090"><SHORT-NAME>NE_CCP_MCU_4b8feb2f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">NE_CCP_MCU</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddressType</DEFINITION-REF><VALUE>TCPIP_UNICAST</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpDomainType</DEFINITION-REF><VALUE>TCPIP_AF_INET</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrId</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpIpAddrReceiveAllNotConfiguredMulticasts</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpCtrlRef</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/TcpIp/TcpIpConfig/EthernetCnt_MCUSOMEIP_958a6954</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="a57adb29-b7d4-40f3-978b-fe9394e325a1"><SHORT-NAME>TcpIpStaticIpAddressConfig</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-STRING-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpStaticIpAddress</DEFINITION-REF><VALUE>172.31.7.1</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpNetmask</DEFINITION-REF><VALUE>24</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="71ccd270-2f06-46bd-86f6-98dc762b67f7"><SHORT-NAME>NE_CCP_MCU_4b8feb2f</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentMethod</DEFINITION-REF><VALUE>TCPIP_STATIC</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentTrigger</DEFINITION-REF><VALUE>TCPIP_MANUAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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="397b14d1-b5e8-3292-9609-e1ae8e71e090"><SHORT-NAME>NE_CCP_MCU_4b8feb2f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">NE_CCP_MCU</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddressType</DEFINITION-REF><VALUE>TCPIP_UNICAST</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpDomainType</DEFINITION-REF><VALUE>TCPIP_AF_INET</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrId</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpIpAddrReceiveAllNotConfiguredMulticasts</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpCtrlRef</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/TcpIp/TcpIpConfig/EthernetCnt_MCUSOMEIP_958a6954</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="a57adb29-b7d4-40f3-978b-fe9394e325a1"><SHORT-NAME>TcpIpStaticIpAddressConfig</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-STRING-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpStaticIpAddress</DEFINITION-REF><VALUE>172.31.7.1</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpStaticIpAddressConfig/TcpIpNetmask</DEFINITION-REF><VALUE>24</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="71ccd270-2f06-46bd-86f6-98dc762b67f7"><SHORT-NAME>NE_CCP_MCU_4b8feb2f</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentMethod</DEFINITION-REF><VALUE>TCPIP_STATIC</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/TcpIp/TcpIpConfig/TcpIpLocalAddr/TcpIpAddrAssignment/TcpIpAssignmentTrigger</DEFINITION-REF><VALUE>TCPIP_MANUAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern4-ComMNmVariant-FULL] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element logging.info(match_string) Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="9f974ec9-7b23-3c08-932f-021ca0d8fc34"><SHORT-NAME>CNCANConnector_d4b41c15</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>3</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="35190240-c67a-3f2e-a3c8-4d6fad262845"><SHORT-NAME>CNCANConnector_a63177cb</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>3</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7bb95bd4-148b-437f-9edd-8e6b72c8dc75"><SHORT-NAME>CNCANConnector_d474d05f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CNCANConnector_d4b41c15</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="53853d52-1a24-3093-88b4-0cbfb43f1cfb"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------Captured log call--------------------------------
INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="9f974ec9-7b23-3c08-932f-021ca0d8fc34"><SHORT-NAME>CNCANConnector_d4b41c15</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>3</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE> INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="35190240-c67a-3f2e-a3c8-4d6fad262845"><SHORT-NAME>CNCANConnector_a63177cb</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>3</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7bb95bd4-148b-437f-9edd-8e6b72c8dc75"><SHORT-NAME>CNCANConnector_d474d05f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CNCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CNCANConnector_d4b41c15</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="53853d52-1a24-3093-88b4-0cbfb43f1cfb"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern5-ComMNmVariant-FULL] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element logging.info(match_string) Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="223a71cb-6c39-34d3-ac1d-576ebddd7a26"><SHORT-NAME>ADCANFDConnector_cb8417a9</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="7423a31d-5b72-38fe-994f-2181ca142967"><SHORT-NAME>ADCANFDConnector_cfcb6aca</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="9357841a-0260-4d8a-9fca-16c04455a9ca"><SHORT-NAME>ADCANFDConnector_d6b09a6f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/ADCANFDConnector_cb8417a9</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="cc30ad1d-e75f-3aa2-b401-95913cdb7394"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------Captured log call--------------------------------
INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="223a71cb-6c39-34d3-ac1d-576ebddd7a26"><SHORT-NAME>ADCANFDConnector_cb8417a9</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE> INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="7423a31d-5b72-38fe-994f-2181ca142967"><SHORT-NAME>ADCANFDConnector_cfcb6aca</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="9357841a-0260-4d8a-9fca-16c04455a9ca"><SHORT-NAME>ADCANFDConnector_d6b09a6f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">ADCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/ADCANFDConnector_cb8417a9</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="cc30ad1d-e75f-3aa2-b401-95913cdb7394"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern6-ComMNmVariant-FULL] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element logging.info(match_string) Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ad6eb04c-5778-3d03-9b3a-f5d9a75835dd"><SHORT-NAME>CHCANFDConnector_e0e99315</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5003662d-f6ae-3714-83bc-65dbc3bcba28"><SHORT-NAME>CHCANFDConnector_0d9ee64d</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="c71be702-4632-3fbe-87b5-30aa2d8d858f"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="fcea6d62-bef3-4d20-a974-c6234fb1cccd"><SHORT-NAME>CHCANFDConnector_ff977897</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CHCANFDConnector_e0e99315</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------Captured log call--------------------------------
INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ad6eb04c-5778-3d03-9b3a-f5d9a75835dd"><SHORT-NAME>CHCANFDConnector_e0e99315</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE> INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5003662d-f6ae-3714-83bc-65dbc3bcba28"><SHORT-NAME>CHCANFDConnector_0d9ee64d</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="c71be702-4632-3fbe-87b5-30aa2d8d858f"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="fcea6d62-bef3-4d20-a974-c6234fb1cccd"><SHORT-NAME>CHCANFDConnector_ff977897</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CHCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CHCANFDConnector_e0e99315</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern7-ComMNmVariant-FULL] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element logging.info(match_string) Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="dc6c4ba1-bfe5-3f4f-bbfa-c34b0c9211da"><SHORT-NAME>CFCANConnector_6df73a15</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5c066f49-7aa7-3d53-834f-911d35520ba8"><SHORT-NAME>CFCANConnector_fc32a4a6</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7094b46a-8e03-3b88-a061-f545ee991ee1"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="9b22392a-e32b-4482-ad38-3a5dd93a79c6"><SHORT-NAME>CFCANConnector_3760e40b</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CFCANConnector_6df73a15</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------Captured log call--------------------------------
INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="dc6c4ba1-bfe5-3f4f-bbfa-c34b0c9211da"><SHORT-NAME>CFCANConnector_6df73a15</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE> INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5c066f49-7aa7-3d53-834f-911d35520ba8"><SHORT-NAME>CFCANConnector_fc32a4a6</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7094b46a-8e03-3b88-a061-f545ee991ee1"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="9b22392a-e32b-4482-ad38-3a5dd93a79c6"><SHORT-NAME>CFCANConnector_3760e40b</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">CFCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/CFCANConnector_6df73a15</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern8-ComMNmVariant-LIGHT] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element logging.info(match_string) Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="91fb0e9e-14e0-3c9e-8ad9-802e6f8cce08"><SHORT-NAME>DIAGCANConnector_047bb047</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>4</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="8f3eb055-f977-35b7-ab6e-80bd469b3faf"><SHORT-NAME>DIAGCANConnector_a8a15a04</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>4</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="9ec6ed37-fd19-4e50-be8f-127679adcc54"><SHORT-NAME>DIAGCANConnector_6340a10c</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/DIAGCANConnector_047bb047</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="f5aaa688-c840-301d-927a-eef86c619ab0"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------Captured log call--------------------------------
INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="91fb0e9e-14e0-3c9e-8ad9-802e6f8cce08"><SHORT-NAME>DIAGCANConnector_047bb047</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>4</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE> INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="8f3eb055-f977-35b7-ab6e-80bd469b3faf"><SHORT-NAME>DIAGCANConnector_a8a15a04</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>4</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="9ec6ed37-fd19-4e50-be8f-127679adcc54"><SHORT-NAME>DIAGCANConnector_6340a10c</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">DIAGCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/DIAGCANConnector_047bb047</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="f5aaa688-c840-301d-927a-eef86c619ab0"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightSilentTimeout</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern9-ComMNmVariant-FULL] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="ab64d5ef-8e71-35b4-a292-5d2a91cdda57"><SHORT-NAME>PTEXTCANConnector_76d2cfd8</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTEXTCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>6</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="79aa022b-b354-327b-a3eb-93d6d8af9f18"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="0840efb2-99cc-4533-a02d-45fe55ed7b02"><SHORT-NAME>PTEXTCANConnector_a0e823ab</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTEXTCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/PTEXTCANConnector_649c0f16</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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="ab64d5ef-8e71-35b4-a292-5d2a91cdda57"><SHORT-NAME>PTEXTCANConnector_76d2cfd8</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTEXTCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>6</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="79aa022b-b354-327b-a3eb-93d6d8af9f18"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="0840efb2-99cc-4533-a02d-45fe55ed7b02"><SHORT-NAME>PTEXTCANConnector_a0e823ab</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTEXTCANConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/PTEXTCANConnector_649c0f16</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern10-ComMNmVariant-FULL] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element logging.info(match_string) Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="92553781-b722-3658-b726-219a87550590"><SHORT-NAME>PTCANFDConnector_4973dff4</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="b40aa6ea-c46d-3de9-b239-12e87a1838dc"><SHORT-NAME>PTCANFDConnector_c3e65a8a</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="6fce0bbd-18b2-393f-9aa5-0cdba93678bf"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="c2cf0408-d81f-4122-a522-7890ab231de1"><SHORT-NAME>PTCANFDConnector_7362d04f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/PTCANFDConnector_4973dff4</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------Captured log call--------------------------------
INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="92553781-b722-3658-b726-219a87550590"><SHORT-NAME>PTCANFDConnector_4973dff4</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE> INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="b40aa6ea-c46d-3de9-b239-12e87a1838dc"><SHORT-NAME>PTCANFDConnector_c3e65a8a</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_CAN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="6fce0bbd-18b2-393f-9aa5-0cdba93678bf"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="c2cf0408-d81f-4122-a522-7890ab231de1"><SHORT-NAME>PTCANFDConnector_7362d04f</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">PTCANFDConnector</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/PTCANFDConnector_4973dff4</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern11-ComMNmVariant-LIGHT] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element logging.info(match_string) Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4fdbf58e-4229-37d2-af17-fe71e36d5e75"><SHORT-NAME>GW_Lin2Master_1c684630</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>8</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="056103d1-fcf0-3f1d-9c8a-02e2a95d05f1"><SHORT-NAME>GW_Lin2Master_1b1dbe1a</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_LIN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>8</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="1d239198-dbe0-38ba-8a67-edcf2ab08ae0"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="ee023a6c-8b6e-4c39-93f0-7913d352f0e6"><SHORT-NAME>GW_Lin2Master_343c619c</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/GW_Lin2Master_1c684630</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------Captured log call--------------------------------
INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4fdbf58e-4229-37d2-af17-fe71e36d5e75"><SHORT-NAME>GW_Lin2Master_1c684630</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>8</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE> INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="056103d1-fcf0-3f1d-9c8a-02e2a95d05f1"><SHORT-NAME>GW_Lin2Master_1b1dbe1a</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_LIN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>8</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="1d239198-dbe0-38ba-8a67-edcf2ab08ae0"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="ee023a6c-8b6e-4c39-93f0-7913d352f0e6"><SHORT-NAME>GW_Lin2Master_343c619c</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_Lin2Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/GW_Lin2Master_1c684630</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[ComM-search_pattern12-ComMNmVariant-LIGHT] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element logging.info(match_string) Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="9a490999-67ba-3a94-bd99-265cbf80c90e"><SHORT-NAME>GW_LIN1_Master_22a01de4</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>7</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="a17004d9-089d-38be-b9b7-513987ecdacb"><SHORT-NAME>GW_LIN1_Master_cdec64e9</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_LIN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>7</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7570542c-0326-3094-8748-9221498f2d5f"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="40c1b414-8947-4058-8f0d-eb0e6dbd0d91"><SHORT-NAME>GW_LIN1_Master_c3de1389</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/GW_LIN1_Master_22a01de4</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------Captured log call--------------------------------
INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="9a490999-67ba-3a94-bd99-265cbf80c90e"><SHORT-NAME>GW_LIN1_Master_22a01de4</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserIdentifier</DEFINITION-REF><VALUE>7</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMUser/ComMUserModeNotification</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE> INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="a17004d9-089d-38be-b9b7-513987ecdacb"><SHORT-NAME>GW_LIN1_Master_cdec64e9</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMBusType</DEFINITION-REF><VALUE>COMM_BUS_TYPE_LIN</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMChannelId</DEFINITION-REF><VALUE>7</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMFullCommRequestNotificationEnabled</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMMainFunctionPeriod</DEFINITION-REF><VALUE>0.01</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoCom</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNoWakeup</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><SUB-CONTAINERS><ECUC-CONTAINER-VALUE UUID="7570542c-0326-3094-8748-9221498f2d5f"><SHORT-NAME>ComMNetworkManagement</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement</DEFINITION-REF><PARAMETER-VALUES><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmVariant</DEFINITION-REF><VALUE>LIGHT</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMPncNmRequest</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMNetworkManagement/ComMNmLightTimeout</DEFINITION-REF><VALUE>0</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE><ECUC-CONTAINER-VALUE UUID="40c1b414-8947-4058-8f0d-eb0e6dbd0d91"><SHORT-NAME>GW_LIN1_Master_c3de1389</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">GW_LIN1_Master</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel</DEFINITION-REF><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/ComM/ComMConfigSet/ComMChannel/ComMUserPerChannel/ComMUserChannel</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/ComM/ComMConfigSet/GW_LIN1_Master_22a01de4</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE></SUB-CONTAINERS></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[Dcm-search_pattern13-DcmDspSessionForBoot-DCM_OEM_BOOT] 0.02
------------------------------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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="bc679531-efb9-3d33-bec7-9b9cd4ac4386"><SHORT-NAME>Programming</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">Programming</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionLevel</DEFINITION-REF><VALUE>2</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2ServerMax</DEFINITION-REF><VALUE>0.05</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-FLOAT-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionP2StarServerMax</DEFINITION-REF><VALUE>5</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dcm/DcmConfigSet/DcmDsp/DcmDspSession/DcmDspSessionRow/DcmDspSessionForBoot</DEFINITION-REF><VALUE>DCM_OEM_BOOT</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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_pattern14-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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="654cc654-d4b1-3dff-b5f3-f6f921176c5e"><SHORT-NAME>EDR_01_AgedCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgedCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGED_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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_pattern15-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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4f7ae86f-ec83-34eb-879d-bd59cc3b8006"><SHORT-NAME>EDR_01_AgeingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgeingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGINGCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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_pattern16-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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5ce75aed-e810-3c22-97e3-9f8b3a807614"><SHORT-NAME>EDR_01_FaultOccurrenceCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultOccurrenceCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_OCCCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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_pattern17-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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f"><SHORT-NAME>EDR_01_FaultPendingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultPendingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_FAULT_PENDING_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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_pattern18-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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="654cc654-d4b1-3dff-b5f3-f6f921176c5e"><SHORT-NAME>EDR_01_AgedCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgedCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGED_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgedCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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_pattern19-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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="4f7ae86f-ec83-34eb-879d-bd59cc3b8006"><SHORT-NAME>EDR_01_AgeingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">AgeingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_AGINGCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/AgeingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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_pattern20-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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="5ce75aed-e810-3c22-97e3-9f8b3a807614"><SHORT-NAME>EDR_01_FaultOccurrenceCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultOccurrenceCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_OCCCTR</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultOccurrenceCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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_pattern21-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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="375c6477-1d91-3c2c-bf2d-3ce2a98f1c2f"><SHORT-NAME>EDR_01_FaultPendingCounter</SHORT-NAME><LONG-NAME><L-4 L="FOR-ALL">FaultPendingCounter</L-4></LONG-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataSize</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementDataType</DEFINITION-REF><VALUE>UINT8</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementEndianness</DEFINITION-REF><VALUE>OPAQUE</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementStoreNonVolatile</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementUsePort</DEFINITION-REF><VALUE>USE_DATA_INTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementInternalData</DEFINITION-REF><VALUE>DEM_FAULT_PENDING_COUNTER</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-FOREIGN-REFERENCE-DEF">/MICROSAR/Dem/DemGeneral/DemDataClass/DemDataElementSystemTemplateDiagnosticDataElementRef</DEFINITION-REF><VALUE-REF DEST="DIAGNOSTIC-DATA-ELEMENT">/DiagnosticExtract/DEM/DiagnosticExtendedDataRecord/ExtendedData/FaultPendingCounter</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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[Os-search_pattern22-OsIsrInterruptSource-211] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="e167f1dc-64c0-4a63-89f2-377866d24ff0"><SHORT-NAME>EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Rx</SHORT-NAME><ANNOTATIONS><ANNOTATION><LABEL><L-4 L="FOR-ALL">/ActiveEcuC/Eth</L-4></LABEL><ANNOTATION-ORIGIN>DV:OsInterruptServiceRoutine</ANNOTATION-ORIGIN><ANNOTATION-TEXT><P><L-1 L="FOR-ALL">PLAIN_TEXT</L-1></P><P><L-1 L="FOR-ALL">ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).</L-1></P></ANNOTATION-TEXT></ANNOTATION></ANNOTATIONS><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsIsr</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrCategory</DEFINITION-REF><VALUE>CATEGORY_2</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptType</DEFINITION-REF><VALUE>EXTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptSource</DEFINITION-REF><VALUE>211</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrEnableNesting</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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="e167f1dc-64c0-4a63-89f2-377866d24ff0"><SHORT-NAME>EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Rx</SHORT-NAME><ANNOTATIONS><ANNOTATION><LABEL><L-4 L="FOR-ALL">/ActiveEcuC/Eth</L-4></LABEL><ANNOTATION-ORIGIN>DV:OsInterruptServiceRoutine</ANNOTATION-ORIGIN><ANNOTATION-TEXT><P><L-1 L="FOR-ALL">PLAIN_TEXT</L-1></P><P><L-1 L="FOR-ALL">ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).</L-1></P></ANNOTATION-TEXT></ANNOTATION></ANNOTATIONS><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsIsr</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrCategory</DEFINITION-REF><VALUE>CATEGORY_2</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptType</DEFINITION-REF><VALUE>EXTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptSource</DEFINITION-REF><VALUE>211</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrEnableNesting</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[Os-search_pattern23-OsIsrInterruptSource-212] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="f00e2030-4bc2-4977-b3bd-3b367cc07fec"><SHORT-NAME>EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Tx</SHORT-NAME><ANNOTATIONS><ANNOTATION><LABEL><L-4 L="FOR-ALL">/ActiveEcuC/Eth</L-4></LABEL><ANNOTATION-ORIGIN>DV:OsInterruptServiceRoutine</ANNOTATION-ORIGIN><ANNOTATION-TEXT><P><L-1 L="FOR-ALL">PLAIN_TEXT</L-1></P><P><L-1 L="FOR-ALL">ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).</L-1></P></ANNOTATION-TEXT></ANNOTATION></ANNOTATIONS><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsIsr</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrCategory</DEFINITION-REF><VALUE>CATEGORY_2</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptType</DEFINITION-REF><VALUE>EXTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptSource</DEFINITION-REF><VALUE>212</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrEnableNesting</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------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="f00e2030-4bc2-4977-b3bd-3b367cc07fec"><SHORT-NAME>EthIsr_EthernetCnt_MCU_Ctrl_ad7672f0_EthInterruptServiceRoutine_Q0Tx</SHORT-NAME><ANNOTATIONS><ANNOTATION><LABEL><L-4 L="FOR-ALL">/ActiveEcuC/Eth</L-4></LABEL><ANNOTATION-ORIGIN>DV:OsInterruptServiceRoutine</ANNOTATION-ORIGIN><ANNOTATION-TEXT><P><L-1 L="FOR-ALL">PLAIN_TEXT</L-1></P><P><L-1 L="FOR-ALL">ISR for Ethernet Module (EthernetCnt_MCU_Ctrl_ad7672f0).</L-1></P></ANNOTATION-TEXT></ANNOTATION></ANNOTATIONS><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsIsr</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptPriority</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrCategory</DEFINITION-REF><VALUE>CATEGORY_2</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptType</DEFINITION-REF><VALUE>EXTERNAL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInterruptSource</DEFINITION-REF><VALUE>212</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrEnableNesting</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsIsr/OsIsrInitialEnableInterruptSource</DEFINITION-REF><VALUE>true</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_custom_pattern_case[Os-search_pattern26-OsTaskStackSize-4096] 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 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 86, in get_detail_element logging.info(match_string) Message: '<ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="f42b164b-930a-40bd-822c-ffcd36cc409e"><SHORT-NAME>User_BSW_ETH_Task_Core0</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackType</DEFINITION-REF><VALUE>TASK_EXTENDED_STACK</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackCore</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-CHOICE-REFERENCE-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackUser</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/User_BSW_ETH_Task_Core0</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: () --- Logging error --- Traceback (most recent call last): File "C:\Users\haojiang\AppData\Local\Programs\Python\Python39\lib\logging\__init__.py", line 1086, in emit stream.write(msg + self.terminator) OSError: [WinError 6] 句柄无效。 Call stack: File "D:\01_Work\Python_Venv\pytest_src\all.py", line 12, in <module> pytest.main(['./testcase', '-v', f'--html={HARDWARE_TYPE.name}_{PROJECT_TYPE.name}_{PROJECT_VERSION}.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\pytest_src\testcase\test_case.py", line 52, in test_custom_pattern_case res = check_module_param_check(PROJECT, module_name, item, search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 96, in check_module_param_check cmp_result = mcc.do_param_check([check_item], search_pattern, costum_func) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 61, in do_param_check match_element = get_match_element_function(check_items, **search_pattern) File "D:\01_Work\Python_Venv\pytest_src\Base\ModuleCfgCheck.py", line 83, in get_detail_element logging.info(f'Find Valid Element: {match_string}') Message: 'Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="07215333-bcb5-4414-a2c2-5a492fa3211b"><SHORT-NAME>User_BSW_ETH_Task_Core0</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsTask</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskActivation</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskPriority</DEFINITION-REF><VALUE>10</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskSchedule</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSharing</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskType</DEFINITION-REF><VALUE>EXTENDED</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore1</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_1s</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_20ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_40ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_Process100ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_Process5ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_RecvDoIPEthActvn</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>' Arguments: ()
-------------------------------Captured log call--------------------------------
INFO root:ModuleCfgCheck.py:86 <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="f42b164b-930a-40bd-822c-ffcd36cc409e"><SHORT-NAME>User_BSW_ETH_Task_Core0</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackType</DEFINITION-REF><VALUE>TASK_EXTENDED_STACK</VALUE></ECUC-TEXTUAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackCore</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-CHOICE-REFERENCE-DEF">/MICROSAR/Os/OsOS/OsStackSummary/OsStack/OsStackUser</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/User_BSW_ETH_Task_Core0</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE> INFO root:ModuleCfgCheck.py:83 Find Valid Element: <ECUC-CONTAINER-VALUE xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" UUID="07215333-bcb5-4414-a2c2-5a492fa3211b"><SHORT-NAME>User_BSW_ETH_Task_Core0</SHORT-NAME><DEFINITION-REF DEST="ECUC-PARAM-CONF-CONTAINER-DEF">/MICROSAR/Os/OsTask</DEFINITION-REF><PARAMETER-VALUES><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskActivation</DEFINITION-REF><VALUE>1</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskPriority</DEFINITION-REF><VALUE>10</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskSchedule</DEFINITION-REF><VALUE>FULL</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSharing</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-INTEGER-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskStackSize</DEFINITION-REF><VALUE>4096</VALUE></ECUC-NUMERICAL-PARAM-VALUE><ECUC-TEXTUAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-ENUMERATION-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskType</DEFINITION-REF><VALUE>EXTENDED</VALUE></ECUC-TEXTUAL-PARAM-VALUE><ECUC-NUMERICAL-PARAM-VALUE><DEFINITION-REF DEST="ECUC-BOOLEAN-PARAM-DEF">/MICROSAR/Os/OsTask/OsTaskUsesFpu</DEFINITION-REF><VALUE>false</VALUE></ECUC-NUMERICAL-PARAM-VALUE></PARAMETER-VALUES><REFERENCE-VALUES><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore0</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskAccessingApplication</DEFINITION-REF><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/SystemApplication_OsCore1</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_1s</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_20ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Cyclic2_User_BSW_ETH_Task_Core0_0_40ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_Process100ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_Process5ms</VALUE-REF></ECUC-REFERENCE-VALUE><ECUC-REFERENCE-VALUE><DEFINITION-REF DEST="ECUC-REFERENCE-DEF">/MICROSAR/Os/OsTask/OsTaskEventRef</DEFINITION-REF><ANNOTATIONS><ANNOTATION><ANNOTATION-ORIGIN>DV:RTE</ANNOTATION-ORIGIN></ANNOTATION></ANNOTATIONS><VALUE-REF DEST="ECUC-CONTAINER-VALUE">/ActiveEcuC/Os/Rte_Ev_Run_CtCddEthSwc_RCtCddEthSwc_RecvDoIPEthActvn</VALUE-REF></ECUC-REFERENCE-VALUE></REFERENCE-VALUES></ECUC-CONTAINER-VALUE>
Passed testcase/test_case.py::test_canif_dlc_check_case 0.45
No log output captured.
Passed testcase/test_case.py::test_canif_buffersize_check_case 0.46
------------------------------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=FIFO CanIfBufferCfg_Diag_DIAGCAN_PhyResp_SCU_52b5031e_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_EVCC_86ea3ade_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_SDM_e6539cab_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FLSM_383aa7d6_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_DMS_c41c76e0_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_BCM_bc0f88b2_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_SAC_7e69d916_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_BMS_531d0999_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_IMCU_2a493c38_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_GW_d92f7162_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_IBS_1dff87ea_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_RDA_LH_1cfa6a98_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_ESCL_88de391f_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_EPS_bf6fa2ab_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_CCU_73ae5924_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_TBox_2d3dcc49_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FVCM_dc2e4651_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_RDA_RH_d030a1fb_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_EPMCU_d487b2de_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_ATC_d5ee2c61_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FICM_ae8151a0_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_CHCANFD_010ms_Container02_1bf90685_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_CHCANFD_010ms_Container14_7ec3ae3c_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_010ms_PDU00_59e97fc1_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_020ms_PDU00_fefa274a_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SDM_020ms_PDU00_a20e3da0_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_020ms_PDU00_CN_1a0b398a_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_010ms_PDU00_1df97b92_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_020ms_PDU04_9333f7bf_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SDM_020ms_PDU00_90976b9e_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_SigGW_020ms_CFCAN_PDU22_1fb1e574_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_EPS_010ms_PDU00_e9636f33_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_010ms_PDU48_d948270d_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_EPS_010ms_PDU00_7f559dba_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_010ms_PDU27_3448f269_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SAC_010ms_PDU02_2359eb50_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_010ms_PDU42_1b40bda8_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SAC_010ms_PDU00_58d9955a_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IBS_010ms_PDU12_c7a5b863_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_020ms_PDU27_9a4f55aa_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_LADS_020ms_PDU12_ad291813_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_020ms_PDU03_772993f6_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_020ms_PDU08_e4ccc58e_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_LADS_020ms_PDU35_cf09b9ef_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_020ms_PDU04_3fa7f6b2_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_050ms_PDU09_ebdb1b07_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_SigGW_100ms_CNCAN_PDU82_7b948c35_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_020ms_PDU06_5d3cb9f9_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_020ms_PDU24_c9b9f129_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_020ms_PDU15_7230fd07_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_020ms_PDU10_4b7b69be_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_050ms_PDU11_57320981_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_050ms_PDU01_d71da945_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_050ms_PDU10_8d4a1b83_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU28_8febe690_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_LADS_100ms_PDU03_16a51b4c_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_050ms_PDU30_b86a3d66_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_050ms_PDU40_38545801_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_050ms_PDU23_3b348eb9_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_LADS_050ms_PDU02_f751acbc_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_LADS_050ms_PDU33_847ca93e_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_AC_050ms_PDU04_b65e34b3_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_SigGw_050ms_PDU79_3a8fe704_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_050ms_PDU43_7e14190e_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCU_100ms_PDU01_72869dce_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU16_a6e2c737_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU06_b8a9f250_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU31_f70c134c_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU12_51e23b23_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU14_dd62b93d_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU15_e0a28638_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCU_100ms_PDU00_4f46a2cb_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCU_100ms_PDU04_2622cb7c_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCU_100ms_PDU06_2dc841f9_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_FICM_100ms_PDU21_2cc32d2a_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_100ms_PDU51_ae3e9efb_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_100ms_PDU04_a1ac84f8_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_100ms_PDU08_a7e19530_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCU_100ms_PDU05_858661da_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_100ms_PDU67_082bf985_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_100ms_PDU82_11c2e5fb_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_100ms_PDU04_6591974d_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IPK_100ms_PDU07_1ee814bf_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_100ms_PDU01_d6f57f19_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BCM_100ms_PDU03_d4d12a56_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_SigGW_100ms_CNCAN_PDU66_8760161e_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_LADS_100ms_PDU30_9b5082f6_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_100ms_PDU68_c8f21d46_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_100ms_PDU81_331fba52_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SAC_100ms_PDU04_47a51534_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_AC_100ms_PDU03_5b116556_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IPK_100ms_PDU08_9ad857cd_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU60_5dd358c6_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU54_c74f6dbc_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_AC_100ms_PDU05_e18c2d3b_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_AC_100ms_PDU07_3ed7e8df_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_AC_100ms_PDU10_b83b7c92_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IMCU_100ms_PDU26_9a3b2350_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_100ms_PDU50_304f91a8_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_200ms_PDU84_36288ce9_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_250ms_PDU12_f52be13b_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_LADS_6dada81a_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_UGW_c1a37077_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_AMP_209f4e16_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_EOPC_0441fcbb_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_BPEPS_c3a7733c_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_020ms_PDU00_PTE_b4afb06f_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_SCS_020ms_PDU15_15538a12_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_020ms_PDU02_910a31be_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_LADS_050ms_PDU05_082d50c7_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_SigGW_050ms_PTEXTCAN_PDU15_385f696a_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_SigGW_100ms_PTEXTCAN_PDU21_3d1dc401_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_100ms_PDU06_7f70a5f1_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_NmPDU_PTEXTCAN_GW_ad93e14c_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_1000ms_PDU14_d9543113_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IPK_200ms_PDU06_be30eede_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_SCU_2a637b7b_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_EPMCU_7e154346_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_EVCC_ef4e2bff_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_PTEXTCAN_PhyReq_EOPC_02a76f0f_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_PTEXTCAN_FuncReq_38b997cc_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_BMS_020ms_PDU02_100ms_0015f6bb_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_FICM_100ms_PDU24_4cc909c8_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_100ms_PDU02_d22a3548_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_VCU_100ms_PDU55_a4be3710_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IPK_200ms_PDU15_ba79f663_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_IPK_200ms_PDU09_085ec0ae_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_CCP_CNCAN_FrI00_1765ecc1_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FLPDM_9ce61288_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FRPDM_eeef4677_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_FRSM_1231e27b_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_Diag_DIAGCAN_PhyResp_CTM_68e649a5_Tx, CanIfTxBufferHandlingType=NONE CanIfBufferCfg_FICM_100ms_PDU46_8151566c_Tx, CanIfTxBufferHandlingType=NONE