X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7fec33bab2fb68405a1c641d3cd956d21487e14b..refs/heads/20455-noopener:/sdk/cwl/arvados_cwl/executor.py diff --git a/sdk/cwl/arvados_cwl/executor.py b/sdk/cwl/arvados_cwl/executor.py index 330dba3dbe..2db6a9bfe2 100644 --- a/sdk/cwl/arvados_cwl/executor.py +++ b/sdk/cwl/arvados_cwl/executor.py @@ -603,6 +603,8 @@ The 'jobs' API is no longer supported. if git_info[g]: logger.info(" %s: %s", g.split("#", 1)[1], git_info[g]) + runtimeContext.git_info = git_info + workbench1 = self.api.config()["Services"]["Workbench1"]["ExternalURL"] workbench2 = self.api.config()["Services"]["Workbench2"]["ExternalURL"] controller = self.api.config()["Services"]["Controller"]["ExternalURL"] @@ -729,7 +731,7 @@ The 'jobs' API is no longer supported. if runtimeContext.print_keep_deps: # Just find and print out all the collection dependencies and exit - print_keep_deps(tool) + print_keep_deps(self, runtimeContext, merged_map, tool) return (None, "success") # Did not register a workflow, we're going to submit @@ -874,7 +876,8 @@ The 'jobs' API is no longer supported. if (self.task_queue.in_flight + len(self.processes)) > 0: self.workflow_eval_lock.wait(3) else: - logger.error("Workflow is deadlocked, no runnable processes and not waiting on any pending processes.") + if self.final_status is None: + logger.error("Workflow is deadlocked, no runnable processes and not waiting on any pending processes.") break if self.stop_polling.is_set():