arvados.git
6 years ago9005: Modify default transport instead of building from scratch.
Tom Clegg [Wed, 31 May 2017 20:12:44 +0000 (16:12 -0400)]
9005: Modify default transport instead of building from scratch.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curoverse.com>

6 years ago9005: Remove periodic CloseIdleConnections().
Tom Clegg [Wed, 31 May 2017 19:46:29 +0000 (15:46 -0400)]
9005: Remove periodic CloseIdleConnections().

This is unnecessary now that the transport has a non-zero
IdleConnTimeout.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curoverse.com>

6 years ago9005: Copy default transport if possible. Move magics to consts.
Tom Clegg [Wed, 31 May 2017 19:03:10 +0000 (15:03 -0400)]
9005: Copy default transport if possible. Move magics to consts.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curoverse.com>

6 years ago9005: Share http Transports and Clients across KeepClients.
Tom Clegg [Mon, 29 May 2017 22:15:24 +0000 (18:15 -0400)]
9005: Share http Transports and Clients across KeepClients.

6 years agoFix crunch script to set trash_intermediate and intermediate_output_ttl refs #11100
Peter Amstutz [Fri, 26 May 2017 20:22:10 +0000 (16:22 -0400)]
Fix crunch script to set trash_intermediate and intermediate_output_ttl refs #11100

6 years agoMerge branch '11767-slurm-units' refs #11767
Peter Amstutz [Fri, 26 May 2017 19:32:46 +0000 (15:32 -0400)]
Merge branch '11767-slurm-units' refs #11767

6 years ago11767: Test cases that it will convert fractional values from squeue.
Peter Amstutz [Fri, 26 May 2017 19:31:57 +0000 (15:31 -0400)]
11767: Test cases that it will convert fractional values from squeue.

6 years ago11767: Slurm apparently will print out half values (like 2.5G).
Peter Amstutz [Fri, 26 May 2017 19:25:56 +0000 (15:25 -0400)]
11767: Slurm apparently will print out half values (like 2.5G).

6 years ago11767: Recognize lowercase suffixes, just in case future versions of slurm
Peter Amstutz [Fri, 26 May 2017 19:14:12 +0000 (15:14 -0400)]
11767: Recognize lowercase suffixes, just in case future versions of slurm
change the format again.

6 years ago11767: Correctly parse values with unit suffixes printed by squeue.
Peter Amstutz [Fri, 26 May 2017 18:48:16 +0000 (14:48 -0400)]
11767: Correctly parse values with unit suffixes printed by squeue.

6 years agoMerge branch '11100-cwl-set-output-ttl' closes #11100
Peter Amstutz [Fri, 26 May 2017 18:21:34 +0000 (14:21 -0400)]
Merge branch '11100-cwl-set-output-ttl' closes #11100

6 years agoMerge branch 'master' into 11100-cwl-set-output-ttl
Peter Amstutz [Fri, 26 May 2017 18:21:01 +0000 (14:21 -0400)]
Merge branch 'master' into 11100-cwl-set-output-ttl

6 years ago11100: Fix test
Peter Amstutz [Fri, 26 May 2017 16:13:25 +0000 (12:13 -0400)]
11100: Fix test

6 years ago11100: Add ciso8601 dependency
Peter Amstutz [Fri, 26 May 2017 15:06:35 +0000 (11:06 -0400)]
11100: Add ciso8601 dependency

6 years ago11100: Add test for --trash-intermediate. Add log message when intermediate
Peter Amstutz [Fri, 26 May 2017 14:42:47 +0000 (10:42 -0400)]
11100: Add test for --trash-intermediate.  Add log message when intermediate
outputs are scheduled for trash.

6 years agocloses #11362 Merge branch '11362-missing-input-sdk/cwl'
Jiayong Li [Fri, 26 May 2017 01:49:26 +0000 (21:49 -0400)]
closes #11362 Merge branch '11362-missing-input-sdk/cwl'

6 years agoChange visit in pathmapper.py to raise OSError if input file is not found, change...
Jiayong Li [Fri, 26 May 2017 01:47:59 +0000 (21:47 -0400)]
Change visit in pathmapper.py to raise OSError if input file is not found, change test_pathmapper.py to test it, and update python client version in setup.py

6 years agorefs #11362 Merge branch '11362-missing-input-sdk/python'
Jiayong Li [Fri, 26 May 2017 01:38:12 +0000 (21:38 -0400)]
refs #11362 Merge branch '11362-missing-input-sdk/python'

6 years agoChange statfile in run.py to be able to raise OSError, and change the mock in test_pa...
Jiayong Li [Fri, 26 May 2017 01:36:51 +0000 (21:36 -0400)]
Change statfile in run.py to be able to raise OSError, and change the mock in test_pathmapper.py accordingly

6 years agoMerge branch '11501-job-stats-discrepancy'
Lucas Di Pentima [Wed, 24 May 2017 18:10:53 +0000 (15:10 -0300)]
Merge branch '11501-job-stats-discrepancy'
Closes #11501

6 years ago11501: Simplified helper method call. Changed wording of run time description.
Lucas Di Pentima [Wed, 24 May 2017 16:51:47 +0000 (13:51 -0300)]
11501: Simplified helper method call. Changed wording of run time description.

6 years agoMerge branch '11543-collection-per-tool' closes #11543
Peter Amstutz [Wed, 24 May 2017 14:56:49 +0000 (10:56 -0400)]
Merge branch '11543-collection-per-tool' closes #11543

6 years ago11100: Separate "trash intermediate on success" behavior from "output intermediate...
Peter Amstutz [Wed, 24 May 2017 14:36:40 +0000 (10:36 -0400)]
11100: Separate "trash intermediate on success" behavior from "output intermediate TTL" option.  Update documentation.

6 years ago11501: Don't filter out reused children when calculating running time.
Lucas Di Pentima [Wed, 24 May 2017 13:47:56 +0000 (10:47 -0300)]
11501: Don't filter out reused children when calculating running time.
Use always wall time when saying how much time passed after completion/failure.

6 years ago11501: When calculating a work unit's running time, only include 'leaf' children...
Lucas Di Pentima [Tue, 23 May 2017 23:11:14 +0000 (20:11 -0300)]
11501: When calculating a work unit's running time, only include 'leaf' children, filtering those that were reused.

6 years ago11543: Bump version dependency on arvados-python-client.
Peter Amstutz [Tue, 23 May 2017 19:53:10 +0000 (15:53 -0400)]
11543: Bump version dependency on arvados-python-client.

6 years ago11543: Upload tool dependencies into single collection. Add test for collection...
Peter Amstutz [Wed, 17 May 2017 13:03:18 +0000 (09:03 -0400)]
11543: Upload tool dependencies into single collection.  Add test for collection per tool.  Fix other tests.

6 years agoMerge branch '11543-uploadfile-collection' refs #11543
Peter Amstutz [Tue, 23 May 2017 19:52:05 +0000 (15:52 -0400)]
Merge branch '11543-uploadfile-collection' refs #11543

6 years ago11543: arvados.command.run.uploadfiles takes optional Collection to upload to.
Peter Amstutz [Wed, 17 May 2017 13:03:18 +0000 (09:03 -0400)]
11543: arvados.command.run.uploadfiles takes optional Collection to upload to.

6 years ago11501: Merge branch 'master' into 11501-job-stats-discrepancy
Lucas Di Pentima [Tue, 23 May 2017 14:26:33 +0000 (11:26 -0300)]
11501: Merge branch 'master' into 11501-job-stats-discrepancy

6 years ago11100: Update/add tests for --intermediate-output-ttl
Peter Amstutz [Mon, 22 May 2017 20:08:49 +0000 (16:08 -0400)]
11100: Update/add tests for --intermediate-output-ttl

