summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2016-03-30 14:21:41 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-30 21:32:11 +0100
commit04b8fcc95f339282edc9ab405d0ba0e51dbc1d91 (patch)
tree4a1e1a17f51444ac5cda67b353ae07b8f2585af2
parentb54b73834e73d55de1038b55d0a4d7f49cda52d0 (diff)
downloadopenembedded-core-contrib-04b8fcc95f339282edc9ab405d0ba0e51dbc1d91.tar.gz
openembedded-core-contrib-04b8fcc95f339282edc9ab405d0ba0e51dbc1d91.tar.bz2
openembedded-core-contrib-04b8fcc95f339282edc9ab405d0ba0e51dbc1d91.zip
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@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/runtime/parselogs.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py
index 4def53327c..dec9ebe874 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 = ""