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-31 09:15:05 +0100
commitab5c62ea0db5f4e2c5ae79707b267bf0a2df3365 (patch)
treecd66d79c350584fe2100fd8cb25507b889d5e942
parent9be3fb25609a1bbf8aabadd67088e92097727c60 (diff)
downloadpoky-ab5c62ea0db5f4e2c5ae79707b267bf0a2df3365.tar.gz
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>
-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):
131 @classmethod 131 @classmethod
132 def setUpClass(self): 132 def setUpClass(self):
133 self.errors = errors 133 self.errors = errors
134
135 # When systemd is enabled we need to notice errors on
136 # circular dependencies in units.
137 if self.hasFeature("systemd"):
138 self.errors.extend([
139 'Found ordering cycle on',
140 'Breaking ordering cycle by deleting job',
141 'deleted to break ordering cycle',
142 'Ordering cycle found, skipping',
143 ])
144
134 self.ignore_errors = ignore_errors 145 self.ignore_errors = ignore_errors
135 self.log_locations = log_locations 146 self.log_locations = log_locations
136 self.msg = "" 147 self.msg = ""