arvados.git
8 years agoMerge branch '5824-keep-web' into 5824-keep-web-workbench
Tom Clegg [Fri, 30 Oct 2015 18:30:13 +0000 (14:30 -0400)]
Merge branch '5824-keep-web' into 5824-keep-web-workbench

Conflicts:
sdk/python/tests/run_test_server.py
services/keepproxy/keepproxy_test.go

8 years ago5824: Merge branch 'master' into 5824-keep-web
Tom Clegg [Fri, 30 Oct 2015 18:22:21 +0000 (14:22 -0400)]
5824: Merge branch 'master' into 5824-keep-web

8 years agoSync Gemfile.lock to current Gemfile.
Tom Clegg [Fri, 30 Oct 2015 18:19:35 +0000 (14:19 -0400)]
Sync Gemfile.lock to current Gemfile.

amends 77460b2190e84df4178c25f014bbf136d559922e
refs #7582

8 years ago5824: Add -anonymous-token flag.
Tom Clegg [Fri, 30 Oct 2015 18:02:10 +0000 (14:02 -0400)]
5824: Add -anonymous-token flag.

8 years ago5824: Update arvadostest usage.
Tom Clegg [Fri, 30 Oct 2015 18:01:20 +0000 (14:01 -0400)]
5824: Update arvadostest usage.

8 years ago5824: Merge branch 'master' into 5824-keep-web
Tom Clegg [Thu, 29 Oct 2015 20:31:37 +0000 (16:31 -0400)]
5824: Merge branch 'master' into 5824-keep-web

8 years ago5824: Add some clarifying comments and golint/vet/fmt fixes.
Tom Clegg [Thu, 29 Oct 2015 18:47:16 +0000 (14:47 -0400)]
5824: Add some clarifying comments and golint/vet/fmt fixes.

8 years ago5824: Add comments and fix variable names, cf. golint.
Tom Clegg [Thu, 29 Oct 2015 17:40:18 +0000 (13:40 -0400)]
5824: Add comments and fix variable names, cf. golint.

8 years ago5824: Add tests.
Tom Clegg [Thu, 29 Oct 2015 16:06:09 +0000 (12:06 -0400)]
5824: Add tests.

8 years ago7695: Docs reflect that docker_image can't be a collection UUID.
Brett Smith [Thu, 29 Oct 2015 15:14:48 +0000 (11:14 -0400)]
7695: Docs reflect that docker_image can't be a collection UUID.

We intended to allow this, but it's not actually implemented.  Update
the docs for now.  We'll add the functionality in refs #7695.

8 years ago5824: Add test for file in subdir.
Tom Clegg [Thu, 29 Oct 2015 15:09:11 +0000 (11:09 -0400)]
5824: Add test for file in subdir.

8 years ago5824: Clarify docs.
Tom Clegg [Thu, 29 Oct 2015 15:08:59 +0000 (11:08 -0400)]
5824: Clarify docs.

8 years agoFix typo in arvados-cli version number refs #7582
Peter Amstutz [Wed, 28 Oct 2015 16:24:36 +0000 (12:24 -0400)]
Fix typo in arvados-cli version number refs #7582

8 years agocloses #7492
radhika [Wed, 28 Oct 2015 16:22:51 +0000 (12:22 -0400)]
closes #7492
Merge branch '7492-keepproxy-upstream-errors'

8 years agoUpdate Gemfile pin on arvados-cli to ensure latest crunch-job refs #7582
Peter Amstutz [Wed, 28 Oct 2015 16:21:46 +0000 (12:21 -0400)]
Update Gemfile pin on arvados-cli to ensure latest crunch-job refs #7582

8 years ago7167: update keep-rsync tests to use "Contains" instead of "HasSuffix" to make sure...
radhika [Wed, 28 Oct 2015 16:21:21 +0000 (12:21 -0400)]
7167: update keep-rsync tests to use "Contains" instead of "HasSuffix" to make sure the error message checks pass even when retries happen.

8 years agoMerge branch 'master' into 7492-keepproxy-upstream-errors
radhika [Wed, 28 Oct 2015 16:18:33 +0000 (12:18 -0400)]
Merge branch 'master' into 7492-keepproxy-upstream-errors

