https://bugzilla.gnome.org/show_bug.cgi?id=723868""")
return Result.KNOWN_ERROR
+ self.set_result(Result.FAILED, "Pipeline did not stop 30 Seconds after sending EOS")
+
return Result.FAILED
return self.get_current_position()
https://bugzilla.gnome.org/show_bug.cgi?id=723868""")
return Result.KNOWN_ERROR
+ self.set_result(Result.FAILED, "Pipeline did not stop 30 Seconds after sending EOS")
return Result.FAILED
break
continue
elif val is Result.FAILED:
- self.set_result(Result.FAILED)
break
elif val is Result.KNOWN_ERROR:
break
self.set_result(Result.TIMEOUT)
break
elif self.hard_timeout and time.time() - start_ts > self.hard_timeout:
- self.set_result(Result.TIMEOUT)
+ self.set_result(Result.TIMEOUT, "Hard timeout reached: %d", self.hard_timeout)
break
else:
last_change_ts = time.time()
Loggable.__init__(cls._instance)
return cls._instance
+
def _discover_scenarios(self):
scenario_defs = os.path.join(self.config.main_dir, "scenarios.def")
try: