测试计划无法结束
<p id="descriptionP"><p>近期把执行机的配置升级了一下,然后执行机重启了一下引擎服务,但是重启以后 测试计划执行出现了无法关闭的现象。<br>引擎端的报错:<span style="background-color: rgb(241, 241, 241); font-family: "Courier New"; font-size: 12px; white-space-collapse: preserve;">C:\Program Files\engine>python startup.py</span><br></p></p><pre><code>-------------------------------------------------<br>当前所属版本号: 2.0.0<br>流马测试引擎已启动<br>-------------------------------------------------<br>Process Process-1:<br>Traceback (most recent call last):<br> File "C:\py38\lib\multiprocessing\process.py", line 315, in _bootstrap<br> self.run()<br> File "C:\py38\lib\multiprocessing\process.py", line 108, in run<br> self._target(*self._args, **self._kwargs)<br> File "C:\Program Files\engine\lm\lm_start.py", line 148, in run_test<br> s.create_thread(plan, queue, current_exec_status)<br> File "C:\Program Files\engine\lm\lm_setting.py", line 103, in create_thread<br> test_plan = self.read_fail_case(test_plan, default_result)<br> File "C:\Program Files\engine\lm\lm_setting.py", line 119, in read_fail_case<br> new_test_plan = copy.deepcopy(test_plan)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 205, in _deepcopy_list<br> append(deepcopy(a, memo))<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 172, in deepcopy<br> y = _reconstruct(x, memo, *rv)<br> File "C:\py38\lib\copy.py", line 270, in _reconstruct<br> state = deepcopy(state, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 172, in deepcopy<br> y = _reconstruct(x, memo, *rv)<br> File "C:\py38\lib\copy.py", line 270, in _reconstruct<br> state = deepcopy(state, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 172, in deepcopy<br> y = _reconstruct(x, memo, *rv)<br> File "C:\py38\lib\copy.py", line 270, in _reconstruct<br> state = deepcopy(state, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 172, in deepcopy<br> y = _reconstruct(x, memo, *rv)<br> File "C:\py38\lib\copy.py", line 270, in _reconstruct<br> state = deepcopy(state, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 161, in deepcopy<br> rv = reductor(4)<br>TypeError: cannot pickle '_thread.lock' object<br>Process Process-4:<br>Traceback (most recent call last):<br> File "C:\py38\lib\multiprocessing\process.py", line 315, in _bootstrap<br> self.run()<br> File "C:\py38\lib\multiprocessing\process.py", line 108, in run<br> self._target(*self._args, **self._kwargs)<br> File "C:\Program Files\engine\lm\lm_start.py", line 148, in run_test<br> s.create_thread(plan, queue, current_exec_status)<br> File "C:\Program Files\engine\lm\lm_setting.py", line 103, in create_thread<br> test_plan = self.read_fail_case(test_plan, default_result)<br> File "C:\Program Files\engine\lm\lm_setting.py", line 119, in read_fail_case<br> new_test_plan = copy.deepcopy(test_plan)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 205, in _deepcopy_list<br> append(deepcopy(a, memo))<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 172, in deepcopy<br> y = _reconstruct(x, memo, *rv)<br> File "C:\py38\lib\copy.py", line 270, in _reconstruct<br> state = deepcopy(state, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 172, in deepcopy<br> y = _reconstruct(x, memo, *rv)<br> File "C:\py38\lib\copy.py", line 270, in _reconstruct<br> state = deepcopy(state, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 172, in deepcopy<br> y = _reconstruct(x, memo, *rv)<br> File "C:\py38\lib\copy.py", line 270, in _reconstruct<br> state = deepcopy(state, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 172, in deepcopy<br> y = _reconstruct(x, memo, *rv)<br> File "C:\py38\lib\copy.py", line 270, in _reconstruct<br> state = deepcopy(state, memo)<br> File "C:\py38\lib\copy.py", line 146, in deepcopy<br> y = copier(x, memo)<br> File "C:\py38\lib\copy.py", line 230, in _deepcopy_dict<br> y[deepcopy(key, memo)] = deepcopy(value, memo)<br> File "C:\py38\lib\copy.py", line 161, in deepcopy<br> rv = reductor(4)<br>TypeError: cannot pickle '_thread.lock' object</code></pre><p><br></p>
收藏(0)
分享
相关标签:
注意:本文归作者所有,未经作者允许,不得转载