[ARVADOS] updated: ebc1f7caa608dcba2a1d9f5a33d8fab7ffc80fa2

Git user git at public.curoverse.com
Wed Dec 28 11:55:18 EST 2016


Summary of changes:
 sdk/cwl/arvados_cwl/arvcontainer.py  | 3 +++
 sdk/cwl/arvados_cwl/crunch_script.py | 2 +-
 sdk/cwl/arvados_cwl/runner.py        | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

       via  ebc1f7caa608dcba2a1d9f5a33d8fab7ffc80fa2 (commit)
      from  598ebc54f5d611ca57e281b359d6c26b297562b5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit ebc1f7caa608dcba2a1d9f5a33d8fab7ffc80fa2
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Dec 28 11:13:56 2016 -0500

    10497: Increase number of log lines shown by runner.  Turn off 'debug' mode on crunch script.

diff --git a/sdk/cwl/arvados_cwl/arvcontainer.py b/sdk/cwl/arvados_cwl/arvcontainer.py
index a0c2e59..d6e3098 100644
--- a/sdk/cwl/arvados_cwl/arvcontainer.py
+++ b/sdk/cwl/arvados_cwl/arvcontainer.py
@@ -252,6 +252,9 @@ class RunnerContainer(Runner):
         if self.output_tags:
             command.append("--output-tags=" + self.output_tags)
 
+        if kwargs.get("debug"):
+            command.append("--debug")
+
         if self.enable_reuse:
             command.append("--enable-reuse")
         else:
diff --git a/sdk/cwl/arvados_cwl/crunch_script.py b/sdk/cwl/arvados_cwl/crunch_script.py
index 570f686..4b1b428 100644
--- a/sdk/cwl/arvados_cwl/crunch_script.py
+++ b/sdk/cwl/arvados_cwl/crunch_script.py
@@ -88,7 +88,7 @@ def run():
         args.project_uuid = arvados.current_job()["owner_uuid"]
         args.enable_reuse = enable_reuse
         args.submit = False
-        args.debug = True
+        args.debug = False
         args.quiet = False
         args.ignore_docker_for_reuse = False
         args.basedir = os.getcwd()
diff --git a/sdk/cwl/arvados_cwl/runner.py b/sdk/cwl/arvados_cwl/runner.py
index eaa69c4..144fd53 100644
--- a/sdk/cwl/arvados_cwl/runner.py
+++ b/sdk/cwl/arvados_cwl/runner.py
@@ -225,7 +225,7 @@ class Runner(object):
                                                            api_client=self.arvrunner.api,
                                                            keep_client=self.arvrunner.keep_client,
                                                            num_retries=self.arvrunner.num_retries)
-                done.logtail(logc, logger, "%s error log:" % self.arvrunner.label(self))
+                done.logtail(logc, logger, "%s error log:" % self.arvrunner.label(self), maxlen=40)
 
             self.final_output = record["output"]
             outc = arvados.collection.CollectionReader(self.final_output,

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list