balena-io-hardware / testbot-sdk-sw

Node SDK for controlling and performing operations with testbot
https://www.npmjs.com/package/@balena/testbot
Apache License 2.0
4 stars 0 forks source link

lib/devices: Check current on iMX8MM-VAR-DART-NRT #49

Closed acostach closed 2 years ago

acostach commented 2 years ago

This DT does not have any USB or ETH ports so we can only rely on out current to determine when it finished flashing.

Signed-off-by: Alexandru Costache alexandru@balena.io

acostach commented 2 years ago

@balena-ci I self-certify!

acostach commented 2 years ago

Can be flashed using the current check:

jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:42:46.868Z][4b4ab6f-cloud] creating tunnel to dut port 48484... jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:43:16.629Z][4b4ab6f-cloud] creating tunnel to dut port 22222... jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:43:21.204Z][4b4ab6f-cloud] creating tunnel to dut port 2375... jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:43:26.246Z][4b4ab6f-cloud] Waiting for device to be reachable jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:43:26.246Z][4b4ab6f-cloud] Trying to ssh into device jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:43:32.595Z][4b4ab6f-cloud] # Subtest: Managed BalenaOS release suite jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:43:32.598Z][4b4ab6f-cloud] Creating tunnel to DUT port 80... jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:43:37.571Z][4b4ab6f-cloud] Checking preloaded app is running... jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:44:12.085Z][4b4ab6f-cloud] Checking preloaded app is running... jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:44:16.234Z][4b4ab6f-cloud] # Subtest: Image preload test jenkins-leviathan-v2-template-4937-client-1 | [2022-09-16T16:44:16.234Z][4b4ab6f-cloud] ok 1 - Web page should be exposed on port 80 of DUT