From c0fac5287254b203a5ea26ffffa07a09e465bbc3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 7 Mar 2018 10:23:43 +0100 Subject: [PATCH] Add some debug code --- src/hydra-queue-runner/dispatcher.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/hydra-queue-runner/dispatcher.cc b/src/hydra-queue-runner/dispatcher.cc index d6b49e71..531c6b46 100644 --- a/src/hydra-queue-runner/dispatcher.cc +++ b/src/hydra-queue-runner/dispatcher.cc @@ -246,7 +246,11 @@ system_time State::doDispatch() auto & step(stepInfo.step); /* Can this machine do this step? */ - if (!mi.machine->supportsStep(step)) continue; + if (!mi.machine->supportsStep(step)) { + debug("machine '%s' does not support step '%s' (system type '%s')", + mi.machine->sshName, step->drvPath, step->drv.platform); + continue; + } /* Let's do this step. Remove it from the runnable list. FIXME: O(n). */