mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
oeqa/runtime/parselogs.py: Add systemd unit circular dependencies errors.
When systemd is enabled as init we need to notice when circular dependencies in units happen because systemd try to solve this situation removing the unit itself. (From OE-Core rev: 04b8fcc95f339282edc9ab405d0ba0e51dbc1d91) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9be3fb2560
commit
ab5c62ea0d
|
|
@ -131,6 +131,17 @@ class ParseLogsTest(oeRuntimeTest):
|
|||
@classmethod
|
||||
def setUpClass(self):
|
||||
self.errors = errors
|
||||
|
||||
# When systemd is enabled we need to notice errors on
|
||||
# circular dependencies in units.
|
||||
if self.hasFeature("systemd"):
|
||||
self.errors.extend([
|
||||
'Found ordering cycle on',
|
||||
'Breaking ordering cycle by deleting job',
|
||||
'deleted to break ordering cycle',
|
||||
'Ordering cycle found, skipping',
|
||||
])
|
||||
|
||||
self.ignore_errors = ignore_errors
|
||||
self.log_locations = log_locations
|
||||
self.msg = ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user