Tast error: '/usr/local/bin/local_test_runner': No such file or directory

13 views
Skip to first unread message

Eric Sum

unread,
Nov 13, 2024, 11:09:20 AM11/13/24
to tast-users
I'm trying to run tast tests on a jacuzzi device. I just flashed the jacuzzi device with the latest unsigned test image from dev channel, and my chromiumos repo has been synced, and I deleted and re-created by chroot. I'm getting this error:

(cr) esum@esum /mnt/host/source/src/scripts $ tast -verbose run -build=false 127.0.0.1:2236 login.Chrome
2024-11-13T00:13:37.922336Z [tast setup] Command line: tast -verbose run -build=false 127.0.0.1:2236 login.Chrome
2024-11-13T00:13:37.922385Z [tast setup] Tast version: tast-cmd-0.0.1-r2561
2024-11-13T00:13:37.922393Z [tast setup] Using SSH key /home/esum/chromiumos/chromite/ssh_keys/testing_rsa
2024-11-13T00:13:37.922399Z [tast setup] Using SSH dir /home/esum/.ssh
2024-11-13T00:13:37.922404Z [tast setup] Writing results to /tmp/tast/results/20241112-161337
2024-11-13T00:13:37.922411Z Phase "tast setup" ended after 8.730447ms
2024-11-13T00:13:37.923101Z Starting ephemeral devserver at http://127.0.0.1:44573 for remote tests
2024-11-13T00:13:37.923945Z Connecting to 127.0.0.1:2236
2024-11-13T00:13:38.451576Z Running ssh cmd: cat /proc/sys/kernel/random/boot_id
2024-11-13T00:13:38.511516Z Build remote bundles
2024-11-13T00:13:38.511575Z Adding remote bundle "cros" to build list
2024-11-13T00:13:38.511600Z Adding remote bundle "crosint" to build list
2024-11-13T00:13:38.511622Z Adding remote bundle "crosint_intel" to build list
2024-11-13T00:13:38.511635Z Building cros, crosint, crosint_intel
2024-11-13T00:13:42.365565Z Installing missing dependencies:
2024-11-13T00:13:42.365620Z   dev-go/perfetto-protos-48.1-r16
2024-11-13T00:13:42.365628Z   chromeos-base/cros-config-api-0.0.1-r1033
2024-11-13T00:13:42.365637Z   chromeos-base/reporting-proto-0.0.1-r459
2024-11-13T00:13:42.365657Z Running sudo emerge --jobs=16 --usepkg --onlydeps --update --deep 1 chromeos-base/tast-build-deps
2024-11-13T00:15:19.347431Z Built in 1m40.836s
2024-11-13T00:15:19.347517Z SetUpRemotePrivateBundle completed successfully.
2024-11-13T00:15:19.348524Z Connecting to 127.0.0.1:2236
2024-11-13T00:15:19.843725Z Running ssh cmd: cat /proc/sys/kernel/random/boot_id
2024-11-13T00:15:19.906152Z Getting DUT info
2024-11-13T00:15:19.969620Z Running ssh cmd: sh -c 'mkdir -p /var/log/recover_duts && touch /var/log/recover_duts/recover_duts.log'
2024-11-13T00:15:19.969697Z Running ssh cmd: env /usr/local/bin/local_test_runner -rpc
2024-11-13T00:15:20.010728Z Streaming the file /var/log/recover_duts/recover_duts.log from the DUT to /tmp/tast/results/20241112-161337/streamed/var/log/recover_duts/recover_duts.log
env: '/usr/local/bin/local_test_runner': No such file or directory
2024-11-13T00:15:20.071847Z Running ssh cmd: env /usr/local/bin/local_test_runner -rpc
2024-11-13T00:15:20.072025Z Failed to run tests: failed to build and push primary DUT: failed to prepare DUT 127.0.0.1:2236: failed to retrieve DUT info: getting DUT info: EOF

Any ideas? Thanks.

Seewai Fu

unread,
Nov 13, 2024, 11:29:11 AM11/13/24
to Eric Sum, tast-users
Hi Eric:

I don't think you have a test image. Otherwise, it should have /usr/local/bin/local_test_runner

Let's try this inside chroot

 cros flash <your_jacuzzi_dut>  xBuddy://remote/jacuzz/latest-canary

Then, try again.

Also, it is slower to communicate through email. You can use chat to ping me. We can take a look together.

Hope it helps.

Seewai


--
You received this message because you are subscribed to the Google Groups "tast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tast-users+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/tast-users/5f5309dc-891e-4135-b710-09130e96dffcn%40chromium.org.
Reply all
Reply to author
Forward
0 new messages