arvados.git
8 years ago7751: Set up an arv-mount scratch directory for each task, and put its path in TASK_K...
Tom Clegg [Fri, 27 Nov 2015 01:52:10 +0000 (20:52 -0500)]
7751: Set up an arv-mount scratch directory for each task, and put its path in TASK_KEEPMOUNT_TMP.

8 years agocloses #6027
radhika [Wed, 2 Dec 2015 22:44:47 +0000 (17:44 -0500)]
closes #6027
Merge branch '6027-git-repo-doc'

8 years ago6027: fix typo
radhika [Wed, 2 Dec 2015 22:43:37 +0000 (17:43 -0500)]
6027: fix typo

8 years agoMerge branch 'master' into 6027-git-repo-doc
radhika [Wed, 2 Dec 2015 22:15:12 +0000 (17:15 -0500)]
Merge branch 'master' into 6027-git-repo-doc

8 years agoMerge branch '7868-docker-run-args' closes #7868
Tom Clegg [Wed, 2 Dec 2015 21:56:40 +0000 (16:56 -0500)]
Merge branch '7868-docker-run-args' closes #7868

8 years ago7868: Allow admin to add arguments to "docker run" commands.
Tom Clegg [Wed, 25 Nov 2015 22:53:14 +0000 (17:53 -0500)]
7868: Allow admin to add arguments to "docker run" commands.

8 years ago6027: update git-arvados-guide to instruct the users to create scripts in crunch_scri...
radhika [Wed, 2 Dec 2015 19:57:52 +0000 (14:57 -0500)]
6027: update git-arvados-guide to instruct the users to create scripts in crunch_scripts subdirectory.

8 years ago7313: Fix sprintf formatter in crunch-job warning message.
Brett Smith [Wed, 2 Dec 2015 17:54:56 +0000 (12:54 -0500)]
7313: Fix sprintf formatter in crunch-job warning message.

Refs #7313.

8 years agocloses #7748
radhika [Wed, 2 Dec 2015 17:37:15 +0000 (12:37 -0500)]
closes #7748
Merge branch '7748-datamanager-dry-run'

8 years ago7748: correct the local variable declaration
radhika [Wed, 2 Dec 2015 17:36:12 +0000 (12:36 -0500)]
7748: correct the local variable declaration

8 years agoMerge branch 'master' into 7748-datamanager-dry-run
radhika [Wed, 2 Dec 2015 17:30:10 +0000 (12:30 -0500)]
Merge branch 'master' into 7748-datamanager-dry-run

Conflicts:
services/datamanager/datamanager_test.go

8 years agocloses #7710
radhika [Wed, 2 Dec 2015 17:22:00 +0000 (12:22 -0500)]
closes #7710
Merge branch '7710-keepclient-all-service-types'

8 years ago7710: text updates around the -service-type argument.
radhika [Wed, 2 Dec 2015 16:58:39 +0000 (11:58 -0500)]
7710: text updates around the -service-type argument.

8 years ago7710: update crunchrunner.upload.go to compile; this was broken after the keep-web...
radhika [Tue, 1 Dec 2015 18:33:55 +0000 (13:33 -0500)]
7710: update crunchrunner.upload.go to compile; this was broken after the keep-web updates; also, add this package to gostuff in run-tests.sh

8 years ago7710: update serviceType argument handling to ignore any keepservices that are of...
radhika [Tue, 1 Dec 2015 14:26:13 +0000 (09:26 -0500)]
7710: update serviceType argument handling to ignore any keepservices that are of a different type. Add a datamanager test with one extra unsupported-typed keepserver, which should hence be ignored by datamanager.

8 years ago7710: Remove KeepClient.Using_proxy and all it's references since we are no longer...
radhika [Mon, 30 Nov 2015 23:09:57 +0000 (18:09 -0500)]
7710: Remove KeepClient.Using_proxy and all it's references since we are no longer using it.
Update datamanager to use a configured supported service type instead of hardcoding "disk" type.

8 years ago7710: Add keep_services#accessible test.
Tom Clegg [Mon, 30 Nov 2015 20:28:19 +0000 (15:28 -0500)]
7710: Add keep_services#accessible test.

