AICORE Command Fails to Be Executed in the Container, with Error Code 46 in Plog

Symptom

The command fails to be executed using Ascend DMI in the container. The following error information is displayed in plog:

[ERROR]...[dsmi_check_out_valid 243]recv msg data error code 46, recv msg data opcode 0x643, opcode 0x643.
[ERROR]...[dsmi_cmd_set_device_info 874]...  dsmi_send_msg_rec_res failed, ret = 46.

Possible Causes

The container permission is insufficient, resulting in driver API call failure.

The following figure uses the AICORE stress test failure as an example.

View the plog file corresponding to the process based on the actual plog storage path.

cd /root/ascend/log/debug/plog
cat plog-{pid}_{timestamp }.log

Error information in plog

Driver error code description: