============================= test session starts ============================== platform linux -- Python 3.7.5, pytest-5.4.3, py-1.11.0, pluggy-0.13.1 rootdir: /home/jenkins/mindspore/testcases/testcases/tests/st/ops, inifile: /home/jenkins/sault/virtual_test/virtualenv_006/sault/config/pytest.ini plugins: anyio-3.7.1, forked-1.1.3, xdist-1.32.0 [INFO] ATRACE(117161,python3.7):2024-01-11-05:58:57.830.280 [trace_attr.c:105](tid:117161) platform is 1. [INFO] ATRACE(117161,python3.7):2024-01-11-05:58:57.830.446 [trace_recorder.c:114](tid:117161) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(117161,python3.7):2024-01-11-05:58:57.830.478 [trace_signal.c:133](tid:117161) register signal handler for signo 2 succeed. [INFO] ATRACE(117161,python3.7):2024-01-11-05:58:57.830.491 [trace_signal.c:133](tid:117161) register signal handler for signo 15 succeed. [INFO] RUNTIME(117161,python3.7):2024-01-11-05:58:58.235.194 [runtime.cc:1159] 117161 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(117161,python3.7):2024-01-11-05:58:58.235.253 [runtime.cc:4719] 117161 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 2 items test_func_eq.py [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.661.190 [process_mode_manager.cpp:109][OpenProcess][tid:117161] [ProcessModeManager] enter into open process deviceId[5] rankSize[0] [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.663.399 [process_mode_manager.cpp:379][InitTsdClient][tid:117161] [TsdClient] deviceId[5] begin to init hdc client [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.663.574 [version_verify.cpp:34][SetVersionInfo][tid:117161] VersionVerify: send client version to server [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.663.637 [version_verify.cpp:50][SetVersionInfo][tid:117161] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.663.662 [version_verify.cpp:50][SetVersionInfo][tid:117161] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.020 [version_verify.cpp:66][PeerVersionCheck][tid:117161] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.038 [version_verify.cpp:87][ParseVersionInfo][tid:117161] VersionVerify: pass client version info success [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.050 [hdc_client.cpp:276][CheckHdcConnection][tid:117161] Service[2] create hdc success [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.068 [version_verify.cpp:120][SpecialFeatureCheck][tid:117161] VersionVerify: new type[35], supported [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.118 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:117161] [TsdClient][deviceId=5] [sessionId=1] wait package info respond [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.271 [process_mode_manager.cpp:379][InitTsdClient][tid:117161] [TsdClient] deviceId[5] begin to init hdc client [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.449 [version_verify.cpp:34][SetVersionInfo][tid:117161] VersionVerify: send client version to server [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.462 [version_verify.cpp:50][SetVersionInfo][tid:117161] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.475 [version_verify.cpp:50][SetVersionInfo][tid:117161] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.633 [version_verify.cpp:66][PeerVersionCheck][tid:117161] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.647 [version_verify.cpp:87][ParseVersionInfo][tid:117161] VersionVerify: pass client version info success [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.656 [hdc_client.cpp:276][CheckHdcConnection][tid:117161] Service[2] create hdc success [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.670 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:117161] [TsdClient] tsd get process sign successfully, procpid[117161] signSize[48] [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.697 [version_verify.cpp:112][SpecialFeatureCheck][tid:117161] VersionVerify: previous type[6], supported [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.664.722 [process_mode_manager.cpp:126][OpenProcess][tid:117161] [ProcessModeManager] deviceId[5] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.899.926 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:117161] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.899.959 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:117161] enter into OpenInHost deviceid[5] [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.899.971 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:117161] host cpu not support [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.899.981 [process_mode_manager.cpp:156][OpenProcess][tid:117161] [TsdClient][deviceId=5] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(117161,python3.7):2024-01-11-05:59:02.902.695 [device.cc:340] 117161 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(117161,python3.7):2024-01-11-05:59:02.917.400 [npu_driver.cc:5428] 117726 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:02.918.150 [atrace_api.c:28](tid:117161) AtraceCreate start [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:02.918.326 [trace_rb_log.c:84](tid:117161) [RUNTIME_ATRACE_DEV5_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:02.918.342 [atrace_api.c:32](tid:117161) AtraceCreate end [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.918.450 [client_manager.cpp:157][SetProfilingCallback][tid:117161] [TsdClient] set profiling callback success [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.929.676 [process_mode_manager.cpp:184][Close][tid:117161] [TsdClient] Close [deviceId=5][sessionId=1] hccp and computer enter [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.929.714 [version_verify.cpp:112][SpecialFeatureCheck][tid:117161] VersionVerify: previous type[7], supported [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.929.757 [process_mode_manager.cpp:192][Close][tid:117161] [TsdClient][deviceId=5] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.956.217 [process_mode_manager.cpp:197][Close][tid:117161] [TsdClient][logicDeviceId_=5]has recv close hccp and computer process respond [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.956.236 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:117161] enter into CloseInHost deviceid[5] [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.956.247 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:117161] host cpu not support [INFO] TDT(117161,python3.7):2024-01-11-05:59:02.956.282 [process_mode_manager.cpp:208][Close][tid:117161] [TsdClient][deviceId=5] [sessionId=1] close hccp and computer process success [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:02.956.296 [atrace_api.c:93](tid:117161) AtraceDestroy start [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:02.956.312 [atrace_api.c:95](tid:117161) AtraceDestroy end F[INFO] TDT(117161,python3.7):2024-01-11-05:59:03.467.911 [process_mode_manager.cpp:109][OpenProcess][tid:117161] [ProcessModeManager] enter into open process deviceId[5] rankSize[0] [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.314 [process_mode_manager.cpp:705][GetDeviceCheckCode][tid:117161] [ProcessModeManager][deviceId=5] aicpu package already exist in device [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.370 [process_mode_manager.cpp:379][InitTsdClient][tid:117161] [TsdClient] deviceId[5] begin to init hdc client [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.497 [version_verify.cpp:34][SetVersionInfo][tid:117161] VersionVerify: send client version to server [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.517 [version_verify.cpp:50][SetVersionInfo][tid:117161] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.544 [version_verify.cpp:50][SetVersionInfo][tid:117161] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.797 [version_verify.cpp:66][PeerVersionCheck][tid:117161] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.815 [version_verify.cpp:87][ParseVersionInfo][tid:117161] VersionVerify: pass client version info success [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.827 [hdc_client.cpp:276][CheckHdcConnection][tid:117161] Service[2] create hdc success [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.858 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:117161] [TsdClient] tsd get process sign successfully, procpid[117161] signSize[48] [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.876 [version_verify.cpp:112][SpecialFeatureCheck][tid:117161] VersionVerify: previous type[6], supported [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.468.900 [process_mode_manager.cpp:126][OpenProcess][tid:117161] [ProcessModeManager] deviceId[5] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.682.983 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:117161] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.683.006 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:117161] enter into OpenInHost deviceid[5] [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.683.019 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:117161] host cpu not support [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.683.030 [process_mode_manager.cpp:156][OpenProcess][tid:117161] [TsdClient][deviceId=5] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(117161,python3.7):2024-01-11-05:59:03.685.651 [device.cc:340] 117161 Init: isDoubledie:0, topologytype:0 [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:03.699.469 [atrace_api.c:28](tid:117161) AtraceCreate start [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:03.699.514 [trace_rb_log.c:84](tid:117161) [RUNTIME_ATRACE_DEV5_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:03.699.528 [atrace_api.c:32](tid:117161) AtraceCreate end [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.699.541 [client_manager.cpp:157][SetProfilingCallback][tid:117161] [TsdClient] set profiling callback success [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.709.083 [process_mode_manager.cpp:184][Close][tid:117161] [TsdClient] Close [deviceId=5][sessionId=1] hccp and computer enter [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.709.121 [version_verify.cpp:112][SpecialFeatureCheck][tid:117161] VersionVerify: previous type[7], supported [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.709.161 [process_mode_manager.cpp:192][Close][tid:117161] [TsdClient][deviceId=5] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.740.167 [process_mode_manager.cpp:197][Close][tid:117161] [TsdClient][logicDeviceId_=5]has recv close hccp and computer process respond [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.740.186 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:117161] enter into CloseInHost deviceid[5] [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.740.196 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:117161] host cpu not support [INFO] TDT(117161,python3.7):2024-01-11-05:59:03.740.233 [process_mode_manager.cpp:208][Close][tid:117161] [TsdClient][deviceId=5] [sessionId=1] close hccp and computer process success [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:03.740.247 [atrace_api.c:93](tid:117161) AtraceDestroy start [INFO] ATRACE(117161,python3.7):2024-01-11-05:59:03.740.262 [atrace_api.c:95](tid:117161) AtraceDestroy end F =================================== FAILURES =================================== __________________________________ test_eq[0] __________________________________ mode = 0 @pytest.mark.level1 @pytest.mark.platform_x86_cpu @pytest.mark.platform_arm_cpu @pytest.mark.platform_x86_gpu_training @pytest.mark.platform_arm_ascend_training @pytest.mark.platform_x86_ascend_training @pytest.mark.env_onecard @pytest.mark.parametrize('mode', [ms.GRAPH_MODE, ms.PYNATIVE_MODE]) def test_eq(mode): """ Feature: ops.eq Description: Verify the result of ops.eq Expectation: success """ ms.set_context(mode=mode) > net = Net() test_func_eq.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Net<>, auto_prefix = True, flags = None def __init__(self, auto_prefix=True, flags=None): Cell_.__init__(self, self._cell_tag) self._params = OrderedDict() self._cells = OrderedDict() self._params_list = OrderedDict() self._tensor_list = OrderedDict() self._primitives = OrderedDict() self.training = False self.requires_grad = False self.pynative = False self._attr_synced = False self._param_prefix = '' self._auto_prefix = auto_prefix self._scope = None self._phase = 'train' self._parameter_layout_dict = {} self._parallel_parameter_name_list = () self._parallel_parameter_merge_net_dict = {} self._create_time = int(time.time() * 1e9) self.arguments_key = "" self.compile_cache = set() cells_compile_cache[id(self)] = self.compile_cache self.parameter_broadcast_done = False self._id = 1 self.exist_names = set("") self.exist_objs = set() > init_pipeline() E RuntimeError: Ascend kernel runtime initialization failed. The details refer to 'Ascend Error Message'. E E ---------------------------------------------------- E - Framework Error Message: E ---------------------------------------------------- E Malloc device memory failed, free memory size is less than half of total memory size.Device 5 Device HBM total size:34359738368 Device HBM free size:1701097472 may be other processes occupying this card, check as: ps -ef|grep python E E ---------------------------------------------------- E - C++ Call Stack: (For framework developers) E ---------------------------------------------------- E mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_kernel_runtime.cc:357 Init E mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_memory_adapter.cc:73 Initialize /home/jenkins/.local/lib/python3.7/site-packages/mindspore/nn/cell.py:134: RuntimeError __________________________________ test_eq[1] __________________________________ mode = 1 @pytest.mark.level1 @pytest.mark.platform_x86_cpu @pytest.mark.platform_arm_cpu @pytest.mark.platform_x86_gpu_training @pytest.mark.platform_arm_ascend_training @pytest.mark.platform_x86_ascend_training @pytest.mark.env_onecard @pytest.mark.parametrize('mode', [ms.GRAPH_MODE, ms.PYNATIVE_MODE]) def test_eq(mode): """ Feature: ops.eq Description: Verify the result of ops.eq Expectation: success """ ms.set_context(mode=mode) > net = Net() test_func_eq.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Net<>, auto_prefix = True, flags = None def __init__(self, auto_prefix=True, flags=None): Cell_.__init__(self, self._cell_tag) self._params = OrderedDict() self._cells = OrderedDict() self._params_list = OrderedDict() self._tensor_list = OrderedDict() self._primitives = OrderedDict() self.training = False self.requires_grad = False self.pynative = False self._attr_synced = False self._param_prefix = '' self._auto_prefix = auto_prefix self._scope = None self._phase = 'train' self._parameter_layout_dict = {} self._parallel_parameter_name_list = () self._parallel_parameter_merge_net_dict = {} self._create_time = int(time.time() * 1e9) self.arguments_key = "" self.compile_cache = set() cells_compile_cache[id(self)] = self.compile_cache self.parameter_broadcast_done = False self._id = 1 self.exist_names = set("") self.exist_objs = set() > init_pipeline() E RuntimeError: Ascend kernel runtime initialization failed. The details refer to 'Ascend Error Message'. E E ---------------------------------------------------- E - Framework Error Message: E ---------------------------------------------------- E Malloc device memory failed, free memory size is less than half of total memory size.Device 5 Device HBM total size:34359738368 Device HBM free size:1701064704 may be other processes occupying this card, check as: ps -ef|grep python E E ---------------------------------------------------- E - C++ Call Stack: (For framework developers) E ---------------------------------------------------- E mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_kernel_runtime.cc:357 Init E mindspore/ccsrc/plugin/device/ascend/hal/device/ascend_memory_adapter.cc:73 Initialize /home/jenkins/.local/lib/python3.7/site-packages/mindspore/nn/cell.py:134: RuntimeError =========================== short test summary info ============================ FAILED test_func_eq.py::test_eq[0] - RuntimeError: Ascend kernel runtime init... FAILED test_func_eq.py::test_eq[1] - RuntimeError: Ascend kernel runtime init... ============================== 2 failed in 7.42s =============================== [INFO] RUNTIME(117161,python3.7):2024-01-11-05:59:05.222.786 [runtime.cc:1737] 117161 ~Runtime: deconstruct runtime.