Fixed
Details
Details
Assignee
Corentin Labbe
Corentin LabbeReporter
Jan-Simon Moeller
Jan-Simon MoellerLabels
Contract ID
Components
Priority
Created August 27, 2018 at 7:21 PM
Updated October 9, 2018 at 2:52 PM
Resolved October 4, 2018 at 1:52 PM
slaves: - name: agl-core-lab-1 host: agl-core-lab-1 zmq_auth_key: /root/lava-docker/certificates.d/agl-core-lab-1.key zmq_auth_key_secret: /root/lava-docker/certificates.d/agl-core-lab-1.key_secret remote_master: agl-master remote_address: lavadocker.automotivelinux.org remote_rpc_port: 443 remote_user: corelab remote_proto: https dispatcher_ip: 192.168.111.1 extra_actions: - "apt-get -y install lavapdu-client mc" - "echo \"#!/bin/bash\" >> /usr/local/bin/hardresetvayu-01.sh" - "echo \"curl http://admin:admin@192.168.2.198/FF0600 && sleep 2 && curl http://admin:admin@192.168.2.198/FF0601\" >> /usr/local/bin/hardresetvayu-01.sh" - "chmod a+x /usr/local/bin/hardresetvayu-01.sh" - "echo \"#!/bin/bash\" >> /usr/local/bin/hardresetrpi3-01.sh" - "echo \"curl http://admin:admin@192.168.2.198/FF0200 && sleep 2 && curl http://admin:admin@192.168.2.198/FF0201\" >> /usr/local/bin/hardresetrpi3-01.sh" - "chmod a+x /usr/local/bin/hardresetrpi3-01.sh"boards: - name: qemu-corelab-01 type: qemu - name: vayu-corelab-01 type: dra7-evm pdu_generic: hard_reset_command: hardresetvayu-01.sh power_off_command: curl http://admin:admin@192.168.2.198/FF0600 power_on_command: curl http://admin:admin@192.168.2.198/FF0601 uart: idvendor: 0x0403 idproduct: 0x6001 serial: A801ZUBH use_screen: true
The need to mess with hardreset*.sh instead of writing it directly into hard_reset_command
is iffy .
Also iirc lava does already emulate it if it is not specified by power_off and power_on .
So
a) why is it not optional
b) why does curl ; sleep 1 ; curl not work