Found during debugging, the error message of the "BAD" as below: When primary connection is used, power control commands (power_off, power_on, hard_reset) should not be specified.
when I remove the following part from device-type, it will be ok. ssh: options: {{ ssh_options }} # primary connections get this from the device dictionary. # secondary connections get this from the lava-multinode protocol support. host: "{{ ssh_host|default('') }}" port: {{ ssh_port|default(22) }} user: "{{ ssh_user|default('root') }}" identity_file: "{{ ssh_identity_file }}"
it seems that the deploy flasher conflicts with ssh. So if I want to deploy the test program through flasher (burn and restart board) and deploy test program through ssh, what should I do?