Peter Amstutz [Mon, 7 Jul 2014 19:45:24 +0000 (15:45 -0400)]
arv-run-pipeline-instance sends error message to logs table when job submission
fails. Pipeline instance view in workbench now shows messages for the pipeline
instance (in addition to the jobs) and shows messages when the pipeline is
failed (not only when it is running.)
Peter Amstutz [Mon, 7 Jul 2014 18:22:48 +0000 (14:22 -0400)]
Don't render selection check boxes when using show_file partials from chooser
modal. closes #3103.
Peter Amstutz [Mon, 7 Jul 2014 18:09:20 +0000 (14:09 -0400)]
Consider script_parameters in determining whether to merge script boxes in
pipeline graph drawing. Also tweaks behavior generating label for
script_parameter boxes to be more compact. closes #3100
Peter Amstutz [Mon, 7 Jul 2014 17:03:01 +0000 (13:03 -0400)]
Default arvados-bcbio-nextgen pipeline to use freebayes instead of gatk. no issue #
Peter Amstutz [Mon, 7 Jul 2014 15:46:56 +0000 (11:46 -0400)]
arvados-bcbio-nextgen writes output now. Put write_directory_tree under the
try/except block in run-command. Tweaked return code output. no issue #
Peter Amstutz [Mon, 7 Jul 2014 15:26:24 +0000 (11:26 -0400)]
Bugfix os.environ() -> os.environ[] no issue #
Peter Amstutz [Mon, 7 Jul 2014 13:46:11 +0000 (09:46 -0400)]
Merge branch 'bcbio-nextgen' refs #2991
Peter Amstutz [Mon, 7 Jul 2014 13:45:16 +0000 (09:45 -0400)]
Add -n cores to run bcbio in parallel on a multicore node.
Peter Amstutz [Mon, 7 Jul 2014 13:32:33 +0000 (09:32 -0400)]
Add $(node.cores) substitution to run-program, and add CRUNCH_NODE_SLOTS to
environment passed to docker jobs. no issue #
Peter Amstutz [Mon, 7 Jul 2014 12:59:24 +0000 (08:59 -0400)]
run-command retry after exception when writing output to keep. no issue #
Ward Vandewege [Mon, 7 Jul 2014 00:06:16 +0000 (20:06 -0400)]
Doc: fix link to pipeline instances page in workbench.
no issue #
Peter Amstutz [Fri, 4 Jul 2014 21:08:39 +0000 (17:08 -0400)]
Merge branch '3185-job-invalid-without-errors' refs #3185
Tom Clegg [Fri, 4 Jul 2014 17:01:28 +0000 (13:01 -0400)]
3185: Fix job validation failure with no errors given.
* Do not fail docker validation if runtime_constraints==nil.
* Reposition "check docker image" and "check script version" as
validations, rather than before_validation and before_create/update
filters respectively.
* Use valid values for the non-docker attributes in docker test cases.
* Add tests to ensure job validation failures provide error messages.
Move test/functional/arvados/v1/git_setup.rb to
test/helpers/git_test_helper.rb and fix bugs:
* Use "setup do" form instead of "def setup" to avoid clobbering other
setup tasks
* Restore git_repositories_dir to its original value during teardown,
to avoid polluting other tests
Peter Amstutz [Fri, 4 Jul 2014 03:21:21 +0000 (23:21 -0400)]
Update api server Gemfile dependency on arvados-cli package so crunch-dispatch
uses commit:
b7de0ac no issue #
Peter Amstutz [Fri, 4 Jul 2014 02:54:21 +0000 (22:54 -0400)]
Merge branch '2991-job-docker-images' refs #2991
Peter Amstutz [Fri, 4 Jul 2014 02:51:59 +0000 (22:51 -0400)]
Merge branch '2342-run-command-wrapper' refs #2342
Ward Vandewege [Fri, 4 Jul 2014 02:30:44 +0000 (22:30 -0400)]
Merge branch '3141-keep-logging-improvements'
This closes #3141
Ward Vandewege [Fri, 4 Jul 2014 02:29:18 +0000 (22:29 -0400)]
keep: MockVolume should return os.ErrNotExist instead of errors.New("not
found") when a block can not be found, just like a real volume.
Ward Vandewege [Fri, 4 Jul 2014 02:28:45 +0000 (22:28 -0400)]
Revert "Do not print an error when hitting 'not found' with a the MockVolume"
This reverts commit
97c9b2b49f94735c6d4d5b62b772089ef7e0e3bf.
Better solution in the next commit.
Peter Amstutz [Fri, 4 Jul 2014 02:20:33 +0000 (22:20 -0400)]
Update api server Gemfile dependency on arvados-cli package so crunch-dispatch uses commit:
66efe78 no issue #
Ward Vandewege [Fri, 4 Jul 2014 02:19:54 +0000 (22:19 -0400)]
Merge branch 'master' into 3141-keep-logging-improvements
Peter Amstutz [Fri, 4 Jul 2014 01:40:22 +0000 (21:40 -0400)]
Don't send null job creation parameters in arv-run-pipeline-instance. no issue #
Peter Amstutz [Fri, 4 Jul 2014 01:37:20 +0000 (21:37 -0400)]
Don't raise exception if filters parameter parses to
json "null". no issue #
Peter Amstutz [Fri, 4 Jul 2014 01:04:09 +0000 (21:04 -0400)]
Don't set "too long" flag on websocket test timer if the websocket is already
closed. Hopefully this will make the tests more robust. no issue #
Peter Amstutz [Thu, 3 Jul 2014 21:10:28 +0000 (17:10 -0400)]
Update api server Gemfile dependency on arvados-cli package so crunch-dispatch
uses commit:
ee99af1
no issue #
Peter Amstutz [Thu, 3 Jul 2014 21:08:07 +0000 (17:08 -0400)]
Added note about how to build bcbio-nextgen docker image. Make
bcbio-nextgen-image depend on bcbio-nextgen/Dockerfile.
radhika [Thu, 3 Jul 2014 20:47:28 +0000 (16:47 -0400)]
refs #3055
Merge branch '3055-advanced-tab-explanations'
radhika [Thu, 3 Jul 2014 20:46:30 +0000 (16:46 -0400)]
Merge branch 'master' into 3055-advanced-tab-explanations
radhika [Thu, 3 Jul 2014 20:45:08 +0000 (16:45 -0400)]
Merge branch 'master' into 3055-advanced-tab-explanations
Peter Amstutz [Thu, 3 Jul 2014 20:38:59 +0000 (16:38 -0400)]
job create method parameters need to be converted to json before being passed
to google API client. no issue #
Ward Vandewege [Thu, 3 Jul 2014 19:03:17 +0000 (15:03 -0400)]
Do not blow up trying to run a job if runtime_constraints is set to nil
no issue #
Ward Vandewege [Thu, 3 Jul 2014 18:32:36 +0000 (14:32 -0400)]
Add some more detail to the docker installation page.
refs #3131
Tom Clegg [Thu, 3 Jul 2014 16:28:22 +0000 (12:28 -0400)]
Merge branch '3174-arv-ls-size-fencepost' closes #3174
Tim Pierce [Thu, 3 Jul 2014 15:45:47 +0000 (11:45 -0400)]
Merge branch '2873-permission-links-ownership'
Closes #2873. Huzzah!
Tim Pierce [Thu, 3 Jul 2014 15:38:32 +0000 (11:38 -0400)]
Merge branch '2985-shared-projects-descriptions'
Refs #2985, closes #3083, closes #3158.
Peter Amstutz [Thu, 3 Jul 2014 15:31:01 +0000 (11:31 -0400)]
Update arvados-cli dependency of API server so crunch-dispatch.rb uses
arv-run-pipeline-instance from commit:
c806ef1
no issue #
Tom Clegg [Thu, 3 Jul 2014 15:11:48 +0000 (11:11 -0400)]
3174: Round up, not down, when reporting file sizes in KB.
Tom Clegg [Thu, 3 Jul 2014 15:10:35 +0000 (11:10 -0400)]
3174: Heed "common" section of config yaml the same way apiserver does.
Peter Amstutz [Thu, 3 Jul 2014 15:05:14 +0000 (11:05 -0400)]
Merge remote-tracking branch 'origin/master' into job-docker-images
Ward Vandewege [Thu, 3 Jul 2014 15:03:09 +0000 (11:03 -0400)]
docker: mkimage-debootstrap.sh: wrap which calls that are expected to
fail in a set +e/set -e block
no issue #
Peter Amstutz [Thu, 3 Jul 2014 14:53:53 +0000 (10:53 -0400)]
"filters" is now propagated through from pipeline component to the job
submission. Also added example filter to documentation. no issue #
Peter Amstutz [Thu, 3 Jul 2014 14:51:03 +0000 (10:51 -0400)]
Docker job's $HOME is now inside docker container, we don't need a special
separate $HOME for arv-mount.
Tim Pierce [Thu, 3 Jul 2014 01:24:32 +0000 (21:24 -0400)]
2873: more code review changes
* get_permissions sets @offset and @limit explicitly to ensure that
render_list does the right thing.
* Tests updated to use permission links on Groups (permissions are not
yet working for other objects)
* Added tests for "uuid exists but is unreadable" and "uuid is readable
but not manageable"
Refs #2873.
Peter Amstutz [Thu, 3 Jul 2014 00:34:20 +0000 (20:34 -0400)]
fix bwa_index
Peter Amstutz [Wed, 2 Jul 2014 20:48:38 +0000 (16:48 -0400)]
Backed that out, make a symlink to tool-data instead
Peter Amstutz [Wed, 2 Jul 2014 20:41:57 +0000 (16:41 -0400)]
tool-data in work
Peter Amstutz [Wed, 2 Jul 2014 20:37:20 +0000 (16:37 -0400)]
fix sub R1 R2
Peter Amstutz [Wed, 2 Jul 2014 20:35:35 +0000 (16:35 -0400)]
refer template directly
Peter Amstutz [Wed, 2 Jul 2014 20:32:20 +0000 (16:32 -0400)]
write template
Peter Amstutz [Wed, 2 Jul 2014 20:24:44 +0000 (16:24 -0400)]
open for writing
Peter Amstutz [Wed, 2 Jul 2014 20:23:45 +0000 (16:23 -0400)]
fix config copy
Peter Amstutz [Wed, 2 Jul 2014 20:22:38 +0000 (16:22 -0400)]
fixed syntax error
Peter Amstutz [Wed, 2 Jul 2014 20:21:52 +0000 (16:21 -0400)]
Fixed +x
Peter Amstutz [Wed, 2 Jul 2014 19:39:52 +0000 (15:39 -0400)]
First try at bcbio-nextgen script
Tim Pierce [Wed, 2 Jul 2014 19:15:20 +0000 (15:15 -0400)]
2985: display project descriptions inline
Project descriptions in the "My Projects" and "Projects shared with
me" panels are displayed inline next to the project name, not in a
tooltip.
Refs #2985, refs #3083.
Peter Amstutz [Wed, 2 Jul 2014 18:27:25 +0000 (14:27 -0400)]
Improve output messages a bit
Peter Amstutz [Wed, 2 Jul 2014 18:12:50 +0000 (14:12 -0400)]
Do not mount $TASK_WORK inside the container; scratch space is entirely
contained so it can be cleaned up by docker when the container is deleted. Add
--rm=true to automatically clean up docker containers when they exit.
Tim Pierce [Wed, 2 Jul 2014 18:07:06 +0000 (14:07 -0400)]
Merge branch '3151-permission-ttl'
Closes #3151.
Tim Pierce [Wed, 2 Jul 2014 18:02:56 +0000 (14:02 -0400)]
3151: use 2-week default permission TTL
Fixes #3151.
Peter Amstutz [Wed, 2 Jul 2014 16:19:00 +0000 (12:19 -0400)]
Typo fix ${HOME} -> $ENV{HOME}
radhika [Wed, 2 Jul 2014 16:01:39 +0000 (12:01 -0400)]
3055: add explanation to the example commands in the advanced tab.
Peter Amstutz [Wed, 2 Jul 2014 15:12:50 +0000 (11:12 -0400)]
Should probably wait to install ruby before setting GEM_HOME and friends.
Peter Amstutz [Wed, 2 Jul 2014 14:54:48 +0000 (10:54 -0400)]
Use separate $HOME for commands run outside the docker
container (e.g. arv-mount) and commands inside the docker container because of
the user id mapping problem. Converted docker command line to use long form
for readability.
Peter Amstutz [Wed, 2 Jul 2014 14:52:41 +0000 (10:52 -0400)]
Use 'install' to create /keep, /tmp/crunch-src, /tmp/crunch-job mountpoints in
the docker image. Changed some commands to use long command line parameters
for readability.
Ward Vandewege [Wed, 2 Jul 2014 14:37:36 +0000 (10:37 -0400)]
Merge branch '3118-docker-fixes'
refs #3118
Ward Vandewege [Wed, 2 Jul 2014 14:36:18 +0000 (10:36 -0400)]
Remove superfluous cd commands
refs #3131
Ward Vandewege [Wed, 2 Jul 2014 14:35:20 +0000 (10:35 -0400)]
Fix up link in the docker alert box.
refs #3131
Ward Vandewege [Wed, 2 Jul 2014 14:28:34 +0000 (10:28 -0400)]
The linkchecker rake task should return with the exit code of linkchecker.
no issue #
Ward Vandewege [Wed, 2 Jul 2014 13:52:38 +0000 (09:52 -0400)]
Merge branch '3118-docker-fixes'
refs #3118
Ward Vandewege [Wed, 2 Jul 2014 13:51:49 +0000 (09:51 -0400)]
Add state of the docker installation alert to the top of the docker
installation page, too.
Ward Vandewege [Wed, 2 Jul 2014 13:51:00 +0000 (09:51 -0400)]
Merge branch 'master' into 3141-keep-logging-improvements
Tim Pierce [Wed, 2 Jul 2014 12:59:58 +0000 (08:59 -0400)]
2873: changes for code review
Incorporating code review comments:
* @Link#get_permissions@ uses @Link.where@ instead of @find_objects_for_index@; @find_object_for_uuid@ just populates @@object@ with the head_uuid object and leaves @@objects@ alone.
* @ArvadosModel.lookup_by_uuid@ renamed @ArvadosModel.find_by_uuid@ and punts to the superclass if called as a subclass method.
* Test @get_permissions_returns_list@ checks that the :active user can get permissions. Also uses the group fixtures for testing permissions instead of collections (because can_manage permissions only work so far on users and groups.
(refs #2873)
Ward Vandewege [Wed, 2 Jul 2014 02:12:34 +0000 (22:12 -0400)]
Do not print an error when hitting 'not found' with a the MockVolume
backend.
Ward Vandewege [Wed, 2 Jul 2014 01:27:34 +0000 (21:27 -0400)]
Move error logging for block-not-found from GetBlock to GetBlockHandler.
It doesn't belong in GetBlock because GetBlock is also called from
PutBlock, which checks to see if a block exists before it writes it
again.
In other words, in the most common scenario (a PUT of a new block), Keep
should not print a bogus error message.
Ward Vandewege [Wed, 2 Jul 2014 01:12:47 +0000 (21:12 -0400)]
UnixVolume has no business being loud about files that can not be found.
Just pass on the error to the caller and be quiet.
Back story: for every PUT, Keep checks if the block already exists.
Prior to this patch, UnixVolume would complain loudly if the block did
not already exist in the volume (i.e. the normal case for a PUT).
Peter Amstutz [Tue, 1 Jul 2014 15:38:27 +0000 (11:38 -0400)]
Change crunch-dispatch to use "git fetch-pack --all" insted of "git fetch" to
fetch entire repository instead of just the history for HEAD. This seems to be
the only way to ensure that arbitrary script version hashes not in the history
of the source's HEAD are fetched without using refs (tags or branches).
no issue #
Ward Vandewege [Tue, 1 Jul 2014 20:38:11 +0000 (16:38 -0400)]
Add documentation to doc.arvados.org for the local Docker install.
Peter Amstutz [Wed, 2 Jul 2014 01:21:31 +0000 (21:21 -0400)]
Merge branch 'master' into job-docker-images
Peter Amstutz [Wed, 2 Jul 2014 01:21:12 +0000 (21:21 -0400)]
Add explicit version constraint < 1.0.0 on 'jwt' gem for arvados-cli, because
google-api-client gem dependecy breaks with jwt 1.0.0. no issue #
Peter Amstutz [Tue, 1 Jul 2014 21:05:18 +0000 (17:05 -0400)]
Dockerfiles for java-bwa-samtools, bcbio-nextgen
Ward Vandewege [Tue, 1 Jul 2014 20:39:18 +0000 (16:39 -0400)]
Merge branch '3118-docker-fixes'
refs #3118
Ward Vandewege [Tue, 1 Jul 2014 20:38:47 +0000 (16:38 -0400)]
Merge branch 'master' into 3118-docker-fixes
Ward Vandewege [Tue, 1 Jul 2014 20:38:11 +0000 (16:38 -0400)]
Add documentation to doc.arvados.org for the local Docker install.
Peter Amstutz [Tue, 1 Jul 2014 20:29:59 +0000 (16:29 -0400)]
fix find
Peter Amstutz [Tue, 1 Jul 2014 18:16:38 +0000 (14:16 -0400)]
More clever find
Peter Amstutz [Tue, 1 Jul 2014 18:01:53 +0000 (14:01 -0400)]
more status messages
Peter Amstutz [Tue, 1 Jul 2014 17:50:31 +0000 (13:50 -0400)]
Improve error messages
Peter Amstutz [Tue, 1 Jul 2014 16:54:46 +0000 (12:54 -0400)]
Set success/failed flag explicitly based on return code.
Peter Amstutz [Tue, 1 Jul 2014 15:38:27 +0000 (11:38 -0400)]
Change crunch-dispatch to use "git fetch-pack --all" insted of "git fetch" to
fetch entire repository instead of just the history for HEAD. This seems to be
the only way to ensure that arbitrary script version hashes not in the history
of the source's HEAD are fetched without using refs (tags or branches).
no issue #
Peter Amstutz [Tue, 1 Jul 2014 14:23:09 +0000 (10:23 -0400)]
Make sure set return code non-zero.
Peter Amstutz [Tue, 1 Jul 2014 14:17:34 +0000 (10:17 -0400)]
Always initialize arvados.api() so it doesn't silently fail when
ARVADOS_API_HOST isn't set. Improve error handing in arv-mount. no issue #
Peter Amstutz [Tue, 1 Jul 2014 14:10:29 +0000 (10:10 -0400)]
Add dockerfile to build arvados/jobs-bwa-samtools image. no issue #
Tom Clegg [Tue, 1 Jul 2014 00:45:00 +0000 (20:45 -0400)]
Merge branch '3099-spinner-assets' closes #3099
Tom Clegg [Tue, 1 Jul 2014 00:41:15 +0000 (20:41 -0400)]
3099: Use appropriate tr>td markup if infinite scroll container is a table.
Remove unused class.
Peter Amstutz [Mon, 30 Jun 2014 20:15:52 +0000 (16:15 -0400)]
Update required arvados-cli package to get fix
55e1aaf (Fix 'arv' to handle
missing/non-writable $HOME). no issue #
Peter Amstutz [Mon, 30 Jun 2014 19:16:39 +0000 (15:16 -0400)]
Merge branch 'arv-crunch-HOME-envvar' no issue #
Peter Amstutz [Mon, 30 Jun 2014 19:16:21 +0000 (15:16 -0400)]
Set $HOME to /tmp/crunch-job for docker.
Ward Vandewege [Mon, 30 Jun 2014 19:14:39 +0000 (15:14 -0400)]
Merge branch '3118-docker-fixes'
refs #3118
Brett Smith [Mon, 30 Jun 2014 19:13:12 +0000 (15:13 -0400)]
Merge branch '2891-improve-workbench-errors'
Closes #3079, #3080, #2891, #3092.
Ward Vandewege [Mon, 30 Jun 2014 19:12:40 +0000 (15:12 -0400)]
Merge branch 'master' into 3118-docker-fixes