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.
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
Brett Smith [Mon, 30 Jun 2014 18:31:40 +0000 (14:31 -0400)]
2891: Workbench details the requested item on its 404 page.
Brett Smith [Mon, 30 Jun 2014 18:08:29 +0000 (14:08 -0400)]
2891: Trying to show a non-UUID in Workbench renders 404.
Brett Smith [Fri, 27 Jun 2014 18:37:34 +0000 (14:37 -0400)]
2891: Workbench reliably reloads model columns after failure.
ArvadosBase @columns could get stuck as [] if the API server wasn't
available during Workbench's first API request. This change ensures
that it keeps trying to reload column information until it receives
good data.
Brett Smith [Fri, 27 Jun 2014 18:30:38 +0000 (14:30 -0400)]
2891: Workbench renders login exceptions earlier.
These changes are designed to ensure that if there are any problems
getting information from the current API token (other than expected
401 Unauthorized responses), those problems are raised early and
propagated up to the exception handler. This helps better ensure that
thread state is consistent when we get to later stages of request
processing.
Brett Smith [Thu, 26 Jun 2014 20:36:16 +0000 (16:36 -0400)]
2891: Workbench current_user copes when API server is unreachable.
Brett Smith [Thu, 26 Jun 2014 20:35:30 +0000 (16:35 -0400)]
2891: Workbench converts API HTTP errors to API exceptions.
Brett Smith [Wed, 25 Jun 2014 20:39:24 +0000 (16:39 -0400)]
2891: Guard against API server errors in Workbench layout.
The goal here is to generally avoid situations like #3031 where
trouble talking to the API server prevents us from even rendering an
error page. Previous commits made us smarter about logged in status.
This guards against other API errors.
Brett Smith [Wed, 25 Jun 2014 20:31:57 +0000 (16:31 -0400)]
Clean redundant conditional from Workbench layout.
Brett Smith [Wed, 25 Jun 2014 20:07:27 +0000 (16:07 -0400)]
2891: Workbench displays more info about API errors.
Brett Smith [Wed, 25 Jun 2014 18:11:10 +0000 (14:11 -0400)]
2891: Add Workbench test for expired API token.
Brett Smith [Mon, 23 Jun 2014 21:31:57 +0000 (17:31 -0400)]
2891: Add index link to Workbench 404 responses.
Brett Smith [Mon, 23 Jun 2014 19:53:18 +0000 (15:53 -0400)]
2891: Workbench returns 404 when API object doesn't exist.
Brett Smith [Mon, 23 Jun 2014 19:28:48 +0000 (15:28 -0400)]
2891: Workbench API client raises structured exceptions.
These changes will make it easier for the rest of the Workbench code
to cope with these errors more gracefully—even if that just means
friendlier reporting of the error.
Brett Smith [Tue, 24 Jun 2014 15:38:50 +0000 (11:38 -0400)]
2891: API server assigns error tokens.
These unique tokens are both logged and sent along with the response,
making it easier to cross-reference what the client does with what
happens on the API server.
Brett Smith [Tue, 24 Jun 2014 14:22:25 +0000 (10:22 -0400)]
2891: API server ApplicationController style updates.
This ports over some of the niceties we've recently implemented in the
Workbench ApplicationController.
Brett Smith [Wed, 25 Jun 2014 17:47:13 +0000 (13:47 -0400)]
2891: Fix bug in Workbench error page test.
Ward Vandewege [Mon, 30 Jun 2014 19:04:15 +0000 (15:04 -0400)]
docker: arvdoc: start up doc and workbench last so it's less likely the
user will overlook the URL hint that is printed out.
Ward Vandewege [Mon, 30 Jun 2014 19:02:16 +0000 (15:02 -0400)]
docker: arvdock: whitespace cleanup
Ward Vandewege [Mon, 30 Jun 2014 19:01:28 +0000 (15:01 -0400)]
docker: usability improvements for arvdock.
Peter Amstutz [Mon, 30 Jun 2014 18:50:15 +0000 (14:50 -0400)]
Set $HOME to $TASK_WORK for tasks. no issue #
Peter Amstutz [Mon, 30 Jun 2014 18:48:48 +0000 (14:48 -0400)]
Fix 'arv' to handle missing/non-writable $HOME. no issue #