6 years ago11100: Implement & document arv:IntermediateOutput hint.
Peter Amstutz [Mon, 22 May 2017 18:32:08 +0000 (14:32 -0400)]
11100: Implement & document arv:IntermediateOutput hint.

6 years ago11100: Propagate through to runner. Use intermediate_output_ttl consistently.
Peter Amstutz [Mon, 22 May 2017 17:06:39 +0000 (13:06 -0400)]
11100: Propagate through to runner.  Use intermediate_output_ttl consistently.

6 years ago11100: a-c-r sets output_ttl and deletes intermediate collections on success.
Peter Amstutz [Fri, 31 Mar 2017 21:49:38 +0000 (17:49 -0400)]
11100: a-c-r sets output_ttl and deletes intermediate collections on success.

6 years ago11501: Fix some tests when trying to use the walltime method on show_runtime.
Lucas Di Pentima [Mon, 22 May 2017 15:41:41 +0000 (12:41 -0300)]
11501: Fix some tests when trying to use the walltime method on show_runtime.

6 years ago11501: Improved test name
Lucas Di Pentima [Mon, 22 May 2017 15:40:57 +0000 (12:40 -0300)]
11501: Improved test name

6 years agoMerge branch '11369-crunchv2-notes' refs #11369
Peter Amstutz [Mon, 22 May 2017 15:10:50 +0000 (11:10 -0400)]
Merge branch '11369-crunchv2-notes' refs #11369

6 years ago11369: Add migration notes about crunchv1-to-crunchv2
Peter Amstutz [Mon, 22 May 2017 14:57:35 +0000 (10:57 -0400)]
11369: Add migration notes about crunchv1-to-crunchv2

6 years agoMerge branch '11720-govendor'
Tom Clegg [Sun, 21 May 2017 18:33:08 +0000 (14:33 -0400)]
Merge branch '11720-govendor'

closes #11720

6 years agoMerge branch '11590-log-reuse'
Tom Clegg [Fri, 19 May 2017 23:36:56 +0000 (19:36 -0400)]
Merge branch '11590-log-reuse'

closes #11590

6 years agoMerge branch '9005-disable-keepalive'
Tom Clegg [Fri, 19 May 2017 23:17:22 +0000 (19:17 -0400)]
Merge branch '9005-disable-keepalive'

refs #9005
refs #11726
refs #11729

6 years ago9005: 11726: 11729: Disable http keepalive.
Tom Clegg [Fri, 19 May 2017 23:11:05 +0000 (19:11 -0400)]
9005: 11726: 11729: Disable http keepalive.

The previous workaround for #9005 did not account for the prefetch
feature: if a goroutine is using the HTTP client to prefetch data at
the moment the handler exits, CloseIdleConnections() does not close
that connection, so it stays open indefinitely.

6 years ago11501: A work unit running time with children was only computed calculating its direct
Lucas Di Pentima [Fri, 19 May 2017 22:07:08 +0000 (19:07 -0300)]
11501: A work unit running time with children was only computed calculating its direct
childs, so if a work unit child has more children, its running time could differ.

6 years agoMerge branch '9005-conn-leak'
Tom Clegg [Fri, 19 May 2017 20:23:39 +0000 (16:23 -0400)]
Merge branch '9005-conn-leak'

refs #9005

6 years ago9005: Fix missing error checks.
Tom Clegg [Fri, 19 May 2017 19:55:40 +0000 (15:55 -0400)]
9005: Fix missing error checks.

6 years ago9005: Fix missing Close().
Tom Clegg [Fri, 19 May 2017 19:55:22 +0000 (15:55 -0400)]
9005: Fix missing Close().

6 years agocloses #11710
radhika [Fri, 19 May 2017 19:34:32 +0000 (15:34 -0400)]
closes #11710
Merge branch '11710-container-request-show-perf'

6 years ago11710: fix typo in finding children
radhika [Fri, 19 May 2017 18:30:58 +0000 (14:30 -0400)]
11710: fix typo in finding children

6 years ago11710: fetching requesting containers
radhika [Thu, 18 May 2017 19:38:52 +0000 (15:38 -0400)]
11710: fetching requesting containers

6 years ago11710: preload / batch retrieval of children of a container_work_unit
radhika [Thu, 18 May 2017 15:42:25 +0000 (11:42 -0400)]
11710: preload / batch retrieval of children of a container_work_unit

6 years ago9005: Remove debug printf.
Tom Clegg [Fri, 19 May 2017 17:47:52 +0000 (13:47 -0400)]
9005: Remove debug printf.

6 years ago11590: Dry up log_reuse_info() calls.
Tom Clegg [Thu, 18 May 2017 21:25:20 +0000 (17:25 -0400)]
11590: Dry up log_reuse_info() calls.

6 years agorefs #9587
radhika [Thu, 18 May 2017 19:46:15 +0000 (15:46 -0400)]
refs #9587
Merge branch '9587-include-trash-in-group-contents'

6 years ago9587: add support for include_trash in groups_controller -> contents method
radhika [Thu, 18 May 2017 01:47:52 +0000 (21:47 -0400)]
9587: add support for include_trash in groups_controller -> contents method

6 years ago11590: Add container logging tests.
Tom Clegg [Thu, 18 May 2017 18:53:38 +0000 (14:53 -0400)]
11590: Add container logging tests.

6 years agoMerge branch '11644-mounts-api'
Tom Clegg [Thu, 18 May 2017 18:45:00 +0000 (14:45 -0400)]
Merge branch '11644-mounts-api'

closes #11644

6 years ago11644: Add DeviceID() to Volume interface.
Tom Clegg [Thu, 18 May 2017 17:26:36 +0000 (13:26 -0400)]
11644: Add DeviceID() to Volume interface.

6 years ago11644: Unify block-index handlers. Move prefix arg to query string.
Tom Clegg [Thu, 18 May 2017 17:22:54 +0000 (13:22 -0400)]
11644: Unify block-index handlers. Move prefix arg to query string.

6 years ago11590: Log container reuse decisions.
Tom Clegg [Thu, 18 May 2017 16:19:13 +0000 (12:19 -0400)]
11590: Log container reuse decisions.

6 years agoMerge branch '11590-log-reuse'
Tom Clegg [Thu, 18 May 2017 14:26:53 +0000 (10:26 -0400)]
Merge branch '11590-log-reuse'

refs #11590

6 years ago11590: Clarify "job state" condition in log message.
Tom Clegg [Thu, 18 May 2017 14:26:35 +0000 (10:26 -0400)]
11590: Clarify "job state" condition in log message.

6 years ago11720: Add vendor/.gitignore.
Tom Clegg [Thu, 18 May 2017 14:21:56 +0000 (10:21 -0400)]
11720: Add vendor/.gitignore.

6 years ago11720: Update Go dependencies.
Tom Clegg [Wed, 17 May 2017 21:07:41 +0000 (17:07 -0400)]
11720: Update Go dependencies.

6 years ago11720: Merge branch 'master' into 11720-govendor
Tom Clegg [Wed, 17 May 2017 20:48:09 +0000 (16:48 -0400)]
11720: Merge branch 'master' into 11720-govendor

6 years agoMerge branch '11546-fast-lock'
Tom Clegg [Wed, 17 May 2017 20:47:20 +0000 (16:47 -0400)]
Merge branch '11546-fast-lock'

closes #11546

6 years ago11720: Control dependencies with govendor.
Tom Clegg [Wed, 17 May 2017 19:26:26 +0000 (15:26 -0400)]
11720: Control dependencies with govendor.

6 years agocloses #11580
radhika [Wed, 17 May 2017 18:28:43 +0000 (14:28 -0400)]
closes #11580
Merge branch '11580-container-requests'

6 years ago11546: Wrap lock/unlock in transactions.
Tom Clegg [Wed, 17 May 2017 18:28:33 +0000 (14:28 -0400)]
11546: Wrap lock/unlock in transactions.

6 years ago11580: preload containers
radhika [Tue, 16 May 2017 19:33:31 +0000 (15:33 -0400)]
11580: preload containers

6 years ago11580: add container_requests index page
radhika [Tue, 16 May 2017 00:09:25 +0000 (20:09 -0400)]
11580: add container_requests index page

6 years ago11546: Avoid loading/saving non-essential fields in /arvados/v1/containers/lock.
Tom Clegg [Wed, 17 May 2017 17:51:57 +0000 (13:51 -0400)]
11546: Avoid loading/saving non-essential fields in /arvados/v1/containers/lock.

6 years agoMerge branch '11714-crunch-run-cgroup-parent' closes #11714
Peter Amstutz [Wed, 17 May 2017 17:50:03 +0000 (13:50 -0400)]
Merge branch '11714-crunch-run-cgroup-parent' closes #11714

6 years ago11714: Set CgroupParent under Resources because setting Cgroup in HostConfig
Peter Amstutz [Wed, 17 May 2017 15:07:46 +0000 (11:07 -0400)]
11714: Set CgroupParent under Resources because setting Cgroup in HostConfig
doesn't work.

6 years agoMerge branch '11718-crunch-run-docker-wait' closes #11718
Peter Amstutz [Wed, 17 May 2017 17:08:35 +0000 (13:08 -0400)]
Merge branch '11718-crunch-run-docker-wait' closes #11718

6 years ago11718: Update crunch-run for docker client API change in ContainerWait().
Peter Amstutz [Wed, 17 May 2017 15:04:06 +0000 (11:04 -0400)]
11718: Update crunch-run for docker client API change in ContainerWait().

6 years ago11644: Test fields in /mounts response.
Tom Clegg [Tue, 16 May 2017 17:31:27 +0000 (13:31 -0400)]
11644: Test fields in /mounts response.

6 years ago11644: Ensure generated UUIDs are always 27 chars.
Tom Clegg [Tue, 16 May 2017 17:23:02 +0000 (13:23 -0400)]
11644: Ensure generated UUIDs are always 27 chars.

6 years ago11644: Add volume replication level to /mounts response.
Tom Clegg [Tue, 16 May 2017 17:22:42 +0000 (13:22 -0400)]
11644: Add volume replication level to /mounts response.

6 years ago11644: Replace linear search with map for looking up mounts by UUID.
Tom Clegg [Tue, 16 May 2017 17:11:45 +0000 (13:11 -0400)]
11644: Replace linear search with map for looking up mounts by UUID.

6 years ago11644: Test non-empty MountUUID in trash list.
Tom Clegg [Tue, 16 May 2017 17:03:14 +0000 (13:03 -0400)]
11644: Test non-empty MountUUID in trash list.

6 years ago11644: Add pull-to-mount-UUID test. Tidy up pull worker and tests.
Tom Clegg [Tue, 16 May 2017 16:43:39 +0000 (12:43 -0400)]
11644: Add pull-to-mount-UUID test. Tidy up pull worker and tests.

6 years agoMerge branch '11693-crunch2-output-symlinks' closes #11693
Peter Amstutz [Tue, 16 May 2017 14:52:04 +0000 (10:52 -0400)]
Merge branch '11693-crunch2-output-symlinks' closes #11693

6 years ago11693: Only check collection mounts when determining whether to call
Peter Amstutz [Tue, 16 May 2017 14:38:55 +0000 (10:38 -0400)]
11693: Only check collection mounts when determining whether to call
getCollectionManifestForPath to merge files into output collection.  Remove
redundant assignment of outputSuffix.

6 years agoMerge branch '10111-collection-labels'
Lucas Di Pentima [Tue, 16 May 2017 14:32:48 +0000 (11:32 -0300)]
Merge branch '10111-collection-labels'
Closes #10111

6 years ago10111: Merge branch 'master' into 10111-collection-labels
Lucas Di Pentima [Tue, 16 May 2017 14:32:11 +0000 (11:32 -0300)]
10111: Merge branch 'master' into 10111-collection-labels

6 years ago11693: Detect and error on symlinks pointing to locations outside the output directory.
Peter Amstutz [Tue, 16 May 2017 13:12:58 +0000 (09:12 -0400)]
11693: Detect and error on symlinks pointing to locations outside the output directory.

6 years ago11644: Accept index/pull/trash requests for a specific mount.
Tom Clegg [Mon, 15 May 2017 19:36:02 +0000 (15:36 -0400)]
11644: Accept index/pull/trash requests for a specific mount.

6 years ago11693: Add test that error capturing output results in cancelled container.
Peter Amstutz [Mon, 15 May 2017 20:58:05 +0000 (16:58 -0400)]
11693: Add test that error capturing output results in cancelled container.

6 years ago11693: Add test cases for symlinks to directories and symlinks inside subdirectories.
Peter Amstutz [Mon, 15 May 2017 20:25:39 +0000 (16:25 -0400)]
11693: Add test cases for symlinks to directories and symlinks inside subdirectories.

6 years ago10111: Moved the api request related code to the controller.
Lucas Di Pentima [Mon, 15 May 2017 20:08:11 +0000 (17:08 -0300)]
10111: Moved the api request related code to the controller.

6 years ago11693: Add tests.
Peter Amstutz [Mon, 15 May 2017 19:52:00 +0000 (15:52 -0400)]
11693: Add tests.

6 years ago11693: Dereference symlinks to input files and add incorporate them into output colle...
Peter Amstutz [Mon, 15 May 2017 18:06:33 +0000 (14:06 -0400)]
11693: Dereference symlinks to input files and add incorporate them into output collection manifest.

6 years ago11693: Mark container as cancelled if there is an error during finalization.
Peter Amstutz [Mon, 15 May 2017 14:19:20 +0000 (10:19 -0400)]
11693: Mark container as cancelled if there is an error during finalization.

6 years ago11644: Use storage account and bucket name as DeviceID for Azure volumes.
Tom Clegg [Mon, 15 May 2017 14:11:20 +0000 (10:11 -0400)]
11644: Use storage account and bucket name as DeviceID for Azure volumes.

6 years ago11644: Use endpoint and bucket name as DeviceID for S3 volumes.
Tom Clegg [Mon, 15 May 2017 14:10:55 +0000 (10:10 -0400)]
11644: Use endpoint and bucket name as DeviceID for S3 volumes.

6 years ago11644: Use filesystem UUID and path as DeviceID for local disk volumes.
Tom Clegg [Mon, 15 May 2017 05:59:39 +0000 (01:59 -0400)]
11644: Use filesystem UUID and path as DeviceID for local disk volumes.

6 years ago11644: Add /mounts endpoint using random mount UUIDs assigned at runtime.
Tom Clegg [Fri, 12 May 2017 21:21:00 +0000 (17:21 -0400)]
11644: Add /mounts endpoint using random mount UUIDs assigned at runtime.

6 years agoMerge branch '11590-log-reuse'
Tom Clegg [Fri, 12 May 2017 14:45:20 +0000 (10:45 -0400)]
Merge branch '11590-log-reuse'

refs #11590

6 years ago11590: Reword log messages.
Tom Clegg [Fri, 12 May 2017 14:34:29 +0000 (10:34 -0400)]
11590: Reword log messages.

6 years agoMerge branch '11647-no-perm-tokens'
Lucas Di Pentima [Fri, 12 May 2017 14:29:01 +0000 (11:29 -0300)]
Merge branch '11647-no-perm-tokens'
Refs #11647