On Tue, 17 Mar 2020 at 12:30, koti koti kotisoftwaretest@gmail.com wrote:
Hi,
I have successfully booted the Beagelbone board from "https://github.com/danrue/lava.therub.org" . (corresponding ymal is https://github.com/danrue/lava.therub.org/blob/master/server-overlay/etc/lav...)
But, now I am trying to run one more scenario (may be new scenario and not sure is it supported by LAVA lab?) i.e
- Run the tests on already provisioned (boot) beagelbone board. (Basically I am skipping the booting mentioned and trying to run on the already provisioned/boot board) a) boot the target b) Connect Board to LAVA lab c) Just check the login prompt ("#") is available or not? c) Run the using below test definition file (Basically this test definition file runs "ls"/"ifconfig" commands in the already provisioned(boot) board).
" device_type: beaglebone-black job_name: beaglebone-black healthcheck timeouts: job: minutes: 10 action: minutes: 5 priority: high visibility: public actions:
- test:
interactive:
- name: ls test
prompts: ["#"] echo: discard script:
- name: ls
command: ls successes:
- message: "ls simple test successes"
failures:
- message: "TIMEOUT"
exception: InfrastructureError error: "ls command failed"
- name: ifconfig
command: ifconfig
- name: wait for the prompt
command: "
I have tried to run this. But, my test failed with the error ""Connection closed"" (Attached screenshot)
Connection closed is usually not sth wrong with LAVA but with serial. Are you able to connect to the board by telneting to your ser2net port? I assume you use ser2net as in Dan's example. If not, could you explain how do you connect to the BBB's UART?
milosz
Can some one let me know solution to fix this error?
Regards, koti _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users