Radhika Chippada [Mon, 23 Mar 2015 16:01:05 +0000 (12:01 -0400)]
3762: undo the api server discovery document update. trash worker can instead use permission_ttl in place of defaultTrashLifetime because these two will be the same.
Radhika Chippada [Mon, 23 Mar 2015 14:35:34 +0000 (10:35 -0400)]
Merge branch 'master' of git.curoverse.com:arvados into 3762-delete-list-worker
Peter Amstutz [Mon, 23 Mar 2015 13:05:18 +0000 (09:05 -0400)]
Merge branch '5318-git-sharing-note' closes #5318
Ward Vandewege [Sun, 22 Mar 2015 18:02:26 +0000 (14:02 -0400)]
Go SDK improvements:
- keepclient now respects the ARVADOS_API_HOST_INSECURE environment
variable
- arvadosclient and keepclient accept (1,yes,true) to enable the
insecure api host flag, case insensitive.
No issue #
Tom Clegg [Sat, 21 Mar 2015 20:37:00 +0000 (16:37 -0400)]
Merge branch '5276-job-graph-phantom-tooltip' closes #5276
Tom Clegg [Sat, 21 Mar 2015 20:19:09 +0000 (16:19 -0400)]
5276: Merge branch 'master' into 5276-job-graph-phantom-tooltip
Tom Clegg [Sat, 21 Mar 2015 20:19:03 +0000 (16:19 -0400)]
5276: Name log fixtures. Fix over-sensitive test.
Radhika Chippada [Sat, 21 Mar 2015 13:54:45 +0000 (09:54 -0400)]
refs #5375
Merge branch '5375-preview-collection-text-files'
Radhika Chippada [Sat, 21 Mar 2015 13:32:31 +0000 (09:32 -0400)]
5375: added javascript and rtf application types to white-listed application types after observing that these were disabled when testing in staging.
Radhika Chippada [Sat, 21 Mar 2015 10:44:03 +0000 (06:44 -0400)]
closes #5375
Merge branch '5375-preview-collection-text-files'
Radhika Chippada [Sat, 21 Mar 2015 10:42:04 +0000 (06:42 -0400)]
5375: small updates on comments
Radhika Chippada [Sat, 21 Mar 2015 03:14:43 +0000 (23:14 -0400)]
5375: and add the new test file
Radhika Chippada [Sat, 21 Mar 2015 03:11:34 +0000 (23:11 -0400)]
5375: move the mime type tests into a new collections_helper_test.
Radhika Chippada [Sat, 21 Mar 2015 03:01:04 +0000 (23:01 -0400)]
Merge branch 'master' into 5375-preview-collection-text-files
Radhika Chippada [Sat, 21 Mar 2015 02:59:42 +0000 (22:59 -0400)]
Merge branch 'master' into 3762-delete-list-worker
Radhika Chippada [Sat, 21 Mar 2015 02:58:05 +0000 (22:58 -0400)]
3762: Expose Discovery func in arvadosclient. Use Discovery to get defaultTrashLifetime in trash worker.
Brett Smith [Fri, 20 Mar 2015 21:16:43 +0000 (17:16 -0400)]
5319: Bound search in collection PDH fix migration.
Only search collections that exist when the migration begins. This
helps avoid an infinite loop where we yield a bad collection, it gets
fixed a new replacement is created, and then we find and yield the
replacement… Refs #5319.
Radhika Chippada [Fri, 20 Mar 2015 19:56:38 +0000 (15:56 -0400)]
Merge branch 'master' into 3762-delete-list-worker
Radhika Chippada [Fri, 20 Mar 2015 19:04:39 +0000 (15:04 -0400)]
5375: update the fixture pdh with the value got from keep put.
Radhika Chippada [Fri, 20 Mar 2015 18:30:35 +0000 (14:30 -0400)]
5375: improved mime_types initializer. enhance collections_helper to use mime_type sub_type instead of relying on suffix.
update config param name, value, and comment. add .seq, which is another supported extension of fasta to test.
Brett Smith [Fri, 20 Mar 2015 18:08:19 +0000 (14:08 -0400)]
Merge branch '5319-collection-pdh-fix-performance-2-wip'
Refs #5319.
Brett Smith [Wed, 18 Mar 2015 14:44:18 +0000 (10:44 -0400)]
5319: Improve collection PDH fix performance with LIKE searches.
PostgreSQL regexp searches use a lot of RAM, and these queries run out
of RAM on qr1hi. Prefer LIKE queries, which use less RAM and are more
portable. We have to do multiple searches, but that's life.
Radhika Chippada [Fri, 20 Mar 2015 15:30:59 +0000 (11:30 -0400)]
Merge branch 'master' into 5375-preview-collection-text-files
Radhika Chippada [Fri, 20 Mar 2015 15:27:34 +0000 (11:27 -0400)]
3762: Run trash worker. Add tests to test the trash worker.
Tom Clegg [Thu, 19 Mar 2015 22:23:19 +0000 (18:23 -0400)]
5276: Use using_wait_time 0 instead of evaluate_script.
Tom Clegg [Thu, 19 Mar 2015 22:12:21 +0000 (18:12 -0400)]
5276: Reveal and update the log graph as soon as the first data point
arrives, rather than waiting for the redraw timer.
Return an empty hover tooltip for the placeholder data point. (The
placeholder series is only added when the graph is empty and hideHover
is true, but it doesn't get deleted later when hideHover goes false.)
Render the graph in a show() callback to ensure the div is visible
when Morris creates its SVG element: otherwise the SVG can end up
being created with height=1px. This addresses bugs like "graph doesn't
show up sometimes" and "data point hover tooltips show up, but there's
no graph".
Tom Clegg [Thu, 19 Mar 2015 17:08:23 +0000 (13:08 -0400)]
5276: Improve job log graph tests.
* Run tests as a non-admin user. (This just needed an update in the
log simulator to insert the logs with the same owner_uuid as the
target job.)
* Test graph display/update behavior both with and without an existing
log entry in the database during initial page display.
Tom Clegg [Thu, 19 Mar 2015 16:24:49 +0000 (12:24 -0400)]
5276: Remove redundant test teardown.
Peter Amstutz [Thu, 19 Mar 2015 15:12:31 +0000 (11:12 -0400)]
Merge branch '5285-arpi-use-settings' closes #5285
Peter Amstutz [Wed, 18 Mar 2015 18:44:44 +0000 (14:44 -0400)]
5318: Add note on sharing page for repository object about lag time taking effect.
Peter Amstutz [Wed, 18 Mar 2015 18:36:23 +0000 (14:36 -0400)]
5285: Remove cruft made redundant by Ruby SDK
Peter Amstutz [Wed, 18 Mar 2015 17:52:58 +0000 (13:52 -0400)]
Merge branch '5500-crunch-temporary-failure' refs #5500
Peter Amstutz [Wed, 18 Mar 2015 17:48:11 +0000 (13:48 -0400)]
5500: Add TASK_TEMPFAIL constant. shell_or_die always exits non-zero on error.
Peter Amstutz [Wed, 18 Mar 2015 16:23:21 +0000 (12:23 -0400)]
5500: Add SLURM "Communication connection failure" to pattern of temporary node
failures. "pip install" failure returns temporary error status (111) so the
task can be retried.
Radhika Chippada [Wed, 18 Mar 2015 15:13:20 +0000 (11:13 -0400)]
5375: white space
Radhika Chippada [Wed, 18 Mar 2015 15:04:48 +0000 (11:04 -0400)]
5375: enhance the mime_types initializer to add a new type only when that type is not yet supported by the MIME types gem.
Radhika Chippada [Wed, 18 Mar 2015 14:04:29 +0000 (10:04 -0400)]
5375: after much hair pulling, found the syntax to replace MIME::Types.add(MIME::Type.from_array... since from_array is deprecated; now using MIME::Types.add(MIME::Type.new...
Radhika Chippada [Wed, 18 Mar 2015 13:45:21 +0000 (09:45 -0400)]
Merge branch 'master' into 5375-preview-collection-text-files
Radhika Chippada [Wed, 18 Mar 2015 13:44:32 +0000 (09:44 -0400)]
refs #5383
Merge branch '5383-api-db-current-time'
Radhika Chippada [Wed, 18 Mar 2015 13:41:23 +0000 (09:41 -0400)]
Merge branch 'master' into 5383-api-db-current-time
Radhika Chippada [Wed, 18 Mar 2015 13:38:26 +0000 (09:38 -0400)]
5383: Add back Time.parse(). Without it the value returned would be of the format 2015-03-18 13:37:11 UTC,
and with Time.parse it would be 2015-03-18 09:37:11 -0400, which is the same as Time.now.
Brett Smith [Wed, 18 Mar 2015 12:56:54 +0000 (08:56 -0400)]
Merge branch '5313-node-manager-node-naming-tag-wip'
Refs #5313. Closes #5434, #5467.
Brett Smith [Fri, 13 Mar 2015 15:11:35 +0000 (11:11 -0400)]
5313: Node Manager has cloud-specific logic to get node FQDNs.
On AWS, we put compute nodes' FQDN in the name field. On GCE, we
can't do that: it can't contain dots. Add a node_fqdn classmethod to
cloud drivers to get a node's FQDN from the right place, and use that
method when deciding whether or not to sync a node.
Syncing a node will occasionally raise an "Invalid fingerprint"
exception on GCE. This is nonfatal. Add a comment explaining why.
Radhika Chippada [Wed, 18 Mar 2015 01:10:01 +0000 (21:10 -0400)]
Merge branch 'master' into 5375-preview-collection-text-files
Radhika Chippada [Wed, 18 Mar 2015 01:08:31 +0000 (21:08 -0400)]
closes #5383
Merge branch '5383-api-db-current-time'
Radhika Chippada [Wed, 18 Mar 2015 00:50:15 +0000 (20:50 -0400)]
5383: better test assertion
Radhika Chippada [Wed, 18 Mar 2015 00:44:20 +0000 (20:44 -0400)]
Merge branch 'master' into 5383-api-db-current-time
Radhika Chippada [Wed, 18 Mar 2015 00:42:40 +0000 (20:42 -0400)]
5375: add test to verify that collection#show page enalbles / disables file viewing correctly.
Radhika Chippada [Tue, 17 Mar 2015 23:34:21 +0000 (19:34 -0400)]
5375: add some of the mime types not supported by mime_types gem to mime_types.rb initializer.
Peter Amstutz [Tue, 17 Mar 2015 17:35:42 +0000 (13:35 -0400)]
When copying a collection that already exists on the destination, fetch
manifest text from the destination in order to create a new collection with the
correct signing tokens. closes #5475
Radhika Chippada [Tue, 17 Mar 2015 14:57:28 +0000 (10:57 -0400)]
5383: minor test assertion updates
Radhika Chippada [Tue, 17 Mar 2015 14:53:47 +0000 (10:53 -0400)]
Merge branch 'master' into 5383-api-db-current-time
Radhika Chippada [Tue, 17 Mar 2015 14:51:16 +0000 (10:51 -0400)]
5383: add one more test that updates an object twice and verifies the updated_at times are different.
Radhika Chippada [Tue, 17 Mar 2015 14:33:30 +0000 (10:33 -0400)]
5383: remove unused include statement from log_test (it is now the same as in master with no updates in this branch).
Peter Amstutz [Tue, 17 Mar 2015 14:28:24 +0000 (10:28 -0400)]
Merge branch '5476-connect-timeout-scale' closes #5476
Radhika Chippada [Tue, 17 Mar 2015 14:27:35 +0000 (10:27 -0400)]
5383: postgres current_timestamp is the start of transaction and clock_timestamp is the current time at the statement execution. updated db_current_time to use clock_timestamp and reverted back all updates to log_test.rb
Peter Amstutz [Tue, 17 Mar 2015 14:27:03 +0000 (10:27 -0400)]
5476: Describe timeout behavior if KeepClient.__init__ docstring.
Peter Amstutz [Tue, 17 Mar 2015 14:09:46 +0000 (10:09 -0400)]
5476: Better implementation of connection timeout scaling. Updated docstring
for current_timeout.
Peter Amstutz [Tue, 17 Mar 2015 13:37:20 +0000 (09:37 -0400)]
5476: Increase connection timeout when retrying keep get and put.
Radhika Chippada [Mon, 16 Mar 2015 23:16:46 +0000 (19:16 -0400)]
5383: revert db_current_time back to Time.now in application_controller as the usages were for error tokens and request profiling only.
Radhika Chippada [Mon, 16 Mar 2015 23:07:01 +0000 (19:07 -0400)]
5383: revert back db_current_time update to Time.now in api scripts and middleware rb files.
Radhika Chippada [Mon, 16 Mar 2015 22:35:58 +0000 (18:35 -0400)]
5383: update db_current_time to return date with more precision. Update log_test to use db_current_time instead of Time.now to ensure if there is a slight difference in time between db time and server time, the test does not fail.
Radhika Chippada [Mon, 16 Mar 2015 21:41:28 +0000 (17:41 -0400)]
Merge branch 'master' into 5383-api-db-current-time
Tom Clegg [Mon, 16 Mar 2015 21:19:16 +0000 (17:19 -0400)]
Merge branch '5207-expires-at-time' closes #5207
Radhika Chippada [Mon, 16 Mar 2015 19:30:29 +0000 (15:30 -0400)]
Merge branch 'master' into 5383-api-db-current-time
Peter Amstutz [Mon, 16 Mar 2015 19:00:23 +0000 (15:00 -0400)]
Merge branch '5448-crunch-job-task-fixes' refs #5448
Peter Amstutz [Mon, 16 Mar 2015 17:50:56 +0000 (13:50 -0400)]
5448: Clean up old cid files during job start.
Brett Smith [Mon, 16 Mar 2015 16:41:36 +0000 (12:41 -0400)]
Merge branch '5319-collection-pdh-fix-performance-wip'
Refs #5319.
Brett Smith [Mon, 16 Mar 2015 14:09:57 +0000 (10:09 -0400)]
5319: Improve performance of Collection PDH fix migration.
* Use PostgreSQL's native regular expression search to limit the
number of records we pull through ActiveRecord.
* Use a smaller batch size to avoid pulling pathological batches of
records that cause swapping.
Radhika Chippada [Mon, 16 Mar 2015 16:24:16 +0000 (12:24 -0400)]
Merge branch 'master' into 5383-api-db-current-time
Radhika Chippada [Mon, 16 Mar 2015 16:21:34 +0000 (12:21 -0400)]
5383: blob.rb uses db_current_time as well. since it is using static methods, the module needs to be "extended"
Peter Amstutz [Mon, 16 Mar 2015 15:26:49 +0000 (11:26 -0400)]
5448: Fix cid file cleanup.
Radhika Chippada [Mon, 16 Mar 2015 15:20:42 +0000 (11:20 -0400)]
5383: add test that creates an object and does a lookup using that object's created_at timestamp.
Peter Amstutz [Mon, 16 Mar 2015 14:47:49 +0000 (10:47 -0400)]
5448: Add --all to "docker images" because it turns out it doesn't list all the installed images by default!
Tom Clegg [Mon, 16 Mar 2015 14:18:19 +0000 (10:18 -0400)]
Merge branch 'master' from github.com/daftano. No issue #
Radhika Chippada [Mon, 16 Mar 2015 13:52:48 +0000 (09:52 -0400)]
Merge branch 'master' into 5383-api-db-current-time
Radhika Chippada [Mon, 16 Mar 2015 13:51:54 +0000 (09:51 -0400)]
5383: use db current time in place of Time.now
Peter Amstutz [Mon, 16 Mar 2015 13:40:32 +0000 (09:40 -0400)]
5448: Don't create new tasks if $main::success is defined. Add failure count
to cidfile and delete cidfile in reapchildren() to fix Docker cidfile collision.
Peter Amstutz [Mon, 16 Mar 2015 13:09:48 +0000 (09:09 -0400)]
Merge branch 'install-doc-uuid-prefix' no issue #
Peter Amstutz [Mon, 16 Mar 2015 13:08:38 +0000 (09:08 -0400)]
Merge branch '4158-fix-compute-node-detail' closes #4158
David [Mon, 16 Mar 2015 11:38:22 +0000 (12:38 +0100)]
Update install-workbench-app.html.textile.liquid
Add libsqlite3-dev dependency
David [Mon, 16 Mar 2015 11:22:31 +0000 (12:22 +0100)]
Update install-workbench-app.html.textile.liquid
Remove sudo because to run sudo you need to have it already installed
Add git to download sources from github
Brett Smith [Fri, 13 Mar 2015 21:31:10 +0000 (17:31 -0400)]
5034: Update Workbench integration tests.
A lot of tests started failing because
* they were looking for the string "content hash" to assert they were
on a collection page, or
* they expect the portable data hash to be real text on the page (as
opposed to the value of an <input>).
Fixes:
* Have the upload test check that the collection is empty by looking
for the relevant size information, which was specified by the story.
* Make sure we're on a specific collection page by looking for the
collection's name or UUID (depending on what's available).
* Refute we're on a specific collection page by matching against the
URL. This seems much safer in the long run.
* Remove the "Content hash" assertion from projects test altogether.
The prior text assertion should be sufficient to ensure we're on the
right page.
Refs #5034.
Brett Smith [Fri, 13 Mar 2015 19:16:44 +0000 (15:16 -0400)]
5034: Update Workbench Gemfile post-merge.
Refs #5034.
Brett Smith [Fri, 13 Mar 2015 19:14:11 +0000 (15:14 -0400)]
Merge branch '5034-workbench-collection-summary-wip'
Closes #5027, #5034, #5452.
Brett Smith [Thu, 12 Mar 2015 14:15:39 +0000 (10:15 -0400)]
5034: Improve Workbench collection display.
* Display the UUID, and make it auto-select for easy copying.
* Do the same for the portable data hash, and call it the content
address to emphasize that.
* Display information about the collection's size on the show page and
preview pane. This relies on an updated Ruby SDK.
* Clean up code that checks for a portable data hash in the UUID.
That can't happen anymore thanks to the redirect/list display logic
in the controller.
Brett Smith [Tue, 10 Mar 2015 18:43:29 +0000 (14:43 -0400)]
5034: Add Keep::Manifest#files_size to Ruby SDK.
Ward Vandewege [Fri, 13 Mar 2015 15:24:46 +0000 (11:24 -0400)]
Merge branch '5211-improved-top-navbar'
closes #5211
Ward Vandewege [Fri, 13 Mar 2015 15:24:08 +0000 (11:24 -0400)]
Merge branch 'master' into 5211-improved-top-navbar
Ward Vandewege [Fri, 13 Mar 2015 15:23:22 +0000 (11:23 -0400)]
Remove reference to as yet non-existant compute node setup page.
Refs #5211
Radhika Chippada [Fri, 13 Mar 2015 15:06:17 +0000 (11:06 -0400)]
refs #3761
Merge branch '3761-pull-list-worker'
Peter Amstutz [Fri, 13 Mar 2015 15:23:32 +0000 (11:23 -0400)]
Typo fix and gofmt fix.
Radhika Chippada [Fri, 13 Mar 2015 14:54:23 +0000 (10:54 -0400)]
3761: We do not need to MakeArvadosClient to create the pullq worker. Otherwise, we need the ARVADOS_API_HOST env variable in keep.
Peter Amstutz [Fri, 13 Mar 2015 14:43:13 +0000 (10:43 -0400)]
Add note to application.default.yml and installation documentation that
uuid_prefix must be exactly 5 characters.
Peter Amstutz [Fri, 13 Mar 2015 14:15:40 +0000 (10:15 -0400)]
4158: Compute node details are in properties, not info
Tom Clegg [Thu, 12 Mar 2015 20:17:25 +0000 (16:17 -0400)]
Merge branch 'patch-1' from github.com/daftano. No issue #
David [Thu, 12 Mar 2015 16:07:42 +0000 (17:07 +0100)]
Use postgresql options to reduce questions
-S set new role to not be a superuser
-R disable the creation of more new roles for the new role
Radhika Chippada [Thu, 12 Mar 2015 16:07:35 +0000 (12:07 -0400)]
closes #5418
Merge branch '5418-brand-unclickable-anonymous'
Radhika Chippada [Thu, 12 Mar 2015 16:07:02 +0000 (12:07 -0400)]
Merge branch 'master' into 5418-brand-unclickable-anonymous
Radhika Chippada [Thu, 12 Mar 2015 16:05:33 +0000 (12:05 -0400)]
5418: fix assert formatting