radhika [Wed, 24 Sep 2014 17:52:17 +0000 (13:52 -0400)]
Merge branch 'master' into 3836-remove-collection-from-project-bug
radhika [Wed, 24 Sep 2014 17:46:45 +0000 (13:46 -0400)]
closes #3038
Merge branch '3038-default-port-numbers'
radhika [Wed, 24 Sep 2014 17:06:22 +0000 (13:06 -0400)]
3038: address review feeback; change the config parametter values in default yml files to avoid conflicts
radhika [Wed, 24 Sep 2014 14:21:20 +0000 (10:21 -0400)]
3038: revert update to remove implementation that was accidentatlly pushed to this branch instead of 3836 branch!
radhika [Wed, 24 Sep 2014 14:15:22 +0000 (10:15 -0400)]
3836: if there is a unique constraint violation when a collection is removed from a project,
which happens if there is already a collection with that same name in the Home project,
rename the collection to ensure the removal process can complete.
radhika [Wed, 24 Sep 2014 14:02:58 +0000 (10:02 -0400)]
Merge branch 'master' into 3038-default-port-numbers
radhika [Wed, 24 Sep 2014 14:00:51 +0000 (10:00 -0400)]
3038: if there is a unique constraint violation when a collection is removed from a project,
which happens if there is already a collection with that same name in the Home project,
rename the collection to ensure the removal process can complete.
Ward Vandewege [Wed, 24 Sep 2014 01:14:37 +0000 (21:14 -0400)]
Merge branch '3967-improve-keepstore-logging'
refs #3967
Ward Vandewege [Wed, 24 Sep 2014 01:13:11 +0000 (21:13 -0400)]
Fix typos in workbench language.
No issue #
Ward Vandewege [Tue, 23 Sep 2014 21:38:55 +0000 (17:38 -0400)]
Make keepstore log normal operation with more detail, and follow the
standard apache logging pattern.
refs #3967
Ward Vandewege [Tue, 23 Sep 2014 18:59:48 +0000 (14:59 -0400)]
* Do not blow up when arv-get requests a collection that gets a 404 from the api server.
* Be more consistent in naming of error variables.
no issue #
Peter Amstutz [Tue, 23 Sep 2014 18:48:17 +0000 (14:48 -0400)]
Bugfix time display, also bugfix for job state "Completed" -> "Complete". refs #3187
Peter Amstutz [Tue, 23 Sep 2014 18:35:54 +0000 (14:35 -0400)]
Bugfix extra space in display in render_runtime and queued time for pipeline.
refs #3187
Peter Amstutz [Tue, 23 Sep 2014 17:58:50 +0000 (13:58 -0400)]
Merge branch '3605-improved-dashboard' refs #3605
Peter Amstutz [Tue, 23 Sep 2014 17:50:52 +0000 (13:50 -0400)]
3605: Remove total nodes from compute summary table.
radhika [Tue, 23 Sep 2014 17:14:41 +0000 (13:14 -0400)]
Merge branch 'master' into 3038-default-port-numbers
radhika [Tue, 23 Sep 2014 17:10:53 +0000 (13:10 -0400)]
3038: test needed minor update to match current pipeline instance display.
Peter Amstutz [Tue, 23 Sep 2014 15:20:54 +0000 (11:20 -0400)]
Merge remote-tracking branch 'origin/master' into 3605-improved-dashboard
Peter Amstutz [Tue, 23 Sep 2014 15:20:16 +0000 (11:20 -0400)]
3605: Rename "default_show" to "title_and_buttons". Revert capitalization
change to "curl". Eliminate excess top margin on page title. Restored
RunningOnClient to running list.
radhika [Tue, 23 Sep 2014 15:10:44 +0000 (11:10 -0400)]
3038: Recommended default port number related update. Now the defaults are as follows:
API server (dev mode): 3030
API server (test mode): 3000
Workbench (dev mode): 3031
Workbench (test mode): 3001
Peter Amstutz [Tue, 23 Sep 2014 14:38:07 +0000 (10:38 -0400)]
3605: Filter out nodes that have a last ping time of more than 1 hour. Add
queue to compute status panel. Refactor utc-date spans to
render_localized_date().
Tom Clegg [Tue, 23 Sep 2014 14:36:36 +0000 (10:36 -0400)]
Report crunch_worker_state=down for nodes not occupying a worker slot. refs #3605
Peter Amstutz [Tue, 23 Sep 2014 01:51:08 +0000 (21:51 -0400)]
3605: Fallback to 0 (instead of nil) when tasks is empty
Peter Amstutz [Tue, 23 Sep 2014 01:46:56 +0000 (21:46 -0400)]
3605: Check that a pipeline component entry is a hash before trying to render it.
Tom Clegg [Mon, 22 Sep 2014 23:25:04 +0000 (19:25 -0400)]
Revert "Bugfix: do not try to overwrite docker_image_locator if it is already set." refs #3898
This reverts commit
7e27eb2cca7e9e22ad1f56a6f0ecbbc40ad4cb64.
Tom Clegg [Mon, 22 Sep 2014 20:56:06 +0000 (16:56 -0400)]
Merge branch '3898-job-state-attr-TC' closes #3898
Tom Clegg [Mon, 22 Sep 2014 20:54:01 +0000 (16:54 -0400)]
3898: Merge branch 'master' into 3898-job-state-attr-TC
Tom Clegg [Mon, 22 Sep 2014 20:49:28 +0000 (16:49 -0400)]
3898: Assume a job Failed if it has started but state fields indicate Queued.
Tom Clegg [Mon, 22 Sep 2014 20:44:26 +0000 (16:44 -0400)]
3898: Assume a job Failed if it is locked but state fields indicate Queued.
Ward Vandewege [Sat, 20 Sep 2014 02:28:37 +0000 (22:28 -0400)]
Bugfix: do not try to overwrite docker_image_locator if it is already set.
refs #3898
Peter Amstutz [Mon, 22 Sep 2014 20:17:29 +0000 (16:17 -0400)]
3605: fix test text
Peter Amstutz [Mon, 22 Sep 2014 20:15:16 +0000 (16:15 -0400)]
3605: Make compute node summary table no longer clickable since it was a little
bit confusing. Can still click on the titlebar.
Peter Amstutz [Mon, 22 Sep 2014 20:09:08 +0000 (16:09 -0400)]
3605: Render individual job status using the same partial as the pipeline
instance page. Also list pipelines that reference this job.
radhika [Mon, 22 Sep 2014 19:56:07 +0000 (15:56 -0400)]
3898: Update tests to match the updated job status handling.
Tom Clegg [Mon, 22 Sep 2014 19:54:13 +0000 (15:54 -0400)]
Merge branch '3894-gem-version' refs #3894
Tom Clegg [Mon, 22 Sep 2014 19:53:48 +0000 (15:53 -0400)]
3894: Set arvados version in Gemfile.lock to one that exists.
Peter Amstutz [Mon, 22 Sep 2014 19:23:41 +0000 (15:23 -0400)]
3605: More improvements to overflow rendering. More fixes to rendering when
started_at and finished_at are missing.
Tom Clegg [Mon, 22 Sep 2014 19:13:12 +0000 (15:13 -0400)]
3898: Populate state column using SQL transaction instead of load/save N times.
Peter Amstutz [Mon, 22 Sep 2014 18:56:22 +0000 (14:56 -0400)]
3605: Change runtime() to render_runtime(). Improve rendering when started_at
and finished_at are missing from pipelines and tasks. Include count of days
when rendering run times. Add comments.
Tom Clegg [Mon, 22 Sep 2014 18:53:13 +0000 (14:53 -0400)]
3898: Add error messages to assertions. Use assert_raise.
Tom Clegg [Mon, 22 Sep 2014 18:36:13 +0000 (14:36 -0400)]
3898: Clean up job state hooks and validations.
Tom Clegg [Mon, 22 Sep 2014 15:19:04 +0000 (11:19 -0400)]
3894: Merge branch 'master' into 3894-gem-version
Peter Amstutz [Mon, 22 Sep 2014 15:03:04 +0000 (11:03 -0400)]
3605: Additional layout fixes. Better handling of pipelines where started_at and finished_at is missing or bogus.
Tom Clegg [Mon, 22 Sep 2014 14:50:25 +0000 (10:50 -0400)]
3894: Remove outdated README.
Tom Clegg [Mon, 22 Sep 2014 14:23:16 +0000 (10:23 -0400)]
3894: Use git log --first-parent to get nearest commit/merge on
current branch to label package version, rather than nearest
commit. This ensures the package version number increases when an
older commit is merged after a newer commit.
Peter Amstutz [Mon, 22 Sep 2014 14:05:02 +0000 (10:05 -0400)]
Merge branch '3605-improved-dashboard' refs #3605
Peter Amstutz [Mon, 22 Sep 2014 14:01:30 +0000 (10:01 -0400)]
3605: Fix tab param['tab_pane'] merge conflicts causing tests to fail.
Peter Amstutz [Sat, 20 Sep 2014 20:42:58 +0000 (16:42 -0400)]
3605: Fix tab_pane rendering. Remove spurious console.log.
Tom Clegg [Fri, 19 Sep 2014 21:40:28 +0000 (17:40 -0400)]
3894: Merge branch 'master' into 3894-gem-version
Tom Clegg [Fri, 19 Sep 2014 21:37:51 +0000 (17:37 -0400)]
3894: Fix up runtime dependency specs to make bundle comfortable.
Peter Amstutz [Fri, 19 Sep 2014 20:42:03 +0000 (16:42 -0400)]
Merge remote-tracking branch 'origin/master' into 3605-improved-dashboard
radhika [Fri, 19 Sep 2014 20:18:15 +0000 (16:18 -0400)]
refs #3898
Merge branch '3898-job-state-attr'
radhika [Fri, 19 Sep 2014 20:18:03 +0000 (16:18 -0400)]
Merge branch 'master' into 3898-job-state-attr
radhika [Fri, 19 Sep 2014 20:17:28 +0000 (16:17 -0400)]
3898: added include statement
Tim Pierce [Fri, 19 Sep 2014 20:14:41 +0000 (16:14 -0400)]
Merge branch '3705-async-work-queue'
Refs #3705.
Tim Pierce [Fri, 19 Sep 2014 20:13:28 +0000 (16:13 -0400)]
3705: rename BlockWorkList -> WorkQueue
Per discussion at
https://github.com/curoverse/arvados/pull/8#discussion_r17637500
refs #3705.
Peter Amstutz [Fri, 19 Sep 2014 19:40:53 +0000 (15:40 -0400)]
Merge branch '3187-pipeline-instance-page' into 3605-improved-dashboard
Conflicts:
apps/workbench/app/models/job.rb
Peter Amstutz [Fri, 19 Sep 2014 19:36:34 +0000 (15:36 -0400)]
Fix Canceled -> Cancelled (american vs canadian spelling, canada wins)
radhika [Fri, 19 Sep 2014 19:25:41 +0000 (15:25 -0400)]
closes #3898
Merge branch '3898-job-state-attr'
Peter Amstutz [Fri, 19 Sep 2014 19:26:30 +0000 (15:26 -0400)]
Merge branch 'master' into 3187-pipeline-instance-page
Conflicts:
apps/workbench/app/models/job.rb
apps/workbench/app/views/application/_content.html.erb
services/api/app/models/job.rb
radhika [Fri, 19 Sep 2014 19:22:45 +0000 (15:22 -0400)]
Merge branch 'master' into 3898-job-state-attr
Tom Clegg [Fri, 19 Sep 2014 18:01:17 +0000 (14:01 -0400)]
Fix Gemfile.lock to use a real gem, not a dev build. refs #3550
Tom Clegg [Fri, 19 Sep 2014 17:49:59 +0000 (13:49 -0400)]
Use new --run-pipeline-here instead of --run-here flag, which no longer does what crunch-dispatch wants. refs #3550
radhika [Fri, 19 Sep 2014 16:27:21 +0000 (12:27 -0400)]
Merge branch 'master' into 3898-job-state-attr
Conflicts:
services/api/db/structure.sql
radhika [Fri, 19 Sep 2014 16:22:46 +0000 (12:22 -0400)]
3898: cancelled_at takes precedence over success flag.
Tom Clegg [Fri, 19 Sep 2014 15:27:41 +0000 (11:27 -0400)]
3894: gem version numbers reflect latest commit in the subdirectory
where the gem content comes from.
Even if there are more recent commits elsewhere in the source tree,
those changes won't be reflected in the package so there's no need to
increment the package version.
In addition to avoiding the proliferation of packages with no changes
other than the version number, this makes it possible to change an
SDK, predict the gem version that the CI server will build, refer to
that version in a Gemfile elsewhere in the source tree, and push both
changes at once -- without time travel.
Tim Pierce [Fri, 19 Sep 2014 14:45:50 +0000 (10:45 -0400)]
Bug fix: migration requires CurrentApiClient
Migration 20140918141529_change_user_owner_uuid_not_null requires
system_user_uuid, which is defined in CurrentApiClient.
No issue # (bug fix)
radhika [Fri, 19 Sep 2014 14:19:08 +0000 (10:19 -0400)]
3898: look for success before running.
radhika [Fri, 19 Sep 2014 13:43:14 +0000 (09:43 -0400)]
3898: couple more test assertions
radhika [Fri, 19 Sep 2014 13:33:57 +0000 (09:33 -0400)]
3898: if state is changed to Running and is_locked_by_uuid is nil, return validation error.
radhika [Fri, 19 Sep 2014 13:13:00 +0000 (09:13 -0400)]
3898: set finished_at if nil when success is changed.
radhika [Fri, 19 Sep 2014 12:50:05 +0000 (08:50 -0400)]
Merge branch 'master' into 3898-job-state-attr
radhika [Fri, 19 Sep 2014 12:49:12 +0000 (08:49 -0400)]
3898: add unit test for job state attribute
Peter Amstutz [Fri, 19 Sep 2014 12:38:25 +0000 (08:38 -0400)]
3605: Workbench tests pass!
Brett Smith [Thu, 18 Sep 2014 21:24:35 +0000 (17:24 -0400)]
3147: FUSE requires a built Python SDK.
Unlike our Ruby Gems, Python package versioning is sensitive to
commits that actually affect the package, rather than the entire
arvados repository. On the plus side, this makes it a little easier
to reliably name a package version that meets our requirements. This
commit does that. Refs #3147.
Phil Hodgson [Thu, 18 Sep 2014 21:17:31 +0000 (17:17 -0400)]
Merge branch '3661-copy-move-from-show' refs #3661
Phil Hodgson [Thu, 18 Sep 2014 21:07:03 +0000 (17:07 -0400)]
Merge branch 'master' into 3661-copy-move-from-show
Tom Clegg [Thu, 18 Sep 2014 20:45:15 +0000 (16:45 -0400)]
Merge branch '3901-cannot-find-commit' refs #3901
Brett Smith [Thu, 18 Sep 2014 20:37:18 +0000 (16:37 -0400)]
3147: Rebuild the Python SDK to satisfy FUSE version requirement.
When I wrote the FUSE driver's version dependency, I did my math
wrong, and it's newer than any version of the SDK. This commit will
cause a new SDK to be built with a new version number that satisfies
the dependency. Refs #3147.
Tom Clegg [Thu, 18 Sep 2014 20:34:03 +0000 (16:34 -0400)]
3901: Add missing error checks while copying git objects.
Phil Hodgson [Thu, 18 Sep 2014 20:32:53 +0000 (16:32 -0400)]
3661: visual bug fix: button should be a link
Brett Smith [Thu, 18 Sep 2014 19:56:28 +0000 (15:56 -0400)]
Merge branch '3147-py-collection-retries-wip2'
Closes #3147.
Brett Smith [Mon, 15 Sep 2014 22:13:40 +0000 (18:13 -0400)]
3147: crunch-job retries data uploads more for longer-running jobs.
Brett Smith [Tue, 16 Sep 2014 21:29:38 +0000 (17:29 -0400)]
3147: Add retry support to FUSE driver.
Brett Smith [Mon, 15 Sep 2014 14:58:11 +0000 (10:58 -0400)]
3147: FUSE driver requires a Python SDK with retry support.
I also took out some of the older log-handling code while I was at it,
since the stricter versioning makes it unnecessary.
Brett Smith [Mon, 15 Sep 2014 15:21:31 +0000 (11:21 -0400)]
3147: Add retry support to PySDK list_all utility.
Brett Smith [Mon, 15 Sep 2014 14:37:32 +0000 (10:37 -0400)]
3147: Add retry support to Python CLI tools.
Brett Smith [Tue, 16 Sep 2014 21:27:51 +0000 (17:27 -0400)]
3147: Add retry support to PySDK Collection objects.
This required updating the FUSE driver's SafeApi object to better
imitate a real API object, now that CollectionReader will pass it down
to the underlying KeepClient.
Brett Smith [Fri, 12 Sep 2014 13:28:47 +0000 (09:28 -0400)]
3147: Add retry support to PySDK StreamReader classes.
Brett Smith [Tue, 16 Sep 2014 21:24:31 +0000 (17:24 -0400)]
3147: Make PySDK KeepClient.get and put retry_methods.
Brett Smith [Fri, 12 Sep 2014 12:49:21 +0000 (08:49 -0400)]
3147: Add retry_method to the Python SDK.
This gives us a way to make retry support flexible and consistent
across SDK classes. Any class that has retryable operations should
take a num_retries argument at initialization. Then, the specific
methods that implement those operations should also take a num_retries
argument, which will fall back to the instance's setting by default.
This lets SDK users express their retry preferences wherever it's most
convenient for them.
Brett Smith [Thu, 11 Sep 2014 18:46:37 +0000 (14:46 -0400)]
3147: Fix variable name typo.
This variable was renamed in previous branch work, but this last user
of it wasn't caught until just now.
Brett Smith [Thu, 11 Sep 2014 18:22:12 +0000 (14:22 -0400)]
3147: PySDK StreamReader instantiates a KeepClient late.
Similarly with API client instantiation in KeepClient, this helps with
testing. Refs #3693.
Brett Smith [Fri, 12 Sep 2014 20:46:54 +0000 (16:46 -0400)]
3147: Move PySDK HTTP test infrastructure to testutil.
Making this available to other test collections.
Brett Smith [Wed, 10 Sep 2014 20:44:25 +0000 (16:44 -0400)]
3147: PySDK tests use mock>=1.0 and easier mock side_effect.
radhika [Thu, 18 Sep 2014 19:16:49 +0000 (15:16 -0400)]
3898: db migration to add state attribute to job.
Phil Hodgson [Thu, 18 Sep 2014 19:13:41 +0000 (15:13 -0400)]
Merge branch 'master' into 3661-copy-move-from-show
Conflicts:
apps/workbench/app/assets/javascripts/selection.js.erb
apps/workbench/test/integration/collections_test.rb
Phil Hodgson [Thu, 18 Sep 2014 19:00:46 +0000 (15:00 -0400)]
Merge branch '3338-tab-counts' refs #3338
Phil Hodgson [Thu, 18 Sep 2014 18:32:04 +0000 (14:32 -0400)]
Merge branch 'master' into 3338-tab-counts
Peter Amstutz [Thu, 18 Sep 2014 17:51:13 +0000 (13:51 -0400)]
Merge branch 'master' into 3605-improved-dashboard
Conflicts:
services/api/app/controllers/arvados/v1/jobs_controller.rb