Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests waste 180seconds waiting for boot #38

Open
Ham22 opened this issue Mar 8, 2017 · 1 comment
Open

Tests waste 180seconds waiting for boot #38

Ham22 opened this issue Mar 8, 2017 · 1 comment

Comments

@Ham22
Copy link
Member

Ham22 commented Mar 8, 2017

Currently once programming is finished we reboot the device and wait 180 seconds.

Instead we could just wait for a few seconds (to avoid accidentally interrupting boot loader) and then sit in a loop waiting for the console to appear. This shouldn't take more than 40 seconds. If it does timeout exception should be raised.

@Ham22 Ham22 changed the title Tests wastes 180seconds waiting for boot Tests waste 180seconds waiting for boot Mar 8, 2017
@nikhil-zinjurde-imgtec
Copy link

Actually, it would be good to get the ota_update and ota_verify script in source control. Currently, boardfarm CI does some "magic" from Jenkinsfile with the help of ota_update.sh and ota_verify.sh which is not visible to everyone and therefore makes it difficult to understand if something gets broken around the update mechanism.

The scripts are not too complicated, so can be expanded in the Jenkinsfile and may be optimised to reduce the flashing time which is included in this 180s sleep.

On another note, following the evaluation of LAVA framework, we may be able to overhaul the update mechanism to make it more robust and responsive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants