Skip to content

Instantly share code, notes, and snippets.

@atz
Created March 31, 2016 20:00
Show Gist options
  • Save atz/ec65c3a209fba538caf318d87f32a6f5 to your computer and use it in GitHub Desktop.
Save atz/ec65c3a209fba538caf318d87f32a6f5 to your computer and use it in GitHub Desktop.
Sufia: rake ci failures
[main] INFO org.eclipse.jetty.util.log - Logging initialized @832ms
[main] INFO org.simplericity.jettyconsole.DefaultJettyManager - Added web application on path / from war /private/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/fcrepo-webapp-4.5.0-jetty-console/fcrepo-webapp-4.5.0-jetty-console.jar
[main] INFO org.simplericity.jettyconsole.DefaultJettyManager - Starting web application on port 52347
[main] INFO org.eclipse.jetty.server.Server - jetty-9.2.3.v20140905
[main] INFO org.eclipse.jetty.webapp.StandardDescriptorProcessor - NO JSP Support for /, did not find org.apache.jasper.servlet.JspServlet
[main] INFO / - Spring WebApplicationInitializers detected on classpath: [org.glassfish.jersey.server.spring.SpringWebApplicationInitializer@101df177]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/private/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/fcrepo-webapp-4.5.0-jetty-console.jar_52347/webapp/WEB-INF/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/fcrepo-webapp-4.5.0-jetty-console.jar_52347/condi/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
[main] INFO / - Initializing Spring root WebApplicationContext
INFO 12:40:27.327 (SerializerUtil) Registering serializer org.fcrepo.serialization.JcrXmlSerializer@543d5863 for format jcr/xml
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.s.j.JettyConsoleWebappContext@3d24753a{/,file:/private/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/fcrepo-webapp-4.5.0-jetty-console.jar_52347/webapp/,AVAILABLE}{/private/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/fcrepo-webapp-4.5.0-jetty-console/fcrepo-webapp-4.5.0-jetty-console.jar}
[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@6ba060af{HTTP/1.1}{0.0.0.0:52347}
[main] INFO org.eclipse.jetty.server.Server - Started @6724ms
/Users/atz/.rvm/rubies/ruby-2.2.0/bin/ruby -I/Users/atz/.rvm/gems/ruby-2.2.0/gems/rspec-core-3.4.4/lib:/Users/atz/.rvm/gems/ruby-2.2.0/gems/rspec-support-3.4.1/lib /Users/atz/.rvm/gems/ruby-2.2.0/gems/rspec-core-3.4.4/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's default settings.
.............................*.................................*....................................................F*.*F****.*..................................................................................F....................................*.*.................F.....*........*.....................................................................11 jasmine specs run (in 3 jasmine test files)
.FFFFFFFF..FFF..........FF.FFFFF.............................F..................................................................................................................................................................................................FF....................................................................................................................................................*.............................F..................................................................................................................
Pending: (Failures listed here are expected and do not affect your suite's status)
1) API::ItemsController with an HTTP POST post with a valid item and matching token should eq 201
# move test to arkivo actor spec as integration test.
Failure/Error: expect(response.status).to eq 201
expected: 201
got: 200
(compared using ==)
# ./spec/controllers/api/items_controller_spec.rb:135:in `block (4 levels) in <top (required)>'
2) CatalogController#index full-text search finds matching records
# Will GenericWorks have a full_text search?
# ./spec/controllers/catalog_controller_spec.rb:80
3) CurationConcerns::FileSetsController#create when uploading a file when the file has a virus displays a flash error
# There's no way to do this because the scan happens in a background job
Got 1 failure and 1 other error:
3.1) Failure/Error: super(file)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-0.11.0/app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb:189:in `process_file'
# ./app/controllers/concerns/sufia/file_sets_controller_behavior.rb:80:in `process_file'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-0.11.0/app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb:48:in `create_from_upload'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-0.11.0/app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb:35:in `create'
# ./app/controllers/concerns/sufia/file_sets_controller/browse_everything.rb:9:in `create'
# ./app/controllers/concerns/sufia/file_sets_controller/local_ingest_behavior.rb:11:in `create'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:198:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `block in instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.6/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:137:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionview-4.2.6/lib/action_view/rendering.rb:30:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:639:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:67:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:19:in `block in process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:72:in `catch'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:72:in `_catch_warden'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:19:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:520:in `post'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:550:in `xml_http_request'
# ./spec/controllers/file_sets_controller_spec.rb:96:in `block (5 levels) in <top (required)>'
3.2) Failure/Error: expect(ClamAV.instance).to receive(:scanfile).and_return("EL CRAPO VIRUS")
(#<ClamAV:0x007f9fd0544fd0>).scanfile(*(any args))
expected: 1 time with any arguments
received: 0 times with any arguments
# ./spec/controllers/file_sets_controller_spec.rb:95:in `block (5 levels) in <top (required)>'
4) CurationConcerns::FileSetsController#create with browse-everything when no work_id is passed ingests files from provide URLs
# Creating a FileSet without a parent work is not yet supported
# ./spec/controllers/file_sets_controller_spec.rb:131
5) CurationConcerns::FileSetsController#create with browse-everything when a work id is not passed creates the work
# Creating a FileSet without a parent work is not yet supported
# ./spec/controllers/file_sets_controller_spec.rb:168
6) CurationConcerns::FileSetsController#create with local_file when User model defines a directory path without a parent work id ingests files from the filesystem
# Creating a FileSet without a parent work is not yet supported (no route)
# ./spec/controllers/file_sets_controller_spec.rb:208
7) CurationConcerns::FileSetsController#create with local_file when User model defines a directory path without a parent work id ingests redirect to another location
# Creating a FileSet without a parent work is not yet supported (no route)
# ./spec/controllers/file_sets_controller_spec.rb:219
8) CurationConcerns::FileSetsController#create with local_file when User model defines a directory path without a parent work id ingests directories from the filesystem
# Creating a FileSet without a parent work is not yet supported (no route)
# ./spec/controllers/file_sets_controller_spec.rb:231
9) CurationConcerns::FileSetsController#create with local_file when User model does not define directory path without a parent work id returns an error message and redirects to file upload page
# Creating a FileSet without a parent work is not yet supported
# ./spec/controllers/file_sets_controller_spec.rb:263
10) Selecting files to import from cloud providers has a Cloud file picker using browse-everything
# TBD in https://github.com/projecthydra/sufia/issues/1699
# ./spec/features/cloud_upload_spec.rb:9
11) collection adding works to a collection attaches the works
# we need to define a dashboard/works path
# ./spec/features/collection_spec.rb:48
12) Transferring work ownership: When I request a work transfer: For a work I do not own The transfer option is not available
# No reason given
Failure/Error: raise
RuntimeError:
# ./spec/features/ownership_transfer_spec.rb:30:in `block (4 levels) in <top (required)>'
13) proxy use a proxy allows on-behalf-of deposit
# Temporarily skipped with xit
# ./spec/features/proxy_spec.rb:25
14) Routes Catch-all routes non-existent routes to errors
# The default route is turned off in testing, so that errors are raised
Failure/Error: expect(get: '/awesome').to route_to(controller: 'errors', action: 'routing', error: 'awesome')
No route matches "/awesome"
# ./spec/routing/route_spec.rb:209:in `block (3 levels) in <top (required)>'
Failures:
1) CurationConcerns::FileSetsController#create when uploading a file when everything is perfect when a work id is not passed creates the FileSet
Failure/Error:
acquire_lock_for(id) do
begin
UploadSet.find(id)
rescue ActiveFedora::ObjectNotFoundError
UploadSet.create(id: id)
end
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# ./app/models/concerns/sufia/upload_set_behavior.rb:20:in `find_or_create'
# ./app/services/sufia/default_work_service.rb:5:in `create'
# ./app/controllers/concerns/sufia/file_sets_controller_behavior.rb:106:in `default_work_from_params'
# ./app/controllers/concerns/sufia/file_sets_controller_behavior.rb:98:in `find_parent_by_id'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-0.11.0/app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb:189:in `process_file'
# ./app/controllers/concerns/sufia/file_sets_controller_behavior.rb:80:in `process_file'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-0.11.0/app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb:48:in `create_from_upload'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-0.11.0/app/controllers/concerns/curation_concerns/file_sets_controller_behavior.rb:35:in `create'
# ./app/controllers/concerns/sufia/file_sets_controller/browse_everything.rb:9:in `create'
# ./app/controllers/concerns/sufia/file_sets_controller/local_ingest_behavior.rb:11:in `create'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:198:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `block in instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.6/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:137:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionview-4.2.6/lib/action_view/rendering.rb:30:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:639:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:67:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:19:in `block in process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:72:in `catch'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:72:in `_catch_warden'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:19:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:520:in `post'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:550:in `xml_http_request'
# ./spec/controllers/file_sets_controller_spec.rb:81:in `block (6 levels) in <top (required)>'
2) CurationConcerns::FileSetsController#create with browse-everything when a work id is passed records the work
Failure/Error:
acquire_lock_for(id) do
begin
UploadSet.find(id)
rescue ActiveFedora::ObjectNotFoundError
UploadSet.create(id: id)
end
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# ./app/models/concerns/sufia/upload_set_behavior.rb:20:in `find_or_create'
# ./app/controllers/concerns/sufia/file_sets_controller/browse_everything.rb:18:in `create_from_browse_everything'
# ./app/controllers/concerns/sufia/file_sets_controller/browse_everything.rb:7:in `create'
# ./app/controllers/concerns/sufia/file_sets_controller/local_ingest_behavior.rb:11:in `create'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:198:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `block in instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.6/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:137:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionview-4.2.6/lib/action_view/rendering.rb:30:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:639:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:67:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:19:in `block in process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:72:in `catch'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:72:in `_catch_warden'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:19:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:520:in `post'
# ./spec/controllers/file_sets_controller_spec.rb:157:in `block (6 levels) in <top (required)>'
# ./spec/controllers/file_sets_controller_spec.rb:156:in `block (5 levels) in <top (required)>'
3) UploadSetsController#edit defaults creator
Failure/Error:
acquire_lock_for(id) do
begin
UploadSet.find(id)
rescue ActiveFedora::ObjectNotFoundError
UploadSet.create(id: id)
end
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# ./app/models/concerns/sufia/upload_set_behavior.rb:20:in `find_or_create'
# ./app/controllers/concerns/sufia/upload_sets_controller_behavior.rb:17:in `edit'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:198:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `block in instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.6/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:137:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionview-4.2.6/lib/action_view/rendering.rb:30:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:639:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:67:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:19:in `block in process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:72:in `catch'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:72:in `_catch_warden'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/devise-3.5.6/lib/devise/test_helpers.rb:19:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/test_case.rb:514:in `get'
# ./spec/controllers/upload_sets_controller_spec.rb:90:in `block (3 levels) in <top (required)>'
4) Creating a new Work creates the work
Failure/Error: actor.create_metadata(work, visibility: work.visibility)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# ./app/jobs/attach_files_to_work_job.rb:12:in `block in perform'
# ./app/jobs/attach_files_to_work_job.rb:8:in `each'
# ./app/jobs/attach_files_to_work_job.rb:8:in `perform'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/execution.rb:32:in `block in perform_now'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `instance_exec'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `block in make_lambda'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `block in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:23:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `block in instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:43:in `block in tag_logger'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:26:in `tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:68:in `tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:43:in `tag_logger'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `instance_exec'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `block in make_lambda'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `block in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/execution.rb:31:in `perform_now'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/execution.rb:21:in `execute'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/queue_adapters/inline_adapter.rb:14:in `enqueue'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/enqueuing.rb:71:in `block in enqueue'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:14:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:14:in `block (3 levels) in <module:Logging>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:43:in `block in tag_logger'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:26:in `tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:68:in `tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:43:in `tag_logger'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:13:in `block (2 levels) in <module:Logging>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `instance_exec'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `block in make_lambda'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `block in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_enqueue_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/enqueuing.rb:67:in `enqueue'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/enqueuing.rb:17:in `perform_later'
# ./app/actors/sufia/create_with_files_actor.rb:37:in `attach_files'
# ./app/actors/sufia/create_with_files_actor.rb:14:in `create'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-0.11.0/app/controllers/concerns/curation_concerns/curation_concern_controller.rb:44:in `create'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:198:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rendering.rb:10:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/callbacks.rb:19:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rescue.rb:29:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `block in instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.6/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/abstract_controller/base.rb:137:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionview-4.2.6/lib/action_view/rendering.rb:30:in `process'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal.rb:196:in `dispatch'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_controller/metal.rb:237:in `block in action'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:74:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:43:in `serve'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:30:in `each'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:30:in `serve'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:518:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/railtie.rb:194:in `public_send'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/railtie.rb:194:in `method_missing'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/mapper.rb:51:in `serve'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:43:in `block in serve'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:30:in `each'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/journey/router.rb:30:in `serve'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/routing/route_set.rb:817:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block in call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/flash.rb:260:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/cookies.rb:560:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.6/lib/active_record/query_cache.rb:36:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activerecord-4.2.6/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/active-fedora-9.10.4/lib/active_fedora/ldp_cache.rb:26:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/rack/logger.rb:38:in `call_app'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/rack/logger.rb:20:in `block in call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:26:in `tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:68:in `tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/rack/logger.rb:20:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/request_id.rb:21:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/actionpack-4.2.6/lib/action_dispatch/middleware/static.rb:120:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/engine.rb:518:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/railties-4.2.6/lib/rails/application.rb:165:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/capybara-2.6.2/lib/capybara/server.rb:19:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
# ------------------
# --- Caused by: ---
# Capybara::ExpectationNotMet:
# expected to find text "My Test Work (Generic Work)" in "Internal Server Error ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. WEBrick/1.3.1 (Ruby/2.2.0/2014-12-25) at 127.0.0.1:59891"
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/capybara-2.6.2/lib/capybara/node/matchers.rb:457:in `block in assert_text'
5) AttachFilesToWorkJob happy path attaches files and copies visibility
Failure/Error: actor.create_metadata(work, visibility: work.visibility)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# ./app/jobs/attach_files_to_work_job.rb:12:in `block in perform'
# ./app/jobs/attach_files_to_work_job.rb:8:in `each'
# ./app/jobs/attach_files_to_work_job.rb:8:in `perform'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/execution.rb:32:in `block in perform_now'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:117:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/i18n-0.7.0/lib/i18n.rb:257:in `with_locale'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/translation.rb:7:in `block (2 levels) in <module:Translation>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `instance_exec'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `block in make_lambda'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `block in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:343:in `block (2 levels) in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:23:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `block in instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/notifications.rb:164:in `instrument'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:43:in `block in tag_logger'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:68:in `block in tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:26:in `tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/tagged_logging.rb:68:in `tagged'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:43:in `tag_logger'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `instance_exec'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:441:in `block in make_lambda'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:342:in `block in simple'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:497:in `block in around'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:505:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:778:in `_run_perform_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activesupport-4.2.6/lib/active_support/callbacks.rb:81:in `run_callbacks'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/execution.rb:31:in `perform_now'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/activejob-4.2.6/lib/active_job/execution.rb:16:in `perform_now'
# ./spec/jobs/attach_files_to_work_job_spec.rb:13:in `block (3 levels) in <top (required)>'
6) ContentDeleteEventJob logs the event to the depositor's profile and followers' dashboards
Failure/Error:
expect {
described_class.perform_now(file_set.id, user)
}.to change { user.profile_events.length }.by(1)
.and change { another_user.events.length }.by(1)
.and change { third_user.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/content_delete_event_job_spec.rb:19:in `block (2 levels) in <top (required)>'
7) ContentDepositEventJob logs the event to the depositor's profile, followers' dashboards, and the FileSet
Failure/Error:
expect {
described_class.perform_now(file_set, user)
}.to change { user.profile_events.length }.by(1)
.and change { another_user.events.length }.by(1)
.and change { third_user.events.length }.by(1)
.and change { file_set.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/content_deposit_event_job_spec.rb:19:in `block (2 levels) in <top (required)>'
8) ContentDepositorChangeEventJob logs the event to the proxy depositor's profile, the depositor's dashboard, followers' dashboards, and the FileSet
Failure/Error:
expect {
described_class.perform_now(generic_work, another_user)
}.to change { user.profile_events.length }.by(1)
.and change { another_user.events.length }.by(1)
.and change { third_user.events.length }.by(1)
.and change { generic_work.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/content_depositor_change_event_job_spec.rb:17:in `block (2 levels) in <top (required)>'
9) ContentNewVersionEventJob logs the event to the depositor's profile, followers' dashboards, and the FileSet
Failure/Error:
expect {
described_class.perform_now(file_set, user)
}.to change { user.profile_events.length }.by(1)
.and change { another_user.events.length }.by(1)
.and change { third_user.events.length }.by(1)
.and change { file_set.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/content_new_version_event_job_spec.rb:20:in `block (2 levels) in <top (required)>'
10) ContentRestoredVersionEventJob logs the event to the depositor's profile, followers' dashboards, and the FileSet
Failure/Error:
expect {
described_class.perform_now(file_set, user, 'content.0')
}.to change { user.profile_events.length }.by(1)
.and change { another_user.events.length }.by(1)
.and change { third_user.events.length }.by(1)
.and change { file_set.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/content_restored_version_event_job_spec.rb:20:in `block (2 levels) in <top (required)>'
11) ContentUpdateEventJob when the followers have access to view the FileSet logs the event to the depositor's profile, followers' dashboards, and the FileSet
Failure/Error:
expect {
described_class.perform_now(file_set, user)
}.to change { user.profile_events.length }.by(1)
.and change { another_user.events.length }.by(1)
.and change { third_user.events.length }.by(1)
.and change { file_set.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/content_update_event_job_spec.rb:25:in `block (3 levels) in <top (required)>'
12) ContentUpdateEventJob when the followers lack access to the FileSet does not log content-related jobs to followers
Failure/Error:
expect {
described_class.perform_now(file_set, user)
}.to change { user.profile_events.length }.by(1)
.and does_not_change { another_user.events.length }
.and does_not_change { third_user.events.length }
.and change { file_set.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/content_update_event_job_spec.rb:43:in `block (3 levels) in <top (required)>'
13) UserEditProfileEventJob logs the event to the editor's dashboard and his/her followers' dashboards
Failure/Error:
expect {
described_class.perform_now(user)
}.to change { user.events.length }.by(1)
.and change { another_user.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/user_edit_profile_event_job_spec.rb:14:in `block (2 levels) in <top (required)>'
14) UserFollowEventJob logs the event to the follower's dashboard, the followee's dashboard, and followers' dashboards
Failure/Error:
expect {
described_class.perform_now(user, another_user)
}.to change { user.events.length }.by(1)
.and change { another_user.events.length }.by(1)
.and change { third_user.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/user_follow_event_job_spec.rb:16:in `block (2 levels) in <top (required)>'
15) UserUnfollowEventJob logs the event to the unfollower's dashboard, the unfollowee's dashboard, and followers' dashboards
Failure/Error:
expect {
described_class.perform_now(user, another_user)
}.to change { user.events.length }.by(1)
.and change { another_user.events.length }.by(1)
.and change { third_user.events.length }.by(1)
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
...and:
expected result to have changed by 1, but was changed by 0
# ./spec/jobs/user_unfollow_event_job_spec.rb:17:in `block (2 levels) in <top (required)>'
16) Sufia::Arkivo::Actor#create_work_from_item creates a batch for loading metadata
Failure/Error: file_actor.create_metadata(work)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# ./lib/sufia/arkivo/actor.rb:28:in `create_work_from_item'
# ./spec/lib/sufia/arkivo/actor_spec.rb:27:in `block (4 levels) in <top (required)>'
# ./spec/lib/sufia/arkivo/actor_spec.rb:27:in `block (3 levels) in <top (required)>'
17) Sufia::Arkivo::Actor#create_work_from_item instantiates an actor
Failure/Error: file_actor.create_metadata(work)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# ./lib/sufia/arkivo/actor.rb:28:in `create_work_from_item'
# ./spec/lib/sufia/arkivo/actor_spec.rb:33:in `block (3 levels) in <top (required)>'
18) Sufia::Arkivo::Actor#create_work_from_item stores a checksum
Failure/Error: file_actor.create_metadata(work)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# ./lib/sufia/arkivo/actor.rb:28:in `create_work_from_item'
# ./spec/lib/sufia/arkivo/actor_spec.rb:42:in `block (3 levels) in <top (required)>'
19) Sufia::Arkivo::Actor#create_work_from_item calls create_content
Failure/Error: file_actor.create_metadata(work)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# ./lib/sufia/arkivo/actor.rb:28:in `create_work_from_item'
# ./spec/lib/sufia/arkivo/actor_spec.rb:48:in `block (3 levels) in <top (required)>'
20) Sufia::Arkivo::Actor#create_work_from_item extracts a file from the item
Failure/Error: file_actor.create_metadata(work)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# ./lib/sufia/arkivo/actor.rb:28:in `create_work_from_item'
# ./spec/lib/sufia/arkivo/actor_spec.rb:52:in `block (3 levels) in <top (required)>'
21) Sufia::Arkivo::Actor#create_work_from_item batch applies metadata
Failure/Error: file_actor.create_metadata(work)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# ./lib/sufia/arkivo/actor.rb:28:in `create_work_from_item'
# ./spec/lib/sufia/arkivo/actor_spec.rb:57:in `block (3 levels) in <top (required)>'
22) Sufia::Arkivo::Actor#create_work_from_item returns a GF instance
Failure/Error: file_actor.create_metadata(work)
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:111:in `attach_file_to_work'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/actors/curation_concerns/file_set_actor.rb:34:in `create_metadata'
# ./lib/sufia/arkivo/actor.rb:28:in `create_work_from_item'
# ./spec/lib/sufia/arkivo/actor_spec.rb:64:in `block (3 levels) in <top (required)>'
23) Sufia::RedisEventStore::create when it is successful should eq 1
Failure/Error: it { is_expected.to eq(1) }
expected: 1
got: nil
(compared using ==)
# ./spec/lib/sufia/redis_event_store_spec.rb:11:in `block (4 levels) in <top (required)>'
24) UploadSet find_or_create when the object exists finds upload_set instead of creating
Failure/Error:
acquire_lock_for(id) do
begin
UploadSet.find(id)
rescue ActiveFedora::ObjectNotFoundError
UploadSet.create(id: id)
end
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# ./app/models/concerns/sufia/upload_set_behavior.rb:20:in `find_or_create'
# ./spec/models/upload_set_spec.rb:29:in `block (4 levels) in <top (required)>'
25) UploadSet find_or_create when the object does not exist creates a new UploadSet
Failure/Error:
acquire_lock_for(id) do
begin
UploadSet.find(id)
rescue ActiveFedora::ObjectNotFoundError
UploadSet.create(id: id)
end
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# ./app/models/concerns/sufia/upload_set_behavior.rb:20:in `find_or_create'
# ./spec/models/upload_set_spec.rb:36:in `block (4 levels) in <top (required)>'
26) Sufia::DefaultWorkService date_uploaded is initialized
Failure/Error:
acquire_lock_for(id) do
begin
UploadSet.find(id)
rescue ActiveFedora::ObjectNotFoundError
UploadSet.create(id: id)
end
Redis::CommandError:
ERR Error running script (call to f_7fe7b0bc5c4277123d3b46d49d1c5a8bc6e4fe8a): @user_script:2: @user_script: 2: -MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis/client.rb:114:in `call'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2340:in `block in _eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `block in synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:57:in `synchronize'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2339:in `_eval'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redis-3.2.2/lib/redis.rb:2391:in `evalsha'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:106:in `block in lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:128:in `recover_from_script_flush'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:105:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block (2 levels) in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `select'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:160:in `block in lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:182:in `timed'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:159:in `lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:146:in `block in try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `times'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:145:in `try_lock_instances'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/redlock-0.1.5/lib/redlock/client.rb:41:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lock_manager.rb:19:in `lock'
# /Users/atz/.rvm/gems/ruby-2.2.0/gems/curation_concerns-models-0.11.0/app/services/curation_concerns/lockable.rb:6:in `acquire_lock_for'
# ./app/models/concerns/sufia/upload_set_behavior.rb:20:in `find_or_create'
# ./app/services/sufia/default_work_service.rb:5:in `create'
# ./spec/services/sufia/default_work_service_spec.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/services/sufia/default_work_service_spec.rb:10:in `block (2 levels) in <top (required)>'
Finished in 6 minutes 4 seconds (files took 7.36 seconds to load)
902 examples, 26 failures, 14 pending
Failed examples:
rspec ./spec/controllers/file_sets_controller_spec.rb:80 # CurationConcerns::FileSetsController#create when uploading a file when everything is perfect when a work id is not passed creates the FileSet
rspec ./spec/controllers/file_sets_controller_spec.rb:154 # CurationConcerns::FileSetsController#create with browse-everything when a work id is passed records the work
rspec ./spec/controllers/upload_sets_controller_spec.rb:89 # UploadSetsController#edit defaults creator
rspec ./spec/features/create_work_spec.rb:22 # Creating a new Work creates the work
rspec ./spec/jobs/attach_files_to_work_job_spec.rb:11 # AttachFilesToWorkJob happy path attaches files and copies visibility
rspec ./spec/jobs/content_delete_event_job_spec.rb:18 # ContentDeleteEventJob logs the event to the depositor's profile and followers' dashboards
rspec ./spec/jobs/content_deposit_event_job_spec.rb:18 # ContentDepositEventJob logs the event to the depositor's profile, followers' dashboards, and the FileSet
rspec ./spec/jobs/content_depositor_change_event_job_spec.rb:16 # ContentDepositorChangeEventJob logs the event to the proxy depositor's profile, the depositor's dashboard, followers' dashboards, and the FileSet
rspec ./spec/jobs/content_new_version_event_job_spec.rb:19 # ContentNewVersionEventJob logs the event to the depositor's profile, followers' dashboards, and the FileSet
rspec ./spec/jobs/content_restored_version_event_job_spec.rb:18 # ContentRestoredVersionEventJob logs the event to the depositor's profile, followers' dashboards, and the FileSet
rspec ./spec/jobs/content_update_event_job_spec.rb:24 # ContentUpdateEventJob when the followers have access to view the FileSet logs the event to the depositor's profile, followers' dashboards, and the FileSet
rspec ./spec/jobs/content_update_event_job_spec.rb:42 # ContentUpdateEventJob when the followers lack access to the FileSet does not log content-related jobs to followers
rspec ./spec/jobs/user_edit_profile_event_job_spec.rb:13 # UserEditProfileEventJob logs the event to the editor's dashboard and his/her followers' dashboards
rspec ./spec/jobs/user_follow_event_job_spec.rb:15 # UserFollowEventJob logs the event to the follower's dashboard, the followee's dashboard, and followers' dashboards
rspec ./spec/jobs/user_unfollow_event_job_spec.rb:16 # UserUnfollowEventJob logs the event to the unfollower's dashboard, the unfollowee's dashboard, and followers' dashboards
rspec ./spec/lib/sufia/arkivo/actor_spec.rb:26 # Sufia::Arkivo::Actor#create_work_from_item creates a batch for loading metadata
rspec ./spec/lib/sufia/arkivo/actor_spec.rb:30 # Sufia::Arkivo::Actor#create_work_from_item instantiates an actor
rspec ./spec/lib/sufia/arkivo/actor_spec.rb:41 # Sufia::Arkivo::Actor#create_work_from_item stores a checksum
rspec ./spec/lib/sufia/arkivo/actor_spec.rb:46 # Sufia::Arkivo::Actor#create_work_from_item calls create_content
rspec ./spec/lib/sufia/arkivo/actor_spec.rb:51 # Sufia::Arkivo::Actor#create_work_from_item extracts a file from the item
rspec ./spec/lib/sufia/arkivo/actor_spec.rb:56 # Sufia::Arkivo::Actor#create_work_from_item batch applies metadata
rspec ./spec/lib/sufia/arkivo/actor_spec.rb:63 # Sufia::Arkivo::Actor#create_work_from_item returns a GF instance
rspec ./spec/lib/sufia/redis_event_store_spec.rb:11 # Sufia::RedisEventStore::create when it is successful should eq 1
rspec ./spec/models/upload_set_spec.rb:27 # UploadSet find_or_create when the object exists finds upload_set instead of creating
rspec ./spec/models/upload_set_spec.rb:33 # UploadSet find_or_create when the object does not exist creates a new UploadSet
rspec ./spec/services/sufia/default_work_service_spec.rb:9 # Sufia::DefaultWorkService date_uploaded is initialized
[Coveralls] Outside the CI environment, not sending data.
/Users/atz/.rvm/rubies/ruby-2.2.0/bin/ruby -I/Users/atz/.rvm/gems/ruby-2.2.0/gems/rspec-core-3.4.4/lib:/Users/atz/.rvm/gems/ruby-2.2.0/gems/rspec-support-3.4.1/lib /Users/atz/.rvm/gems/ruby-2.2.0/gems/rspec-core-3.4.4/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
[Thread-0] INFO org.simplericity.jettyconsole.DefaultJettyManager - Shutting down Fedora Repository Deployable Web Application 4.5.0..
[Thread-0] INFO org.eclipse.jetty.server.ServerConnector - Stopped ServerConnector@6ba060af{HTTP/1.1}{0.0.0.0:52347}
[Thread-0] INFO / - Closing Spring root WebApplicationContext
[Thread-0] INFO org.eclipse.jetty.server.handler.ContextHandler - Stopped o.s.j.JettyConsoleWebappContext@3d24753a{/,file:/private/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/fcrepo-webapp-4.5.0-jetty-console.jar_52347/webapp/,UNAVAILABLE}{/private/var/folders/6q/13dm9dcn1qx_gw9x66lhl7jc0000gq/T/fcrepo-webapp-4.5.0-jetty-console/fcrepo-webapp-4.5.0-jetty-console.jar}
[Thread-0] INFO org.simplericity.jettyconsole.DefaultJettyManager - Shutdown of Fedora Repository Deployable Web Application 4.5.0 complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment