[ARVADOS] updated: 734335da27f27e2177d3b931b1e5e9e8e83a042f

Git user git at public.curoverse.com
Fri Oct 28 14:35:55 EDT 2016


Summary of changes:
 COPYING                                            | 14 ++--
 .../app/assets/javascripts/work_unit_component.js  | 18 +++++
 .../app/controllers/work_units_controller.rb       | 54 +++++++++++++
 apps/workbench/app/models/container.rb             |  2 +-
 apps/workbench/app/models/container_request.rb     |  2 +-
 apps/workbench/app/models/container_work_unit.rb   |  6 +-
 apps/workbench/app/models/job.rb                   |  2 +-
 apps/workbench/app/models/job_task.rb              |  2 +-
 apps/workbench/app/models/pipeline_instance.rb     |  2 +-
 .../app/models/pipeline_instance_work_unit.rb      |  4 +-
 apps/workbench/app/models/proxy_work_unit.rb       |  9 ++-
 apps/workbench/app/models/work_unit.rb             |  4 +
 .../pipeline_instances/_show_components.html.erb   |  2 +-
 .../views/work_units/_component_detail.html.erb    | 28 ++++++-
 .../app/views/work_units/_show_child.html.erb      | 29 ++-----
 .../app/views/work_units/_show_component.html.erb  | 47 +----------
 .../app/views/work_units/_show_status.html.erb     |  2 +-
 apps/workbench/config/routes.rb                    |  4 +-
 .../test/controllers/work_units_controller_test.rb | 23 ------
 apps/workbench/test/integration/jobs_test.rb       |  2 +-
 apps/workbench/test/integration/work_units_test.rb | 25 ++++++
 .../test-package-python-arvados-cwl-runner.sh      |  1 +
 .../test-package-python-arvados-fuse.sh            |  1 +
 .../test-package-python-arvados-python-client.sh   |  1 +
 ...t-package-python27-python-arvados-cwl-runner.sh |  6 ++
 ...ackage-python27-python-arvados-python-client.sh |  2 +-
 build/run-build-docker-images.sh                   |  2 +-
 build/run-build-docker-jobs-image.sh               | 69 ++++++++++++----
 build/run-build-packages.sh                        |  8 +-
 build/run-library.sh                               | 12 ++-
 docker/jobs/Dockerfile                             | 12 ++-
 sdk/cli/bin/crunch-job                             |  2 +-
 sdk/cwl/arvados_cwl/__init__.py                    | 33 ++++++--
 sdk/cwl/arvados_cwl/arvcontainer.py                | 21 +++--
 sdk/cwl/arvados_cwl/arvdocker.py                   | 14 ++--
 sdk/cwl/arvados_cwl/arvjob.py                      | 28 +++----
 sdk/cwl/arvados_cwl/crunch_script.py               | 19 ++---
 sdk/cwl/arvados_cwl/runner.py                      |  8 ++
 sdk/cwl/gittaggers.py                              | 38 ++++++++-
 sdk/cwl/setup.py                                   | 15 ++++
 sdk/cwl/tests/test_job.py                          | 36 ++++++---
 sdk/cwl/tests/test_submit.py                       | 17 ++--
 sdk/python/arvados/arvfile.py                      |  7 +-
 .../arvados/v1/containers_controller.rb            | 17 ++++
 services/api/app/models/container.rb               | 48 ++++++++---
 services/api/config/routes.rb                      |  1 +
 .../test/fixtures/api_client_authorizations.yml    | 14 ++++
 services/api/test/fixtures/collections.yml         | 13 +++
 services/api/test/fixtures/containers.yml          |  4 +-
 .../arvados/v1/containers_controller_test.rb       | 19 +++++
 services/api/test/unit/container_request_test.rb   |  2 +-
 services/api/test/unit/container_test.rb           | 92 ++++++++++++++++++----
 services/crunch-run/crunchrun.go                   | 15 ++++
 services/crunch-run/crunchrun_test.go              | 49 ++++++++++++
 services/fuse/arvados_fuse/__init__.py             | 14 ++++
 services/fuse/tests/integration_test.py            |  1 -
 services/fuse/tests/test_mount.py                  | 34 --------
 services/fuse/tests/test_token_expiry.py           | 68 ++++++++++++++++
 services/login-sync/bin/arvados-login-sync         | 56 +++++++++----
 services/login-sync/test/test_add_user.rb          |  2 +-
 tools/arvbox/bin/arvbox                            | 27 +++++--
 tools/arvbox/lib/arvbox/docker/Dockerfile.base     | 20 ++++-
 tools/arvbox/lib/arvbox/docker/Dockerfile.demo     |  2 +-
 tools/arvbox/lib/arvbox/docker/Dockerfile.dev      | 11 +--
 tools/arvbox/lib/arvbox/docker/common.sh           |  7 +-
 .../lib/arvbox/docker/service/sdk/run-service      |  8 +-
 66 files changed, 825 insertions(+), 332 deletions(-)
 create mode 100644 apps/workbench/app/assets/javascripts/work_unit_component.js
 create mode 120000 build/package-testing/test-package-python-arvados-cwl-runner.sh
 create mode 120000 build/package-testing/test-package-python-arvados-fuse.sh
 create mode 120000 build/package-testing/test-package-python-arvados-python-client.sh
 create mode 100755 build/package-testing/test-package-python27-python-arvados-cwl-runner.sh
 mode change 120000 => 100644 sdk/cwl/gittaggers.py
 create mode 100644 services/fuse/tests/test_token_expiry.py

       via  734335da27f27e2177d3b931b1e5e9e8e83a042f (commit)
       via  5c05b488a1f2318e73780b67f6f654b4a12c32b3 (commit)
       via  ceec074ede6c1e4d8e588ee66dbb6704bf903b68 (commit)
       via  7898b516dfc7e5e9177753d5bcdfc980dc055308 (commit)
       via  0066dc77abc461090fe98bcee7c6e324a5ca43a1 (commit)
       via  07b6eaeada7c10c3efb9b917579c474bd66685b0 (commit)
       via  40cad1b6c6b969c78fb415ee7be59dac32c45891 (commit)
       via  85292497b7a89b9a0681fc38d307eea26681924c (commit)
       via  8d6ffdf2fba938e7fbb5f128664d828d2669bcfe (commit)
       via  c95fd352d669bc65c0dbc9970ca11291cc933577 (commit)
       via  f830fb6b5a8113aabe6a377cadbb50dc52d5d1e0 (commit)
       via  4304baee8e6cc9483a0cae397149526a0e8356fb (commit)
       via  28e0fb829175415c533ea783d90ade8a39bdb236 (commit)
       via  9ac31a42d4c777c158b2b9a7623194217d7a0772 (commit)
       via  182dd3521c1ea587a94ed2bfa4e1a3e935d493c7 (commit)
       via  4b037a38dbe848a77224dd05dd035736b5d0c0c1 (commit)
       via  7bf89e17945bb6610d6339409a6a411803851434 (commit)
       via  5015b0a3ab4ba407b162abf673d114924ca86c92 (commit)
       via  b4e586171f3fa3eab6b11f4fa4c71c346b2812e7 (commit)
       via  f6288c66e7ae5a2c736e1c9897acedf6d35b0a10 (commit)
       via  4c86081e1ee5149f09f05cd3b77e59fc652d4ab3 (commit)
       via  cd0052e87bfa9d7e3d501427c7ff47e08c68d8d5 (commit)
       via  b73985d8a0c9173aec57f6a81fe540b2813a5bff (commit)
       via  dfe0ec7bfec3fd72cd40d3962e5c8af08d2413d2 (commit)
       via  6349237efb19ca7fcad94333090d694fda3d4374 (commit)
       via  842850ea58a856b93755d5f8990e7473cb034504 (commit)
       via  2431a079d91545770bc931fc03afbca81dfa2004 (commit)
       via  670b4ba238d93910ff087794d359da0d5ac469fa (commit)
       via  e8a76617eeec9429ddf7879048a310ba6e15e0d8 (commit)
       via  a70a555fbd30524568a0e019df184468f28556f0 (commit)
       via  6362c17d947b16db1e2b71f7a06da9c930ef9778 (commit)
       via  f61a39eb70046280bd4611ea2dad38a5602303dc (commit)
       via  b8a53fdbe406c1c46ba39facccec63c5055001bf (commit)
       via  91dc5f1d7f5ad9eb2640f6089e2d0476cbf87c8e (commit)
       via  68387de8c5b5c5950f2e10d315172658297835b9 (commit)
       via  9290528fb9700db4541ebe29c94eda3503f509f4 (commit)
       via  d6e4e65cf3aae701c3e02a814329757e869a1d6d (commit)
       via  e14484fbba64222e4b32c353e3ea057c6f10acd0 (commit)
       via  4d59e4f59204ff6e278ad7f37b55ead3911412e1 (commit)
       via  617ef14a3f2fac4dad5f699af7000187143ebbe3 (commit)
       via  0e5198142fdba0ce2af6eb2852d45dff46ffb2e2 (commit)
       via  3d984f3ee6182391094ece7e32d61c40be7ba903 (commit)
       via  754913fc3e5037903048863f5545c9512fbf7bfc (commit)
       via  1f208cec34df32a83683110b552a1f62767a4852 (commit)
       via  e8e45c5267f216909382aad7fc976dca82008284 (commit)
       via  cde03921959a7edbac9f6e969b3b8b99ee3c5b86 (commit)
       via  957068e7b647db0bf2188b2c9ed4bc673f0744f2 (commit)
       via  162766a3f8e91024f0f40fbc3d5955b899df73a9 (commit)
       via  f99aa5b85a1aa3bff1f1140f6a109fd308b03d30 (commit)
       via  e144534106f2031b4a9bec0d80eebf094e33a285 (commit)
       via  1658a97ba74320c2da1bed1d5fbfbaa767203e1c (commit)
       via  b8573fab8e641eab5adc123e9f335510bff65172 (commit)
       via  9aecc4974eecdfaf94db275112c2a37601802fe7 (commit)
       via  f0bc71892f7ba3b2bb42e96598302676faa4a652 (commit)
       via  61060582be06315a7a44347acbab9613bf1c4c93 (commit)
       via  d71020ac08d7b6e84d2d8f8d2c9b22d512144baa (commit)
       via  23a37f77f36717f60884c2b8054a9670b35e611b (commit)
       via  b1158db281c2107b191ddd41dd6b20f32ff04940 (commit)
       via  ed16f0c1f600acd7bab81796ec22fde90ecdfa7f (commit)
       via  17f2b714df870dffc6320173d6a2348243ff7992 (commit)
      from  95fc98726d64c71ed0b3a8c2270ee62c1c5d1bb5 (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 734335da27f27e2177d3b931b1e5e9e8e83a042f
Merge: 5c05b48 ceec074
Author: Lucas Di Pentima <lucas at curoverse.com>
Date:   Fri Oct 28 15:35:19 2016 -0300

    10315: Merge branch 'master' into 10315-new-arv-put-performance


commit 5c05b488a1f2318e73780b67f6f654b4a12c32b3
Author: Lucas Di Pentima <lucas at curoverse.com>
Date:   Fri Oct 28 15:33:03 2016 -0300

    10315: Moved conditional on pending write size checking

diff --git a/sdk/python/arvados/arvfile.py b/sdk/python/arvados/arvfile.py
index 7ee028d..610fd7d 100644
--- a/sdk/python/arvados/arvfile.py
+++ b/sdk/python/arvados/arvfile.py
@@ -576,10 +576,9 @@ class _BlockManager(object):
 
             # Update the pending write size count with its true value, just in case
             # some small file was opened, written and closed several times.
-            if not force:
-                self._pending_write_size = sum([b.size() for b in small_blocks])
-                if self._pending_write_size < config.KEEP_BLOCK_SIZE:
-                    return
+            self._pending_write_size = sum([b.size() for b in small_blocks])
+            if self._pending_write_size < config.KEEP_BLOCK_SIZE and not force:
+                return
 
             new_bb = self._alloc_bufferblock()
             while len(small_blocks) > 0 and (new_bb.write_pointer + small_blocks[0].size()) <= config.KEEP_BLOCK_SIZE:

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list