============================= 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_tbe_ops, inifile: /home/jenkins/sault/virtual_test/virtualenv_005/sault/config/pytest.ini plugins: anyio-3.7.1, forked-1.1.3, xdist-1.32.0 [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:17.596.087 [trace_attr.c:105](tid:114379) platform is 1. [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:17.596.255 [trace_recorder.c:114](tid:114379) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:17.596.286 [trace_signal.c:133](tid:114379) register signal handler for signo 2 succeed. [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:17.596.299 [trace_signal.c:133](tid:114379) register signal handler for signo 15 succeed. [INFO] RUNTIME(114379,python3.7):2024-01-11-05:58:17.999.096 [runtime.cc:1159] 114379 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(114379,python3.7):2024-01-11-05:58:17.999.156 [runtime.cc:4719] 114379 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 2 items test_permute.py [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.356.952 [process_mode_manager.cpp:109][OpenProcess][tid:114379] [ProcessModeManager] enter into open process deviceId[4] rankSize[0] [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.357.932 [process_mode_manager.cpp:379][InitTsdClient][tid:114379] [TsdClient] deviceId[4] begin to init hdc client [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.358.082 [version_verify.cpp:34][SetVersionInfo][tid:114379] VersionVerify: send client version to server [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.358.111 [version_verify.cpp:50][SetVersionInfo][tid:114379] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.358.126 [version_verify.cpp:50][SetVersionInfo][tid:114379] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.358.525 [version_verify.cpp:66][PeerVersionCheck][tid:114379] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.358.545 [version_verify.cpp:87][ParseVersionInfo][tid:114379] VersionVerify: pass client version info success [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.358.556 [hdc_client.cpp:276][CheckHdcConnection][tid:114379] Service[2] create hdc success [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.358.573 [version_verify.cpp:120][SpecialFeatureCheck][tid:114379] VersionVerify: new type[35], supported [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.358.623 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:114379] [TsdClient][deviceId=4] [sessionId=1] wait package info respond [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.358.757 [process_mode_manager.cpp:379][InitTsdClient][tid:114379] [TsdClient] deviceId[4] begin to init hdc client [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.359.010 [version_verify.cpp:34][SetVersionInfo][tid:114379] VersionVerify: send client version to server [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.359.024 [version_verify.cpp:50][SetVersionInfo][tid:114379] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.359.037 [version_verify.cpp:50][SetVersionInfo][tid:114379] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.359.200 [version_verify.cpp:66][PeerVersionCheck][tid:114379] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.359.214 [version_verify.cpp:87][ParseVersionInfo][tid:114379] VersionVerify: pass client version info success [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.359.226 [hdc_client.cpp:276][CheckHdcConnection][tid:114379] Service[2] create hdc success [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.359.240 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:114379] [TsdClient] tsd get process sign successfully, procpid[114379] signSize[48] [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.359.269 [version_verify.cpp:112][SpecialFeatureCheck][tid:114379] VersionVerify: previous type[6], supported [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.359.294 [process_mode_manager.cpp:126][OpenProcess][tid:114379] [ProcessModeManager] deviceId[4] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.635.922 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:114379] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.635.958 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:114379] enter into OpenInHost deviceid[4] [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.635.970 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:114379] host cpu not support [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.635.981 [process_mode_manager.cpp:156][OpenProcess][tid:114379] [TsdClient][deviceId=4] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(114379,python3.7):2024-01-11-05:58:22.638.695 [device.cc:340] 114379 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(114379,python3.7):2024-01-11-05:58:22.656.135 [npu_driver.cc:5428] 114783 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:22.656.184 [atrace_api.c:28](tid:114379) AtraceCreate start [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:22.656.274 [trace_rb_log.c:84](tid:114379) [RUNTIME_ATRACE_DEV4_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:22.656.293 [atrace_api.c:32](tid:114379) AtraceCreate end [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.656.310 [client_manager.cpp:157][SetProfilingCallback][tid:114379] [TsdClient] set profiling callback success [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.667.715 [process_mode_manager.cpp:184][Close][tid:114379] [TsdClient] Close [deviceId=4][sessionId=1] hccp and computer enter [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.667.763 [version_verify.cpp:112][SpecialFeatureCheck][tid:114379] VersionVerify: previous type[7], supported [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.667.818 [process_mode_manager.cpp:192][Close][tid:114379] [TsdClient][deviceId=4] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.698.767 [process_mode_manager.cpp:197][Close][tid:114379] [TsdClient][logicDeviceId_=4]has recv close hccp and computer process respond [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.698.791 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:114379] enter into CloseInHost deviceid[4] [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.698.803 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:114379] host cpu not support [INFO] TDT(114379,python3.7):2024-01-11-05:58:22.698.846 [process_mode_manager.cpp:208][Close][tid:114379] [TsdClient][deviceId=4] [sessionId=1] close hccp and computer process success [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:22.698.862 [atrace_api.c:93](tid:114379) AtraceDestroy start [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:22.698.877 [atrace_api.c:95](tid:114379) AtraceDestroy end F[INFO] TDT(114379,python3.7):2024-01-11-05:58:23.273.639 [process_mode_manager.cpp:109][OpenProcess][tid:114379] [ProcessModeManager] enter into open process deviceId[4] rankSize[0] [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.273.996 [process_mode_manager.cpp:705][GetDeviceCheckCode][tid:114379] [ProcessModeManager][deviceId=4] aicpu package already exist in device [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.274.036 [process_mode_manager.cpp:379][InitTsdClient][tid:114379] [TsdClient] deviceId[4] begin to init hdc client [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.274.152 [version_verify.cpp:34][SetVersionInfo][tid:114379] VersionVerify: send client version to server [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.274.172 [version_verify.cpp:50][SetVersionInfo][tid:114379] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.274.197 [version_verify.cpp:50][SetVersionInfo][tid:114379] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.298.663 [version_verify.cpp:66][PeerVersionCheck][tid:114379] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.298.681 [version_verify.cpp:87][ParseVersionInfo][tid:114379] VersionVerify: pass client version info success [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.298.692 [hdc_client.cpp:276][CheckHdcConnection][tid:114379] Service[2] create hdc success [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.298.705 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:114379] [TsdClient] tsd get process sign successfully, procpid[114379] signSize[48] [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.298.718 [version_verify.cpp:112][SpecialFeatureCheck][tid:114379] VersionVerify: previous type[6], supported [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.298.741 [process_mode_manager.cpp:126][OpenProcess][tid:114379] [ProcessModeManager] deviceId[4] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.562.829 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:114379] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.562.858 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:114379] enter into OpenInHost deviceid[4] [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.562.870 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:114379] host cpu not support [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.562.880 [process_mode_manager.cpp:156][OpenProcess][tid:114379] [TsdClient][deviceId=4] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(114379,python3.7):2024-01-11-05:58:23.565.465 [device.cc:340] 114379 Init: isDoubledie:0, topologytype:0 [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:23.578.232 [atrace_api.c:28](tid:114379) AtraceCreate start [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:23.578.283 [trace_rb_log.c:84](tid:114379) [RUNTIME_ATRACE_DEV4_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:23.578.298 [atrace_api.c:32](tid:114379) AtraceCreate end [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.578.311 [client_manager.cpp:157][SetProfilingCallback][tid:114379] [TsdClient] set profiling callback success [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.587.525 [process_mode_manager.cpp:184][Close][tid:114379] [TsdClient] Close [deviceId=4][sessionId=1] hccp and computer enter [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.587.564 [version_verify.cpp:112][SpecialFeatureCheck][tid:114379] VersionVerify: previous type[7], supported [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.587.608 [process_mode_manager.cpp:192][Close][tid:114379] [TsdClient][deviceId=4] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.618.481 [process_mode_manager.cpp:197][Close][tid:114379] [TsdClient][logicDeviceId_=4]has recv close hccp and computer process respond [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.618.498 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:114379] enter into CloseInHost deviceid[4] [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.618.510 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:114379] host cpu not support [INFO] TDT(114379,python3.7):2024-01-11-05:58:23.618.547 [process_mode_manager.cpp:208][Close][tid:114379] [TsdClient][deviceId=4] [sessionId=1] close hccp and computer process success [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:23.618.561 [atrace_api.c:93](tid:114379) AtraceDestroy start [INFO] ATRACE(114379,python3.7):2024-01-11-05:58:23.618.575 [atrace_api.c:95](tid:114379) AtraceDestroy end F =================================== FAILURES =================================== ____________________________ test_permute_perm3[0] _____________________________ mode = 0 @pytest.mark.level1 @pytest.mark.platform_x86_ascend_training @pytest.mark.platform_arm_ascend_training @pytest.mark.env_onecard @pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE]) def test_permute_perm3(mode): """ Feature: test transpose dynamic Description: test transpose dynamic with graph and pynative mode Expectation: none. """ context.set_context(mode=mode) perm = (-1, 2, 1, 0) in_shape = (8, 24, 1, 1) np_value = np.random.uniform(0, 100, size=in_shape).astype(np.float16) > permute = Net(perm) test_permute.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_permute.py:26: 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 4 Device HBM total size:34359738368 Device HBM free size:1701421056 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_permute_perm3[1] _____________________________ mode = 1 @pytest.mark.level1 @pytest.mark.platform_x86_ascend_training @pytest.mark.platform_arm_ascend_training @pytest.mark.env_onecard @pytest.mark.parametrize('mode', [context.GRAPH_MODE, context.PYNATIVE_MODE]) def test_permute_perm3(mode): """ Feature: test transpose dynamic Description: test transpose dynamic with graph and pynative mode Expectation: none. """ context.set_context(mode=mode) perm = (-1, 2, 1, 0) in_shape = (8, 24, 1, 1) np_value = np.random.uniform(0, 100, size=in_shape).astype(np.float16) > permute = Net(perm) test_permute.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_permute.py:26: 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 4 Device HBM total size:34359738368 Device HBM free size:1701388288 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_permute.py::test_permute_perm3[0] - RuntimeError: Ascend kernel r... FAILED test_permute.py::test_permute_perm3[1] - RuntimeError: Ascend kernel r... ============================== 2 failed in 7.47s =============================== [INFO] RUNTIME(114379,python3.7):2024-01-11-05:58:24.637.878 [runtime.cc:1737] 114379 ~Runtime: deconstruct runtime.