Report generated on 14-Oct-2022 at 09:28:01 by pytest-html v3.1.1
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 |
5 tests ran in 5.90 seconds.
(Un)check the boxes to filter the results.
5 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes, 0 rerunResult | Test | Duration | Links |
---|---|---|---|
No results found. Try to check the filters | |||
Passed | testcase/test_case.py::test_01_csv_check | 0.23 | |
No log output captured. | |||
Passed | testcase/test_case.py::test_02_matrix_signal_check | 0.20 | |
------------------------------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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_BSMtoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_NOSSta_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_NOStoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_PBSMtoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_RMSSta_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_RMStoNOS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_RSStoNOS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_RSStoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NKI_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NWI_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_BSMtoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_NOSSta_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_NOStoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_PBSMtoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_RMSSta_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_RMStoNOS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_RSStoNOS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_RSStoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NWI_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NKI_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_BSMtoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_NOSSta_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_NOStoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_PBSMtoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_RMSSta_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_RMStoNOS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_RSStoNOS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_RSStoRMS_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NKI_PTE Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_BSMtoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_NOSSta_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_NOStoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_PBSMtoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_RMSSta_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_RMStoNOS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_RSStoNOS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_RSStoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_BSMtoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_NOSSta_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_NOStoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_PBSMtoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_RMSSta_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_RMStoNOS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_RSStoNOS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NM_RSStoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NKI_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BMS_NWI_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NWI Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal CCU_NKI Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_BSMtoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_NOSSta_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_NOStoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_PBSMtoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_RMSSta_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_RMStoNOS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_RSStoNOS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NM_RSStoRMS_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NKI_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IMCU_NWI_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SAC_NKI_PT Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NWI Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal SDM_NKI Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal EPS_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal EPS_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal EPS_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal EPS_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal EPS_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal EPS_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal EPS_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal EPS_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal EPS_NKI Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_BSMtoRMS_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_NOSSta_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_NOStoRMS_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_PBSMtoRMS_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_RMSSta_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_RMStoNOS_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_RSStoNOS_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NM_RSStoRMS_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NWI_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal IBS_NKI_CH Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LADS_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LADS_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LADS_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LADS_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LADS_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LADS_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LADS_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LADS_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal TESTER_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal TESTER_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal TESTER_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal TESTER_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal TESTER_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal TESTER_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal TESTER_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal TESTER_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AC_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AC_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AC_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AC_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AC_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AC_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AC_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AC_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NKI Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal BCM_NWI Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AMP_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AMP_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AMP_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AMP_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AMP_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AMP_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AMP_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal AMP_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal ICM_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal ICM_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal ICM_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal ICM_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal ICM_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal ICM_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal ICM_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal ICM_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LHRDA_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LHRDA_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LHRDA_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LHRDA_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LHRDA_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LHRDA_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LHRDA_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal LHRDA_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal RHRDA_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal RHRDA_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal RHRDA_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal RHRDA_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal RHRDA_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal RHRDA_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal RHRDA_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal RHRDA_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal RHRDA_NKI Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal DMS_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal DMS_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal DMS_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal DMS_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal DMS_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal DMS_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal DMS_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal DMS_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal FVCM_NM_BSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal FVCM_NM_NOSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal FVCM_NM_NOStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal FVCM_NM_PBSMtoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal FVCM_NM_RMSSta Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal FVCM_NM_RMStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal FVCM_NM_RSStoNOS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal FVCM_NM_RSStoRMS Value missing!' 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\Matrix_Check\all.py", line 10, in <module> pytest.main(['./testcase', '-v', '--html=reportname.html', '--alluredir', './result/']) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\config\__init__.py", line 164, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 315, in pytest_cmdline_main return wrap_session(config, _main) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 268, in wrap_session session.exitstatus = doit(config, session) or 0 File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 322, in _main config.hook.pytest_runtestloop(session=session) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\main.py", line 347, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 111, in pytest_runtest_protocol runtestprotocol(item, nextitem=nextitem) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 130, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 219, in call_and_report call = call_runtest_hook(item, when, **kwds) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 258, in call_runtest_hook return CallInfo.from_call( File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 338, in from_call result: Optional[TResult] = func() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 259, in <lambda> lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\runner.py", line 166, in pytest_runtest_call item.runtest() File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 1761, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_hooks.py", line 265, in __call__ return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall res = hook_impl.function(*args) File "D:\01_Work\Python_Venv\pytest_venv\lib\site-packages\_pytest\python.py", line 192, in pytest_pyfunc_call result = testfunction(**testargs) File "D:\01_Work\Python_Venv\Matrix_Check\testcase\test_case.py", line 76, in test_02_matrix_signal_check ret_status, ret_code = scb.check_attribute() File "D:\01_Work\Python_Venv\Matrix_Check\Base\SignalInitTableCheck.py", line 96, in check_attribute logging.error(f'Signal {signal_name} Value missing!') Message: 'Signal FVCM_NKI Value missing!' Arguments: () -------------------------------Captured log call-------------------------------- ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_BSMtoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_NOSSta_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_NOStoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_PBSMtoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_RMSSta_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_RMStoNOS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_RSStoNOS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_RSStoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NKI_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NWI_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_BSMtoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_NOSSta_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_NOStoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_PBSMtoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_RMSSta_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_RMStoNOS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_RSStoNOS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_RSStoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NWI_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NKI_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_BSMtoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_NOSSta_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_NOStoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_PBSMtoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_RMSSta_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_RMStoNOS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_RSStoNOS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_RSStoRMS_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NKI_PTE Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_BSMtoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_NOSSta_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_NOStoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_PBSMtoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_RMSSta_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_RMStoNOS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_RSStoNOS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_RSStoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_BSMtoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_NOSSta_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_NOStoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_PBSMtoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_RMSSta_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_RMStoNOS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_RSStoNOS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NM_RSStoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NKI_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BMS_NWI_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NWI Value missing! ERROR root:SignalInitTableCheck.py:96 Signal CCU_NKI Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_BSMtoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_NOSSta_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_NOStoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_PBSMtoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_RMSSta_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_RMStoNOS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_RSStoNOS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NM_RSStoRMS_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NKI_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IMCU_NWI_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SAC_NKI_PT Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NWI Value missing! ERROR root:SignalInitTableCheck.py:96 Signal SDM_NKI Value missing! ERROR root:SignalInitTableCheck.py:96 Signal EPS_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal EPS_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal EPS_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal EPS_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal EPS_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal EPS_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal EPS_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal EPS_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal EPS_NKI Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_BSMtoRMS_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_NOSSta_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_NOStoRMS_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_PBSMtoRMS_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_RMSSta_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_RMStoNOS_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_RSStoNOS_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NM_RSStoRMS_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NWI_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal IBS_NKI_CH Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LADS_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LADS_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LADS_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LADS_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LADS_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LADS_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LADS_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LADS_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal TESTER_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal TESTER_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal TESTER_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal TESTER_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal TESTER_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal TESTER_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal TESTER_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal TESTER_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AC_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AC_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AC_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AC_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AC_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AC_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AC_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AC_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NKI Value missing! ERROR root:SignalInitTableCheck.py:96 Signal BCM_NWI Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AMP_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AMP_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AMP_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AMP_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AMP_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AMP_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AMP_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal AMP_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal ICM_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal ICM_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal ICM_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal ICM_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal ICM_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal ICM_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal ICM_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal ICM_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LHRDA_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LHRDA_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LHRDA_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LHRDA_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LHRDA_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LHRDA_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LHRDA_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal LHRDA_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal RHRDA_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal RHRDA_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal RHRDA_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal RHRDA_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal RHRDA_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal RHRDA_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal RHRDA_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal RHRDA_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal RHRDA_NKI Value missing! ERROR root:SignalInitTableCheck.py:96 Signal DMS_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal DMS_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal DMS_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal DMS_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal DMS_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal DMS_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal DMS_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal DMS_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal FVCM_NM_BSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal FVCM_NM_NOSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal FVCM_NM_NOStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal FVCM_NM_PBSMtoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal FVCM_NM_RMSSta Value missing! ERROR root:SignalInitTableCheck.py:96 Signal FVCM_NM_RMStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal FVCM_NM_RSStoNOS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal FVCM_NM_RSStoRMS Value missing! ERROR root:SignalInitTableCheck.py:96 Signal FVCM_NKI Value missing! | |||
Passed | testcase/test_case.py::test_03_matrix_dcm_pdu_name_check | 0.00 | |
No log output captured. | |||
Passed | testcase/test_case.py::test_04_matrix_dcm_pdu_length_check | 0.00 | |
No log output captured. | |||
Passed | testcase/test_case.py::test_05_matrix_contained_pdu_header_id_check | 0.00 | |
No log output captured. |