8 years ago5824: Rename conventional dl.* to collections.*
Tom Clegg [Wed, 28 Oct 2015 16:17:54 +0000 (12:17 -0400)]
5824: Rename conventional dl.* to collections.*

8 years ago5824: Rename cookie to arvados_api_token.
Tom Clegg [Wed, 28 Oct 2015 15:37:47 +0000 (11:37 -0400)]
5824: Rename cookie to arvados_api_token.

8 years agorefs #7167
radhika [Wed, 28 Oct 2015 15:33:46 +0000 (11:33 -0400)]
refs #7167
Add a log statement to see why the test failed intermittently.

8 years ago5824: Rename keepdl to keep-web.
Tom Clegg [Wed, 28 Oct 2015 14:52:34 +0000 (10:52 -0400)]
5824: Rename keepdl to keep-web.

8 years ago5824: Clarify docs.
Tom Clegg [Tue, 27 Oct 2015 21:15:16 +0000 (17:15 -0400)]
5824: Clarify docs.

8 years ago5824: Fix wrong title.
Tom Clegg [Tue, 27 Oct 2015 14:33:08 +0000 (10:33 -0400)]
5824: Fix wrong title.

8 years agoUpdate redmine links in README.
Ward Vandewege [Wed, 28 Oct 2015 14:22:58 +0000 (10:22 -0400)]
Update redmine links in README.

No issue #

8 years agoMerge branch 'master' into 7492-keepproxy-upstream-errors
radhika [Wed, 28 Oct 2015 13:51:26 +0000 (09:51 -0400)]
Merge branch 'master' into 7492-keepproxy-upstream-errors

8 years agoFix typo in example config file
Tom Clegg [Wed, 28 Oct 2015 13:15:58 +0000 (09:15 -0400)]
Fix typo in example config file

No issue #

8 years ago7492: add a test that simulates keep server unavailable error.
radhika [Tue, 27 Oct 2015 23:48:47 +0000 (19:48 -0400)]
7492: add a test that simulates keep server unavailable error.

8 years agoMerge branch 'master' into 7492-keepproxy-upstream-errors
radhika [Tue, 27 Oct 2015 22:39:12 +0000 (18:39 -0400)]
Merge branch 'master' into 7492-keepproxy-upstream-errors

8 years agocloses #7453
radhika [Tue, 27 Oct 2015 22:38:33 +0000 (18:38 -0400)]
closes #7453
Merge branch '7453-create-new-group-with-role'

8 years ago7453: revert back to no generic "add new" button in all those pages.
radhika [Tue, 27 Oct 2015 20:09:20 +0000 (16:09 -0400)]
7453: revert back to no generic "add new" button in all those pages.

8 years ago7453: Upon Nico's request, put back the "Add a new" button in keep disks, keep servic...
radhika [Tue, 27 Oct 2015 19:46:33 +0000 (15:46 -0400)]
7453: Upon Nico's request, put back the "Add a new" button in keep disks, keep services, and virtual machines pages.

8 years agoMerge branch 'master' into 7492-keepproxy-upstream-errors
radhika [Tue, 27 Oct 2015 18:11:13 +0000 (14:11 -0400)]
Merge branch 'master' into 7492-keepproxy-upstream-errors

8 years agoMerge branch '7582-crunch-runner' refs #7582
Peter Amstutz [Tue, 27 Oct 2015 17:06:19 +0000 (13:06 -0400)]
Merge branch '7582-crunch-runner' refs #7582

8 years ago7453: Disable submit button in add group dialog until a name is entered.
radhika [Tue, 27 Oct 2015 15:35:28 +0000 (11:35 -0400)]
7453: Disable submit button in add group dialog until a name is entered.
Observed that the "Add a new user" button is offered in /users page even to non-admin users. Corrected this bug.
Deleted one test in errors_test that was trying to access the "Add new group" button in /groups page.
Also, deleted the one test in virtual_machines_test that were trying to click the "Add new" button.
Added a new test in users_test that clicks the "Add new group" button and verifies the group is added.

8 years agoMerge branch '7160-azure-blob-doc' closes #7160
Tom Clegg [Tue, 27 Oct 2015 14:39:11 +0000 (10:39 -0400)]
Merge branch '7160-azure-blob-doc' closes #7160

