This is a tool for running ad hoc maintenance tasks that bypasses the ordinary infrastructure.
You should have Go installed. Refer to Go env setup to set up your environment.
Run the following commands:
make mallet
go run main.go login
There are a few ways how you can run auto-repair with local changes.
To run auto-repair locally use local-recovery
task. Due to access to the devices requiring special access please configure ssh configs (go/chromeos-lab-duts-ssh) and then create proxies by labtunel. Then you need to run the below command with the replacement:
HOST_PROXIES_JSON
: created proxies by labtunel(eg.“{"dut-1":"127.0.0.1:2200","dut-2":"127.0.0.1:2201",}”).DUT_NAME
: name of the DUT known in UFS.go run main.go local -host-proxies HOST_PROXIES_JSON {DUT_NAME}
Command recovery
is designed to schedule custom builder tasks and be able to accept custom config if provided.