Peter Amstutz [Fri, 14 Oct 2016 01:13:58 +0000 (21:13 -0400)]
10259: Add one level of indirection on dict parameters so that
arv-run-pipeline-instance does not try to interpret the value. Check pipeline
state so that polling loop for cwl-runner job does not get stuck.
radhika [Thu, 13 Oct 2016 17:22:51 +0000 (13:22 -0400)]
10227: The diagnostics tests have been consistently failing since Sep 18th due to web sockets based refresh is not happening in the page.
I updated the test to refresh the page in a loop until timeout, rather than rely on the unreliable web sockets.
Also, updated the text_to_look_for to "completed" from "Complete" so that test doesn't misinterpret a job completion as the pipeline completion.
Lucas Di Pentima [Thu, 13 Oct 2016 15:14:55 +0000 (12:14 -0300)]
10236: Added --disable-event-listening to arv-mount command so that it doesn't subscribe to any API Server event.
Also, added a test for this new feature.
Peter Amstutz [Wed, 12 Oct 2016 20:58:25 +0000 (16:58 -0400)]
10259: When using --submit with jobs API, create RunningOnServer pipeline
instance. This is more similar to the way it works when you run a workflow
from workbench, and ensures that the pipeline will be marked completed even if
the arvados-cwl-runner client goes away.
Peter Amstutz [Wed, 12 Oct 2016 14:59:05 +0000 (10:59 -0400)]
10221: Always upload all dependencies up front. Ensures consistent reuse
behavior between --local and --submit. Fix pathmapping bugs where
previously-uploaded files were added to path map but not actually mapped to
target paths.
Ward Vandewege [Wed, 12 Oct 2016 15:50:37 +0000 (11:50 -0400)]
Do not try to chown_R the gid of .ssh, because we're making an
assumption about the existance of a group with the same name as the
user, and it's irrelevant anyway because the permissions on .ssh are
0700.
radhika [Tue, 11 Oct 2016 18:22:30 +0000 (14:22 -0400)]
10144: Preload children during (main) component display. The Job.where in pipeline_instance_work_unit is fetching all jobs even if they are not readable.
radhika [Fri, 7 Oct 2016 19:46:30 +0000 (15:46 -0400)]
10144: Preloading all the collection using one single large query is much slower than making several requests
with a smaller subset of uuids/pdhs when displaying a pipeline instance with many jobs. Hence, make several
requests for 200 collections at a time.
Lucas Di Pentima [Tue, 11 Oct 2016 17:52:22 +0000 (14:52 -0300)]
9701: Wrapping actual alloc_bufferblock and delete_bufferblock methods inside synchronized calls, to be able to use them from within already synchronized BlockManager methods.
radhika [Tue, 11 Oct 2016 14:08:45 +0000 (10:08 -0400)]
10078: Rename the workbench config param 'show_user_notifications_on_dashboard' as 'show_user_notifications' because they are in topnav, not on dashboard!
radhika [Fri, 7 Oct 2016 17:40:34 +0000 (13:40 -0400)]
10078: Since we are not fetching components for pipeline instances (at least until the performance issues are resolved),
we will no longer see the running and queued jobs listed within each pipeline instance row in dashboard. Hence, update
test to look for these for a container request row instead of for a pipeline instance row.
radhika [Fri, 7 Oct 2016 14:19:48 +0000 (10:19 -0400)]
10078: When fetching recent_processes, do not select 'components' which is not needed in this context. For very large pipelines, this will perform better.
radhika [Mon, 3 Oct 2016 22:58:59 +0000 (18:58 -0400)]
10078: Now that the recent_collections panel includes collections from Home directory as well
(self and other users' for admin user), suppress displaying confusing '(none)' in place of a Home directory.
10078: Update recent_collections so that the collection query it is not executed twice, once in this method and once in show_dashboard for r[:collections].each statement.
10078: Update the Node.filter so that this query is not executed three times: once for nodes.sort_by and twice in compute_node_summary for nodes.select
radhika [Fri, 7 Oct 2016 17:40:34 +0000 (13:40 -0400)]
10078: Since we are not fetching components for pipeline instances (at least until the performance issues are resolved),
we will no longer see the running and queued jobs listed within each pipeline instance row in dashboard. Hence, update
test to look for these for a container request row instead of for a pipeline instance row.
radhika [Fri, 7 Oct 2016 14:19:48 +0000 (10:19 -0400)]
10078: When fetching recent_processes, do not select 'components' which is not needed in this context. For very large pipelines, this will perform better.
Lucas Di Pentima [Thu, 6 Oct 2016 20:23:09 +0000 (17:23 -0300)]
9701: Several corrections/enhancements:
* Added a 'sync' parameter on repack_small_blocks() so that blocks commits can
be done in either way depending from where it's called.
* Allow packing small buffer blocks up to a full block on Keep.
* Replaced ArvadosFile's _closed flag with a list of its ArvadosFileWriter objects,
so that it's used as a reference counter.
* Moved ArvadosFile flush behaviour from ArvadosFileWriter.close() method to
ArvadosFile.remove_writer() so that it can decide whether it should commit the
buffer block or repack it with others.