[ARVADOS] created: 1.1.4-26-ge0aff8f

Git user git at public.curoverse.com
Wed Apr 11 15:58:07 EDT 2018


        at  e0aff8f82a3ab460cb32aa6436c317ae7634dbe0 (commit)


commit e0aff8f82a3ab460cb32aa6436c317ae7634dbe0
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Wed Apr 11 15:54:15 2018 -0400

    13348: Don't submit child jobs/containers with submit=True.
    
    Fixes infinite recursion.
    
    see a82b39e1849a67854cb3399a4660b77548edd580
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/sdk/cwl/arvados_cwl/__init__.py b/sdk/cwl/arvados_cwl/__init__.py
index c2f43fe..be093d7 100644
--- a/sdk/cwl/arvados_cwl/__init__.py
+++ b/sdk/cwl/arvados_cwl/__init__.py
@@ -507,7 +507,9 @@ class ArvCwlRunner(object):
             logger.info("Pipeline instance %s", self.pipeline["uuid"])
 
         if runnerjob and not kwargs.get("wait"):
-            runnerjob.run(**kwargs)
+            submitargs = kwargs.copy()
+            submitargs['submit'] = False
+            runnerjob.run(**submitargs)
             return (runnerjob.uuid, "success")
 
         self.poll_api = arvados.api('v1')

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list