8 years ago7710: improve keepclient to use non-disk timeouts when any non-disk typed keepservice...
radhika [Fri, 27 Nov 2015 22:13:17 +0000 (17:13 -0500)]
7710: improve keepclient to use non-disk timeouts when any non-disk typed keepservices are found; previously, this was done for proxy typed keepservices only.

8 years ago7748: use local variables for arvLogger.Update
radhika [Wed, 2 Dec 2015 16:18:51 +0000 (11:18 -0500)]
7748: use local variables for arvLogger.Update

8 years agoMerge branch 'master' into 7748-datamanager-dry-run
radhika [Wed, 2 Dec 2015 14:52:27 +0000 (09:52 -0500)]
Merge branch 'master' into 7748-datamanager-dry-run

8 years agoMerge branch '7697-socket-retry' closes #7697
Tom Clegg [Tue, 1 Dec 2015 21:46:03 +0000 (16:46 -0500)]
Merge branch '7697-socket-retry' closes #7697

8 years ago7697: Avoid reusing long-idle HTTP connections. Avoid retrying non-idempotent operations.
Tom Clegg [Tue, 1 Dec 2015 20:48:22 +0000 (15:48 -0500)]
7697: Avoid reusing long-idle HTTP connections. Avoid retrying non-idempotent operations.

8 years agoMerge branch '7870-crunch-dispatch-retry-fail-lock-wip'
Brett Smith [Tue, 1 Dec 2015 21:21:43 +0000 (16:21 -0500)]
Merge branch '7870-crunch-dispatch-retry-fail-lock-wip'

Closes #7870, #7877.

8 years ago7870: Teach crunch-dispatch to fail jobs it already locked.
Brett Smith [Tue, 1 Dec 2015 15:38:09 +0000 (10:38 -0500)]
7870: Teach crunch-dispatch to fail jobs it already locked.

The fail_job method has been written with the assumption that the job
should be unlocked.  The retry support added in #4410 breaks this
assumption.  Teach fail_job to acquire the lock only when we don't
know we already have it.

8 years agoMerge branch '6309-file-cache-runtime-constraint' closes #6309
Peter Amstutz [Tue, 1 Dec 2015 17:03:26 +0000 (12:03 -0500)]
Merge branch '6309-file-cache-runtime-constraint' closes #6309

8 years ago7748: when dryRun continue and leave the regular flow untouched.
radhika [Tue, 1 Dec 2015 15:41:38 +0000 (10:41 -0500)]
7748: when dryRun continue and leave the regular flow untouched.

8 years agoMerge branch 'master' into 6309-file-cache-runtime-constraint
Peter Amstutz [Tue, 1 Dec 2015 14:26:59 +0000 (09:26 -0500)]
Merge branch 'master' into 6309-file-cache-runtime-constraint

8 years ago6309: Use arv-mount default cache size. Fix documentation typo.
Peter Amstutz [Tue, 1 Dec 2015 14:26:02 +0000 (09:26 -0500)]
6309: Use arv-mount default cache size.  Fix documentation typo.

8 years ago7748: address dryRun in summary.WritePullLists and keep.SendTrashLists
radhika [Mon, 30 Nov 2015 21:46:36 +0000 (16:46 -0500)]
7748: address dryRun in summary.WritePullLists and keep.SendTrashLists

8 years agoMerge branch 'master' into 7748-datamanager-dry-run
radhika [Mon, 30 Nov 2015 15:40:29 +0000 (10:40 -0500)]
Merge branch 'master' into 7748-datamanager-dry-run

8 years agocloses #7252
radhika [Mon, 30 Nov 2015 15:27:47 +0000 (10:27 -0500)]
closes #7252
Merge branch '7252-go-sdk-errors'

8 years agoMerge branch 'master' into 7748-datamanager-dry-run
radhika [Fri, 27 Nov 2015 16:03:10 +0000 (11:03 -0500)]
Merge branch 'master' into 7748-datamanager-dry-run

8 years agoMerge branch 'master' into 7252-go-sdk-errors
radhika [Fri, 27 Nov 2015 16:02:38 +0000 (11:02 -0500)]
Merge branch 'master' into 7252-go-sdk-errors

8 years agoMock dispatch instead of relying on rollback in child proc.
Tom Clegg [Fri, 27 Nov 2015 09:28:16 +0000 (04:28 -0500)]
Mock dispatch instead of relying on rollback in child proc.

