adding runtest/systemd boot time test
Get series with b4
b4 am 1445553911-12721-1-git-send-email-benjamin.esquivel@linux.intel.comVersions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | systemd: test target boot time against unit timeoutmeta/ | +73 | 2 replies | |
| 2/2 | systemd: skip service tests on long boot timesmeta/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] adding runtest/systemd boot time test
=Introduction=
there has been a number of bugs filed against failing systemd services, or units, that appear to be random and very hard to reproduce. The bugs have been found at the autobuilder instances and not much information about what caused the failure can be found
example bugs for the aforementioned errors are YOCTO#8142 and YOCTO#8141, there are others
these errors seemingly can be reproduced by constraining the resources on the target for testing, putting a low amount of CPU at disposal and making it test with other test targets simultaneously to also constrain IO has gotten the failure to show up often enough to debug it
further debug showed that the service tests were failing due to the kernel booting in a long time, a number of seconds that exceeds systemd's timeout for units to finalize coming up. 404 failure samples were checked and all of them showed a boot time that exceeded the timeout
=Change Description=
this change creates a test that measures the target boot time against the unit timeout default, which is 90 seconds. If the booting time exceeded 90 seconds then the test fails
the tests that check for systemd services are now dependant upon this test, if the boot time test fails then the tests that check services will be skipped
Benjamin Esquivel (2):
systemd: test target boot time against unit timeout
systemd: skip service tests on long boot times
meta/lib/oeqa/runtime/systemd.py | 83 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 78 insertions(+), 5 deletions(-)
Signature · 1 line
1.8.4.5