balena-os / meta-balena

A collection of Yocto layers used to build balenaOS images
https://www.balena.io/os
966 stars 115 forks source link

Add tests for CPU usage, boot time and bandwidth consumption #2821

Open rcooke-warwick opened 1 year ago

rcooke-warwick commented 1 year ago

@kb2ma has kindly shared 2 blocks that we could look into using to measure a variety of metrics;

https://hub.balena.io/organizations/ken8/blocks/system-metrics-aarch64 https://github.com/balena-io-examples/network-metrics-logger

we could push those onto a DUT perhaps and leave them running for the test suite (although the device does get rebooted many times in the test suite - not sure if that will pose a problem or not).

Please add you ideas as comments for how these could be integrated into any of the existing test suites, whoever is reading - or should it be a new one?