No issue #. amends d88316705b23d1022ee2167c7ed0e5cf5e460cbe

8 years agoClear job queue before testing crunch-dispatch start/stop.
Tom Clegg [Fri, 27 Nov 2015 07:01:42 +0000 (02:01 -0500)]
Clear job queue before testing crunch-dispatch start/stop.

Otherwise, it might get as far as starting jobs before we send TERM.

No issue # but see build 2249.

8 years agoMerge branch '7851-available-port' refs #7851
Tom Clegg [Fri, 27 Nov 2015 02:16:57 +0000 (21:16 -0500)]
Merge branch '7851-available-port' refs #7851

8 years agoFix crash on removing nonexistent directory.
Tom Clegg [Fri, 27 Nov 2015 02:16:16 +0000 (21:16 -0500)]
Fix crash on removing nonexistent directory.

No issue #

8 years ago7851: Use a random display (:100-:499 = port 6100-6499) for Xvfb, instead of always...
Tom Clegg [Thu, 26 Nov 2015 22:44:18 +0000 (17:44 -0500)]
7851: Use a random display (:100-:499 = port 6100-6499) for Xvfb, instead of always :99.

8 years ago7748: add dry-run command line argument.
radhika [Thu, 26 Nov 2015 22:24:41 +0000 (17:24 -0500)]
7748: add dry-run command line argument.

8 years ago7851: Choose available ports for selenium and poltergeist.
Tom Clegg [Thu, 26 Nov 2015 21:41:49 +0000 (16:41 -0500)]
7851: Choose available ports for selenium and poltergeist.

Also, display the chosen port numbers at startup.

Without this the Selenium driver defaults to 7055, which causes
interference between concurrent test runs.

8 years agoWarn, but do not error out, if a collection has conflicting block sizes.
Tom Clegg [Thu, 26 Nov 2015 19:23:03 +0000 (14:23 -0500)]
Warn, but do not error out, if a collection has conflicting block sizes.

If this is treated as a fatal error, any user can stop all garbage
collection entirely by hand-editing a collection (accidentally or
maliciously) to include the same block with different size hints.

No issue #

8 years agorefs #7253
radhika [Thu, 26 Nov 2015 18:10:48 +0000 (13:10 -0500)]
refs #7253
Merge branch '7253-datamanager-test-errors'

8 years ago7253: update the manifest_text for the test fixture multilevel_collection_2 to be...
radhika [Thu, 26 Nov 2015 18:08:07 +0000 (13:08 -0500)]
7253: update the manifest_text for the test fixture multilevel_collection_2 to be valid.

8 years agoUpdate capybara in workbench bundle.
Tom Clegg [Thu, 26 Nov 2015 16:14:29 +0000 (11:14 -0500)]
Update capybara in workbench bundle.

No issue #

8 years agoMerge branch 'master' into 7252-go-sdk-errors
radhika [Thu, 26 Nov 2015 16:01:03 +0000 (11:01 -0500)]
Merge branch 'master' into 7252-go-sdk-errors

Conflicts:
sdk/go/manifest/manifest_test.go

8 years agocloses #7253
radhika [Thu, 26 Nov 2015 15:46:51 +0000 (10:46 -0500)]
closes #7253
Merge branch '7253-datamanager-test-errors'

8 years ago7253: update manigest.parseManifestStream to raise error when the given manifest...
radhika [Thu, 26 Nov 2015 15:33:31 +0000 (10:33 -0500)]
7253: update manigest.parseManifestStream to raise error when the given manifest does not have any block locators or file tokens.

8 years ago7253: update BlockIterWithDuplicates to return any errors through Manifest, rather...
radhika [Thu, 26 Nov 2015 05:22:12 +0000 (00:22 -0500)]
7253: update BlockIterWithDuplicates to return any errors through Manifest, rather than BlockLocator.

8 years agoMerge branch 'master' into 7253-datamanager-test-errors
radhika [Thu, 26 Nov 2015 03:52:29 +0000 (22:52 -0500)]
Merge branch 'master' into 7253-datamanager-test-errors

8 years ago7253: consume all blocks from BlockIterWithDuplicates, not just the first in test.
radhika [Thu, 26 Nov 2015 03:50:19 +0000 (22:50 -0500)]
7253: consume all blocks from BlockIterWithDuplicates, not just the first in test.

