============================= 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/numpy_native, 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(131513,python3.7):2024-01-11-06:01:27.173.021 [trace_attr.c:105](tid:131513) platform is 1. [INFO] ATRACE(131513,python3.7):2024-01-11-06:01:27.173.183 [trace_recorder.c:114](tid:131513) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(131513,python3.7):2024-01-11-06:01:27.173.212 [trace_signal.c:133](tid:131513) register signal handler for signo 2 succeed. [INFO] ATRACE(131513,python3.7):2024-01-11-06:01:27.173.225 [trace_signal.c:133](tid:131513) register signal handler for signo 15 succeed. [INFO] RUNTIME(131513,python3.7):2024-01-11-06:01:27.581.205 [runtime.cc:1159] 131513 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(131513,python3.7):2024-01-11-06:01:27.581.249 [runtime.cc:4719] 131513 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 1 item test_math_ops.py [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.020.997 [process_mode_manager.cpp:109][OpenProcess][tid:132027] [ProcessModeManager] enter into open process deviceId[6] rankSize[0] [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.022.206 [process_mode_manager.cpp:379][InitTsdClient][tid:132027] [TsdClient] deviceId[6] begin to init hdc client [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.022.344 [version_verify.cpp:34][SetVersionInfo][tid:132027] VersionVerify: send client version to server [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.022.377 [version_verify.cpp:50][SetVersionInfo][tid:132027] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.022.390 [version_verify.cpp:50][SetVersionInfo][tid:132027] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.022.881 [version_verify.cpp:66][PeerVersionCheck][tid:132027] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.022.897 [version_verify.cpp:87][ParseVersionInfo][tid:132027] VersionVerify: pass client version info success [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.022.907 [hdc_client.cpp:276][CheckHdcConnection][tid:132027] Service[2] create hdc success [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.022.923 [version_verify.cpp:120][SpecialFeatureCheck][tid:132027] VersionVerify: new type[35], supported [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.022.966 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:132027] [TsdClient][deviceId=6] [sessionId=1] wait package info respond [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.090 [process_mode_manager.cpp:379][InitTsdClient][tid:132027] [TsdClient] deviceId[6] begin to init hdc client [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.179 [version_verify.cpp:34][SetVersionInfo][tid:132027] VersionVerify: send client version to server [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.192 [version_verify.cpp:50][SetVersionInfo][tid:132027] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.204 [version_verify.cpp:50][SetVersionInfo][tid:132027] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.665 [version_verify.cpp:66][PeerVersionCheck][tid:132027] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.678 [version_verify.cpp:87][ParseVersionInfo][tid:132027] VersionVerify: pass client version info success [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.688 [hdc_client.cpp:276][CheckHdcConnection][tid:132027] Service[2] create hdc success [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.701 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:132027] [TsdClient] tsd get process sign successfully, procpid[131513] signSize[48] [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.728 [version_verify.cpp:112][SpecialFeatureCheck][tid:132027] VersionVerify: previous type[6], supported [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.023.750 [process_mode_manager.cpp:126][OpenProcess][tid:132027] [ProcessModeManager] deviceId[6] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.295.390 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:132027] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.295.425 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:132027] enter into OpenInHost deviceid[6] [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.295.437 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:132027] host cpu not support [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.295.446 [process_mode_manager.cpp:156][OpenProcess][tid:132027] [TsdClient][deviceId=6] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(131513,python3.7):2024-01-11-06:01:32.298.112 [device.cc:340] 132027 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(131513,python3.7):2024-01-11-06:01:32.312.085 [npu_driver.cc:5428] 132032 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(131513,python3.7):2024-01-11-06:01:32.313.152 [atrace_api.c:28](tid:132027) AtraceCreate start [INFO] ATRACE(131513,python3.7):2024-01-11-06:01:32.313.249 [trace_rb_log.c:84](tid:132027) [RUNTIME_ATRACE_DEV6_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(131513,python3.7):2024-01-11-06:01:32.313.264 [atrace_api.c:32](tid:132027) AtraceCreate end [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.313.280 [client_manager.cpp:157][SetProfilingCallback][tid:132027] [TsdClient] set profiling callback success [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.322.726 [process_mode_manager.cpp:184][Close][tid:132027] [TsdClient] Close [deviceId=6][sessionId=1] hccp and computer enter [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.322.761 [version_verify.cpp:112][SpecialFeatureCheck][tid:132027] VersionVerify: previous type[7], supported [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.322.804 [process_mode_manager.cpp:192][Close][tid:132027] [TsdClient][deviceId=6] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.353.765 [process_mode_manager.cpp:197][Close][tid:132027] [TsdClient][logicDeviceId_=6]has recv close hccp and computer process respond [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.353.780 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:132027] enter into CloseInHost deviceid[6] [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.353.791 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:132027] host cpu not support [INFO] TDT(131513,python3.7):2024-01-11-06:01:32.353.846 [process_mode_manager.cpp:208][Close][tid:132027] [TsdClient][deviceId=6] [sessionId=1] close hccp and computer process success [INFO] ATRACE(131513,python3.7):2024-01-11-06:01:32.353.860 [atrace_api.c:93](tid:132027) AtraceDestroy start [INFO] ATRACE(131513,python3.7):2024-01-11-06:01:32.353.873 [atrace_api.c:95](tid:132027) AtraceDestroy end F =================================== FAILURES =================================== _________________________________ test_arctan __________________________________ @pytest.mark.level1 @pytest.mark.platform_arm_ascend_training @pytest.mark.platform_x86_ascend_training @pytest.mark.platform_x86_gpu_training @pytest.mark.platform_x86_cpu @pytest.mark.env_onecard def test_arctan(): arr = onp.random.uniform(-1, 1, 12).astype('float32') onp_atan = onp_arctan(arr) mnp_atan = mnp_arctan(to_tensor(arr)) > match_array(mnp_atan.asnumpy(), onp_atan, error=5) test_math_ops.py:1570: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jenkins/.local/lib/python3.7/site-packages/mindspore/common/_stub_tensor.py:48: in fun arg = (stub.stub_sync(),) + arg[1:] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[RuntimeError("Ascend kernel runtime initialization failed. The details refer to 'Ascend Error Message'.\n\n---------...ice/ascend/hal/device/ascend_memory_adapter.cc:73 Initialize\n") raised in repr()] StubTensor object at 0xffff1026d8d0> def stub_sync(self): """sync real tensor.""" if self.stub: > val = self.stub.get_value() 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:1701806080 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/common/_stub_tensor.py:153: RuntimeError =========================== short test summary info ============================ FAILED test_math_ops.py::test_arctan - RuntimeError: Ascend kernel runtime in... ============================== 1 failed in 7.17s =============================== [INFO] RUNTIME(131513,python3.7):2024-01-11-06:01:33.844.826 [runtime.cc:1737] 131513 ~Runtime: deconstruct runtime.