============================= 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/ascend/test_acl_ops, inifile: /home/jenkins/sault/virtual_test/virtualenv_001/sault/config/pytest.ini plugins: anyio-3.7.1, forked-1.1.3, xdist-1.32.0 [INFO] ATRACE(115156,python3.7):2024-01-11-05:58:38.153.704 [trace_attr.c:105](tid:115156) platform is 1. [INFO] ATRACE(115156,python3.7):2024-01-11-05:58:38.153.852 [trace_recorder.c:114](tid:115156) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(115156,python3.7):2024-01-11-05:58:38.153.881 [trace_signal.c:133](tid:115156) register signal handler for signo 2 succeed. [INFO] ATRACE(115156,python3.7):2024-01-11-05:58:38.153.893 [trace_signal.c:133](tid:115156) register signal handler for signo 15 succeed. [INFO] RUNTIME(115156,python3.7):2024-01-11-05:58:38.567.427 [runtime.cc:1159] 115156 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(115156,python3.7):2024-01-11-05:58:38.567.478 [runtime.cc:4719] 115156 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 1 item test_batchnorm1d.py [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.885.659 [process_mode_manager.cpp:109][OpenProcess][tid:115156] [ProcessModeManager] enter into open process deviceId[0] rankSize[0] [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.887.168 [process_mode_manager.cpp:379][InitTsdClient][tid:115156] [TsdClient] deviceId[0] begin to init hdc client [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.887.316 [version_verify.cpp:34][SetVersionInfo][tid:115156] VersionVerify: send client version to server [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.887.349 [version_verify.cpp:50][SetVersionInfo][tid:115156] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.887.364 [version_verify.cpp:50][SetVersionInfo][tid:115156] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.887.807 [version_verify.cpp:66][PeerVersionCheck][tid:115156] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.887.825 [version_verify.cpp:87][ParseVersionInfo][tid:115156] VersionVerify: pass client version info success [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.887.836 [hdc_client.cpp:276][CheckHdcConnection][tid:115156] Service[2] create hdc success [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.887.854 [version_verify.cpp:120][SpecialFeatureCheck][tid:115156] VersionVerify: new type[35], supported [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.887.900 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:115156] [TsdClient][deviceId=0] [sessionId=1] wait package info respond [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.035 [process_mode_manager.cpp:379][InitTsdClient][tid:115156] [TsdClient] deviceId[0] begin to init hdc client [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.145 [version_verify.cpp:34][SetVersionInfo][tid:115156] VersionVerify: send client version to server [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.158 [version_verify.cpp:50][SetVersionInfo][tid:115156] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.170 [version_verify.cpp:50][SetVersionInfo][tid:115156] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.597 [version_verify.cpp:66][PeerVersionCheck][tid:115156] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.612 [version_verify.cpp:87][ParseVersionInfo][tid:115156] VersionVerify: pass client version info success [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.621 [hdc_client.cpp:276][CheckHdcConnection][tid:115156] Service[2] create hdc success [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.635 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:115156] [TsdClient] tsd get process sign successfully, procpid[115156] signSize[48] [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.665 [version_verify.cpp:112][SpecialFeatureCheck][tid:115156] VersionVerify: previous type[6], supported [INFO] TDT(115156,python3.7):2024-01-11-05:58:42.888.689 [process_mode_manager.cpp:126][OpenProcess][tid:115156] [ProcessModeManager] deviceId[0] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.133.865 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:115156] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.133.897 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:115156] enter into OpenInHost deviceid[0] [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.133.908 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:115156] host cpu not support [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.133.916 [process_mode_manager.cpp:156][OpenProcess][tid:115156] [TsdClient][deviceId=0] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(115156,python3.7):2024-01-11-05:58:43.136.590 [device.cc:340] 115156 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(115156,python3.7):2024-01-11-05:58:43.152.538 [npu_driver.cc:5428] 115846 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(115156,python3.7):2024-01-11-05:58:43.152.600 [atrace_api.c:28](tid:115156) AtraceCreate start [INFO] ATRACE(115156,python3.7):2024-01-11-05:58:43.152.689 [trace_rb_log.c:84](tid:115156) [RUNTIME_ATRACE_DEV0_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(115156,python3.7):2024-01-11-05:58:43.152.705 [atrace_api.c:32](tid:115156) AtraceCreate end [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.152.722 [client_manager.cpp:157][SetProfilingCallback][tid:115156] [TsdClient] set profiling callback success [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.163.839 [process_mode_manager.cpp:184][Close][tid:115156] [TsdClient] Close [deviceId=0][sessionId=1] hccp and computer enter [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.163.872 [version_verify.cpp:112][SpecialFeatureCheck][tid:115156] VersionVerify: previous type[7], supported [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.163.916 [process_mode_manager.cpp:192][Close][tid:115156] [TsdClient][deviceId=0] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.187.077 [process_mode_manager.cpp:197][Close][tid:115156] [TsdClient][logicDeviceId_=0]has recv close hccp and computer process respond [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.187.095 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:115156] enter into CloseInHost deviceid[0] [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.187.104 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:115156] host cpu not support [INFO] TDT(115156,python3.7):2024-01-11-05:58:43.187.141 [process_mode_manager.cpp:208][Close][tid:115156] [TsdClient][deviceId=0] [sessionId=1] close hccp and computer process success [INFO] ATRACE(115156,python3.7):2024-01-11-05:58:43.187.154 [atrace_api.c:93](tid:115156) AtraceDestroy start [INFO] ATRACE(115156,python3.7):2024-01-11-05:58:43.187.169 [atrace_api.c:95](tid:115156) AtraceDestroy end F =================================== FAILURES =================================== ___________________________________ test_net ___________________________________ @pytest.mark.level1 @pytest.mark.platform_arm_ascend_training @pytest.mark.platform_x86_ascend_training @pytest.mark.env_onecard def test_net(): """ Feature: Test acl call with pynative mode and dynamic shape. Description: Input Tensor with [2, 3, 32, 32], run in ascend. Expectation: run success. """ channel = 3 is_training = True data_format = "NCHW" x = np.random.randn(2, channel, 32, 32).astype(np.float32) scale = np.random.randn(channel).astype(np.float32) bias = np.random.randn(channel).astype(np.float32) mean = np.random.randn(channel).astype(np.float32) variance = np.random.randn(channel).astype(np.float32) context.set_context(mode=context.PYNATIVE_MODE, device_target="Ascend") > bn_net = BatchNorm1DNet(is_training, data_format) test_batchnorm1d.py:69: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_batchnorm1d.py:29: in __init__ super().__init__() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = BatchNorm1DNet<>, 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 0 Device HBM total size:34359738368 Device HBM free size:1602854912 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_batchnorm1d.py::test_net - RuntimeError: Ascend kernel runtime in... ============================== 1 failed in 6.98s =============================== [INFO] RUNTIME(115156,python3.7):2024-01-11-05:58:44.648.118 [runtime.cc:1737] 115156 ~Runtime: deconstruct runtime.