8 years agoMerge branch '7832-pysdk-use-slots' refs #7832
Peter Amstutz [Thu, 26 Nov 2015 02:14:02 +0000 (21:14 -0500)]
Merge branch '7832-pysdk-use-slots' refs #7832

8 years ago7253: update arvadostest.stub to offer ServerStub and remove the redundant KeepServer...
radhika [Wed, 25 Nov 2015 23:07:30 +0000 (18:07 -0500)]
7253: update arvadostest.stub to offer ServerStub and remove the redundant KeepServerStub; update tests accordingly.

8 years ago7253: rename arvadostest/testing.go as stub.go
radhika [Wed, 25 Nov 2015 22:27:21 +0000 (17:27 -0500)]
7253: rename arvadostest/testing.go as stub.go

8 years agoMerge branch 'master' into 7253-datamanager-test-errors
radhika [Wed, 25 Nov 2015 22:21:22 +0000 (17:21 -0500)]
Merge branch 'master' into 7253-datamanager-test-errors

8 years ago7252: convert fatalf's into errors in logger sdk code; remove AssertFromString from...
radhika [Wed, 25 Nov 2015 22:16:27 +0000 (17:16 -0500)]
7252: convert fatalf's into errors in logger sdk code; remove AssertFromString from blockdigest and instead use FromString in all places where it was being used.

8 years ago7832: Add __slots__ and remove __del__ which interfers with garbage collection. ...
Peter Amstutz [Wed, 25 Nov 2015 21:41:45 +0000 (16:41 -0500)]
7832: Add __slots__ and remove __del__ which interfers with garbage collection.  Memory usage comes down by ~40%

8 years agoMove remaining arv-run-pipeline-instance usage info from comments to --help message.
Tom Clegg [Wed, 25 Nov 2015 18:37:24 +0000 (13:37 -0500)]
Move remaining arv-run-pipeline-instance usage info from comments to --help message.

No issue #

8 years ago7751: Clean up KEEP_LOCAL_STORE env var after tests.
Tom Clegg [Wed, 25 Nov 2015 18:06:07 +0000 (13:06 -0500)]
7751: Clean up KEEP_LOCAL_STORE env var after tests.

refs #7751

8 years ago7253: instead of ignoring errors during BlockIterWithDuplicates, send them to the...
radhika [Wed, 25 Nov 2015 17:06:05 +0000 (12:06 -0500)]
7253: instead of ignoring errors during BlockIterWithDuplicates, send them to the caller.

8 years ago5824: Move run_test_server diag messages from stdout to stderr.
Tom Clegg [Wed, 25 Nov 2015 15:49:57 +0000 (10:49 -0500)]
5824: Move run_test_server diag messages from stdout to stderr.

refs #5824

8 years agoMerge branch '7751-mount-tmp' refs #7751
Tom Clegg [Wed, 25 Nov 2015 15:45:24 +0000 (10:45 -0500)]
Merge branch '7751-mount-tmp' refs #7751

8 years ago7751: Fix race by telling fuse not to cache the .arvados#collection dirent.
Tom Clegg [Tue, 24 Nov 2015 18:45:02 +0000 (13:45 -0500)]
7751: Fix race by telling fuse not to cache the .arvados#collection dirent.

8 years ago7751: Refactor TmpCollectionDirectory: generate .arvados#collection less often.
Tom Clegg [Tue, 24 Nov 2015 18:43:42 +0000 (13:43 -0500)]
7751: Refactor TmpCollectionDirectory: generate .arvados#collection less often.

8 years ago7751: Fix stack trace on shutdown caused by race between destroy() and llfuse unmount.
Tom Clegg [Tue, 24 Nov 2015 15:41:15 +0000 (10:41 -0500)]
7751: Fix stack trace on shutdown caused by race between destroy() and llfuse unmount.

8 years ago7751: Fix shell wrapper code path.
Tom Clegg [Mon, 23 Nov 2015 22:42:40 +0000 (17:42 -0500)]
7751: Fix shell wrapper code path.

8 years ago7751: Lowercase method name for PEP-0008.
Tom Clegg [Mon, 23 Nov 2015 21:31:37 +0000 (16:31 -0500)]
7751: Lowercase method name for PEP-0008.

