arvados.git
8 years agoMerge branch '6429-crunch2-api' closes #6429
Peter Amstutz [Mon, 14 Dec 2015 20:22:39 +0000 (15:22 -0500)]
Merge branch '6429-crunch2-api' closes #6429

8 years agoMerge branch '7939-arv-mount-errors' closes #7939
Peter Amstutz [Mon, 14 Dec 2015 20:21:59 +0000 (15:21 -0500)]
Merge branch '7939-arv-mount-errors' closes #7939

8 years ago7939: Use 100:: for bogus host check and add comment about API check.
Peter Amstutz [Mon, 14 Dec 2015 20:20:23 +0000 (15:20 -0500)]
7939: Use 100:: for bogus host check and add comment about API check.

8 years ago6429: Add for test child container requests are set priority=0 when parent
Peter Amstutz [Mon, 14 Dec 2015 19:22:43 +0000 (14:22 -0500)]
6429: Add for test child container requests are set priority=0 when parent
container is in final state.

8 years ago7939: Additional check for bad token.
Peter Amstutz [Mon, 14 Dec 2015 19:11:33 +0000 (14:11 -0500)]
7939: Additional check for bad token.

8 years ago7939: Check exit code in tests.
Peter Amstutz [Mon, 14 Dec 2015 19:09:20 +0000 (14:09 -0500)]
7939: Check exit code in tests.

8 years ago7939: Move daemonize to _run_standalone() after llfuse.init(), preserving open
Peter Amstutz [Fri, 11 Dec 2015 19:49:01 +0000 (14:49 -0500)]
7939: Move daemonize to _run_standalone() after llfuse.init(), preserving open
file descriptors.  Add tests for various error conditions that can prevent
successful mount.

8 years ago6429: Callback calls container_completed! instead of just setting state to final.
Peter Amstutz [Fri, 11 Dec 2015 15:24:06 +0000 (10:24 -0500)]
6429: Callback calls container_completed! instead of just setting state to final.

8 years ago6429: Rename request_finalize to handle_completed
Peter Amstutz [Thu, 10 Dec 2015 21:45:41 +0000 (16:45 -0500)]
6429: Rename request_finalize to handle_completed

8 years ago6429: Improve variable names in tests a bit. Default priority of container
Peter Amstutz [Thu, 10 Dec 2015 21:37:29 +0000 (16:37 -0500)]
6429: Improve variable names in tests a bit.  Default priority of container
request to nil and check for nil priority.  Complete/cancelled container
finalizes requests that created it and sets priority 0 on requests that it
created itself.

8 years agoMerge branch '7393-s3-volume' closes #7393
Tom Clegg [Thu, 10 Dec 2015 21:12:20 +0000 (16:12 -0500)]
Merge branch '7393-s3-volume' closes #7393

8 years ago7393: Add -uuid and -url options, fix memory sharing in -vary-request.
Tom Clegg [Wed, 9 Dec 2015 21:00:34 +0000 (16:00 -0500)]
7393: Add -uuid and -url options, fix memory sharing in -vary-request.

8 years ago7393: Quiet excessive debug printfs.
Tom Clegg [Wed, 9 Dec 2015 20:59:54 +0000 (15:59 -0500)]
7393: Quiet excessive debug printfs.

8 years ago7393: Add S3 volume type.
Tom Clegg [Wed, 9 Dec 2015 17:43:50 +0000 (12:43 -0500)]
7393: Add S3 volume type.

8 years ago7960: Fix typo in arv-run option reference.
Brett Smith [Thu, 10 Dec 2015 20:46:24 +0000 (15:46 -0500)]
7960: Fix typo in arv-run option reference.

Closes #7960.

8 years ago6429: Don't update priority if the container is already in Complete or Cancelled...
Peter Amstutz [Wed, 9 Dec 2015 21:02:53 +0000 (16:02 -0500)]
6429: Don't update priority if the container is already in Complete or Cancelled state.

8 years ago6429: Complete/Cancelled containers finalize associated container requests;
Peter Amstutz [Wed, 9 Dec 2015 20:48:37 +0000 (15:48 -0500)]
6429: Complete/Cancelled containers finalize associated container requests;
container requests update priority for associated containers.

