============================= 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/dynamic_shape, inifile: /home/jenkins/sault/virtual_test/virtualenv_007/sault/config/pytest.ini plugins: anyio-3.7.1, forked-1.1.3, xdist-1.32.0 [INFO] ATRACE(138046,python3.7):2024-01-11-06:02:35.999.420 [trace_attr.c:105](tid:138046) platform is 1. [INFO] ATRACE(138046,python3.7):2024-01-11-06:02:35.999.565 [trace_recorder.c:114](tid:138046) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(138046,python3.7):2024-01-11-06:02:35.999.592 [trace_signal.c:133](tid:138046) register signal handler for signo 2 succeed. [INFO] ATRACE(138046,python3.7):2024-01-11-06:02:35.999.605 [trace_signal.c:133](tid:138046) register signal handler for signo 15 succeed. [INFO] RUNTIME(138046,python3.7):2024-01-11-06:02:36.394.053 [runtime.cc:1159] 138046 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(138046,python3.7):2024-01-11-06:02:36.394.098 [runtime.cc:4719] 138046 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 1 item test_unique.py [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.590.749 [process_mode_manager.cpp:109][OpenProcess][tid:138046] [ProcessModeManager] enter into open process deviceId[6] rankSize[0] [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.591.373 [process_mode_manager.cpp:379][InitTsdClient][tid:138046] [TsdClient] deviceId[6] begin to init hdc client [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.591.512 [version_verify.cpp:34][SetVersionInfo][tid:138046] VersionVerify: send client version to server [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.591.538 [version_verify.cpp:50][SetVersionInfo][tid:138046] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.591.552 [version_verify.cpp:50][SetVersionInfo][tid:138046] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.035 [version_verify.cpp:66][PeerVersionCheck][tid:138046] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.051 [version_verify.cpp:87][ParseVersionInfo][tid:138046] VersionVerify: pass client version info success [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.062 [hdc_client.cpp:276][CheckHdcConnection][tid:138046] Service[2] create hdc success [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.075 [version_verify.cpp:120][SpecialFeatureCheck][tid:138046] VersionVerify: new type[35], supported [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.117 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:138046] [TsdClient][deviceId=6] [sessionId=1] wait package info respond [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.242 [process_mode_manager.cpp:379][InitTsdClient][tid:138046] [TsdClient] deviceId[6] begin to init hdc client [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.346 [version_verify.cpp:34][SetVersionInfo][tid:138046] VersionVerify: send client version to server [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.359 [version_verify.cpp:50][SetVersionInfo][tid:138046] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.370 [version_verify.cpp:50][SetVersionInfo][tid:138046] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.765 [version_verify.cpp:66][PeerVersionCheck][tid:138046] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.777 [version_verify.cpp:87][ParseVersionInfo][tid:138046] VersionVerify: pass client version info success [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.786 [hdc_client.cpp:276][CheckHdcConnection][tid:138046] Service[2] create hdc success [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.797 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:138046] [TsdClient] tsd get process sign successfully, procpid[138046] signSize[48] [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.819 [version_verify.cpp:112][SpecialFeatureCheck][tid:138046] VersionVerify: previous type[6], supported [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.592.839 [process_mode_manager.cpp:126][OpenProcess][tid:138046] [ProcessModeManager] deviceId[6] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.807.390 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:138046] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.807.418 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:138046] enter into OpenInHost deviceid[6] [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.807.430 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:138046] host cpu not support [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.807.439 [process_mode_manager.cpp:156][OpenProcess][tid:138046] [TsdClient][deviceId=6] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(138046,python3.7):2024-01-11-06:02:40.810.142 [device.cc:340] 138046 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(138046,python3.7):2024-01-11-06:02:40.827.267 [npu_driver.cc:5428] 138621 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(138046,python3.7):2024-01-11-06:02:40.827.321 [atrace_api.c:28](tid:138046) AtraceCreate start [INFO] ATRACE(138046,python3.7):2024-01-11-06:02:40.827.412 [trace_rb_log.c:84](tid:138046) [RUNTIME_ATRACE_DEV6_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(138046,python3.7):2024-01-11-06:02:40.827.427 [atrace_api.c:32](tid:138046) AtraceCreate end [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.827.443 [client_manager.cpp:157][SetProfilingCallback][tid:138046] [TsdClient] set profiling callback success [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.839.037 [process_mode_manager.cpp:184][Close][tid:138046] [TsdClient] Close [deviceId=6][sessionId=1] hccp and computer enter [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.839.070 [version_verify.cpp:112][SpecialFeatureCheck][tid:138046] VersionVerify: previous type[7], supported [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.839.112 [process_mode_manager.cpp:192][Close][tid:138046] [TsdClient][deviceId=6] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.860.059 [process_mode_manager.cpp:197][Close][tid:138046] [TsdClient][logicDeviceId_=6]has recv close hccp and computer process respond [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.860.077 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:138046] enter into CloseInHost deviceid[6] [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.860.089 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:138046] host cpu not support [INFO] TDT(138046,python3.7):2024-01-11-06:02:40.860.123 [process_mode_manager.cpp:208][Close][tid:138046] [TsdClient][deviceId=6] [sessionId=1] close hccp and computer process success [INFO] ATRACE(138046,python3.7):2024-01-11-06:02:40.860.137 [atrace_api.c:93](tid:138046) AtraceDestroy start [INFO] ATRACE(138046,python3.7):2024-01-11-06:02:40.860.149 [atrace_api.c:95](tid:138046) AtraceDestroy end F =================================== FAILURES =================================== _________________________________ test_unqiue __________________________________ @pytest.mark.level1 @pytest.mark.platform_arm_ascend_training @pytest.mark.platform_x86_ascend_training @pytest.mark.env_onecard def test_unqiue(): x = Tensor(np.array([1, 1, 2, 2, 3, 3]), mstype.int32) > unique = Net() test_unique.py:51: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_unique.py:29: in __init__ super(Net, self).__init__() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 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 6 Device HBM total size:34359738368 Device HBM free size:1701511168 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_unique.py::test_unqiue - RuntimeError: Ascend kernel runtime init... ============================== 1 failed in 6.79s =============================== [INFO] RUNTIME(138046,python3.7):2024-01-11-06:02:42.353.322 [runtime.cc:1737] 138046 ~Runtime: deconstruct runtime.