============================= 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/sparse, inifile: /home/jenkins/sault/virtual_test/virtualenv_004/sault/config/pytest.ini plugins: anyio-3.7.1, forked-1.1.3, xdist-1.32.0 [INFO] ATRACE(116257,python3.7):2024-01-11-05:58:48.265.661 [trace_attr.c:105](tid:116257) platform is 1. [INFO] ATRACE(116257,python3.7):2024-01-11-05:58:48.265.831 [trace_recorder.c:114](tid:116257) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(116257,python3.7):2024-01-11-05:58:48.265.863 [trace_signal.c:133](tid:116257) register signal handler for signo 2 succeed. [INFO] ATRACE(116257,python3.7):2024-01-11-05:58:48.265.877 [trace_signal.c:133](tid:116257) register signal handler for signo 15 succeed. [INFO] RUNTIME(116257,python3.7):2024-01-11-05:58:48.677.426 [runtime.cc:1159] 116257 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(116257,python3.7):2024-01-11-05:58:48.677.483 [runtime.cc:4719] 116257 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 1 item test_csr.py [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.316.723 [process_mode_manager.cpp:109][OpenProcess][tid:116257] [ProcessModeManager] enter into open process deviceId[3] rankSize[0] [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.319.993 [process_mode_manager.cpp:379][InitTsdClient][tid:116257] [TsdClient] deviceId[3] begin to init hdc client [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.320.144 [version_verify.cpp:34][SetVersionInfo][tid:116257] VersionVerify: send client version to server [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.320.175 [version_verify.cpp:50][SetVersionInfo][tid:116257] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.320.189 [version_verify.cpp:50][SetVersionInfo][tid:116257] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.320.489 [version_verify.cpp:66][PeerVersionCheck][tid:116257] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.320.508 [version_verify.cpp:87][ParseVersionInfo][tid:116257] VersionVerify: pass client version info success [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.320.519 [hdc_client.cpp:276][CheckHdcConnection][tid:116257] Service[2] create hdc success [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.320.536 [version_verify.cpp:120][SpecialFeatureCheck][tid:116257] VersionVerify: new type[35], supported [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.320.585 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:116257] [TsdClient][deviceId=3] [sessionId=1] wait package info respond [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.320.986 [process_mode_manager.cpp:379][InitTsdClient][tid:116257] [TsdClient] deviceId[3] begin to init hdc client [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.321.103 [version_verify.cpp:34][SetVersionInfo][tid:116257] VersionVerify: send client version to server [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.321.118 [version_verify.cpp:50][SetVersionInfo][tid:116257] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.321.130 [version_verify.cpp:50][SetVersionInfo][tid:116257] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.321.495 [version_verify.cpp:66][PeerVersionCheck][tid:116257] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.321.510 [version_verify.cpp:87][ParseVersionInfo][tid:116257] VersionVerify: pass client version info success [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.321.519 [hdc_client.cpp:276][CheckHdcConnection][tid:116257] Service[2] create hdc success [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.321.533 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:116257] [TsdClient] tsd get process sign successfully, procpid[116257] signSize[48] [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.321.560 [version_verify.cpp:112][SpecialFeatureCheck][tid:116257] VersionVerify: previous type[6], supported [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.321.585 [process_mode_manager.cpp:126][OpenProcess][tid:116257] [ProcessModeManager] deviceId[3] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.563.449 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:116257] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.563.490 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:116257] enter into OpenInHost deviceid[3] [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.563.503 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:116257] host cpu not support [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.563.513 [process_mode_manager.cpp:156][OpenProcess][tid:116257] [TsdClient][deviceId=3] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(116257,python3.7):2024-01-11-05:58:53.566.200 [device.cc:340] 116257 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(116257,python3.7):2024-01-11-05:58:53.583.940 [npu_driver.cc:5428] 116792 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(116257,python3.7):2024-01-11-05:58:53.584.011 [atrace_api.c:28](tid:116257) AtraceCreate start [INFO] ATRACE(116257,python3.7):2024-01-11-05:58:53.584.103 [trace_rb_log.c:84](tid:116257) [RUNTIME_ATRACE_DEV3_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(116257,python3.7):2024-01-11-05:58:53.584.121 [atrace_api.c:32](tid:116257) AtraceCreate end [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.584.138 [client_manager.cpp:157][SetProfilingCallback][tid:116257] [TsdClient] set profiling callback success [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.595.877 [process_mode_manager.cpp:184][Close][tid:116257] [TsdClient] Close [deviceId=3][sessionId=1] hccp and computer enter [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.595.935 [version_verify.cpp:112][SpecialFeatureCheck][tid:116257] VersionVerify: previous type[7], supported [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.595.992 [process_mode_manager.cpp:192][Close][tid:116257] [TsdClient][deviceId=3] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.617.402 [process_mode_manager.cpp:197][Close][tid:116257] [TsdClient][logicDeviceId_=3]has recv close hccp and computer process respond [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.617.441 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:116257] enter into CloseInHost deviceid[3] [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.617.455 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:116257] host cpu not support [INFO] TDT(116257,python3.7):2024-01-11-05:58:53.617.655 [process_mode_manager.cpp:208][Close][tid:116257] [TsdClient][deviceId=3] [sessionId=1] close hccp and computer process success [INFO] ATRACE(116257,python3.7):2024-01-11-05:58:53.617.676 [atrace_api.c:93](tid:116257) AtraceDestroy start [INFO] ATRACE(116257,python3.7):2024-01-11-05:58:53.617.695 [atrace_api.c:95](tid:116257) AtraceDestroy end F =================================== FAILURES =================================== ________________________________ test_make_csr _________________________________ @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_make_csr(): """ Feature: Test CSRTensor Constructor in Graph and PyNative. Description: Test CSRTensor(indptr, indices, values, shape) and CSRTensor(CSRTensor) Expectation: Success. """ if get_platform() != "linux": return indptr = Tensor([0, 1, 2]) indices = Tensor([0, 1]) values = Tensor([1, 2], dtype=mstype.float32) shape = (2, 6) def test_pynative(): return CSRTensor(indptr, indices, values, shape) test_graph = jit(test_pynative) csr1 = test_pynative() > csr2 = test_graph() test_csr.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/jenkins/.local/lib/python3.7/site-packages/mindspore/common/api.py:722: in staging_specialize out = _MindsporeFunctionExecutor(func, hash_obj, input_signature, process_obj, jit_config)(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fn = .test_pynative at 0xffff1895cef0> ms_create_time = 1704923933302528512, input_signature = None, obj = None jit_config = None def __init__(self, fn, ms_create_time, input_signature=None, obj=None, jit_config=None): > 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 3 Device HBM total size:34359738368 Device HBM free size:1602789376 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/api.py:319: RuntimeError =========================== short test summary info ============================ FAILED test_csr.py::test_make_csr - RuntimeError: Ascend kernel runtime initi... ============================== 1 failed in 7.40s =============================== [INFO] RUNTIME(116257,python3.7):2024-01-11-05:58:55.113.996 [runtime.cc:1737] 116257 ~Runtime: deconstruct runtime.