Skip to content

T26579 - Implement console reset

Hello, You will find the commits to handle a console reset for Deptcharge platform. Tested under my lava-docker container and it is working fine.

Example with a failure_retry equals to 3:

[common] connect-device Connecting to device using '/usr/local/bin/console_wrapper.sh localhost usb-serial'
[Enter `^Ec?' for help]
[bumped root@localhost]
depthcharge-start timed out after 300 seconds
depthcharge-retry failed: 1 of 3 attempts. 'depthcharge-start timed out after 300 seconds'
Retrying: 2.2 depthcharge-retry (timeout 00:05:00)
Disconnecting from qemu/shell: 
[common] connect-device Connecting to device using '/usr/local/bin/console_wrapper.sh localhost usb-serial'
[Enter `^Ec?' for help]
[bumped root@localhost]
[forced to `spy' mode by root@localhost]
depthcharge-start timed out after 300 seconds
depthcharge-retry failed: 2 of 3 attempts. 'depthcharge-start timed out after 300 seconds'
Retrying: 2.2 depthcharge-retry (timeout 00:05:00)
Disconnecting from qemu/shell: 
[common] connect-device Connecting to device using '/usr/local/bin/console_wrapper.sh localhost usb-serial'
[Enter `^Ec?' for help]
[bumped root@localhost]
depthcharge-start timed out after 300 seconds
depthcharge-retry failed: 3 of 3 attempts. 'depthcharge-start timed out after 300 seconds'

Best regards, Mylène

Merge request reports