8 years ago6429: Use text instead of string for longer API fields.
Peter Amstutz [Wed, 9 Dec 2015 20:06:46 +0000 (15:06 -0500)]
6429: Use text instead of string for longer API fields.
Move "resolve" from Container to ContainerRequest.
Simplify state transition checking.
Improve formatting of error messages.
Rename workbench models to be singular.
Remove bogus factory files.

8 years ago6429: Tests for priority update propagation to process tree, max priority from
Peter Amstutz [Tue, 8 Dec 2015 16:57:52 +0000 (11:57 -0500)]
6429: Tests for priority update propagation to process tree, max priority from
multiple requests, finalize request when container completes or cancels.

8 years ago7937: Update test case.
Tom Clegg [Tue, 8 Dec 2015 01:50:57 +0000 (20:50 -0500)]
7937: Update test case.

refs #7937

8 years agoMerge branch '7937-ignored-error' refs #7937
Tom Clegg [Mon, 7 Dec 2015 22:31:06 +0000 (17:31 -0500)]
Merge branch '7937-ignored-error' refs #7937

8 years ago7937: Fix ignored error from GetKeepServersAndSummarize.
Tom Clegg [Sat, 5 Dec 2015 08:47:04 +0000 (03:47 -0500)]
7937: Fix ignored error from GetKeepServersAndSummarize.

8 years ago6429: Committing container request creates container
Peter Amstutz [Mon, 7 Dec 2015 21:27:42 +0000 (16:27 -0500)]
6429: Committing container request creates container

8 years ago7829: Add MANIFEST.in for arvados-docker-cleaner.
Brett Smith [Mon, 7 Dec 2015 18:58:17 +0000 (13:58 -0500)]
7829: Add MANIFEST.in for arvados-docker-cleaner.

Refs #7829.

8 years ago7829: Restore MANIFEST.in files; add licenses to them.
Brett Smith [Mon, 7 Dec 2015 18:05:44 +0000 (13:05 -0500)]
7829: Restore MANIFEST.in files; add licenses to them.

This reverts cd78cc7c9d06ec84f1e272c4b5a15d377830edba.  The package
building process works without these files on Debian 8, but not Debian
7, which is what Jenkins is still running.

Refs #7829.

8 years ago6429: Put whitelist_update in module.
Peter Amstutz [Mon, 7 Dec 2015 17:57:57 +0000 (12:57 -0500)]
6429: Put whitelist_update in module.

8 years agoMerge branch '7829-package-licenses-wip'
Brett Smith [Mon, 7 Dec 2015 15:01:26 +0000 (10:01 -0500)]
Merge branch '7829-package-licenses-wip'

Refs #7829.  Closes #7914.

8 years ago7829: Gems include licenses and documentation.
Brett Smith [Thu, 3 Dec 2015 22:50:25 +0000 (17:50 -0500)]
7829: Gems include licenses and documentation.

8 years ago7829: Python bdists include licenses and documentation.
Brett Smith [Thu, 3 Dec 2015 22:35:29 +0000 (17:35 -0500)]
7829: Python bdists include licenses and documentation.

8 years ago7829: Remove unnecessary MANIFEST.in files.
Brett Smith [Thu, 3 Dec 2015 22:24:04 +0000 (17:24 -0500)]
7829: Remove unnecessary MANIFEST.in files.

setuptools includes every file tracked by your VCS.  See
<http://pythonhosted.org/setuptools/setuptools.html#generating-source-distributions>.

8 years agoFix manifest stats leaking between runs via globals. No issue #
Tom Clegg [Sat, 5 Dec 2015 00:18:49 +0000 (19:18 -0500)]
Fix manifest stats leaking between runs via globals. No issue #

8 years agoMerge branch '7835-node-manager-price-type-wip'
Brett Smith [Fri, 4 Dec 2015 21:46:38 +0000 (16:46 -0500)]
Merge branch '7835-node-manager-price-type-wip'

Refs #7835.  Closes #7950.

8 years ago7835: Node Manager converts node.size into a size object on GCE.
Brett Smith [Fri, 4 Dec 2015 20:13:49 +0000 (15:13 -0500)]
7835: Node Manager converts node.size into a size object on GCE.

8 years agoRemove redundant exception from Node Manager NETWORK_ERRORS.
Brett Smith [Fri, 4 Dec 2015 19:37:06 +0000 (14:37 -0500)]
Remove redundant exception from Node Manager NETWORK_ERRORS.

8 years ago7835: Node Manager coerces node size prices to float.
Brett Smith [Fri, 4 Dec 2015 19:35:30 +0000 (14:35 -0500)]
7835: Node Manager coerces node size prices to float.

