Tom Clegg [Tue, 30 Sep 2014 14:57:13 +0000 (10:57 -0400)]
3782: Isolate file_enumerator stubbing to the current test. Introduce mocha.
Brett Smith [Mon, 29 Sep 2014 20:07:55 +0000 (16:07 -0400)]
3866: PySDK KeepClient accommodates services with IPv6 addresses.
I thought there was going to be a nicer way to construct URLs than
this, but urllib.urlunparse is still expecting the host+port as a
single string, so this approach is easier. Closes #3866.
Brett Smith [Mon, 29 Sep 2014 16:28:36 +0000 (12:28 -0400)]
Merge branch '3848-egg-default-git-tag-wip'
Closes #3848, #3952.
Brett Smith [Fri, 26 Sep 2014 21:06:15 +0000 (17:06 -0400)]
3848: Package version numbers use UTC timestamps.
Per note-9 in the issue.
Brett Smith [Mon, 22 Sep 2014 20:45:19 +0000 (16:45 -0400)]
3848: Python packages build with git tag by default.
This moves the build logic that we currently encode in Jenkins into
our setup.py, and makes it easier for developers to have versions in
sync with real users.
radhika [Mon, 29 Sep 2014 15:13:50 +0000 (11:13 -0400)]
closes #3889
Merge branch '3889-functional-testing'
radhika [Mon, 29 Sep 2014 14:50:36 +0000 (10:50 -0400)]
Merge branch 'master' into 3889-functional-testing
Tom Clegg [Mon, 29 Sep 2014 14:32:00 +0000 (10:32 -0400)]
Merge branch '3616-live-stream' closes #3616
radhika [Sat, 27 Sep 2014 01:50:16 +0000 (21:50 -0400)]
Merge branch 'master' into 3889-functional-testing
radhika [Sat, 27 Sep 2014 01:48:51 +0000 (21:48 -0400)]
3889: add a new integration tester for users controller. Refactor code so that users functional and integration tests can reuse some of the helper methods.
Peter Amstutz [Fri, 26 Sep 2014 20:44:35 +0000 (16:44 -0400)]
Merge branch '3871-non-ascii-project-names' closes #3871
Tom Clegg [Fri, 26 Sep 2014 20:26:27 +0000 (16:26 -0400)]
3616: Use "ensure" to close response stream.
Peter Amstutz [Fri, 26 Sep 2014 20:06:28 +0000 (16:06 -0400)]
3871: Pass on UnicodeEncodeError. Don't return those entries in the directory
listing because the user won't be able to access them anyway. Add --encoding
parameter to command line to allow the user to specify desired filesystem
encoding.
radhika [Fri, 26 Sep 2014 20:03:30 +0000 (16:03 -0400)]
Merge branch 'master' into 3889-functional-testing
Conflicts:
services/fuse/tests/test_mount.py
Tim Pierce [Fri, 26 Sep 2014 19:51:10 +0000 (15:51 -0400)]
Merge branch '3901-component-rendering-errors'
Refs #3901.
Tom Clegg [Fri, 26 Sep 2014 19:46:09 +0000 (15:46 -0400)]
3616: Use ActionController::Live to avoid buffering entire response in memory.
Tim Pierce [Fri, 26 Sep 2014 19:42:12 +0000 (15:42 -0400)]
Merge branch 'master' into 3901-component-rendering-errors
Conflicts:
apps/workbench/app/helpers/pipeline_instances_helper.rb
radhika [Fri, 26 Sep 2014 19:33:40 +0000 (15:33 -0400)]
closes #3836
Merge branch '3836-remove-collection-from-project-bug'
radhika [Fri, 26 Sep 2014 19:32:52 +0000 (15:32 -0400)]
Merge branch 'master' into 3836-remove-collection-from-project-bug
radhika [Fri, 26 Sep 2014 19:30:33 +0000 (15:30 -0400)]
3889: minor test assertion updates
radhika [Fri, 26 Sep 2014 18:44:53 +0000 (14:44 -0400)]
3889: remove the job fixture "job_with_unnormalized_output_and_log" and instead use "foobar"
Tim Pierce [Fri, 26 Sep 2014 17:45:43 +0000 (13:45 -0400)]
3901: added unit test for pipeline rendering
radhika [Fri, 26 Sep 2014 17:35:14 +0000 (13:35 -0400)]
Merge branch 'master' into 3889-functional-testing
Conflicts:
services/api/test/fixtures/jobs.yml
radhika [Fri, 26 Sep 2014 17:24:56 +0000 (13:24 -0400)]
3889: some monir assertion updates.
Tom Clegg [Fri, 26 Sep 2014 15:29:38 +0000 (11:29 -0400)]
Fix typo in error message. Refs #3961
Peter Amstutz [Fri, 26 Sep 2014 14:53:42 +0000 (10:53 -0400)]
3871: Encode/decode file and directory names to UTF-8
Peter Amstutz [Fri, 26 Sep 2014 14:31:49 +0000 (10:31 -0400)]
Merge branch '3899-crunch-use-job-state' closes #3899
Peter Amstutz [Fri, 26 Sep 2014 14:23:03 +0000 (10:23 -0400)]
3899: Uncomment line that was commented out for debugging and committed by mistake.
radhika [Fri, 26 Sep 2014 14:22:24 +0000 (10:22 -0400)]
3889: add "#{user} can get collection using portable data hash" test
Peter Amstutz [Fri, 26 Sep 2014 14:20:15 +0000 (10:20 -0400)]
3899: pipeline_instances_helper: Don't set :state if it's already set. Add newline to jobs.yml.
Peter Amstutz [Fri, 26 Sep 2014 13:55:43 +0000 (09:55 -0400)]
Merge branch '3168-crunch-git-fetch' closes #3168
Peter Amstutz [Fri, 26 Sep 2014 13:48:58 +0000 (09:48 -0400)]
Remove useless take() and untake() methods.
Peter Amstutz [Fri, 26 Sep 2014 13:47:52 +0000 (09:47 -0400)]
3168: Instead of crashing using save! log an error and go to the next job.
Peter Amstutz [Fri, 26 Sep 2014 13:01:22 +0000 (09:01 -0400)]
Merge remote-tracking branch 'origin/master' into 3899-crunch-use-job-state
Peter Amstutz [Fri, 26 Sep 2014 12:41:58 +0000 (08:41 -0400)]
3899: jobs_controller uses state = Queued instead of multiple state columns.
Updated fixture so that tests pass.
Tom Clegg [Fri, 26 Sep 2014 05:46:50 +0000 (01:46 -0400)]
Merge branch '3991-docker-workbench-address' closes #3991
radhika [Fri, 26 Sep 2014 02:25:16 +0000 (22:25 -0400)]
3889: update the fuse test to expect the newly added pipeline instances.
Tom Clegg [Fri, 26 Sep 2014 01:55:17 +0000 (21:55 -0400)]
3991: Merge branch 'master' into 3991-docker-workbench-address
Peter Amstutz [Fri, 26 Sep 2014 01:26:27 +0000 (21:26 -0400)]
3168: Fail on git tag collision instead of putting job back into the queue.
Peter Amstutz [Fri, 26 Sep 2014 00:41:41 +0000 (20:41 -0400)]
3899: Set :state in pipeline_instance_helper.rb and remove Job::state.
Tom Clegg [Thu, 25 Sep 2014 23:46:08 +0000 (19:46 -0400)]
3991: Fix config checks in admin_notifier.
radhika [Thu, 25 Sep 2014 21:12:55 +0000 (17:12 -0400)]
Merge branch 'master' into 3889-functional-testing
radhika [Thu, 25 Sep 2014 21:11:31 +0000 (17:11 -0400)]
3889: Since all offending tests are fixed, update test_helper to generate an error if any functional test performs more than one action in on test in the future.
radhika [Thu, 25 Sep 2014 20:43:54 +0000 (16:43 -0400)]
3889: update the test "update script_parameters one at a time using merge param" to use fixture instead of create a new pipeline instance.
Tom Clegg [Thu, 25 Sep 2014 20:30:33 +0000 (16:30 -0400)]
3991: Change docker default to "no root url redirect". Make "not found" message more friendly.
Tim Pierce [Thu, 25 Sep 2014 20:20:48 +0000 (16:20 -0400)]
Merge branch 'master' into 3901-component-rendering-errors
Tim Pierce [Thu, 25 Sep 2014 19:08:18 +0000 (15:08 -0400)]
3901: allow job to be either Hash or Job
Refactoring to ensure that a component "job" data structure may either
be a Hash (parsed directly from the component's JSON representation) or
a real Job object retrieved from the database.
When rendering a pipeline, parse the :started_at and :finished_at
timestamp fields, respectively, if necessary.
radhika [Thu, 25 Sep 2014 19:31:26 +0000 (15:31 -0400)]
3889: add fixture "pipeline_with_tagged_collection_input"
Peter Amstutz [Thu, 25 Sep 2014 19:24:52 +0000 (15:24 -0400)]
3988: Add note to Job.state. Replace logic to compute state based on
success/running columns with the same logic as used on apiserver.
Tim Pierce [Thu, 25 Sep 2014 19:09:25 +0000 (15:09 -0400)]
bug fix: args_retries => args.retries
No issue #
Peter Amstutz [Thu, 25 Sep 2014 19:01:44 +0000 (15:01 -0400)]
3899: Shorten count of ended/succeed/failed in a-r-p-i with some clever Ruby.
Improve reporting to test for state == Cancelled instead of looking at
cancelled_at, and distinguish between cancelled the state being unexpectedly
changed to success/failed. pipeline_instances_helper uses state attribute.
radhika [Thu, 25 Sep 2014 18:35:55 +0000 (14:35 -0400)]
Merge branch 'master' into 3836-remove-collection-from-project-bug
radhika [Thu, 25 Sep 2014 18:34:15 +0000 (14:34 -0400)]
3889: fix typo in test name
Tom Clegg [Thu, 25 Sep 2014 17:52:51 +0000 (13:52 -0400)]
3991: Use db:structure:load and db:seed instead of db:setup: the database already exists here.
Tom Clegg [Thu, 25 Sep 2014 18:30:09 +0000 (14:30 -0400)]
3991: Handle "no workbench_address configured" more gracefully.
* Remove example config from default production section.
* Follow config rule: false = feature disabled, nil = sysadmin error.
* Respond 404 at root url if no workbench_address is configured.
* Never redirect to workbench if client requested JSON.
Tom Clegg [Thu, 25 Sep 2014 18:16:33 +0000 (14:16 -0400)]
3991: Run passenger script using bundle exec.
Passenger was installed in a previous step, but that was done using
"bundle install", which installs into ./vendor/bundle instead of a
system-wide install dir. This way, we install the passenger version
listed in services/api/Gemfile.lock instead of installing some other
version (or failing completely).
Tom Clegg [Thu, 25 Sep 2014 18:11:17 +0000 (14:11 -0400)]
3991: Set workbench_address in docker config.
radhika [Thu, 25 Sep 2014 18:25:50 +0000 (14:25 -0400)]
Merge branch 'master' into 3889-functional-testing
radhika [Thu, 25 Sep 2014 18:23:25 +0000 (14:23 -0400)]
3889: Since all failing API server functional tests are fixed, update test_helper to fail any future tests that execute multiple acions in one single functional test.
radhika [Thu, 25 Sep 2014 18:21:46 +0000 (14:21 -0400)]
3889: update the test "use ownership and permission links to determine which logs a user can see" to account for the newly added log fixture.
radhika [Thu, 25 Sep 2014 18:17:19 +0000 (14:17 -0400)]
3889: split the test "get all pages of group-owned objects" into multiple tests that pull pages with offset of 5.
Tim Pierce [Thu, 25 Sep 2014 18:09:02 +0000 (14:09 -0400)]
3901: improve component rendering error reports
The "Components" tab on the /pipeline_instances page now includes the
error that was encountered, and a collapsed panel with the full backtrace.
Ward Vandewege [Thu, 25 Sep 2014 17:56:10 +0000 (13:56 -0400)]
In our docker jobs image: use our debian packages for the python sdk and
fuse driver.
No issue #
Ward Vandewege [Thu, 25 Sep 2014 17:54:46 +0000 (13:54 -0400)]
In our docker base image: do not rely on pgp.mit.edu, use
pool.sks-keyservers.net instead.
No issue #
radhika [Thu, 25 Sep 2014 17:34:55 +0000 (13:34 -0400)]
3889: add the job fixture "job_with_unnormalized_output_and_log"
radhika [Thu, 25 Sep 2014 17:30:56 +0000 (13:30 -0400)]
3889: split the test "normalize output and log uuids when creating job" into two tests:
1) that creates a job with unnormalized output and log and verifies that normalization happened and
2) that updates a job with unnormalized output and log (a fixture) with normalized output and log.
radhika [Thu, 25 Sep 2014 16:54:35 +0000 (12:54 -0400)]
3889: split the test "update a job without failing script_version check" into two tests instead of two action in one test.
radhika [Thu, 25 Sep 2014 16:32:55 +0000 (12:32 -0400)]
3889: split the test "cancel a running job" into two tests: one that cancels a running job and another that cancels an already cancelled job.
radhika [Thu, 25 Sep 2014 16:24:10 +0000 (12:24 -0400)]
3889: split test doing post and get requests into two different tests by using a fixture.
radhika [Thu, 25 Sep 2014 15:47:54 +0000 (11:47 -0400)]
3889: break the "add keep disk with no filesystem_uuid" test into two tests, instead of doing two post actions in the same test.
radhika [Thu, 25 Sep 2014 15:16:07 +0000 (11:16 -0400)]
3889: fix tests that were doing multiple actions in one test.
radhika [Thu, 25 Sep 2014 13:54:11 +0000 (09:54 -0400)]
3889: update the test "non-admin user can limit index" to perform the limit check in two tests rather than twice in one test.
radhika [Thu, 25 Sep 2014 13:46:50 +0000 (09:46 -0400)]
3889: split the test "setup user in multiple steps and verify response" into multiple tests invoking setup on active user,
rather than perform three setup actions in one test.
radhika [Thu, 25 Sep 2014 13:19:59 +0000 (09:19 -0400)]
3889: remove the functional test "setup and unsetup user" that is performing two actions in one test,
since other tests in this file already cover the two actions and hence this test is not reduntant.
Peter Amstutz [Thu, 25 Sep 2014 13:16:14 +0000 (09:16 -0400)]
3988: Job.queue uses "state = Queued" instead of previous multi-column-null test.
radhika [Thu, 25 Sep 2014 13:14:29 +0000 (09:14 -0400)]
3889: fix a few tests that were performing multiple actions on a single instance of TestCase object.
radhika [Thu, 25 Sep 2014 12:15:08 +0000 (08:15 -0400)]
3889: Fix two functional tests that were performing multiple actions on a single instance of TestCase object.
Peter Amstutz [Thu, 25 Sep 2014 03:16:44 +0000 (23:16 -0400)]
3168: Check internal git repository if the commit already exists before calling
fetch-pack. Check if a job tag has already been created or not, and if the tag
already exists, that it points to the expected commit.
radhika [Thu, 25 Sep 2014 02:10:45 +0000 (22:10 -0400)]
refs #3889: Merge monkey patch code updates to detect tests that are reusing ActionController::TestCase.
For now, print warning instead of raising error. After the tests are corrected, we can change this behavior to raise an error.
Merge branch '3889-functional-testing'
radhika [Thu, 25 Sep 2014 02:03:23 +0000 (22:03 -0400)]
Merge branch 'master' into 3889-functional-testing
Ward Vandewege [Thu, 25 Sep 2014 01:57:25 +0000 (21:57 -0400)]
API server: setting workbench_address is not required. This unbreaks the
docker build for the api server image.
refs #3038
Ward Vandewege [Thu, 25 Sep 2014 01:42:10 +0000 (21:42 -0400)]
Protect the one place in the api server code where we assume the
workbench_address parameter is always set, it is in fact optional.
refs #3038
radhika [Thu, 25 Sep 2014 01:40:26 +0000 (21:40 -0400)]
Merge branch 'master' into 3889-functional-testing
radhika [Thu, 25 Sep 2014 00:15:51 +0000 (20:15 -0400)]
Merge branch 'master' into 3836-remove-collection-from-project-bug
radhika [Thu, 25 Sep 2014 00:14:40 +0000 (20:14 -0400)]
3836: update the fuse test to expect the newly added collections.
Tom Clegg [Wed, 24 Sep 2014 21:45:41 +0000 (17:45 -0400)]
Merge branch '3960-show-more-repos' closes #3960
radhika [Wed, 24 Sep 2014 21:33:53 +0000 (17:33 -0400)]
3836: if rescued an error other than unique constraint violation, raise it back.
radhika [Wed, 24 Sep 2014 21:16:44 +0000 (17:16 -0400)]
3836: minor update to test assertion
radhika [Wed, 24 Sep 2014 21:06:38 +0000 (17:06 -0400)]
3836: add integration test to verify name change when a collection is removed from a project,
and another collection with the same name already exists in the home project.
Tom Clegg [Wed, 24 Sep 2014 19:49:02 +0000 (15:49 -0400)]
3960: Merge branch 'master' into 3960-show-more-repos
Brett Smith [Wed, 24 Sep 2014 19:34:21 +0000 (15:34 -0400)]
Merge branch '2881-node-has-job-wip'
Refs #2881. Closes #3944.
Brett Smith [Mon, 22 Sep 2014 15:11:28 +0000 (11:11 -0400)]
2881: crunch-dispatch updates nodes' job assignments.
With this commit, crunch-dispatch updates all the information that
update_node_attributes used to, so it's removed.
Brett Smith [Mon, 22 Sep 2014 15:10:42 +0000 (11:10 -0400)]
2881: API server associates nodes with their assigned jobs.
This will enable us to write better administrative tools (like the
Node Manager) and dashboards.
Tim Pierce [Wed, 24 Sep 2014 19:05:03 +0000 (15:05 -0400)]
Merge branch '3413-keep-trash-list'
Closes #3413.
Peter Amstutz [Wed, 24 Sep 2014 18:36:21 +0000 (14:36 -0400)]
3899: crunch-dispatch uses state column to mark crashed jobs as failed.
Peter Amstutz [Wed, 24 Sep 2014 18:21:50 +0000 (14:21 -0400)]
Merge remote-tracking branch 'origin/master' into 3988-crunch-use-job-state
Peter Amstutz [Wed, 24 Sep 2014 18:11:33 +0000 (14:11 -0400)]
3899: Fix syntax errors in arv-run-pipeline-instance, and update job record if
job is queued or running.
radhika [Wed, 24 Sep 2014 17:52:51 +0000 (13:52 -0400)]
Merge branch 'master' into 3889-functional-testing
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'