8 years ago7160: Clarify exampleAccountName -> exampleStorageAccountName
Tom Clegg [Tue, 27 Oct 2015 14:37:33 +0000 (10:37 -0400)]
7160: Clarify exampleAccountName -> exampleStorageAccountName

8 years ago7582: Fixup concurrency around signal catching and forwarding.
Peter Amstutz [Tue, 27 Oct 2015 14:22:10 +0000 (10:22 -0400)]
7582: Fixup concurrency around signal catching and forwarding.

8 years ago7453: do not display generic "add new" button in the groups, keep_disks, keep_service...
radhika [Tue, 27 Oct 2015 13:23:24 +0000 (09:23 -0400)]
7453: do not display generic "add new" button in the groups, keep_disks, keep_services, links, nodes, and virtual_machines listing pages.

8 years ago7160: Add Azure Storage config page, update keepstore help text, add run script.
Tom Clegg [Mon, 26 Oct 2015 22:14:41 +0000 (18:14 -0400)]
7160: Add Azure Storage config page, update keepstore help text, add run script.

8 years ago7453: Add "Add new group" button to user admin page.
radhika [Mon, 26 Oct 2015 19:39:27 +0000 (15:39 -0400)]
7453: Add "Add new group" button to user admin page.

8 years agoMerge branch 'pr/25'
Brett Smith [Mon, 26 Oct 2015 18:46:57 +0000 (14:46 -0400)]
Merge branch 'pr/25'

Closes #7307.

8 years ago7307: Clarify intended failure in arv-git-httpd SplitHostPort test.
Brett Smith [Mon, 26 Oct 2015 18:24:51 +0000 (14:24 -0400)]
7307: Clarify intended failure in arv-git-httpd SplitHostPort test.

8 years ago7492: add a keepproxy test with temporary connection refused error.
radhika [Sat, 24 Oct 2015 20:00:38 +0000 (16:00 -0400)]
7492: add a keepproxy test with temporary connection refused error.

8 years agoMerge branch '7587-pysdk-retry-test-wip'
Brett Smith [Sat, 24 Oct 2015 19:21:27 +0000 (15:21 -0400)]
Merge branch '7587-pysdk-retry-test-wip'

Closes #7587, #7647.

8 years ago7587: Add test for PySDK API client socket.error retries.
Brett Smith [Fri, 23 Oct 2015 20:34:38 +0000 (16:34 -0400)]
7587: Add test for PySDK API client socket.error retries.

8 years ago7587: Refactor PySDK API tests to use TestCaseWithServers.
Brett Smith [Fri, 23 Oct 2015 19:42:59 +0000 (15:42 -0400)]
7587: Refactor PySDK API tests to use TestCaseWithServers.

History: first this test case used entirely mock responses.  Then we
started running the API server to provide a discovery document.  Then
people added tests that expected to talk to a real test server,
particularly test_empty_list and test_nonempty_list.  These tests
would talk to the API server configured in the user's environment, and
fail if that's not a test API server.

Using TestCaseWithServers fixes the immediate bug in the tests, and
better reflects the current real state of the test case.

8 years agoMerge branch '6600-retry-job-helpers'
Bryan Cosca [Fri, 23 Oct 2015 21:30:43 +0000 (17:30 -0400)]
Merge branch '6600-retry-job-helpers'

refs #6600

8 years agoMerge branch 'master' into 7492-keepproxy-upstream-errors
radhika [Fri, 23 Oct 2015 21:28:07 +0000 (17:28 -0400)]
Merge branch 'master' into 7492-keepproxy-upstream-errors

8 years ago6600: Added Retryloop to task_set_output(), current_task(), and current_job() to...
Bryan Cosca [Fri, 23 Oct 2015 21:19:57 +0000 (17:19 -0400)]
6600: Added Retryloop to task_set_output(), current_task(), and current_job() to python SDK

8 years agoMerge branch 'master' into 7582-crunch-runner
Peter Amstutz [Fri, 23 Oct 2015 19:17:50 +0000 (15:17 -0400)]
Merge branch 'master' into 7582-crunch-runner

Conflicts:
sdk/cli/bin/crunch-job

