============================= 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, 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(116090,python3.7):2024-01-11-05:58:47.700.377 [trace_attr.c:105](tid:116090) platform is 1. [INFO] ATRACE(116090,python3.7):2024-01-11-05:58:47.700.543 [trace_recorder.c:114](tid:116090) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(116090,python3.7):2024-01-11-05:58:47.700.575 [trace_signal.c:133](tid:116090) register signal handler for signo 2 succeed. [INFO] ATRACE(116090,python3.7):2024-01-11-05:58:47.700.589 [trace_signal.c:133](tid:116090) register signal handler for signo 15 succeed. [INFO] RUNTIME(116090,python3.7):2024-01-11-05:58:48.112.561 [runtime.cc:1159] 116090 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(116090,python3.7):2024-01-11-05:58:48.112.618 [runtime.cc:4719] 116090 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 1 item test_hardswish_op.py [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.507.842 [process_mode_manager.cpp:109][OpenProcess][tid:116090] [ProcessModeManager] enter into open process deviceId[0] rankSize[0] [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.509.685 [process_mode_manager.cpp:379][InitTsdClient][tid:116090] [TsdClient] deviceId[0] begin to init hdc client [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.509.847 [version_verify.cpp:34][SetVersionInfo][tid:116090] VersionVerify: send client version to server [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.509.877 [version_verify.cpp:50][SetVersionInfo][tid:116090] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.509.892 [version_verify.cpp:50][SetVersionInfo][tid:116090] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.510.389 [version_verify.cpp:66][PeerVersionCheck][tid:116090] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.510.408 [version_verify.cpp:87][ParseVersionInfo][tid:116090] VersionVerify: pass client version info success [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.510.420 [hdc_client.cpp:276][CheckHdcConnection][tid:116090] Service[2] create hdc success [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.510.437 [version_verify.cpp:120][SpecialFeatureCheck][tid:116090] VersionVerify: new type[35], supported [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.510.485 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:116090] [TsdClient][deviceId=0] [sessionId=1] wait package info respond [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.510.628 [process_mode_manager.cpp:379][InitTsdClient][tid:116090] [TsdClient] deviceId[0] begin to init hdc client [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.510.850 [version_verify.cpp:34][SetVersionInfo][tid:116090] VersionVerify: send client version to server [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.510.865 [version_verify.cpp:50][SetVersionInfo][tid:116090] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.510.877 [version_verify.cpp:50][SetVersionInfo][tid:116090] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.511.045 [version_verify.cpp:66][PeerVersionCheck][tid:116090] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.511.061 [version_verify.cpp:87][ParseVersionInfo][tid:116090] VersionVerify: pass client version info success [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.511.073 [hdc_client.cpp:276][CheckHdcConnection][tid:116090] Service[2] create hdc success [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.511.085 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:116090] [TsdClient] tsd get process sign successfully, procpid[116090] signSize[48] [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.511.108 [version_verify.cpp:112][SpecialFeatureCheck][tid:116090] VersionVerify: previous type[6], supported [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.511.134 [process_mode_manager.cpp:126][OpenProcess][tid:116090] [ProcessModeManager] deviceId[0] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.740.615 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:116090] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.740.649 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:116090] enter into OpenInHost deviceid[0] [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.740.664 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:116090] host cpu not support [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.740.675 [process_mode_manager.cpp:156][OpenProcess][tid:116090] [TsdClient][deviceId=0] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(116090,python3.7):2024-01-11-05:58:52.743.523 [device.cc:340] 116090 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(116090,python3.7):2024-01-11-05:58:52.760.029 [npu_driver.cc:5428] 116766 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(116090,python3.7):2024-01-11-05:58:52.760.076 [atrace_api.c:28](tid:116090) AtraceCreate start [INFO] ATRACE(116090,python3.7):2024-01-11-05:58:52.760.180 [trace_rb_log.c:84](tid:116090) [RUNTIME_ATRACE_DEV0_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(116090,python3.7):2024-01-11-05:58:52.760.197 [atrace_api.c:32](tid:116090) AtraceCreate end [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.760.216 [client_manager.cpp:157][SetProfilingCallback][tid:116090] [TsdClient] set profiling callback success [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.772.331 [process_mode_manager.cpp:184][Close][tid:116090] [TsdClient] Close [deviceId=0][sessionId=1] hccp and computer enter [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.772.365 [version_verify.cpp:112][SpecialFeatureCheck][tid:116090] VersionVerify: previous type[7], supported [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.772.422 [process_mode_manager.cpp:192][Close][tid:116090] [TsdClient][deviceId=0] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.793.469 [process_mode_manager.cpp:197][Close][tid:116090] [TsdClient][logicDeviceId_=0]has recv close hccp and computer process respond [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.793.487 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:116090] enter into CloseInHost deviceid[0] [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.793.502 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:116090] host cpu not support [INFO] TDT(116090,python3.7):2024-01-11-05:58:52.793.544 [process_mode_manager.cpp:208][Close][tid:116090] [TsdClient][deviceId=0] [sessionId=1] close hccp and computer process success [INFO] ATRACE(116090,python3.7):2024-01-11-05:58:52.793.560 [atrace_api.c:93](tid:116090) AtraceDestroy start [INFO] ATRACE(116090,python3.7):2024-01-11-05:58:52.793.577 [atrace_api.c:95](tid:116090) 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: Monitor the accuracy of hswish operator. Description: Input Tensor with [-1, -2, 0, 2, 1], run in ascend. Expectation: success """ context.set_context(mode=context.GRAPH_MODE, device_target="Ascend") x = np.array([-1, -2, 0, 2, 1]).astype(np.float32) > hswish = Net() test_hardswish_op.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_hardswish_op.py:41: 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 0 Device HBM total size:34359738368 Device HBM free size:1602822144 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_hardswish_op.py::test_net - RuntimeError: Ascend kernel runtime i... ============================== 1 failed in 7.04s =============================== [INFO] RUNTIME(116090,python3.7):2024-01-11-05:58:54.255.135 [runtime.cc:1737] 116090 ~Runtime: deconstruct runtime.