[oe-commits] [openembedded-core] 02/03: oeqa/runtime/parselogs.py: Add systemd unit circular dependencies errors.
git at git.openembedded.org
git at git.openembedded.org
Wed Mar 30 20:35:23 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 04b8fcc95f339282edc9ab405d0ba0e51dbc1d91
Author: Aníbal Limón <anibal.limon at linux.intel.com>
AuthorDate: Wed Mar 30 14:21:41 2016 -0600
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.
Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/lib/oeqa/runtime/parselogs.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py
index 4def533..dec9ebe 100644
--- a/meta/lib/oeqa/runtime/parselogs.py
+++ b/meta/lib/oeqa/runtime/parselogs.py
@@ -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 = ""
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list