8 years agoMerge branch '7582-run-any-docker-container' refs #7582
Peter Amstutz [Fri, 23 Oct 2015 19:00:01 +0000 (15:00 -0400)]
Merge branch '7582-run-any-docker-container' refs #7582

8 years ago7582: Add test for stdbuf in /bin/sh bootstrap script.
Peter Amstutz [Fri, 23 Oct 2015 18:57:55 +0000 (14:57 -0400)]
7582: Add test for stdbuf in /bin/sh bootstrap script.

8 years ago7582: Adjust signal catching to eliminate races. Tighten up code based on comments.
Peter Amstutz [Fri, 23 Oct 2015 15:16:27 +0000 (11:16 -0400)]
7582: Adjust signal catching to eliminate races.  Tighten up code based on comments.

8 years ago7492: cleanup error checking in keepproxy
radhika [Fri, 23 Oct 2015 15:14:43 +0000 (11:14 -0400)]
7492: cleanup error checking in keepproxy

8 years agoMerge branch 'master' into 7492-keepproxy-upstream-errors
radhika [Fri, 23 Oct 2015 13:44:47 +0000 (09:44 -0400)]
Merge branch 'master' into 7492-keepproxy-upstream-errors

8 years agoMerge branch '7587-httplib2-retries-wip'
Brett Smith [Fri, 23 Oct 2015 00:09:37 +0000 (20:09 -0400)]
Merge branch '7587-httplib2-retries-wip'

Refs #7587.  Closes #7640.

8 years ago7587: PySDK retries socket.error exceptions from API requests.
Brett Smith [Wed, 21 Oct 2015 16:35:45 +0000 (12:35 -0400)]
7587: PySDK retries socket.error exceptions from API requests.

8 years agocloses #7546
radhika [Thu, 22 Oct 2015 19:32:31 +0000 (15:32 -0400)]
closes #7546
Merge branch '7546-put-retry'

8 years ago7546: update comment to explain why we do not want to retry when status code is 503.
radhika [Thu, 22 Oct 2015 19:31:32 +0000 (15:31 -0400)]
7546: update comment to explain why we do not want to retry when status code is 503.

8 years agoMerge branch 'master' into 7546-put-retry
radhika [Thu, 22 Oct 2015 19:24:43 +0000 (15:24 -0400)]
Merge branch 'master' into 7546-put-retry

8 years ago7582: fix typo --user=$try_user to $try_user_arg
Peter Amstutz [Thu, 22 Oct 2015 19:08:15 +0000 (15:08 -0400)]
7582: fix typo --user=$try_user to $try_user_arg

8 years ago7582: Don't call stdbuf in minimal run mode.
Peter Amstutz [Thu, 22 Oct 2015 19:05:11 +0000 (15:05 -0400)]
7582: Don't call stdbuf in minimal run mode.

8 years ago7582: Make fields in Job, Task, TaskDefs public so that json loading reflection works.
Peter Amstutz [Thu, 22 Oct 2015 18:55:44 +0000 (14:55 -0400)]
7582: Make fields in Job, Task, TaskDefs public so that json loading reflection works.

8 years ago7582: Add parameter substitution. Improve validity checking for filenames.
Peter Amstutz [Thu, 22 Oct 2015 18:16:56 +0000 (14:16 -0400)]
7582: Add parameter substitution. Improve validity checking for filenames.
Adjust signal handling & added test.  Tweak behavior on exit code handling.
Move IArvadosClient to crunchrunner.

8 years agorefs #7167
radhika [Thu, 22 Oct 2015 17:14:00 +0000 (13:14 -0400)]
refs #7167
Merge branch '7167-keep-rsync'

8 years agoMerge branch 'master' into 7167-keep-rsync
radhika [Thu, 22 Oct 2015 17:03:18 +0000 (13:03 -0400)]
Merge branch 'master' into 7167-keep-rsync

8 years ago7582: Better reporting in the log about user probe behavior.
Peter Amstutz [Thu, 22 Oct 2015 14:20:36 +0000 (10:20 -0400)]
7582: Better reporting in the log about user probe behavior.

8 years ago7582: Better reporting in the log about user probe behavior.
Peter Amstutz [Thu, 22 Oct 2015 14:20:36 +0000 (10:20 -0400)]
7582: Better reporting in the log about user probe behavior.

