All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] adding runtest/systemd boot time test
@ 2015-10-22 22:45 Benjamin Esquivel
  2015-10-22 22:45 ` [PATCH 1/2] systemd: test target boot time against unit timeout Benjamin Esquivel
  2015-10-22 22:45 ` [PATCH 2/2] systemd: skip service tests on long boot times Benjamin Esquivel
  0 siblings, 2 replies; 5+ messages in thread
From: Benjamin Esquivel @ 2015-10-22 22:45 UTC (permalink / raw)
  To: openembedded-core; +Cc: brian.avery, randy.e.witt

=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(-)

-- 
1.8.4.5



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-23 16:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-22 22:45 [PATCH 0/2] adding runtest/systemd boot time test Benjamin Esquivel
2015-10-22 22:45 ` [PATCH 1/2] systemd: test target boot time against unit timeout Benjamin Esquivel
     [not found]   ` <D24EB9A9.3F537%brian.avery@intel.com>
2015-10-23 15:57     ` Benjamin Esquivel
2015-10-23 16:23       ` Brian Avery
2015-10-22 22:45 ` [PATCH 2/2] systemd: skip service tests on long boot times Benjamin Esquivel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.