8 years agocloses #7753
radhika [Fri, 4 Dec 2015 21:00:55 +0000 (16:00 -0500)]
closes #7753
Merge branch '7753-job-log-accessibility'

8 years ago7753: show the job Log link in the component panel header only when it is a pipeline_...
radhika [Fri, 4 Dec 2015 18:48:48 +0000 (13:48 -0500)]
7753: show the job Log link in the component panel header only when it is a pipeline_instance display; hide it for job#show

8 years ago7753: when a job is in "Running" state, the Log link still should be shown in the...
radhika [Fri, 4 Dec 2015 15:56:19 +0000 (10:56 -0500)]
7753: when a job is in "Running" state, the Log link still should be shown in the Component display panel header.

8 years ago7753: Now that there are 1+ "Log" links in the pipeline instance page, update tests...
radhika [Fri, 4 Dec 2015 14:49:22 +0000 (09:49 -0500)]
7753: Now that there are 1+ "Log" links in the pipeline instance page, update tests to address capybara ambigous match error.

8 years ago7753: The name "Job log" has a little problem; on screen small screen sizes, "Job...
radhika [Fri, 4 Dec 2015 14:19:33 +0000 (09:19 -0500)]
7753: The name "Job log" has a little problem; on screen small screen sizes, "Job log" is displayed in two lines even when the rest of the items are displayed in single line due to the limited real estate in the panel header.

8 years ago7753: Add a Log link to pipeline_instance component panel
radhika [Thu, 3 Dec 2015 21:00:52 +0000 (16:00 -0500)]
7753: Add a Log link to pipeline_instance component panel

8 years ago7942: changed capybara timeout from 5 sec to 10 sec so iceweasel in ci.curoverse...
Nico Cesar [Fri, 4 Dec 2015 15:32:23 +0000 (10:32 -0500)]
7942: changed capybara timeout from 5 sec to 10 sec so iceweasel in ci.curoverse.com doesnt break as easily

Merge branch '7942-ci-iceweasel-problems'

refs #7942

8 years agoFinish basic state change & record protection unit tests.
Peter Amstutz [Thu, 3 Dec 2015 23:49:14 +0000 (18:49 -0500)]
Finish basic state change & record protection unit tests.

8 years agoWorking on state change assertions and testing for container record.
Peter Amstutz [Thu, 3 Dec 2015 22:22:54 +0000 (17:22 -0500)]
Working on state change assertions and testing for container record.

8 years agoadded more time to ajax timeout
Nico Cesar [Thu, 3 Dec 2015 22:13:31 +0000 (17:13 -0500)]
added more time to ajax timeout

refs #7942

8 years agoMerge branch '7888-log-req-phase-times' refs #7888
Tom Clegg [Thu, 3 Dec 2015 19:26:19 +0000 (14:26 -0500)]
Merge branch '7888-log-req-phase-times' refs #7888

8 years agoDeclare serialize / accept json fields, start working on states
Peter Amstutz [Thu, 3 Dec 2015 18:07:52 +0000 (13:07 -0500)]
Declare serialize / accept json fields, start working on states

8 years ago7888: Log how much time was spent before/after sending response headers.
Tom Clegg [Thu, 3 Dec 2015 17:29:09 +0000 (12:29 -0500)]
7888: Log how much time was spent before/after sending response headers.

8 years agoMerge branch '7751-crunch-fuse-output' closes #7751
Tom Clegg [Thu, 3 Dec 2015 17:03:16 +0000 (12:03 -0500)]
Merge branch '7751-crunch-fuse-output' closes #7751

8 years ago7751: Add convenience class for staging task output in $TASK_KEEPMOUNT_TMP.
Tom Clegg [Fri, 27 Nov 2015 02:11:16 +0000 (21:11 -0500)]
7751: Add convenience class for staging task output in $TASK_KEEPMOUNT_TMP.

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 agoStub out controllers and routes. Add basic workbench support.
Peter Amstutz [Thu, 3 Dec 2015 15:18:39 +0000 (10:18 -0500)]
Stub out controllers and routes.  Add basic workbench support.

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 ago6429: Initial commit of models creating by rails generate.
Peter Amstutz [Wed, 2 Dec 2015 17:23:36 +0000 (12:23 -0500)]
6429: Initial commit of models creating by rails generate.

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.