From 614100163ddb5e800567cc75f29bfde76239d8f0 Mon Sep 17 00:00:00 2001 From: Lubos Kocman Date: Oct 17 2016 12:52:14 +0000 Subject: Transition module build to failed if PDC wasn't updated This allows resume... otherwise we're stuck in building. Signed-off-by: Lubos Kocman Signed-off-by: Nils Philippsen --- diff --git a/rida/scheduler/handlers/modules.py b/rida/scheduler/handlers/modules.py index f7917a2..41e073a 100644 --- a/rida/scheduler/handlers/modules.py +++ b/rida/scheduler/handlers/modules.py @@ -106,7 +106,7 @@ def wait(config, session, msg): dependencies, tag = _get_deps_and_tag() except ValueError: log.exception("Failed to get module info from PDC. Max retries reached.") - build.transition(config, state="build") # Wait for the buildroot to be ready.a + build.transition(config, state="failed") session.commit() raise