Hi all,
When I try to run a test in lava , hacking session is not starting . it is exiting by showing: Using /lava-18 export SHELL=/bin/sh # export SHELL=/bin/sh /lava-18/bin/lava-test-runner /lava-18/0 /lava-18/bin/lava-test-runner /lava-18/0 Test shell timeout: 10s (minimum of the action and connection timeout) export SHELL=/bin/sh # /lava-18/bin/lava-test-runner /lava-18/0 Illegal instruction <LAVA_TEST_RUNNER EXIT> ok: lava_test_shell seems to have completed end: 3.1 lava-test-shell (duration 00:00:01) [common] end: 3 lava-test-retry (duration 00:00:01) [common] start: 4 finalize (timeout 00:10:00) [common] start: 4.1 power-off (timeout 00:00:05) [common] end: 4.1 power-off (duration 00:00:00) [common]
my board linux has busybox init system Please help me resolve the issue. I've attached the job log below.
Thanks & Regards, Manoj
On Wed, 28 Nov 2018 at 13:01, Manoj Tiwary manojtiwary22@gmail.com wrote:
You've missed the most important log line:
- {"dt": "2018-11-28T12:15:38.894678", "lvl": "target", "msg": "Starting network: Illegal instruction"}
This system is broken.
That's your first problem. The booted device cannot execute simple shell instructions.
Boot the board manually and make sure the init system can actually operate.
There's nothing special about lava-test-runner and this isn't about the hacking session, the test didn't get anywhere near that far.
Also, most busybox configurations don't support hacking sessions - you'll need to be careful to enable an SSH server (usually dropbear) and network support.
lava-users@lists.lavasoftware.org