8 years ago7582: Runner uploads results. Feature complete.
Peter Amstutz [Thu, 22 Oct 2015 13:51:37 +0000 (09:51 -0400)]
7582: Runner uploads results.  Feature complete.

8 years ago7582: Uploader passes tests
Peter Amstutz [Thu, 22 Oct 2015 13:20:13 +0000 (09:20 -0400)]
7582: Uploader passes tests

8 years ago7582: Uploader mostly done, writing tests
Peter Amstutz [Wed, 21 Oct 2015 20:41:35 +0000 (16:41 -0400)]
7582: Uploader mostly done, writing tests

8 years agoFix multiple exception catching in arv-run.
Brett Smith [Wed, 21 Oct 2015 19:37:53 +0000 (15:37 -0400)]
Fix multiple exception catching in arv-run.

The previous version catches IOError and binds the exception object to
the name OSError.  No issue #.

8 years ago7582: More tests, add vwd support
Peter Amstutz [Wed, 21 Oct 2015 17:38:57 +0000 (13:38 -0400)]
7582: More tests, add vwd support

8 years ago7582: Working on tests.
Peter Amstutz [Wed, 21 Oct 2015 17:04:07 +0000 (13:04 -0400)]
7582: Working on tests.

8 years ago7167: expand the src and dst help messages to list the config parameters that are...
radhika [Wed, 21 Oct 2015 16:23:09 +0000 (12:23 -0400)]
7167: expand the src and dst help messages to list the config parameters that are to be included in the config files.

8 years agoMerge branch '7015-update-user-guide'
Bryan Cosca [Wed, 21 Oct 2015 15:36:25 +0000 (11:36 -0400)]
Merge branch '7015-update-user-guide'

closes #7015

8 years agoSSO installation doc fix: to run rails console, you need to be in the
Ward Vandewege [Wed, 21 Oct 2015 15:19:46 +0000 (11:19 -0400)]
SSO installation doc fix: to run rails console, you need to be in the
/var/www/arvados-sso/current directory.

closes #7623

8 years ago7015: Removed whitespace
Bryan Cosca [Wed, 21 Oct 2015 15:18:52 +0000 (11:18 -0400)]
7015: Removed whitespace

8 years ago7582: Crunchrunner work in progress.
Peter Amstutz [Wed, 21 Oct 2015 13:03:27 +0000 (09:03 -0400)]
7582: Crunchrunner work in progress.

8 years agoMerge branch 'master' into 7492-keepproxy-upstream-errors
radhika [Wed, 21 Oct 2015 13:00:58 +0000 (09:00 -0400)]
Merge branch 'master' into 7492-keepproxy-upstream-errors

8 years ago6358: Fix probe order test logic.
Tom Clegg [Tue, 20 Oct 2015 21:53:27 +0000 (17:53 -0400)]
6358: Fix probe order test logic.

This request order is OK with two threads: thread "0" just took a long
time to make its request.

expect 0 1 2 3 4 5 6 7
got    1 2 3 4 5 0 6 7

The inverse is not OK. This would mean 0 started before any of
1,2,3,4,5 finished.

expect 1 2 3 4 5 0 6 7
got    0 1 2 3 4 5 6 7

refs #6358

8 years ago6358: Fix race opportunity in ThreadLimiter.
Tom Clegg [Tue, 20 Oct 2015 21:52:55 +0000 (17:52 -0400)]
6358: Fix race opportunity in ThreadLimiter.

refs #6358

8 years ago7582: (1) Probe for non-root Docker user to use instead of assuming "crunch".
Peter Amstutz [Tue, 20 Oct 2015 20:34:50 +0000 (16:34 -0400)]
7582: (1) Probe for non-root Docker user to use instead of assuming "crunch".
Tries the default user for the container, then 'crunch', then 'nobody', testing
for whether the actual user id is non-zero.  This defends against mistakes but
not malice, but we intend to harden the security in the future so we don't want
anyone getting used to their jobs running as root in their Docker
containers.

(2) If arvados_sdk_version is not present, skip the "pipe to perl to install
the SDK" logic, but instead bootstrap with a small bash script that only
creates temporary directories and runs the crunch script.

8 years ago7546: update some of the failure tests to use keepclient.Retries = 0, so that the...
radhika [Tue, 20 Oct 2015 17:41:29 +0000 (13:41 -0400)]
7546: update some of the failure tests to use keepclient.Retries = 0, so that the tests do not waste too much time
retrying a test that is designed for failures. This update brings down the keepclient_test runtime from 49s to 10s.

8 years agoMerge branch 'master' into 7546-put-retry
radhika [Tue, 20 Oct 2015 17:30:45 +0000 (13:30 -0400)]
Merge branch 'master' into 7546-put-retry

8 years agoMerge branch 'master' into 7492-keepproxy-upstream-errors
radhika [Tue, 20 Oct 2015 15:41:07 +0000 (11:41 -0400)]
Merge branch 'master' into 7492-keepproxy-upstream-errors

8 years ago7492: update keep-rsync test with bad blob signing key to expect Forbidden error...
radhika [Tue, 20 Oct 2015 15:40:05 +0000 (11:40 -0400)]
7492: update keep-rsync test with bad blob signing key to expect Forbidden error instead of Block not found error.

8 years ago7546: also retry when status code is 0, which is the case when a closed connection...
radhika [Tue, 20 Oct 2015 15:21:34 +0000 (11:21 -0400)]
7546: also retry when status code is 0, which is the case when a closed connection was used.

8 years agoMerge branch 'pr/28'
Brett Smith [Tue, 20 Oct 2015 15:04:29 +0000 (11:04 -0400)]
Merge branch 'pr/28'

Closes #7324.

8 years agoClean redundant except: blocks in run_test_server.
Brett Smith [Tue, 20 Oct 2015 15:03:55 +0000 (11:03 -0400)]
Clean redundant except: blocks in run_test_server.

8 years ago7324: Tighten exception ignoring in run_test_server start_nginx.
Brett Smith [Tue, 20 Oct 2015 15:02:51 +0000 (11:02 -0400)]
7324: Tighten exception ignoring in run_test_server start_nginx.

We just want to make sure the FIFO's gone.  Ignore the OSError that
says "can't remove it because it's already gone," and re-raise all
others.

8 years agoMerge branch 'master' into 7546-put-retry
radhika [Tue, 20 Oct 2015 15:02:19 +0000 (11:02 -0400)]
Merge branch 'master' into 7546-put-retry

8 years ago7492: better error reporting of upstream errors in keepproxy.
radhika [Tue, 20 Oct 2015 14:59:41 +0000 (10:59 -0400)]
7492: better error reporting of upstream errors in keepproxy.

8 years agoMerge branch '6358-put-rendezvous' closes #6358
Tom Clegg [Mon, 19 Oct 2015 19:29:28 +0000 (15:29 -0400)]
Merge branch '6358-put-rendezvous' closes #6358

8 years ago5824: Leave "install keep-web" page out of install guide TOC for now.
Tom Clegg [Mon, 19 Oct 2015 19:19:02 +0000 (15:19 -0400)]
5824: Leave "install keep-web" page out of install guide TOC for now.

8 years ago7499: Update development link in Workbench "Getting Started" popup.
Brett Smith [Mon, 19 Oct 2015 18:40:24 +0000 (14:40 -0400)]
7499: Update development link in Workbench "Getting Started" popup.

Also, de-hyphenate "open source."

Refs #7499.

8 years agoMerge branch 'master' into 7546-put-retry
radhika [Mon, 19 Oct 2015 18:13:25 +0000 (14:13 -0400)]
Merge branch 'master' into 7546-put-retry

8 years agorefs #7167
radhika [Mon, 19 Oct 2015 18:12:00 +0000 (14:12 -0400)]
refs #7167
Merge branch '7167-keep-rsync'

8 years agoMerge branch 'master' into 7167-keep-rsync
radhika [Mon, 19 Oct 2015 18:11:41 +0000 (14:11 -0400)]
Merge branch 'master' into 7167-keep-rsync

8 years ago5824: Fixup nginx and workbench configs
Tom Clegg [Mon, 19 Oct 2015 17:22:53 +0000 (13:22 -0400)]
5824: Fixup nginx and workbench configs