============================= 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/dyn_shape_dev, 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(114476,python3.7):2024-01-11-05:58:18.271.807 [trace_attr.c:105](tid:114476) platform is 1. [INFO] ATRACE(114476,python3.7):2024-01-11-05:58:18.271.959 [trace_recorder.c:114](tid:114476) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(114476,python3.7):2024-01-11-05:58:18.271.989 [trace_signal.c:133](tid:114476) register signal handler for signo 2 succeed. [INFO] ATRACE(114476,python3.7):2024-01-11-05:58:18.272.003 [trace_signal.c:133](tid:114476) register signal handler for signo 15 succeed. [INFO] RUNTIME(114476,python3.7):2024-01-11-05:58:18.681.161 [runtime.cc:1159] 114476 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(114476,python3.7):2024-01-11-05:58:18.681.205 [runtime.cc:4719] 114476 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 1 item test_roll.py [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.085.062 [process_mode_manager.cpp:109][OpenProcess][tid:114476] [ProcessModeManager] enter into open process deviceId[7] rankSize[0] [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.064 [process_mode_manager.cpp:379][InitTsdClient][tid:114476] [TsdClient] deviceId[7] begin to init hdc client [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.211 [version_verify.cpp:34][SetVersionInfo][tid:114476] VersionVerify: send client version to server [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.241 [version_verify.cpp:50][SetVersionInfo][tid:114476] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.256 [version_verify.cpp:50][SetVersionInfo][tid:114476] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.574 [version_verify.cpp:66][PeerVersionCheck][tid:114476] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.591 [version_verify.cpp:87][ParseVersionInfo][tid:114476] VersionVerify: pass client version info success [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.601 [hdc_client.cpp:276][CheckHdcConnection][tid:114476] Service[2] create hdc success [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.616 [version_verify.cpp:120][SpecialFeatureCheck][tid:114476] VersionVerify: new type[35], supported [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.661 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:114476] [TsdClient][deviceId=7] [sessionId=1] wait package info respond [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.783 [process_mode_manager.cpp:379][InitTsdClient][tid:114476] [TsdClient] deviceId[7] begin to init hdc client [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.955 [version_verify.cpp:34][SetVersionInfo][tid:114476] VersionVerify: send client version to server [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.967 [version_verify.cpp:50][SetVersionInfo][tid:114476] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.086.977 [version_verify.cpp:50][SetVersionInfo][tid:114476] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.087.131 [version_verify.cpp:66][PeerVersionCheck][tid:114476] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.087.145 [version_verify.cpp:87][ParseVersionInfo][tid:114476] VersionVerify: pass client version info success [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.087.154 [hdc_client.cpp:276][CheckHdcConnection][tid:114476] Service[2] create hdc success [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.087.165 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:114476] [TsdClient] tsd get process sign successfully, procpid[114476] signSize[48] [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.087.186 [version_verify.cpp:112][SpecialFeatureCheck][tid:114476] VersionVerify: previous type[6], supported [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.087.211 [process_mode_manager.cpp:126][OpenProcess][tid:114476] [ProcessModeManager] deviceId[7] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.351.938 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:114476] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.351.977 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:114476] enter into OpenInHost deviceid[7] [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.351.991 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:114476] host cpu not support [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.352.001 [process_mode_manager.cpp:156][OpenProcess][tid:114476] [TsdClient][deviceId=7] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(114476,python3.7):2024-01-11-05:58:23.354.725 [device.cc:340] 114476 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(114476,python3.7):2024-01-11-05:58:23.373.629 [npu_driver.cc:5428] 114792 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(114476,python3.7):2024-01-11-05:58:23.373.722 [atrace_api.c:28](tid:114476) AtraceCreate start [INFO] ATRACE(114476,python3.7):2024-01-11-05:58:23.373.818 [trace_rb_log.c:84](tid:114476) [RUNTIME_ATRACE_DEV7_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(114476,python3.7):2024-01-11-05:58:23.373.835 [atrace_api.c:32](tid:114476) AtraceCreate end [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.373.851 [client_manager.cpp:157][SetProfilingCallback][tid:114476] [TsdClient] set profiling callback success [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.385.510 [process_mode_manager.cpp:184][Close][tid:114476] [TsdClient] Close [deviceId=7][sessionId=1] hccp and computer enter [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.385.545 [version_verify.cpp:112][SpecialFeatureCheck][tid:114476] VersionVerify: previous type[7], supported [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.385.590 [process_mode_manager.cpp:192][Close][tid:114476] [TsdClient][deviceId=7] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.417.241 [process_mode_manager.cpp:197][Close][tid:114476] [TsdClient][logicDeviceId_=7]has recv close hccp and computer process respond [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.417.262 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:114476] enter into CloseInHost deviceid[7] [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.417.274 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:114476] host cpu not support [INFO] TDT(114476,python3.7):2024-01-11-05:58:23.417.309 [process_mode_manager.cpp:208][Close][tid:114476] [TsdClient][deviceId=7] [sessionId=1] close hccp and computer process success [INFO] ATRACE(114476,python3.7):2024-01-11-05:58:23.417.324 [atrace_api.c:93](tid:114476) AtraceDestroy start [INFO] ATRACE(114476,python3.7):2024-01-11-05:58:23.417.339 [atrace_api.c:95](tid:114476) AtraceDestroy end F =================================== FAILURES =================================== ______________________________ test_roll_vmap[0] _______________________________ mode = 0 @pytest.mark.level1 @pytest.mark.env_onecard @pytest.mark.platform_x86_gpu_training @pytest.mark.platform_arm_ascend_training @pytest.mark.parametrize('mode', [ms.GRAPH_MODE]) @test_utils.run_test_func def test_roll_vmap(mode): """ Feature: test vmap function. Description: test roll op vmap. Expectation: expect correct result. """ ms.context.set_context(mode=mode) axes = -1 x = ms.Tensor(np.array([[[0, 1, 2, 3], [4, 5, 6, 7], [8, 9, 10, 11]], [[12, 13, 14, 15], [16, 17, 18, 19], [20, 21, 22, 23]]]).astype(np.float32)) net_vmap = ops.vmap(ops.vmap(roll_forward_func, in_axes=axes, out_axes=axes), in_axes=axes, out_axes=axes) > out = net_vmap(x) test_roll.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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 = .after_vmap at 0xffffb0b8a290> ms_create_time = 1704923903073133824, 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 7 Device HBM total size:34359738368 Device HBM free size:1701527552 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_roll.py::test_roll_vmap[0] - RuntimeError: Ascend kernel runtime ... ============================== 1 failed in 7.08s =============================== [INFO] RUNTIME(114476,python3.7):2024-01-11-05:58:24.912.998 [runtime.cc:1737] 114476 ~Runtime: deconstruct runtime.