Hello Team,
My name is guru. i am very new to lava and i am very much interested using lava concept for embedded linux boards for auto deployment and testing concepts.
I tried to setup the lava for bbb device. i have followed below steps for that.
- installed debian on vm machine and lava-server and its component
(jessie-backport) 2016.
- just for understanding purpose i tried to add kvm job it was loaded
successfully.
- Now i am trying to add the BBB device on lava.
- For that i have added the bbb device to dispatcher. find the conf file
below
name: beaglebone-black01.conf content : device_type = beaglebone-black hostname = beaglebone-black01 connection_command = telnet localhost 2003 hard_reset: /usr/bin/reset.sh power_off: /usr/bin/off.sh power_on: /usr/bin/on.sh
Note : i am not using pduclient. i am using my own script for control
commands
but it is not working while executing the hard_reset command on lava..
find the log for more details.
- My current setup is like i am controlling the bbb using serial
controlled relay from VM host machine(debian).
for that i made my own custom script to on.off,reset serial python code
for controlling the relay.
- after that i tried to submit the below json test job. Find My
definition job attached.
I have taken the below json for reference. https://git.linaro.org/lava-team/lava-functional-tests.
git/tree/lava-test-shell/single-node/armmp-bbb-daily.json
- after that i have submitted the job . find the job log for more
details.
- i have no idea what is going on and what went wrong on my setup.
Help me out to boot the BBB using lava.
Regards, Guru
On 4 April 2017 at 14:54, guru moorthi guru.elinux@gmail.com wrote:
Hello Team,
My name is guru. i am very new to lava and i am very much interested using lava concept for embedded linux boards for auto deployment and testing concepts.
For some reason, your email to the list does not contain the attachments.
I tried to setup the lava for bbb device. i have followed below steps for that.
- installed debian on vm machine and lava-server and its component
(jessie-backport) 2016.
OK. There is an update available in the lava repositories:
https://validation.linaro.org/static/docs/v2/installing_on_debian.html#lava-...
- just for understanding purpose i tried to add kvm job it was loaded
successfully.
- Now i am trying to add the BBB device on lava.
- For that i have added the bbb device to dispatcher. find the conf file
below
name: beaglebone-black01.conf content : device_type = beaglebone-black hostname = beaglebone-black01 connection_command = telnet localhost 2003 hard_reset: /usr/bin/reset.sh power_off: /usr/bin/off.sh power_on: /usr/bin/on.sh
That is a V1 configuration file, you should be looking only at V2 configuration at this stage, support for V1 is being removed soon. (See details on the lava-announce mailing list archive: https://lists.linaro.org/pipermail/lava-announce/2016-December/000022.html)
https://validation.linaro.org/static/docs/v2/first-devices.html
Just a recommendation, scripts which are not part of the main distribution on the worker, like your reset.sh and off.sh should not go into /usr/bin as this can interfere with package upgrades on your system. Use /usr/local/bin/ which is in the PATH.
e.g., for V2:
{% extends 'beaglebone-black.jinja2' %} {% set connection_command = 'telnet localhost 7101' %} {% set hard_reset_command = '/usr/local/lab-scripts/snmp_pdu_control --hostname pdu15 --command reboot --port 11' %} {% set power_off_command = '/usr/local/lab-scripts/snmp_pdu_control --hostname pdu15 --command off --port 11' %} {% set power_on_command = '/usr/local/lab-scripts/snmp_pdu_control --hostname pdu15 --command on --port 11' %}
https://validation.linaro.org/static/docs/v2/first-devices.html#check-existi...
Note : i am not using pduclient. i am using my own script for control
commands
but it is not working while executing the hard_reset command on lava.. find
the log for more details.
- My current setup is like i am controlling the bbb using serial
controlled
relay from VM host machine(debian).
for that i made my own custom script to on.off,reset serial python code for
controlling the relay.
- after that i tried to submit the below json test job. Find My
definition
job attached.
I have taken the below json for reference.
https://git.linaro.org/lava-team/lava-functional-tests.git/tree/lava-test-sh...
Look at the standard V2 test jobs for a V2 example.
https://validation.linaro.org/static/docs/v2/standard-armmp-ramdisk-bbb.html
- after that i have submitted the job . find the job log for more
details.
- i have no idea what is going on and what went wrong on my setup.
From the log you attached to me prior to sending to the list:
BOOTP broadcast 2 BOOTP broadcast 3 BOOTP broadcast 4 BOOTP broadcast 5 BOOTP broadcast 6 BOOTP broadcast 7 BOOTP broadcast 8 BOOTP broadcast 9 BOOTP broadcast 10
Retry count exceeded; starting again
BBB needs a working ethernet connection, with a working DHCP server on the network, to be able to deploy any files using TFTP.
Please double check the networking for the BBB and attach a new (V2) log file when you reply to the list.
lava-users@lists.lavasoftware.org