8 years ago7751: Suppress help messages when testing usage errors.
Tom Clegg [Sun, 22 Nov 2015 10:26:13 +0000 (05:26 -0500)]
7751: Suppress help messages when testing usage errors.

8 years ago7751: Update explanation of special .arvados#collection file. Fix wayward use of...
Tom Clegg [Fri, 20 Nov 2015 23:37:32 +0000 (18:37 -0500)]
7751: Update explanation of special .arvados#collection file. Fix wayward use of "Keep locator".

8 years ago7751: Return an empty array from InodeCache.find() instead of None.
Tom Clegg [Fri, 20 Nov 2015 23:09:55 +0000 (18:09 -0500)]
7751: Return an empty array from InodeCache.find() instead of None.

8 years ago7751: Test mount arguments.
Tom Clegg [Fri, 20 Nov 2015 08:38:10 +0000 (03:38 -0500)]
7751: Test mount arguments.

8 years ago7751: Add tests for --mount-tmp option.
Tom Clegg [Fri, 20 Nov 2015 01:38:34 +0000 (20:38 -0500)]
7751: Add tests for --mount-tmp option.

8 years ago7751: Move code from arv-mount executable to module.
Tom Clegg [Thu, 19 Nov 2015 22:37:25 +0000 (17:37 -0500)]
7751: Move code from arv-mount executable to module.

8 years ago7751: Add --mount-tmp option.
Tom Clegg [Wed, 18 Nov 2015 19:32:18 +0000 (14:32 -0500)]
7751: Add --mount-tmp option.

8 years agoMerge branch '7676-dispatch-cheaper-nodes' closes #7676
Tom Clegg [Wed, 25 Nov 2015 15:43:53 +0000 (10:43 -0500)]
Merge branch '7676-dispatch-cheaper-nodes' closes #7676

8 years ago7676: Improve comments.
Tom Clegg [Tue, 24 Nov 2015 21:16:13 +0000 (16:16 -0500)]
7676: Improve comments.

8 years ago7676: Test choosing cheaper nodes, and basic crunch-dispatch startup/locking.
Tom Clegg [Mon, 23 Nov 2015 18:29:52 +0000 (13:29 -0500)]
7676: Test choosing cheaper nodes, and basic crunch-dispatch startup/locking.

8 years ago7676: Move crunch dispatch code into lib.
Tom Clegg [Mon, 23 Nov 2015 09:03:40 +0000 (04:03 -0500)]
7676: Move crunch dispatch code into lib.

8 years ago7676: Prefer cheaper nodes when allocating nodes to jobs.
Tom Clegg [Mon, 23 Nov 2015 08:07:40 +0000 (03:07 -0500)]
7676: Prefer cheaper nodes when allocating nodes to jobs.

8 years ago7253: Update test so that it compiles and passes.
radhika [Wed, 25 Nov 2015 15:21:11 +0000 (10:21 -0500)]
7253: Update test so that it compiles and passes.

8 years ago6309: Add runtime constraint keep_cache_mb_per_task
Peter Amstutz [Tue, 24 Nov 2015 20:31:34 +0000 (15:31 -0500)]
6309: Add runtime constraint keep_cache_mb_per_task

8 years ago7253: Write a test that "does not" fail when an invalid manifest text is retrieved...
radhika [Tue, 24 Nov 2015 20:02:20 +0000 (15:02 -0500)]
7253: Write a test that "does not" fail when an invalid manifest text is retrieved during collection.GetCollections(). The expected behavior: GetCollections() raises error in this case and hence datamanager aborts without deleting any blocks.

8 years ago7253: Refactor APIStub and KeepServerStub into a testing.go so that the code can...
radhika [Tue, 24 Nov 2015 17:51:13 +0000 (12:51 -0500)]
7253: Refactor APIStub and KeepServerStub into a testing.go so that the code can be reused from various packages

8 years ago7751: 7654: Rename bool to _closed to avoid conflicting with superclass closed()...
Tom Clegg [Sun, 22 Nov 2015 10:03:36 +0000 (05:03 -0500)]
7751: 7654: Rename bool to _closed to avoid conflicting with superclass closed() method.

refs #7654

8 years agoFix Azure node listing in node manager. refs #5353
Peter Amstutz [Mon, 23 Nov 2015 14:25:04 +0000 (09:25 -0500)]
Fix Azure node listing in node manager.  refs #5353

8 years agocloses #7255
radhika [Fri, 20 Nov 2015 22:36:32 +0000 (17:36 -0500)]
closes #7255
Merge branch '7255-manifests-in-datamanager'

8 years agoMerge branch 'master' into 7255-manifests-in-datamanager
radhika [Fri, 20 Nov 2015 22:35:25 +0000 (17:35 -0500)]
Merge branch 'master' into 7255-manifests-in-datamanager

8 years ago7255: rename test and update comments.
radhika [Fri, 20 Nov 2015 22:34:34 +0000 (17:34 -0500)]
7255: rename test and update comments.

8 years agoInstall guide crunch-dispatch runit script exports $HOME.
Brett Smith [Fri, 20 Nov 2015 22:14:17 +0000 (17:14 -0500)]
Install guide crunch-dispatch runit script exports $HOME.

crunch-dispatch needs $HOME set in order to do some path
manipulation.  We set it to $(pwd) in production, which should
normally be the runit service definition directory.

This seems weird and it seems likely that there's a better value, but
until we investigate that and figure that out, documenting what we
have in production is better than letting crunch-dispatch crash.

Reported in IRC.  No issue #.

8 years agoMerge branch 'master' into 7255-manifests-in-datamanager
radhika [Fri, 20 Nov 2015 22:13:00 +0000 (17:13 -0500)]
Merge branch 'master' into 7255-manifests-in-datamanager

Conflicts:
services/datamanager/datamanager_test.go

8 years agocloses #7490
radhika [Fri, 20 Nov 2015 21:33:13 +0000 (16:33 -0500)]
closes #7490
Merge branch '7490-datamanager-dont-die-return-error'

8 years agoMerge branch 'master' into 7490-datamanager-dont-die-return-error
radhika [Fri, 20 Nov 2015 21:32:29 +0000 (16:32 -0500)]
Merge branch 'master' into 7490-datamanager-dont-die-return-error

8 years agoMerge branch '7490-datamanager-dont-die-return-error' of git.curoverse.com:arvados...
radhika [Fri, 20 Nov 2015 21:26:18 +0000 (16:26 -0500)]
Merge branch '7490-datamanager-dont-die-return-error' of git.curoverse.com:arvados into 7490-datamanager-dont-die-return-error

8 years ago7490: Quote strings in error messages, fixup error matching in tests.
Tom Clegg [Fri, 20 Nov 2015 21:21:42 +0000 (16:21 -0500)]
7490: Quote strings in error messages, fixup error matching in tests.

8 years agoMerge branch '5353-booted-size' refs #5353
Peter Amstutz [Fri, 20 Nov 2015 21:20:46 +0000 (21:20 +0000)]
Merge branch '5353-booted-size' refs #5353

8 years ago5352: Set node size on records returned from libcloud create_node
Peter Amstutz [Fri, 20 Nov 2015 21:20:10 +0000 (21:20 +0000)]
5352: Set node size on records returned from libcloud create_node

8 years agoMerge branch '7711-record-node-price' closes #7711
Tom Clegg [Fri, 20 Nov 2015 20:42:28 +0000 (15:42 -0500)]
Merge branch '7711-record-node-price' closes #7711

8 years ago7711: Store cloud node size id and price in properties of Arvados node record.
Tom Clegg [Fri, 20 Nov 2015 20:36:04 +0000 (15:36 -0500)]
7711: Store cloud node size id and price in properties of Arvados node record.

8 years ago7255: update TestPutAndGetCollectionsWithMultipleStreamsAndBlocks to verify that...
radhika [Fri, 20 Nov 2015 18:28:04 +0000 (13:28 -0500)]
7255: update TestPutAndGetCollectionsWithMultipleStreamsAndBlocks to verify that expected number of unique block locators are created.

8 years ago7255: improve createMultiStreamBlockCollection to create collection with multiple...
radhika [Fri, 20 Nov 2015 17:26:05 +0000 (12:26 -0500)]
7255: improve createMultiStreamBlockCollection to create collection with multiple blocks per stream.

8 years agoFix for _size_shutdowns and node prices in node manager refs #5353
Peter Amstutz [Fri, 20 Nov 2015 15:48:57 +0000 (10:48 -0500)]
Fix for _size_shutdowns and node prices in node manager refs #5353