============================= 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(141467,python3.7):2024-01-11-06:03:12.583.351 [trace_attr.c:105](tid:141467) platform is 1. [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:12.583.541 [trace_recorder.c:114](tid:141467) use root path: /home/jenkins/ascend/atrace [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:12.583.572 [trace_signal.c:133](tid:141467) register signal handler for signo 2 succeed. [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:12.583.588 [trace_signal.c:133](tid:141467) register signal handler for signo 15 succeed. [INFO] RUNTIME(141467,python3.7):2024-01-11-06:03:13.030.396 [runtime.cc:1159] 141467 GetAicoreNumByLevel: workingDev_=0 [INFO] RUNTIME(141467,python3.7):2024-01-11-06:03:13.030.456 [runtime.cc:4719] 141467 GetVisibleDevices: ASCEND_RT_VISIBLE_DEVICES param was not set collected 2 items test_cosh.py [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.533.644 [process_mode_manager.cpp:109][OpenProcess][tid:141467] [ProcessModeManager] enter into open process deviceId[7] rankSize[0] [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.534.775 [process_mode_manager.cpp:379][InitTsdClient][tid:141467] [TsdClient] deviceId[7] begin to init hdc client [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.534.936 [version_verify.cpp:34][SetVersionInfo][tid:141467] VersionVerify: send client version to server [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.534.992 [version_verify.cpp:50][SetVersionInfo][tid:141467] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.008 [version_verify.cpp:50][SetVersionInfo][tid:141467] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.326 [version_verify.cpp:66][PeerVersionCheck][tid:141467] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.344 [version_verify.cpp:87][ParseVersionInfo][tid:141467] VersionVerify: pass client version info success [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.357 [hdc_client.cpp:276][CheckHdcConnection][tid:141467] Service[2] create hdc success [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.374 [version_verify.cpp:120][SpecialFeatureCheck][tid:141467] VersionVerify: new type[35], supported [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.422 [process_mode_manager.cpp:748][GetDeviceCheckCode][tid:141467] [TsdClient][deviceId=7] [sessionId=1] wait package info respond [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.557 [process_mode_manager.cpp:379][InitTsdClient][tid:141467] [TsdClient] deviceId[7] begin to init hdc client [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.761 [version_verify.cpp:34][SetVersionInfo][tid:141467] VersionVerify: send client version to server [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.776 [version_verify.cpp:50][SetVersionInfo][tid:141467] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.789 [version_verify.cpp:50][SetVersionInfo][tid:141467] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.940 [version_verify.cpp:66][PeerVersionCheck][tid:141467] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.955 [version_verify.cpp:87][ParseVersionInfo][tid:141467] VersionVerify: pass client version info success [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.967 [hdc_client.cpp:276][CheckHdcConnection][tid:141467] Service[2] create hdc success [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.535.981 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:141467] [TsdClient] tsd get process sign successfully, procpid[141467] signSize[48] [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.536.009 [version_verify.cpp:112][SpecialFeatureCheck][tid:141467] VersionVerify: previous type[6], supported [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.536.033 [process_mode_manager.cpp:126][OpenProcess][tid:141467] [ProcessModeManager] deviceId[7] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.771.358 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:141467] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.771.389 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:141467] enter into OpenInHost deviceid[7] [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.771.402 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:141467] host cpu not support [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.771.413 [process_mode_manager.cpp:156][OpenProcess][tid:141467] [TsdClient][deviceId=7] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(141467,python3.7):2024-01-11-06:03:17.774.119 [device.cc:340] 141467 Init: isDoubledie:0, topologytype:0 [INFO] RUNTIME(141467,python3.7):2024-01-11-06:03:17.789.629 [npu_driver.cc:5428] 142153 GetDeviceStatus: GetDeviceStatus status=1. [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:17.789.862 [atrace_api.c:28](tid:141467) AtraceCreate start [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:17.789.992 [trace_rb_log.c:84](tid:141467) [RUNTIME_ATRACE_DEV7_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:17.790.012 [atrace_api.c:32](tid:141467) AtraceCreate end [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.790.044 [client_manager.cpp:157][SetProfilingCallback][tid:141467] [TsdClient] set profiling callback success [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.801.712 [process_mode_manager.cpp:184][Close][tid:141467] [TsdClient] Close [deviceId=7][sessionId=1] hccp and computer enter [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.801.747 [version_verify.cpp:112][SpecialFeatureCheck][tid:141467] VersionVerify: previous type[7], supported [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.801.789 [process_mode_manager.cpp:192][Close][tid:141467] [TsdClient][deviceId=7] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.823.246 [process_mode_manager.cpp:197][Close][tid:141467] [TsdClient][logicDeviceId_=7]has recv close hccp and computer process respond [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.823.264 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:141467] enter into CloseInHost deviceid[7] [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.823.276 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:141467] host cpu not support [INFO] TDT(141467,python3.7):2024-01-11-06:03:17.823.310 [process_mode_manager.cpp:208][Close][tid:141467] [TsdClient][deviceId=7] [sessionId=1] close hccp and computer process success [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:17.823.323 [atrace_api.c:93](tid:141467) AtraceDestroy start [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:17.823.338 [atrace_api.c:95](tid:141467) AtraceDestroy end F[INFO] TDT(141467,python3.7):2024-01-11-06:03:18.330.052 [process_mode_manager.cpp:109][OpenProcess][tid:141467] [ProcessModeManager] enter into open process deviceId[7] rankSize[0] [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.330.597 [process_mode_manager.cpp:705][GetDeviceCheckCode][tid:141467] [ProcessModeManager][deviceId=7] aicpu package already exist in device [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.330.646 [process_mode_manager.cpp:379][InitTsdClient][tid:141467] [TsdClient] deviceId[7] begin to init hdc client [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.330.773 [version_verify.cpp:34][SetVersionInfo][tid:141467] VersionVerify: send client version to server [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.330.797 [version_verify.cpp:50][SetVersionInfo][tid:141467] send feature_info:{msg_type:35, features:{check before send aicpu package,}} [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.330.822 [version_verify.cpp:50][SetVersionInfo][tid:141467] send feature_info:{msg_type:37, features:{check before send open qs message,}} [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.331.084 [version_verify.cpp:66][PeerVersionCheck][tid:141467] VersionVerify: Check client version info, server[1230], client[1230] [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.331.104 [version_verify.cpp:87][ParseVersionInfo][tid:141467] VersionVerify: pass client version info success [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.331.114 [hdc_client.cpp:276][CheckHdcConnection][tid:141467] Service[2] create hdc success [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.331.130 [process_mode_manager.cpp:426][ConstructOpenMsg][tid:141467] [TsdClient] tsd get process sign successfully, procpid[141467] signSize[48] [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.331.145 [version_verify.cpp:112][SpecialFeatureCheck][tid:141467] VersionVerify: previous type[6], supported [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.331.170 [process_mode_manager.cpp:126][OpenProcess][tid:141467] [ProcessModeManager] deviceId[7] sessionId[1] rankSize[0], wait sub process start respond [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.592.344 [stub_process_mode_nowin.cpp:63][ProcessQueueForMdc][tid:141467] [TsdClient] it is unnecessary of current mode[0] chiptype[1] to grant queue auth to aicpusd [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.592.373 [stub_process_mode_nowin.cpp:101][OpenInHost][tid:141467] enter into OpenInHost deviceid[7] [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.592.388 [stub_process_mode_nowin.cpp:105][OpenInHost][tid:141467] host cpu not support [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.592.399 [process_mode_manager.cpp:156][OpenProcess][tid:141467] [TsdClient][deviceId=7] [sessionId=1] start hccp and computer process success [INFO] RUNTIME(141467,python3.7):2024-01-11-06:03:18.595.146 [device.cc:340] 141467 Init: isDoubledie:0, topologytype:0 [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:18.609.950 [atrace_api.c:28](tid:141467) AtraceCreate start [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:18.610.024 [trace_rb_log.c:84](tid:141467) [RUNTIME_ATRACE_DEV7_TS0] create ring buffer success, buffer size : 131152. [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:18.610.040 [atrace_api.c:32](tid:141467) AtraceCreate end [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.610.054 [client_manager.cpp:157][SetProfilingCallback][tid:141467] [TsdClient] set profiling callback success [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.620.197 [process_mode_manager.cpp:184][Close][tid:141467] [TsdClient] Close [deviceId=7][sessionId=1] hccp and computer enter [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.620.232 [version_verify.cpp:112][SpecialFeatureCheck][tid:141467] VersionVerify: previous type[7], supported [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.620.271 [process_mode_manager.cpp:192][Close][tid:141467] [TsdClient][deviceId=7] [sessionId=1] wait hccp and computer process close respond [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.641.672 [process_mode_manager.cpp:197][Close][tid:141467] [TsdClient][logicDeviceId_=7]has recv close hccp and computer process respond [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.641.690 [stub_process_mode_nowin.cpp:151][CloseInHost][tid:141467] enter into CloseInHost deviceid[7] [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.641.702 [stub_process_mode_nowin.cpp:154][CloseInHost][tid:141467] host cpu not support [INFO] TDT(141467,python3.7):2024-01-11-06:03:18.641.737 [process_mode_manager.cpp:208][Close][tid:141467] [TsdClient][deviceId=7] [sessionId=1] close hccp and computer process success [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:18.641.750 [atrace_api.c:93](tid:141467) AtraceDestroy start [INFO] ATRACE(141467,python3.7):2024-01-11-06:03:18.641.770 [atrace_api.c:95](tid:141467) AtraceDestroy end F =================================== FAILURES =================================== ______________________________ test_cosh_vmap[0] _______________________________ mode = 0 @pytest.mark.level1 @pytest.mark.env_onecard @pytest.mark.platform_x86_cpu @pytest.mark.platform_x86_gpu_training @pytest.mark.platform_arm_ascend_training @pytest.mark.parametrize('mode', [ms.GRAPH_MODE, ms.PYNATIVE_MODE]) @test_utils.run_test_func def test_cosh_vmap(mode): """ Feature: test vmap function. Description: test avgpool op vmap. Expectation: expect correct result. """ ms.context.set_context(mode=mode) np_array = np.array([[0.5, 0.4, -0.3, -0.2]]).astype('float32') x = Tensor(np_array) nest_vmap = ops.vmap(ops.vmap(cosh_forward_func, in_axes=0), in_axes=0) > out = nest_vmap(x) test_cosh.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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 0xffff9efd6170> ms_create_time = 1704924197520682240, 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:1701507072 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 ______________________________ test_cosh_vmap[1] _______________________________ mode = 1 @pytest.mark.level1 @pytest.mark.env_onecard @pytest.mark.platform_x86_cpu @pytest.mark.platform_x86_gpu_training @pytest.mark.platform_arm_ascend_training @pytest.mark.parametrize('mode', [ms.GRAPH_MODE, ms.PYNATIVE_MODE]) @test_utils.run_test_func def test_cosh_vmap(mode): """ Feature: test vmap function. Description: test avgpool op vmap. Expectation: expect correct result. """ ms.context.set_context(mode=mode) np_array = np.array([[0.5, 0.4, -0.3, -0.2]]).astype('float32') x = Tensor(np_array) nest_vmap = ops.vmap(ops.vmap(cosh_forward_func, in_axes=0), in_axes=0) > out = nest_vmap(x) test_cosh.py:95: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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 0xffff29b72d40> ms_create_time = 1704924198329527808, 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:1701474304 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_cosh.py::test_cosh_vmap[0] - RuntimeError: Ascend kernel runtime ... FAILED test_cosh.py::test_cosh_vmap[1] - RuntimeError: Ascend kernel runtime ... ============================== 2 failed in 7.69s =============================== [INFO] RUNTIME(141467,python3.7):2024-01-11-06:03:20.184.546 [runtime.cc:1737] 141467 ~Runtime: deconstruct runtime.