============================= 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/dyn_shape_dev, inifile: /home/jenkins/sault/virtual_test/virtualenv_004/sault/config/pytest.ini plugins: anyio-3.7.1, forked-1.1.3, xdist-1.32.0 [INFO] ATRACE(112774,python3.7):2024-01-11-05:57:58.670.798 [trace_attr.c:105](tid:112774) platform is 1. [INFO] ATRACE(112774,python3.7):2024-01-11-05:57:58.670.963 [trace_recorder.c:114](tid:112774) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(112774,python3.7):2024-01-11-05:57:58.670.992 [trace_signal.c:133](tid:112774) register signal handler for signo 2 succeed. [INFO] ATRACE(112774,python3.7):2024-01-11-05:57:58.671.006 [trace_signal.c:133](tid:112774) register signal handler for signo 15 succeed. [INFO] RUNTIME(112774,python3.7):2024-01-11-05:57:59.080.805 [runtime.cc:1159] 112774 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(112774,python3.7):2024-01-11-05:57:59.080.923 [runtime.cc:4719] 112774 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 2 items test_sinh.py [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.477.955 [process_mode_manager.cpp:109][OpenProcess][tid:112774] [ProcessModeManager] enter into open process deviceId[3] rankSize[0] [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.478.802 [process_mode_manager.cpp:379][InitTsdClient][tid:112774] [TsdClient] deviceId[3] begin to init hdc client [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.481.131 [version_verify.cpp:34][SetVersionInfo][tid:112774] VersionVerify: send client version to server [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.481.164 [version_verify.cpp:50][SetVersionInfo][tid:112774] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.481.178 [version_verify.cpp:50][SetVersionInfo][tid:112774] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.481.882 [version_verify.cpp:66][PeerVersionCheck][tid:112774] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.481.900 [version_verify.cpp:87][ParseVersionInfo][tid:112774] VersionVerify: pass client version info success [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.481.912 [hdc_client.cpp:276][CheckHdcConnection][tid:112774] Service[2] create hdc success [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.481.928 [version_verify.cpp:120][SpecialFeatureCheck][tid:112774] VersionVerify: new type[35], supported [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.481.975 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:112774] [TsdClient][deviceId=3] [sessionId=1] wait package info respond [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.482.107 [process_mode_manager.cpp:379][InitTsdClient][tid:112774] [TsdClient] deviceId[3] begin to init hdc client [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.482.210 [version_verify.cpp:34][SetVersionInfo][tid:112774] VersionVerify: send client version to server [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.482.225 [version_verify.cpp:50][SetVersionInfo][tid:112774] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.482.239 [version_verify.cpp:50][SetVersionInfo][tid:112774] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.497.455 [version_verify.cpp:66][PeerVersionCheck][tid:112774] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.497.475 [version_verify.cpp:87][ParseVersionInfo][tid:112774] VersionVerify: pass client version info success [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.497.487 [hdc_client.cpp:276][CheckHdcConnection][tid:112774] Service[2] create hdc success [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.497.502 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:112774] [TsdClient] tsd get process sign successfully, procpid[112774] signSize[48] [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.497.530 [version_verify.cpp:112][SpecialFeatureCheck][tid:112774] VersionVerify: previous type[6], supported [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.497.555 [process_mode_manager.cpp:126][OpenProcess][tid:112774] [ProcessModeManager] deviceId[3] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.757.283 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:112774] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.757.315 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:112774] enter into OpenInHost deviceid[3] [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.757.328 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:112774] host cpu not support [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.757.338 [process_mode_manager.cpp:156][OpenProcess][tid:112774] [TsdClient][deviceId=3] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(112774,python3.7):2024-01-11-05:58:03.760.012 [device.cc:340] 112774 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(112774,python3.7):2024-01-11-05:58:03.776.154 [npu_driver.cc:5428] 113418 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:03.776.248 [atrace_api.c:28](tid:112774) AtraceCreate start [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:03.776.356 [trace_rb_log.c:84](tid:112774) [RUNTIME_ATRACE_DEV3_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:03.776.373 [atrace_api.c:32](tid:112774) AtraceCreate end [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.776.390 [client_manager.cpp:157][SetProfilingCallback][tid:112774] [TsdClient] set profiling callback success [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.787.965 [process_mode_manager.cpp:184][Close][tid:112774] [TsdClient] Close [deviceId=3][sessionId=1] hccp and computer enter [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.788.000 [version_verify.cpp:112][SpecialFeatureCheck][tid:112774] VersionVerify: previous type[7], supported [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.788.053 [process_mode_manager.cpp:192][Close][tid:112774] [TsdClient][deviceId=3] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.809.568 [process_mode_manager.cpp:197][Close][tid:112774] [TsdClient][logicDeviceId_=3]has recv close hccp and computer process respond [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.809.586 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:112774] enter into CloseInHost deviceid[3] [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.809.599 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:112774] host cpu not support [INFO] TDT(112774,python3.7):2024-01-11-05:58:03.809.638 [process_mode_manager.cpp:208][Close][tid:112774] [TsdClient][deviceId=3] [sessionId=1] close hccp and computer process success [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:03.809.652 [atrace_api.c:93](tid:112774) AtraceDestroy start [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:03.809.669 [atrace_api.c:95](tid:112774) AtraceDestroy end F[INFO] TDT(112774,python3.7):2024-01-11-05:58:04.392.482 [process_mode_manager.cpp:109][OpenProcess][tid:112774] [ProcessModeManager] enter into open process deviceId[3] rankSize[0] [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.392.899 [process_mode_manager.cpp:705][GetDeviceCheckCode][tid:112774] [ProcessModeManager][deviceId=3] aicpu package already exist in device [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.392.952 [process_mode_manager.cpp:379][InitTsdClient][tid:112774] [TsdClient] deviceId[3] begin to init hdc client [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.393.072 [version_verify.cpp:34][SetVersionInfo][tid:112774] VersionVerify: send client version to server [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.393.096 [version_verify.cpp:50][SetVersionInfo][tid:112774] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.393.123 [version_verify.cpp:50][SetVersionInfo][tid:112774] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.393.562 [version_verify.cpp:66][PeerVersionCheck][tid:112774] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.393.581 [version_verify.cpp:87][ParseVersionInfo][tid:112774] VersionVerify: pass client version info success [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.393.592 [hdc_client.cpp:276][CheckHdcConnection][tid:112774] Service[2] create hdc success [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.393.608 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:112774] [TsdClient] tsd get process sign successfully, procpid[112774] signSize[48] [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.393.622 [version_verify.cpp:112][SpecialFeatureCheck][tid:112774] VersionVerify: previous type[6], supported [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.393.645 [process_mode_manager.cpp:126][OpenProcess][tid:112774] [ProcessModeManager] deviceId[3] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.613.241 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:112774] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.613.279 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:112774] enter into OpenInHost deviceid[3] [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.613.291 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:112774] host cpu not support [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.613.299 [process_mode_manager.cpp:156][OpenProcess][tid:112774] [TsdClient][deviceId=3] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(112774,python3.7):2024-01-11-05:58:04.615.978 [device.cc:340] 112774 Init: isDoubledie:0, topologytype:0 [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:04.631.610 [atrace_api.c:28](tid:112774) AtraceCreate start [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:04.631.683 [trace_rb_log.c:84](tid:112774) [RUNTIME_ATRACE_DEV3_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:04.631.698 [atrace_api.c:32](tid:112774) AtraceCreate end [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.631.716 [client_manager.cpp:157][SetProfilingCallback][tid:112774] [TsdClient] set profiling callback success [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.641.498 [process_mode_manager.cpp:184][Close][tid:112774] [TsdClient] Close [deviceId=3][sessionId=1] hccp and computer enter [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.641.545 [version_verify.cpp:112][SpecialFeatureCheck][tid:112774] VersionVerify: previous type[7], supported [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.641.603 [process_mode_manager.cpp:192][Close][tid:112774] [TsdClient][deviceId=3] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.674.257 [process_mode_manager.cpp:197][Close][tid:112774] [TsdClient][logicDeviceId_=3]has recv close hccp and computer process respond [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.674.290 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:112774] enter into CloseInHost deviceid[3] [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.674.303 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:112774] host cpu not support [INFO] TDT(112774,python3.7):2024-01-11-05:58:04.674.356 [process_mode_manager.cpp:208][Close][tid:112774] [TsdClient][deviceId=3] [sessionId=1] close hccp and computer process success [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:04.674.374 [atrace_api.c:93](tid:112774) AtraceDestroy start [INFO] ATRACE(112774,python3.7):2024-01-11-05:58:04.674.393 [atrace_api.c:95](tid:112774) AtraceDestroy end F =================================== FAILURES =================================== _____________________________ test_sinh_dynamic[0] _____________________________ mode = 0 @pytest.mark.level1 @pytest.mark.env_onecard @pytest.mark.platform_x86_cpu @pytest.mark.platform_x86_gpu_training @pytest.mark.platform_arm_ascend_training @pytest.mark.parametrize('mode', [ms.GRAPH_MODE, ms.PYNATIVE_MODE]) def test_sinh_dynamic(mode): """ Feature: sinh ops. Description: test ops sinh dynamic tensor input. Expectation: output the right result. """ context.set_context(mode=mode) x_dyn = ms.Tensor(shape=None, dtype=ms.float32) > test_cell = test_utils.to_cell_obj(ops.auto_generate.sinh) test_sinh.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_utils.py:49: in to_cell_obj cell_obj = Net(fn) test_utils.py:29: in __init__ super().__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 3 Device HBM total size:34359738368 Device HBM free size:1602953216 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_sinh_dynamic[1] _____________________________ mode = 1 @pytest.mark.level1 @pytest.mark.env_onecard @pytest.mark.platform_x86_cpu @pytest.mark.platform_x86_gpu_training @pytest.mark.platform_arm_ascend_training @pytest.mark.parametrize('mode', [ms.GRAPH_MODE, ms.PYNATIVE_MODE]) def test_sinh_dynamic(mode): """ Feature: sinh ops. Description: test ops sinh dynamic tensor input. Expectation: output the right result. """ context.set_context(mode=mode) x_dyn = ms.Tensor(shape=None, dtype=ms.float32) > test_cell = test_utils.to_cell_obj(ops.auto_generate.sinh) test_sinh.py:109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_utils.py:49: in to_cell_obj cell_obj = Net(fn) test_utils.py:29: in __init__ super().__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 3 Device HBM total size:34359738368 Device HBM free size:1602920448 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_sinh.py::test_sinh_dynamic[0] - RuntimeError: Ascend kernel runti... FAILED test_sinh.py::test_sinh_dynamic[1] - RuntimeError: Ascend kernel runti... ============================== 2 failed in 7.56s =============================== [INFO] RUNTIME(112774,python3.7):2024-01-11-05:58:05.760.512 [runtime.cc:1737] 112774 ~Runtime: deconstruct runtime.