============================= 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_008/sault/config/pytest.ini plugins: anyio-3.7.1, forked-1.1.3, xdist-1.32.0 [INFO] ATRACE(124834,python3.7):2024-01-11-06:00:17.438.815 [trace_attr.c:105](tid:124834) platform is 1. [INFO] ATRACE(124834,python3.7):2024-01-11-06:00:17.438.961 [trace_recorder.c:114](tid:124834) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(124834,python3.7):2024-01-11-06:00:17.438.984 [trace_signal.c:133](tid:124834) register signal handler for signo 2 succeed. [INFO] ATRACE(124834,python3.7):2024-01-11-06:00:17.438.996 [trace_signal.c:133](tid:124834) register signal handler for signo 15 succeed. [INFO] RUNTIME(124834,python3.7):2024-01-11-06:00:17.828.286 [runtime.cc:1159] 124834 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(124834,python3.7):2024-01-11-06:00:17.828.326 [runtime.cc:4719] 124834 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 1 item test_array_creations.py [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.118.987 [process_mode_manager.cpp:109][OpenProcess][tid:125339] [ProcessModeManager] enter into open process deviceId[7] rankSize[0] [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.120.415 [process_mode_manager.cpp:379][InitTsdClient][tid:125339] [TsdClient] deviceId[7] begin to init hdc client [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.120.533 [version_verify.cpp:34][SetVersionInfo][tid:125339] VersionVerify: send client version to server [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.120.559 [version_verify.cpp:50][SetVersionInfo][tid:125339] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.120.572 [version_verify.cpp:50][SetVersionInfo][tid:125339] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.120.976 [version_verify.cpp:66][PeerVersionCheck][tid:125339] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.120.993 [version_verify.cpp:87][ParseVersionInfo][tid:125339] VersionVerify: pass client version info success [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.002 [hdc_client.cpp:276][CheckHdcConnection][tid:125339] Service[2] create hdc success [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.016 [version_verify.cpp:120][SpecialFeatureCheck][tid:125339] VersionVerify: new type[35], supported [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.052 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:125339] [TsdClient][deviceId=7] [sessionId=1] wait package info respond [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.174 [process_mode_manager.cpp:379][InitTsdClient][tid:125339] [TsdClient] deviceId[7] begin to init hdc client [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.340 [version_verify.cpp:34][SetVersionInfo][tid:125339] VersionVerify: send client version to server [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.354 [version_verify.cpp:50][SetVersionInfo][tid:125339] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.365 [version_verify.cpp:50][SetVersionInfo][tid:125339] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.528 [version_verify.cpp:66][PeerVersionCheck][tid:125339] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.541 [version_verify.cpp:87][ParseVersionInfo][tid:125339] VersionVerify: pass client version info success [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.551 [hdc_client.cpp:276][CheckHdcConnection][tid:125339] Service[2] create hdc success [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.563 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:125339] [TsdClient] tsd get process sign successfully, procpid[124834] signSize[48] [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.586 [version_verify.cpp:112][SpecialFeatureCheck][tid:125339] VersionVerify: previous type[6], supported [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.121.603 [process_mode_manager.cpp:126][OpenProcess][tid:125339] [ProcessModeManager] deviceId[7] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.386.995 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:125339] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.387.021 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:125339] enter into OpenInHost deviceid[7] [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.387.032 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:125339] host cpu not support [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.387.042 [process_mode_manager.cpp:156][OpenProcess][tid:125339] [TsdClient][deviceId=7] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(124834,python3.7):2024-01-11-06:00:22.389.667 [device.cc:340] 125339 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(124834,python3.7):2024-01-11-06:00:22.403.482 [npu_driver.cc:5428] 125343 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(124834,python3.7):2024-01-11-06:00:22.404.245 [atrace_api.c:28](tid:125339) AtraceCreate start [INFO] ATRACE(124834,python3.7):2024-01-11-06:00:22.404.332 [trace_rb_log.c:84](tid:125339) [RUNTIME_ATRACE_DEV7_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(124834,python3.7):2024-01-11-06:00:22.404.345 [atrace_api.c:32](tid:125339) AtraceCreate end [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.404.360 [client_manager.cpp:157][SetProfilingCallback][tid:125339] [TsdClient] set profiling callback success [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.413.456 [process_mode_manager.cpp:184][Close][tid:125339] [TsdClient] Close [deviceId=7][sessionId=1] hccp and computer enter [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.413.486 [version_verify.cpp:112][SpecialFeatureCheck][tid:125339] VersionVerify: previous type[7], supported [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.413.519 [process_mode_manager.cpp:192][Close][tid:125339] [TsdClient][deviceId=7] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.434.938 [process_mode_manager.cpp:197][Close][tid:125339] [TsdClient][logicDeviceId_=7]has recv close hccp and computer process respond [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.434.954 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:125339] enter into CloseInHost deviceid[7] [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.434.964 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:125339] host cpu not support [INFO] TDT(124834,python3.7):2024-01-11-06:00:22.434.994 [process_mode_manager.cpp:208][Close][tid:125339] [TsdClient][deviceId=7] [sessionId=1] close hccp and computer process success [INFO] ATRACE(124834,python3.7):2024-01-11-06:00:22.435.007 [atrace_api.c:93](tid:125339) AtraceDestroy start [INFO] ATRACE(124834,python3.7):2024-01-11-06:00:22.435.018 [atrace_api.c:95](tid:125339) AtraceDestroy end F =================================== FAILURES =================================== ________________________________ test_diagflat _________________________________ @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_diagflat(): arrs = [rand_int(2, 3)] for arr in arrs: for i in [-2, 0, 7]: > match_res(mnp.diagflat, onp.diagflat, arr, k=i) test_array_creations.py:662: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ utils.py:94: in match_res mnp_res = mnp_fn(*mnp_arrs, **kwargs) /home/jenkins/.local/lib/python3.7/site-packages/mindspore/numpy/array_creations.py:1800: in diagflat pad_y = zeros((size, k_abs), dtype) /home/jenkins/.local/lib/python3.7/site-packages/mindspore/numpy/array_creations.py:334: in zeros if _is_shape_empty(shape): /home/jenkins/.local/lib/python3.7/site-packages/mindspore/ops/primitive.py:910: in __call__ return fn(*args, **kwargs) /home/jenkins/.local/lib/python3.7/site-packages/mindspore/numpy/utils_const.py:83: in _is_shape_empty if F.is_sequence_shape_unknown(shp): /home/jenkins/.local/lib/python3.7/site-packages/mindspore/ops/primitive.py:324: in __call__ return _run_op(self, self.name, args) /home/jenkins/.local/lib/python3.7/site-packages/mindspore/ops/primitive.py:942: in _run_op return _convert_stub(stub) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ stub = def _convert_stub(stub): "convert stub to StubNode or Value" if isinstance(stub, TensorNode): return StubTensor(stub) if isinstance(stub, tuple): return tuple(_convert_stub(e) for e in stub) if isinstance(stub, SequenceNode): elements = stub.get_elements() return tuple(_convert_stub(e) for e in elements) if isinstance(stub, NoneTypeNode): > val = stub.get_real_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 7 Device HBM total size:34359738368 Device HBM free size:1701486592 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:199: RuntimeError =========================== short test summary info ============================ FAILED test_array_creations.py::test_diagflat - RuntimeError: Ascend kernel r... ============================== 1 failed in 7.11s =============================== [INFO] RUNTIME(124834,python3.7):2024-01-11-06:00:24.112.775 [runtime.cc:1737] 124834 ~Runtime: deconstruct runtime.